1 # Makefile.in generated automatically by automake 1.4-p5 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_H = @BASIC_FILE_H@
70 BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
72 CATOBJEXT = @CATOBJEXT@
74 CCODECVT_C = @CCODECVT_C@
75 CCODECVT_H = @CCODECVT_H@
76 CLOCALE_H = @CLOCALE_H@
77 CMESSAGES_H = @CMESSAGES_H@
79 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
80 CSHADOW_FLAGS = @CSHADOW_FLAGS@
83 C_INCLUDE_DIR = @C_INCLUDE_DIR@
84 DATADIRNAME = @DATADIRNAME@
85 DEBUG_FLAGS = @DEBUG_FLAGS@
88 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
93 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
96 INSTOBJEXT = @INSTOBJEXT@
97 INTLBISON = @INTLBISON@
100 INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@
101 LIBICONV = @LIBICONV@
102 LIBMATHOBJS = @LIBMATHOBJS@
103 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
105 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
108 MAKEINFO = @MAKEINFO@
109 MKINSTALLDIRS = @MKINSTALLDIRS@
113 OPT_LDFLAGS = @OPT_LDFLAGS@
114 OS_INC_SRCDIR = @OS_INC_SRCDIR@
119 SECTION_FLAGS = @SECTION_FLAGS@
120 SECTION_LDFLAGS = @SECTION_LDFLAGS@
122 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
125 WARN_FLAGS = @WARN_FLAGS@
127 enable_shared = @enable_shared@
128 enable_static = @enable_static@
129 glibcpp_CXX = @glibcpp_CXX@
130 glibcpp_MOFILES = @glibcpp_MOFILES@
131 glibcpp_POFILES = @glibcpp_POFILES@
132 glibcpp_basedir = @glibcpp_basedir@
133 glibcpp_builddir = @glibcpp_builddir@
134 glibcpp_localedir = @glibcpp_localedir@
135 glibcpp_prefixdir = @glibcpp_prefixdir@
136 glibcpp_srcdir = @glibcpp_srcdir@
137 glibcpp_thread_h = @glibcpp_thread_h@
138 glibcpp_toolexecdir = @glibcpp_toolexecdir@
139 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
140 gxx_include_dir = @gxx_include_dir@
141 ifGNUmake = @ifGNUmake@
142 libio_la = @libio_la@
143 libtool_VERSION = @libtool_VERSION@
144 release_VERSION = @release_VERSION@
145 toplevel_srcdir = @toplevel_srcdir@
147 AUTOMAKE_OPTIONS = 1.3 gnits
148 MAINT_CHARSET = latin1
150 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
152 # Cross compiler and multilib support.
154 toolexecdir = @glibcpp_toolexecdir@
155 toolexeclibdir = @glibcpp_toolexeclibdir@
156 toolexeclib_LTLIBRARIES = libstdc++.la
158 # Compile flags that should be constant throughout the build, both for
159 # SUBDIRS and for libstdc++-v3 in general.
160 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
162 # These bits are all figured out from configure. Look in acinclude.m4
163 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
164 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
166 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
169 # Warning flags to use.
171 @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
174 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
175 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
176 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
177 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
178 LIBIO_INCLUDES = @LIBIO_INCLUDES@
179 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
183 $(GLIBCPP_INCLUDES) \
184 $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
189 globals.cc limits.cc \
190 basic_file.cc complex_io.cc ios.cc strstream.cc \
192 functexcept.cc stdexcept.cc vterminate.cc \
193 c++locale.cc locale.cc localename.cc codecvt.cc \
194 collate.cc ctype.cc messages.cc monetary.cc numeric.cc time.cc \
195 concept-inst.cc locale-inst.cc misc-inst.cc stl-inst.cc \
196 string-inst.cc wstring-inst.cc valarray-inst.cc ext-inst.cc
199 VPATH = $(top_srcdir)/src:$(top_srcdir)
201 libstdc___la_SOURCES = $(sources)
203 libstdc___la_LIBADD = \
204 ../libmath/libmath.la @libio_la@ \
205 ../libsupc++/libsupc++convenience.la
207 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@-Wl,--version-script=linker.map
208 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
210 libstdc___la_LDFLAGS = \
211 -version-info @libtool_VERSION@ ${version_arg} \
215 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) linker.map
217 # Use special rules for the deprecated source files so that they find
218 # deprecated include files.
219 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
221 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
222 # modified in a per-library or per-sub-library way. Need to manually
223 # set this option because CONFIG_CXXFLAGS has to be after
224 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
225 # as the occasion call for it. (ie, --enable-debug)
227 -fno-implicit-templates \
228 $(LIBSUPCXX_CXXFLAGS) \
230 $(OPTIMIZE_CXXFLAGS) \
234 # libstdc++ libtool notes
236 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
237 # last. (That way, things like -O2 passed down from the toplevel can
238 # be overridden by --enable-debug.)
240 # 2) In general, libtool expects an argument such as `--tag=CXX' when
241 # using the C++ compiler, because that will enable the settings
242 # detected when C++ support was being configured. However, when no
243 # such flag is given in the command line, libtool attempts to figure
244 # it out by matching the compiler name in each configuration section
245 # against a prefix of the command line. The problem is that, if the
246 # compiler name and its initial flags stored in the libtool
247 # configuration file don't match those in the command line, libtool
248 # can't decide which configuration to use, and it gives up. The
249 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
250 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
251 # attempt to infer which configuration to use
252 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
253 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
256 # 3) We'd have a problem when building the shared libstdc++ object if
257 # the rules automake generates would be used. We cannot allow g++ to
258 # be used since this would add -lstdc++ to the link line which of
259 # course is problematic at this point. So, we get the top-level
260 # directory to configure libstdc++-v3 to use gcc as the C++
261 # compilation driver.
262 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
263 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
265 CONFIG_HEADER = ../config.h
267 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
270 DEFS = @DEFS@ -I. -I$(srcdir) -I..
271 CPPFLAGS = @CPPFLAGS@
274 libstdc___la_OBJECTS = globals.lo limits.lo basic_file.lo complex_io.lo \
275 ios.lo strstream.lo cmath.lo bitset.lo functexcept.lo stdexcept.lo \
276 vterminate.lo c++locale.lo locale.lo localename.lo codecvt.lo \
277 collate.lo ctype.lo messages.lo monetary.lo numeric.lo time.lo \
278 concept-inst.lo locale-inst.lo misc-inst.lo stl-inst.lo string-inst.lo \
279 wstring-inst.lo valarray-inst.lo ext-inst.lo
280 CXXFLAGS = @CXXFLAGS@
281 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
283 DIST_COMMON = Makefile.am Makefile.in
286 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
290 SOURCES = $(libstdc___la_SOURCES)
291 OBJECTS = $(libstdc___la_OBJECTS)
295 .SUFFIXES: .S .c .cc .lo .o .obj .s
296 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
297 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
299 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
301 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
304 mostlyclean-toolexeclibLTLIBRARIES:
306 clean-toolexeclibLTLIBRARIES:
307 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
309 distclean-toolexeclibLTLIBRARIES:
311 maintainer-clean-toolexeclibLTLIBRARIES:
313 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
315 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
316 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
317 if test -f $$p; then \
318 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
319 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
323 uninstall-toolexeclibLTLIBRARIES:
325 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
326 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
332 # FIXME: We should only use cygpath when building on Windows,
333 # and only if it is available.
335 $(COMPILE) -c `cygpath -w $<`
344 -rm -f *.o core *.core
352 maintainer-clean-compile:
355 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
358 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
361 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
371 maintainer-clean-libtool:
373 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
374 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
378 $(CXXCOMPILE) -c `cygpath -w $<`
380 $(LTCXXCOMPILE) -c $<
384 ID: $(HEADERS) $(SOURCES) $(LISP)
385 list='$(SOURCES) $(HEADERS)'; \
386 unique=`for i in $$list; do echo $$i; done | \
387 awk ' { files[$$0] = 1; } \
388 END { for (i in files) print i; }'`; \
389 here=`pwd` && cd $(srcdir) \
390 && mkid -f$$here/ID $$unique $(LISP)
392 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
395 list='$(SOURCES) $(HEADERS)'; \
396 unique=`for i in $$list; do echo $$i; done | \
397 awk ' { files[$$0] = 1; } \
398 END { for (i in files) print i; }'`; \
399 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
400 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
409 maintainer-clean-tags:
411 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
415 distdir: $(DISTFILES)
416 @for file in $(DISTFILES); do \
417 if test -f $$file; then d=.; else d=$(srcdir); fi; \
418 if test -d $$d/$$file; then \
419 cp -pr $$d/$$file $(distdir)/$$file; \
421 test -f $(distdir)/$$file \
422 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
423 || cp -p $$d/$$file $(distdir)/$$file || :; \
433 installcheck: installcheck-am
435 install-info: install-info-am
436 install-exec-am: install-toolexeclibLTLIBRARIES
437 install-exec: install-exec-am
440 install-data: install-data-am
443 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
445 uninstall-am: uninstall-toolexeclibLTLIBRARIES
446 uninstall: uninstall-am
447 all-am: Makefile $(LTLIBRARIES)
450 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
452 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
460 -rm -f Makefile $(CONFIG_CLEAN_FILES)
461 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
463 maintainer-clean-generic:
464 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
465 mostlyclean-libtool mostlyclean-tags \
468 mostlyclean: mostlyclean-am
470 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
471 clean-tags clean-generic mostlyclean-am
475 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
476 distclean-libtool distclean-tags distclean-generic \
480 distclean: distclean-am
482 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
483 maintainer-clean-compile maintainer-clean-libtool \
484 maintainer-clean-tags maintainer-clean-generic \
486 @echo "This command is intended for maintainers to use;"
487 @echo "it deletes files that may require special tools to rebuild."
489 maintainer-clean: maintainer-clean-am
491 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
492 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
493 maintainer-clean-toolexeclibLTLIBRARIES \
494 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
495 mostlyclean-compile distclean-compile clean-compile \
496 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
497 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
498 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
499 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
500 install-info install-exec-am install-exec install-data-am install-data \
501 install-am install uninstall-am uninstall all-redirect all-am all \
502 installdirs mostlyclean-generic distclean-generic clean-generic \
503 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
505 strstream.lo: strstream.cc
506 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
507 strstream.o: strstream.cc
508 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
510 # Use special rules for the concept-checking instantiations so that all
511 # the generated template functions are also instantiated. Force the checks
512 # to be on so that the instantiations are actually seen.
513 concept-inst.lo: concept-inst.cc
514 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
515 concept-inst.o: concept-inst.cc
516 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
518 # Tell versions [3.59,3.63) of GNU make to not export all variables.
519 # Otherwise a system limit (for SysV at least) may be exceeded.