PR libstdc++/3584
[official-gcc.git] / libstdc++-v3 / src / Makefile.in
blob0974449aaa11e18201f58cfc7a64dbb5cec02445
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
11 # PARTICULAR PURPOSE.
14 SHELL = @SHELL@
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
34 DESTDIR =
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
40 top_builddir = ..
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
53 NORMAL_INSTALL = :
54 PRE_INSTALL = :
55 POST_INSTALL = :
56 NORMAL_UNINSTALL = :
57 PRE_UNINSTALL = :
58 POST_UNINSTALL = :
59 build_alias = @build_alias@
60 build_triplet = @build@
61 host_alias = @host_alias@
62 host_triplet = @host@
63 target_alias = @target_alias@
64 target_triplet = @target@
65 AR = @AR@
66 AS = @AS@
67 ATOMICITY_INC_SRCDIR = @ATOMICITY_INC_SRCDIR@
68 AWK = @AWK@
69 BASIC_FILE_H = @BASIC_FILE_H@
70 CC = @CC@
71 CCODECVT_C = @CCODECVT_C@
72 CCODECVT_H = @CCODECVT_H@
73 CLOCALE_H = @CLOCALE_H@
74 CMESSAGES_H = @CMESSAGES_H@
75 CPP = @CPP@
76 CSTDIO_H = @CSTDIO_H@
77 CXXCPP = @CXXCPP@
78 C_INCLUDE_DIR = @C_INCLUDE_DIR@
79 DEBUG_FLAGS = @DEBUG_FLAGS@
80 DLLTOOL = @DLLTOOL@
81 EXEEXT = @EXEEXT@
82 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
83 GCJ = @GCJ@
84 GCJFLAGS = @GCJFLAGS@
85 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
86 LIBMATHOBJS = @LIBMATHOBJS@
87 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
88 LIBTOOL = @LIBTOOL@
89 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
90 LN_S = @LN_S@
91 MAINT = @MAINT@
92 MAKEINFO = @MAKEINFO@
93 OBJDUMP = @OBJDUMP@
94 OBJEXT = @OBJEXT@
95 OPT_LDFLAGS = @OPT_LDFLAGS@
96 OS_INC_SRCDIR = @OS_INC_SRCDIR@
97 PACKAGE = @PACKAGE@
98 RANLIB = @RANLIB@
99 SECTION_FLAGS = @SECTION_FLAGS@
100 SECTION_LDFLAGS = @SECTION_LDFLAGS@
101 STRIP = @STRIP@
102 USE_NLS = @USE_NLS@
103 VERSION = @VERSION@
104 WARN_FLAGS = @WARN_FLAGS@
105 WERROR = @WERROR@
106 baseline_file = @baseline_file@
107 check_msgfmt = @check_msgfmt@
108 enable_shared = @enable_shared@
109 enable_static = @enable_static@
110 glibcpp_CXX = @glibcpp_CXX@
111 glibcpp_MOFILES = @glibcpp_MOFILES@
112 glibcpp_POFILES = @glibcpp_POFILES@
113 glibcpp_basedir = @glibcpp_basedir@
114 glibcpp_builddir = @glibcpp_builddir@
115 glibcpp_localedir = @glibcpp_localedir@
116 glibcpp_prefixdir = @glibcpp_prefixdir@
117 glibcpp_srcdir = @glibcpp_srcdir@
118 glibcpp_thread_h = @glibcpp_thread_h@
119 glibcpp_toolexecdir = @glibcpp_toolexecdir@
120 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
121 gxx_include_dir = @gxx_include_dir@
122 ifGNUmake = @ifGNUmake@
123 libio_la = @libio_la@
124 libtool_VERSION = @libtool_VERSION@
125 toplevel_srcdir = @toplevel_srcdir@
127 AUTOMAKE_OPTIONS = 1.3 cygnus
128 MAINT_CHARSET = latin1
130 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
132 # Cross compiler support.
133 CXX = @glibcpp_CXX@
134 toolexecdir = @glibcpp_toolexecdir@
135 toolexeclibdir = @glibcpp_toolexeclibdir@
136 toolexeclib_LTLIBRARIES = libstdc++.la
138 # Compile flags that should be constant throughout the build, both for
139 # SUBDIRS and for libstdc++-v3 in general.
140 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
142 # These bits are all figured out from configure. Look in acinclude.m4
143 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
144 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
145 CONFIG_CXXFLAGS = \
146 @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @DEBUG_FLAGS@
149 # Warning flags to use.
150 WARN_CXXFLAGS = \
151 @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
154 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
155 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
156 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
157 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
158 LIBIO_INCLUDES = @LIBIO_INCLUDES@
159 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
161 INCLUDES = \
162 -nostdinc++ \
163 $(GLIBCPP_INCLUDES) \
164 $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
165 $(TOPLEVEL_INCLUDES)
168 # Source files linked in via configuration magic for a particular target.
169 target_sources = \
170 codecvt_members.cc \
171 collate_members.cc \
172 ctype_members.cc \
173 messages_members.cc \
174 monetary_members.cc \
175 numeric_members.cc \
176 time_members.cc
179 # Source files linked in via configuration magic for a particular
180 # target, but with ad hoc naming rules.
181 target_sources_extra = \
182 basic_file.cc \
183 c++locale.cc
186 # Sources present in the src directory.
187 sources = \
188 bitset.cc \
189 codecvt.cc \
190 complex_io.cc \
191 concept-inst.cc \
192 ctype.cc \
193 ext-inst.cc \
194 fstream.cc \
195 fstream-inst.cc \
196 functexcept.cc \
197 globals.cc \
198 io-inst.cc \
199 ios.cc \
200 istream-inst.cc \
201 limits.cc \
202 locale.cc \
203 locale-inst.cc \
204 localename.cc \
205 misc-inst.cc \
206 ostream-inst.cc \
207 sstream-inst.cc \
208 stdexcept.cc \
209 stl-inst.cc \
210 streambuf-inst.cc \
211 string-inst.cc \
212 strstream.cc \
213 valarray-inst.cc \
214 vterminate.cc \
215 wstring-inst.cc \
216 ${target_sources} \
217 ${target_sources_extra}
220 VPATH = $(top_srcdir)/src:$(top_srcdir)
222 libstdc___la_SOURCES = $(sources)
224 libstdc___la_LIBADD = \
225 ../libmath/libmath.la @libio_la@ \
226 ../libsupc++/libsupc++convenience.la
228 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@-Wl,--version-script=linker.map
229 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg =
231 libstdc___la_LDFLAGS = \
232 -version-info @libtool_VERSION@ ${version_arg} \
233 -lm @LIBUNWIND_FLAG@
236 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) linker.map
238 # Use special rules for the deprecated source files so that they find
239 # deprecated include files.
240 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
242 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
243 # modified in a per-library or per-sub-library way. Need to manually
244 # set this option because CONFIG_CXXFLAGS has to be after
245 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
246 # as the occasion call for it. (ie, --enable-debug)
247 AM_CXXFLAGS = \
248 -fno-implicit-templates \
249 $(LIBSUPCXX_CXXFLAGS) \
250 $(WARN_CXXFLAGS) \
251 $(OPTIMIZE_CXXFLAGS) \
252 $(CONFIG_CXXFLAGS)
255 # libstdc++ libtool notes
257 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
258 # last. (That way, things like -O2 passed down from the toplevel can
259 # be overridden by --enable-debug.)
261 # 2) In general, libtool expects an argument such as `--tag=CXX' when
262 # using the C++ compiler, because that will enable the settings
263 # detected when C++ support was being configured. However, when no
264 # such flag is given in the command line, libtool attempts to figure
265 # it out by matching the compiler name in each configuration section
266 # against a prefix of the command line. The problem is that, if the
267 # compiler name and its initial flags stored in the libtool
268 # configuration file don't match those in the command line, libtool
269 # can't decide which configuration to use, and it gives up. The
270 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
271 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
272 # attempt to infer which configuration to use
273 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
274 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
277 # 3) We'd have a problem when building the shared libstdc++ object if
278 # the rules automake generates would be used. We cannot allow g++ to
279 # be used since this would add -lstdc++ to the link line which of
280 # course is problematic at this point. So, we get the top-level
281 # directory to configure libstdc++-v3 to use gcc as the C++
282 # compilation driver.
283 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
284 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
286 CONFIG_HEADER = ../config.h
287 CONFIG_CLEAN_FILES =
288 LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
291 DEFS = @DEFS@ -I. -I$(srcdir) -I..
292 CPPFLAGS = @CPPFLAGS@
293 LDFLAGS = @LDFLAGS@
294 LIBS = @LIBS@
295 libstdc___la_OBJECTS = bitset.lo codecvt.lo complex_io.lo \
296 concept-inst.lo ctype.lo ext-inst.lo fstream.lo fstream-inst.lo \
297 functexcept.lo globals.lo io-inst.lo ios.lo istream-inst.lo limits.lo \
298 locale.lo locale-inst.lo localename.lo misc-inst.lo ostream-inst.lo \
299 sstream-inst.lo stdexcept.lo stl-inst.lo streambuf-inst.lo \
300 string-inst.lo strstream.lo valarray-inst.lo vterminate.lo \
301 wstring-inst.lo codecvt_members.lo collate_members.lo ctype_members.lo \
302 messages_members.lo monetary_members.lo numeric_members.lo \
303 time_members.lo basic_file.lo c++locale.lo
304 CXXFLAGS = @CXXFLAGS@
305 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
306 CXXLD = $(CXX)
307 DIST_COMMON = Makefile.am Makefile.in
310 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
312 TAR = gtar
313 GZIP_ENV = --best
314 SOURCES = $(libstdc___la_SOURCES)
315 OBJECTS = $(libstdc___la_OBJECTS)
317 all: all-redirect
318 .SUFFIXES:
319 .SUFFIXES: .S .c .cc .lo .o .obj .s
320 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
321 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
323 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
324 cd $(top_builddir) \
325 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
328 mostlyclean-toolexeclibLTLIBRARIES:
330 clean-toolexeclibLTLIBRARIES:
331 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
333 distclean-toolexeclibLTLIBRARIES:
335 maintainer-clean-toolexeclibLTLIBRARIES:
337 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
338 @$(NORMAL_INSTALL)
339 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
340 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
341 if test -f $$p; then \
342 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
343 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
344 else :; fi; \
345 done
347 uninstall-toolexeclibLTLIBRARIES:
348 @$(NORMAL_UNINSTALL)
349 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
350 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
351 done
353 .c.o:
354 $(COMPILE) -c $<
356 # FIXME: We should only use cygpath when building on Windows,
357 # and only if it is available.
358 .c.obj:
359 $(COMPILE) -c `cygpath -w $<`
361 .s.o:
362 $(COMPILE) -c $<
364 .S.o:
365 $(COMPILE) -c $<
367 mostlyclean-compile:
368 -rm -f *.o core *.core
369 -rm -f *.$(OBJEXT)
371 clean-compile:
373 distclean-compile:
374 -rm -f *.tab.c
376 maintainer-clean-compile:
378 .c.lo:
379 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
381 .s.lo:
382 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
384 .S.lo:
385 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
387 mostlyclean-libtool:
388 -rm -f *.lo
390 clean-libtool:
391 -rm -rf .libs _libs
393 distclean-libtool:
395 maintainer-clean-libtool:
397 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
398 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
399 .cc.o:
400 $(CXXCOMPILE) -c $<
401 .cc.obj:
402 $(CXXCOMPILE) -c `cygpath -w $<`
403 .cc.lo:
404 $(LTCXXCOMPILE) -c $<
406 tags: TAGS
408 ID: $(HEADERS) $(SOURCES) $(LISP)
409 list='$(SOURCES) $(HEADERS)'; \
410 unique=`for i in $$list; do echo $$i; done | \
411 awk ' { files[$$0] = 1; } \
412 END { for (i in files) print i; }'`; \
413 here=`pwd` && cd $(srcdir) \
414 && mkid -f$$here/ID $$unique $(LISP)
416 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
417 tags=; \
418 here=`pwd`; \
419 list='$(SOURCES) $(HEADERS)'; \
420 unique=`for i in $$list; do echo $$i; done | \
421 awk ' { files[$$0] = 1; } \
422 END { for (i in files) print i; }'`; \
423 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
424 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
426 mostlyclean-tags:
428 clean-tags:
430 distclean-tags:
431 -rm -f TAGS ID
433 maintainer-clean-tags:
435 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
437 subdir = src
439 distdir: $(DISTFILES)
440 @for file in $(DISTFILES); do \
441 if test -f $$file; then d=.; else d=$(srcdir); fi; \
442 if test -d $$d/$$file; then \
443 cp -pr $$d/$$file $(distdir)/$$file; \
444 else \
445 test -f $(distdir)/$$file \
446 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
447 || cp -p $$d/$$file $(distdir)/$$file || :; \
448 fi; \
449 done
450 info-am:
451 info: info-am
452 dvi-am:
453 dvi: dvi-am
454 check-am:
455 check: check-am
456 installcheck-am:
457 installcheck: installcheck-am
458 install-info-am:
459 install-info: install-info-am
460 install-exec-am: install-toolexeclibLTLIBRARIES
461 install-exec: install-exec-am
463 install-data-am:
464 install-data: install-data-am
466 install-am: all-am
467 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
468 install: install-am
469 uninstall-am: uninstall-toolexeclibLTLIBRARIES
470 uninstall: uninstall-am
471 all-am: Makefile $(LTLIBRARIES)
472 all-redirect: all-am
473 install-strip:
474 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
475 installdirs:
476 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
479 mostlyclean-generic:
481 clean-generic:
483 distclean-generic:
484 -rm -f Makefile $(CONFIG_CLEAN_FILES)
485 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
487 maintainer-clean-generic:
488 mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
489 mostlyclean-libtool mostlyclean-tags \
490 mostlyclean-generic
492 mostlyclean: mostlyclean-am
494 clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
495 clean-tags clean-generic mostlyclean-am
497 clean: clean-am
499 distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
500 distclean-libtool distclean-tags distclean-generic \
501 clean-am
502 -rm -f libtool
504 distclean: distclean-am
506 maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
507 maintainer-clean-compile maintainer-clean-libtool \
508 maintainer-clean-tags maintainer-clean-generic \
509 distclean-am
510 @echo "This command is intended for maintainers to use;"
511 @echo "it deletes files that may require special tools to rebuild."
513 maintainer-clean: maintainer-clean-am
515 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
516 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
517 maintainer-clean-toolexeclibLTLIBRARIES \
518 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
519 mostlyclean-compile distclean-compile clean-compile \
520 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
521 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
522 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
523 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
524 install-info install-exec-am install-exec install-data-am install-data \
525 install-am install uninstall-am uninstall all-redirect all-am all \
526 installdirs mostlyclean-generic distclean-generic clean-generic \
527 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
529 strstream.lo: strstream.cc
530 $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
531 strstream.o: strstream.cc
532 $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
534 # Use special rules for the concept-checking instantiations so that all
535 # the generated template functions are also instantiated. Force the checks
536 # to be on so that the instantiations are actually seen.
537 concept-inst.lo: concept-inst.cc
538 $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
539 concept-inst.o: concept-inst.cc
540 $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
542 # Tell versions [3.59,3.63) of GNU make to not export all variables.
543 # Otherwise a system limit (for SysV at least) may be exceeded.
544 .NOEXPORT: