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@
107 MAKEINFO = @MAKEINFO@
108 MKINSTALLDIRS = @MKINSTALLDIRS@
112 OPT_LDFLAGS = @OPT_LDFLAGS@
113 OS_INC_SRCDIR = @OS_INC_SRCDIR@
118 SECTION_FLAGS = @SECTION_FLAGS@
119 SECTION_LDFLAGS = @SECTION_LDFLAGS@
121 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
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 = -version-info @libtool_VERSION@ -lm ${version_arg}
212 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) linker.map
214 # Use special rules for the deprecated source files so that they find
215 # deprecated include files.
216 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
218 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
219 # modified in a per-library or per-sub-library way. Need to manually
220 # set this option because CONFIG_CXXFLAGS has to be after
221 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
222 # as the occasion call for it. (ie, --enable-debug)
224 -fno-implicit-templates \
225 $(LIBSUPCXX_CXXFLAGS) \
227 $(OPTIMIZE_CXXFLAGS) \
231 # libstdc++ libtool notes
233 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
234 # last. (That way, things like -O2 passed down from the toplevel can
235 # be overridden by --enable-debug.)
237 # 2) In general, libtool expects an argument such as `--tag=CXX' when
238 # using the C++ compiler, because that will enable the settings
239 # detected when C++ support was being configured. However, when no
240 # such flag is given in the command line, libtool attempts to figure
241 # it out by matching the compiler name in each configuration section
242 # against a prefix of the command line. The problem is that, if the
243 # compiler name and its initial flags stored in the libtool
244 # configuration file don't match those in the command line, libtool
245 # can't decide which configuration to use, and it gives up. The
246 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
247 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
248 # attempt to infer which configuration to use
249 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
250 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
253 # 3) We'd have a problem when building the shared libstdc++ object if
254 # the rules automake generates would be used. We cannot allow g++ to
255 # be used since this would add -lstdc++ to the link line which of
256 # course is problematic at this point. So, we get the top-level
257 # directory to configure libstdc++-v3 to use gcc as the C++
258 # compilation driver.
259 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
260 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
262 CONFIG_HEADER = ../config.h
264 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
267 DEFS = @DEFS@ -I. -I$(srcdir) -I..
268 CPPFLAGS = @CPPFLAGS@
271 libstdc___la_OBJECTS = globals.lo limits.lo basic_file.lo complex_io.lo \
272 ios.lo strstream.lo cmath.lo bitset.lo functexcept.lo stdexcept.lo \
273 vterminate.lo c++locale.lo locale.lo localename.lo codecvt.lo \
274 collate.lo ctype.lo messages.lo monetary.lo numeric.lo time.lo \
275 concept-inst.lo locale-inst.lo misc-inst.lo stl-inst.lo string-inst.lo \
276 wstring-inst.lo valarray-inst.lo ext-inst.lo
277 CXXFLAGS = @CXXFLAGS@
278 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
280 DIST_COMMON = Makefile.am Makefile.in
283 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
287 SOURCES = $(libstdc___la_SOURCES)
288 OBJECTS = $(libstdc___la_OBJECTS)
292 .SUFFIXES: .S .c .cc .lo .o .obj .s
293 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
294 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
296 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
298 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
301 mostlyclean-toolexeclibLTLIBRARIES:
303 clean-toolexeclibLTLIBRARIES:
304 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
306 distclean-toolexeclibLTLIBRARIES:
308 maintainer-clean-toolexeclibLTLIBRARIES:
310 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
312 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
313 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
314 if test -f $$p; then \
315 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
316 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
320 uninstall-toolexeclibLTLIBRARIES:
322 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
323 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
329 # FIXME: We should only use cygpath when building on Windows,
330 # and only if it is available.
332 $(COMPILE) -c `cygpath -w $<`
341 -rm -f *.o core *.core
349 maintainer-clean-compile:
352 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
355 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
358 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
368 maintainer-clean-libtool:
370 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
371 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
375 $(CXXCOMPILE) -c `cygpath -w $<`
377 $(LTCXXCOMPILE) -c $<
381 ID: $(HEADERS) $(SOURCES) $(LISP)
382 list='$(SOURCES) $(HEADERS)'; \
383 unique=`for i in $$list; do echo $$i; done | \
384 awk ' { files[$$0] = 1; } \
385 END { for (i in files) print i; }'`; \
386 here=`pwd` && cd $(srcdir) \
387 && mkid -f$$here/ID $$unique $(LISP)
389 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
392 list='$(SOURCES) $(HEADERS)'; \
393 unique=`for i in $$list; do echo $$i; done | \
394 awk ' { files[$$0] = 1; } \
395 END { for (i in files) print i; }'`; \
396 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
397 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
406 maintainer-clean-tags:
408 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
412 distdir: $(DISTFILES)
413 @for file in $(DISTFILES); do \
414 if test -f $$file; then d=.; else d=$(srcdir); fi; \
415 if test -d $$d/$$file; then \
416 cp -pr $$d/$$file $(distdir)/$$file; \
418 test -f $(distdir)/$$file \
419 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
420 || cp -p $$d/$$file $(distdir)/$$file || :; \
430 installcheck: installcheck-am
432 install-info: install-info-am
433 install-exec-am: install-toolexeclibLTLIBRARIES
434 install-exec: install-exec-am
437 install-data: install-data-am
440 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
442 uninstall-am: uninstall-toolexeclibLTLIBRARIES
443 uninstall: uninstall-am
444 all-am: Makefile $(LTLIBRARIES)
447 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
449 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
457 -rm -f Makefile $(CONFIG_CLEAN_FILES)
458 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
460 maintainer-clean-generic:
461 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
462 mostlyclean-libtool mostlyclean-tags \
465 mostlyclean: mostlyclean-am
467 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
468 clean-tags clean-generic mostlyclean-am
472 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
473 distclean-libtool distclean-tags distclean-generic \
477 distclean: distclean-am
479 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
480 maintainer-clean-compile maintainer-clean-libtool \
481 maintainer-clean-tags maintainer-clean-generic \
483 @echo "This command is intended for maintainers to use;"
484 @echo "it deletes files that may require special tools to rebuild."
486 maintainer-clean: maintainer-clean-am
488 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
489 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
490 maintainer-clean-toolexeclibLTLIBRARIES \
491 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
492 mostlyclean-compile distclean-compile clean-compile \
493 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
494 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
495 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
496 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
497 install-info install-exec-am install-exec install-data-am install-data \
498 install-am install uninstall-am uninstall all-redirect all-am all \
499 installdirs mostlyclean-generic distclean-generic clean-generic \
500 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
502 strstream.lo: strstream.cc
503 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
504 strstream.o: strstream.cc
505 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
507 # Use special rules for the concept-checking instantiations so that all
508 # the generated template functions are also instantiated. Force the checks
509 # to be on so that the instantiations are actually seen.
510 concept-inst.lo: concept-inst.cc
511 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
512 concept-inst.o: concept-inst.cc
513 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
515 # Tell versions [3.59,3.63) of GNU make to not export all variables.
516 # Otherwise a system limit (for SysV at least) may be exceeded.