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@
68 BASIC_FILE_H = @BASIC_FILE_H@
70 CATOBJEXT = @CATOBJEXT@
72 CCODECVT_C = @CCODECVT_C@
73 CCODECVT_H = @CCODECVT_H@
74 CLOCALE_H = @CLOCALE_H@
75 CMESSAGES_H = @CMESSAGES_H@
77 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
78 CSHADOW_FLAGS = @CSHADOW_FLAGS@
81 C_INCLUDE_DIR = @C_INCLUDE_DIR@
82 DATADIRNAME = @DATADIRNAME@
83 DEBUG_FLAGS = @DEBUG_FLAGS@
86 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
90 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
95 INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
96 INSTOBJEXT = @INSTOBJEXT@
100 LIBMATHOBJS = @LIBMATHOBJS@
101 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
105 MAKEINFO = @MAKEINFO@
106 MKINSTALLDIRS = @MKINSTALLDIRS@
110 OPT_LDFLAGS = @OPT_LDFLAGS@
111 OS_INC_SRCDIR = @OS_INC_SRCDIR@
116 SECTION_FLAGS = @SECTION_FLAGS@
117 SECTION_LDFLAGS = @SECTION_LDFLAGS@
119 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
120 USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
123 WARN_FLAGS = @WARN_FLAGS@
125 enable_shared = @enable_shared@
126 enable_static = @enable_static@
127 glibcpp_CXX = @glibcpp_CXX@
128 glibcpp_MOFILES = @glibcpp_MOFILES@
129 glibcpp_POFILES = @glibcpp_POFILES@
130 glibcpp_basedir = @glibcpp_basedir@
131 glibcpp_builddir = @glibcpp_builddir@
132 glibcpp_localedir = @glibcpp_localedir@
133 glibcpp_prefixdir = @glibcpp_prefixdir@
134 glibcpp_srcdir = @glibcpp_srcdir@
135 glibcpp_thread_h = @glibcpp_thread_h@
136 glibcpp_toolexecdir = @glibcpp_toolexecdir@
137 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
138 gxx_include_dir = @gxx_include_dir@
139 ifGNUmake = @ifGNUmake@
141 libio_la = @libio_la@
142 libtool_VERSION = @libtool_VERSION@
143 release_VERSION = @release_VERSION@
144 toplevel_srcdir = @toplevel_srcdir@
146 AUTOMAKE_OPTIONS = 1.3 gnits
147 MAINT_CHARSET = latin1
149 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
151 # Cross compiler and multilib support.
153 toolexecdir = @glibcpp_toolexecdir@
154 toolexeclibdir = @glibcpp_toolexeclibdir@
155 toolexeclib_LTLIBRARIES = libstdc++.la
157 # Compile flags that should be constant throughout the build, both for
158 # SUBDIRS and for libstdc++-v3 in general.
159 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
161 # These bits are all figured out from configure. Look in acinclude.m4
162 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
163 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
165 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@
168 # Warning flags to use.
170 @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
173 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
174 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
175 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
176 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
177 LIBIO_INCLUDES = @LIBIO_INCLUDES@
178 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
182 $(GLIBCPP_INCLUDES) \
183 $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
188 globals.cc limits.cc \
189 basic_file.cc complex_io.cc ios.cc strstream.cc \
191 functexcept.cc stdexcept.cc vterminate.cc \
192 c++locale.cc locale.cc localename.cc codecvt.cc \
193 collate.cc ctype.cc messages.cc moneypunct.cc numpunct.cc time.cc \
194 concept-inst.cc locale-inst.cc misc-inst.cc stl-inst.cc \
195 string-inst.cc wstring-inst.cc valarray-inst.cc ext-inst.cc
198 VPATH = $(top_srcdir)/src:$(top_srcdir)
200 libstdc___la_SOURCES = $(sources)
202 libstdc___la_LIBADD = \
203 ../libmath/libmath.la @libio_la@ \
204 ../libsupc++/libsupc++convenience.la
206 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@-Wl,--version-script=linker.map
207 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
209 libstdc___la_LDFLAGS = -version-info @libtool_VERSION@ -lm ${version_arg}
211 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) linker.map
213 # Use special rules for the deprecated source files so that they find
214 # deprecated include files.
215 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
217 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
218 # modified in a per-library or per-sub-library way. Need to manually
219 # set this option because CONFIG_CXXFLAGS has to be after
220 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
221 # as the occasion call for it. (ie, --enable-debug)
223 -fno-implicit-templates \
224 $(LIBSUPCXX_CXXFLAGS) \
226 $(OPTIMIZE_CXXFLAGS) \
230 # libstdc++ libtool notes
232 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
233 # last. (That way, things like -O2 passed down from the toplevel can
234 # be overridden by --enable-debug.)
236 # 2) In general, libtool expects an argument such as `--tag=CXX' when
237 # using the C++ compiler, because that will enable the settings
238 # detected when C++ support was being configured. However, when no
239 # such flag is given in the command line, libtool attempts to figure
240 # it out by matching the compiler name in each configuration section
241 # against a prefix of the command line. The problem is that, if the
242 # compiler name and its initial flags stored in the libtool
243 # configuration file don't match those in the command line, libtool
244 # can't decide which configuration to use, and it gives up. The
245 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
246 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
247 # attempt to infer which configuration to use
248 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
249 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
252 # 3) We'd have a problem when building the shared libstdc++ object if
253 # the rules automake generates would be used. We cannot allow g++ to
254 # be used since this would add -lstdc++ to the link line which of
255 # course is problematic at this point. So, we get the top-level
256 # directory to configure libstdc++-v3 to use gcc as the C++
257 # compilation driver.
258 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
259 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
261 CONFIG_HEADER = ../config.h
263 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
266 DEFS = @DEFS@ -I. -I$(srcdir) -I..
267 CPPFLAGS = @CPPFLAGS@
270 libstdc___la_OBJECTS = globals.lo limits.lo basic_file.lo complex_io.lo \
271 ios.lo strstream.lo cmath.lo bitset.lo functexcept.lo stdexcept.lo \
272 vterminate.lo c++locale.lo locale.lo localename.lo codecvt.lo \
273 collate.lo ctype.lo messages.lo moneypunct.lo numpunct.lo time.lo \
274 concept-inst.lo locale-inst.lo misc-inst.lo stl-inst.lo string-inst.lo \
275 wstring-inst.lo valarray-inst.lo ext-inst.lo
276 CXXFLAGS = @CXXFLAGS@
277 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
279 DIST_COMMON = Makefile.am Makefile.in
282 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
286 DEP_FILES = .deps/basic_file.P .deps/bitset.P .deps/c++locale.P \
287 .deps/cmath.P .deps/codecvt.P .deps/collate.P .deps/complex_io.P \
288 .deps/concept-inst.P .deps/ctype.P .deps/ext-inst.P .deps/functexcept.P \
289 .deps/globals.P .deps/ios.P .deps/limits.P .deps/locale-inst.P \
290 .deps/locale.P .deps/localename.P .deps/messages.P .deps/misc-inst.P \
291 .deps/moneypunct.P .deps/numpunct.P .deps/stdexcept.P .deps/stl-inst.P \
292 .deps/string-inst.P .deps/strstream.P .deps/time.P \
293 .deps/valarray-inst.P .deps/vterminate.P .deps/wstring-inst.P
294 SOURCES = $(libstdc___la_SOURCES)
295 OBJECTS = $(libstdc___la_OBJECTS)
299 .SUFFIXES: .S .c .cc .lo .o .obj .s
300 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
301 cd $(top_srcdir) && $(AUTOMAKE) --gnits src/Makefile
303 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
305 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
308 mostlyclean-toolexeclibLTLIBRARIES:
310 clean-toolexeclibLTLIBRARIES:
311 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
313 distclean-toolexeclibLTLIBRARIES:
315 maintainer-clean-toolexeclibLTLIBRARIES:
317 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
319 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
320 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
321 if test -f $$p; then \
322 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
323 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
327 uninstall-toolexeclibLTLIBRARIES:
329 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
330 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
333 # FIXME: We should only use cygpath when building on Windows,
334 # and only if it is available.
336 $(COMPILE) -c `cygpath -w $<`
345 -rm -f *.o core *.core
353 maintainer-clean-compile:
356 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
359 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
369 maintainer-clean-libtool:
371 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
372 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
376 $(CXXCOMPILE) -c `cygpath -w $<`
378 $(LTCXXCOMPILE) -c $<
382 ID: $(HEADERS) $(SOURCES) $(LISP)
383 list='$(SOURCES) $(HEADERS)'; \
384 unique=`for i in $$list; do echo $$i; done | \
385 awk ' { files[$$0] = 1; } \
386 END { for (i in files) print i; }'`; \
387 here=`pwd` && cd $(srcdir) \
388 && mkid -f$$here/ID $$unique $(LISP)
390 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
393 list='$(SOURCES) $(HEADERS)'; \
394 unique=`for i in $$list; do echo $$i; done | \
395 awk ' { files[$$0] = 1; } \
396 END { for (i in files) print i; }'`; \
397 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
398 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
407 maintainer-clean-tags:
409 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
413 distdir: $(DISTFILES)
414 here=`cd $(top_builddir) && pwd`; \
415 top_distdir=`cd $(top_distdir) && pwd`; \
416 distdir=`cd $(distdir) && pwd`; \
418 && $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnits src/Makefile
419 @for file in $(DISTFILES); do \
421 if test -d $$d/$$file; then \
422 cp -pr $$d/$$file $(distdir)/$$file; \
424 test -f $(distdir)/$$file \
425 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
426 || cp -p $$d/$$file $(distdir)/$$file || :; \
430 DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
432 -include $(DEP_FILES)
441 maintainer-clean-depend:
444 @echo '$(COMPILE) -c $<'; \
445 $(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
446 @-cp .deps/$(*F).pp .deps/$(*F).P; \
447 tr ' ' '\012' < .deps/$(*F).pp \
448 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
453 @echo '$(LTCOMPILE) -c $<'; \
454 $(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
455 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
456 < .deps/$(*F).pp > .deps/$(*F).P; \
457 tr ' ' '\012' < .deps/$(*F).pp \
458 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
463 @echo '$(CXXCOMPILE) -c $<'; \
464 $(CXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
465 @-cp .deps/$(*F).pp .deps/$(*F).P; \
466 tr ' ' '\012' < .deps/$(*F).pp \
467 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
472 @echo '$(LTCXXCOMPILE) -c $<'; \
473 $(LTCXXCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
474 @-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
475 < .deps/$(*F).pp > .deps/$(*F).P; \
476 tr ' ' '\012' < .deps/$(*F).pp \
477 | sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
487 installcheck: installcheck-am
488 install-exec-am: install-toolexeclibLTLIBRARIES
489 install-exec: install-exec-am
492 install-data: install-data-am
495 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
497 uninstall-am: uninstall-toolexeclibLTLIBRARIES
498 uninstall: uninstall-am
499 all-am: Makefile $(LTLIBRARIES)
502 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
504 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
512 -rm -f Makefile $(CONFIG_CLEAN_FILES)
513 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
515 maintainer-clean-generic:
516 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
517 mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
520 mostlyclean: mostlyclean-am
522 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
523 clean-tags clean-depend clean-generic mostlyclean-am
527 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
528 distclean-libtool distclean-tags distclean-depend \
529 distclean-generic clean-am
532 distclean: distclean-am
534 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
535 maintainer-clean-compile maintainer-clean-libtool \
536 maintainer-clean-tags maintainer-clean-depend \
537 maintainer-clean-generic distclean-am
538 @echo "This command is intended for maintainers to use;"
539 @echo "it deletes files that may require special tools to rebuild."
541 maintainer-clean: maintainer-clean-am
543 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
544 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
545 maintainer-clean-toolexeclibLTLIBRARIES \
546 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
547 mostlyclean-compile distclean-compile clean-compile \
548 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
549 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
550 distclean-tags clean-tags maintainer-clean-tags distdir \
551 mostlyclean-depend distclean-depend clean-depend \
552 maintainer-clean-depend info-am info dvi-am dvi check check-am \
553 installcheck-am installcheck install-exec-am install-exec \
554 install-data-am install-data install-am install uninstall-am uninstall \
555 all-redirect all-am all installdirs mostlyclean-generic \
556 distclean-generic clean-generic maintainer-clean-generic clean \
557 mostlyclean distclean maintainer-clean
559 strstream.lo: strstream.cc
560 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
561 strstream.o: strstream.cc
562 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
564 # Use special rules for the concept-checking instantiations so that all
565 # the generated template functions are also instantiated. Force the checks
566 # to be on so that the instantiations are actually seen.
567 concept-inst.lo: concept-inst.cc
568 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
569 concept-inst.o: concept-inst.cc
570 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
572 # Tell versions [3.59,3.63) of GNU make to not export all variables.
573 # Otherwise a system limit (for SysV at least) may be exceeded.