1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 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_H = @BASIC_FILE_H@
71 CCODECVT_C = @CCODECVT_C@
72 CCODECVT_H = @CCODECVT_H@
73 CLOCALE_H = @CLOCALE_H@
74 CMESSAGES_H = @CMESSAGES_H@
76 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
77 CSHADOW_FLAGS = @CSHADOW_FLAGS@
80 C_INCLUDE_DIR = @C_INCLUDE_DIR@
81 DEBUG_FLAGS = @DEBUG_FLAGS@
84 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
87 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
88 LIBMATHOBJS = @LIBMATHOBJS@
89 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
91 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
97 OPT_LDFLAGS = @OPT_LDFLAGS@
98 OS_INC_SRCDIR = @OS_INC_SRCDIR@
101 SECTION_FLAGS = @SECTION_FLAGS@
102 SECTION_LDFLAGS = @SECTION_LDFLAGS@
106 WARN_FLAGS = @WARN_FLAGS@
108 check_msgfmt = @check_msgfmt@
109 enable_shared = @enable_shared@
110 enable_static = @enable_static@
111 glibcpp_CXX = @glibcpp_CXX@
112 glibcpp_MOFILES = @glibcpp_MOFILES@
113 glibcpp_POFILES = @glibcpp_POFILES@
114 glibcpp_basedir = @glibcpp_basedir@
115 glibcpp_builddir = @glibcpp_builddir@
116 glibcpp_localedir = @glibcpp_localedir@
117 glibcpp_prefixdir = @glibcpp_prefixdir@
118 glibcpp_srcdir = @glibcpp_srcdir@
119 glibcpp_thread_h = @glibcpp_thread_h@
120 glibcpp_toolexecdir = @glibcpp_toolexecdir@
121 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
122 gxx_include_dir = @gxx_include_dir@
123 ifGNUmake = @ifGNUmake@
124 libio_la = @libio_la@
125 libtool_VERSION = @libtool_VERSION@
126 release_VERSION = @release_VERSION@
127 toplevel_srcdir = @toplevel_srcdir@
129 AUTOMAKE_OPTIONS = 1.3 gnits
130 MAINT_CHARSET = latin1
132 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
134 # Cross compiler and multilib support.
136 toolexecdir = @glibcpp_toolexecdir@
137 toolexeclibdir = @glibcpp_toolexeclibdir@
138 toolexeclib_LTLIBRARIES = libstdc++.la
140 # Compile flags that should be constant throughout the build, both for
141 # SUBDIRS and for libstdc++-v3 in general.
142 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
144 # These bits are all figured out from configure. Look in acinclude.m4
145 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
146 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
148 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
151 # Warning flags to use.
153 @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
156 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
157 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
158 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
159 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
160 LIBIO_INCLUDES = @LIBIO_INCLUDES@
161 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
165 $(GLIBCPP_INCLUDES) \
166 $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
208 VPATH = $(top_srcdir)/src:$(top_srcdir)
210 libstdc___la_SOURCES = $(sources)
212 libstdc___la_LIBADD = \
213 ../libmath/libmath.la @libio_la@ \
214 ../libsupc++/libsupc++convenience.la
216 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@-Wl,--version-script=linker.map
217 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
219 libstdc___la_LDFLAGS = \
220 -version-info @libtool_VERSION@ ${version_arg} \
224 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) linker.map
226 # Use special rules for the deprecated source files so that they find
227 # deprecated include files.
228 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
230 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
231 # modified in a per-library or per-sub-library way. Need to manually
232 # set this option because CONFIG_CXXFLAGS has to be after
233 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
234 # as the occasion call for it. (ie, --enable-debug)
236 -fno-implicit-templates \
237 $(LIBSUPCXX_CXXFLAGS) \
239 $(OPTIMIZE_CXXFLAGS) \
243 # libstdc++ libtool notes
245 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
246 # last. (That way, things like -O2 passed down from the toplevel can
247 # be overridden by --enable-debug.)
249 # 2) In general, libtool expects an argument such as `--tag=CXX' when
250 # using the C++ compiler, because that will enable the settings
251 # detected when C++ support was being configured. However, when no
252 # such flag is given in the command line, libtool attempts to figure
253 # it out by matching the compiler name in each configuration section
254 # against a prefix of the command line. The problem is that, if the
255 # compiler name and its initial flags stored in the libtool
256 # configuration file don't match those in the command line, libtool
257 # can't decide which configuration to use, and it gives up. The
258 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
259 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
260 # attempt to infer which configuration to use
261 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
262 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
265 # 3) We'd have a problem when building the shared libstdc++ object if
266 # the rules automake generates would be used. We cannot allow g++ to
267 # be used since this would add -lstdc++ to the link line which of
268 # course is problematic at this point. So, we get the top-level
269 # directory to configure libstdc++-v3 to use gcc as the C++
270 # compilation driver.
271 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
272 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
274 CONFIG_HEADER = ../config.h
276 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
279 DEFS = @DEFS@ -I. -I$(srcdir) -I..
280 CPPFLAGS = @CPPFLAGS@
283 libstdc___la_OBJECTS = basic_file.lo bitset.lo c++locale.lo cmath.lo \
284 codecvt.lo collate.lo complex_io.lo concept-inst.lo ctype.lo \
285 ext-inst.lo fstream-inst.lo functexcept.lo globals.lo io-inst.lo ios.lo \
286 istream-inst.lo limits.lo locale-inst.lo locale.lo localename.lo \
287 messages.lo misc-inst.lo monetary.lo numeric.lo ostream-inst.lo \
288 sstream-inst.lo stdexcept.lo stl-inst.lo streambuf-inst.lo \
289 string-inst.lo strstream.lo time.lo valarray-inst.lo vterminate.lo \
291 CXXFLAGS = @CXXFLAGS@
292 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
294 DIST_COMMON = Makefile.am Makefile.in
297 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
301 DEP_FILES = .deps/basic_file.P .deps/bitset.P .deps/c++locale.P \
302 .deps/cmath.P .deps/codecvt.P .deps/collate.P .deps/complex_io.P \
303 .deps/concept-inst.P .deps/ctype.P .deps/ext-inst.P \
304 .deps/fstream-inst.P .deps/functexcept.P .deps/globals.P \
305 .deps/io-inst.P .deps/ios.P .deps/istream-inst.P .deps/limits.P \
306 .deps/locale-inst.P .deps/locale.P .deps/localename.P .deps/messages.P \
307 .deps/misc-inst.P .deps/monetary.P .deps/numeric.P .deps/ostream-inst.P \
308 .deps/sstream-inst.P .deps/stdexcept.P .deps/stl-inst.P \
309 .deps/streambuf-inst.P .deps/string-inst.P .deps/strstream.P \
310 .deps/time.P .deps/valarray-inst.P .deps/vterminate.P \
312 SOURCES = $(libstdc___la_SOURCES)
313 OBJECTS = $(libstdc___la_OBJECTS)
317 .SUFFIXES: .S .c .cc .lo .o .obj .s
318 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
319 cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile
321 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
323 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
326 mostlyclean-toolexeclibLTLIBRARIES:
328 clean-toolexeclibLTLIBRARIES:
329 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
331 distclean-toolexeclibLTLIBRARIES:
333 maintainer-clean-toolexeclibLTLIBRARIES:
335 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
337 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
338 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
339 if test -f $$p; then \
340 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
341 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
345 uninstall-toolexeclibLTLIBRARIES:
347 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
348 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
351 # FIXME: We should only use cygpath when building on Windows,
352 # and only if it is available.
354 $(COMPILE) -c `cygpath -w $<`
363 -rm -f *.o core *.core
371 maintainer-clean-compile:
374 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
377 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
387 maintainer-clean-libtool:
389 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
390 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
394 $(CXXCOMPILE) -c `cygpath -w $<`
396 $(LTCXXCOMPILE) -c $<
400 ID: $(HEADERS) $(SOURCES) $(LISP)
401 list='$(SOURCES) $(HEADERS)'; \
402 unique=`for i in $$list; do echo $$i; done | \
403 awk ' { files[$$0] = 1; } \
404 END { for (i in files) print i; }'`; \
405 here=`pwd` && cd $(srcdir) \
406 && mkid -f$$here/ID $$unique $(LISP)
408 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
411 list='$(SOURCES) $(HEADERS)'; \
412 unique=`for i in $$list; do echo $$i; done | \
413 awk ' { files[$$0] = 1; } \
414 END { for (i in files) print i; }'`; \
415 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
416 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
425 maintainer-clean-tags:
427 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
431 distdir: $(DISTFILES)
432 here=`cd $(top_builddir) && pwd`; \
433 top_distdir=`cd $(top_distdir) && pwd`; \
434 distdir=`cd $(distdir) && pwd`; \
436 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits src/Makefile
437 @for file in $(DISTFILES); do \
439 if test -d $$d/$$file; then \
440 cp -pr $$d/$$file $(distdir)/$$file; \
442 test -f $(distdir)/$$file \
443 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
444 || cp -p $$d/$$file $(distdir)/$$file || :; \
448 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
450 -include $(DEP_FILES)
459 maintainer-clean-depend:
462 @echo '$(COMPILE) -c $<'; \
463 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
464 @-cp .deps/$(*F).pp .deps/$(*F).P; \
465 tr ' ' '\012' < .deps/$(*F).pp \
466 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
471 @echo '$(LTCOMPILE) -c $<'; \
472 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
473 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
474 < .deps/$(*F).pp > .deps/$(*F).P; \
475 tr ' ' '\012' < .deps/$(*F).pp \
476 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
481 @echo '$(CXXCOMPILE) -c $<'; \
482 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
483 @-cp .deps/$(*F).pp .deps/$(*F).P; \
484 tr ' ' '\012' < .deps/$(*F).pp \
485 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
490 @echo '$(LTCXXCOMPILE) -c $<'; \
491 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
492 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
493 < .deps/$(*F).pp > .deps/$(*F).P; \
494 tr ' ' '\012' < .deps/$(*F).pp \
495 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
505 installcheck: installcheck-am
506 install-exec-am: install-toolexeclibLTLIBRARIES
507 install-exec: install-exec-am
510 install-data: install-data-am
513 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
515 uninstall-am: uninstall-toolexeclibLTLIBRARIES
516 uninstall: uninstall-am
517 all-am: Makefile $(LTLIBRARIES)
520 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
522 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
530 -rm -f Makefile $(CONFIG_CLEAN_FILES)
531 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
533 maintainer-clean-generic:
534 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
535 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
538 mostlyclean: mostlyclean-am
540 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
541 clean-tags clean-depend clean-generic mostlyclean-am
545 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
546 distclean-libtool distclean-tags distclean-depend \
547 distclean-generic clean-am
550 distclean: distclean-am
552 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
553 maintainer-clean-compile maintainer-clean-libtool \
554 maintainer-clean-tags maintainer-clean-depend \
555 maintainer-clean-generic distclean-am
556 @echo "This command is intended for maintainers to use;"
557 @echo "it deletes files that may require special tools to rebuild."
559 maintainer-clean: maintainer-clean-am
561 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
562 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
563 maintainer-clean-toolexeclibLTLIBRARIES \
564 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
565 mostlyclean-compile distclean-compile clean-compile \
566 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
567 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
568 distclean-tags clean-tags maintainer-clean-tags distdir \
569 mostlyclean-depend distclean-depend clean-depend \
570 maintainer-clean-depend info-am info dvi-am dvi check check-am \
571 installcheck-am installcheck install-exec-am install-exec \
572 install-data-am install-data install-am install uninstall-am uninstall \
573 all-redirect all-am all installdirs mostlyclean-generic \
574 distclean-generic clean-generic maintainer-clean-generic clean \
575 mostlyclean distclean maintainer-clean
577 strstream.lo: strstream.cc
578 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
579 strstream.o: strstream.cc
580 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
582 # Use special rules for the concept-checking instantiations so that all
583 # the generated template functions are also instantiated. Force the checks
584 # to be on so that the instantiations are actually seen.
585 concept-inst.lo: concept-inst.cc
586 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
587 concept-inst.o: concept-inst.cc
588 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
590 # Tell versions [3.59,3.63) of GNU make to not export all variables.
591 # Otherwise a system limit (for SysV at least) may be exceeded.