OSDN Git Service

2002-09-10 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / src / Makefile.in
1 # Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
2
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.
7
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.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
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
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
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@
52
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 CPU_LIMITS_INC_SRCDIR = @CPU_LIMITS_INC_SRCDIR@
77 CSTDIO_H = @CSTDIO_H@
78 CXXCPP = @CXXCPP@
79 C_INCLUDE_DIR = @C_INCLUDE_DIR@
80 DEBUG_FLAGS = @DEBUG_FLAGS@
81 DLLTOOL = @DLLTOOL@
82 EXEEXT = @EXEEXT@
83 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
84 GCJ = @GCJ@
85 GCJFLAGS = @GCJFLAGS@
86 GLIBCPP_IS_CROSS_COMPILING = @GLIBCPP_IS_CROSS_COMPILING@
87 LIBMATHOBJS = @LIBMATHOBJS@
88 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
89 LIBTOOL = @LIBTOOL@
90 LIBUNWIND_FLAG = @LIBUNWIND_FLAG@
91 LN_S = @LN_S@
92 MAINT = @MAINT@
93 MAKEINFO = @MAKEINFO@
94 OBJDUMP = @OBJDUMP@
95 OBJEXT = @OBJEXT@
96 OPT_LDFLAGS = @OPT_LDFLAGS@
97 OS_INC_SRCDIR = @OS_INC_SRCDIR@
98 PACKAGE = @PACKAGE@
99 RANLIB = @RANLIB@
100 SECTION_FLAGS = @SECTION_FLAGS@
101 SECTION_LDFLAGS = @SECTION_LDFLAGS@
102 STRIP = @STRIP@
103 USE_NLS = @USE_NLS@
104 VERSION = @VERSION@
105 WARN_FLAGS = @WARN_FLAGS@
106 WERROR = @WERROR@
107 baseline_file = @baseline_file@
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 toplevel_srcdir = @toplevel_srcdir@
127
128 AUTOMAKE_OPTIONS = 1.3 cygnus
129 MAINT_CHARSET = latin1
130
131 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
132
133 # Cross compiler and multilib support.
134 CXX = @glibcpp_CXX@
135 toolexecdir = @glibcpp_toolexecdir@
136 toolexeclibdir = @glibcpp_toolexeclibdir@
137 toolexeclib_LTLIBRARIES = libstdc++.la
138
139 # Compile flags that should be constant throughout the build, both for
140 # SUBDIRS and for libstdc++-v3 in general.
141 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
142
143 # These bits are all figured out from configure. Look in acinclude.m4
144 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
145 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
146 CONFIG_CXXFLAGS = \
147         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @DEBUG_FLAGS@ 
148
149
150 # Warning flags to use.
151 WARN_CXXFLAGS = \
152         @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
153
154
155 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
156 GLIBCPP_INCLUDES = @GLIBCPP_INCLUDES@
157 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
158 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
159 LIBIO_INCLUDES = @LIBIO_INCLUDES@
160 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
161
162 INCLUDES = \
163         -nostdinc++ \
164         $(GLIBCPP_INCLUDES) \
165         $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
166         $(TOPLEVEL_INCLUDES)
167
168
169 # Source files linked in via configuration magic for a particular target.
170 target_sources = \
171         codecvt_members.cc \
172         collate_members.cc \
173         ctype_members.cc \
174         messages_members.cc \
175         monetary_members.cc \
176         numeric_members.cc \
177         time_members.cc
178
179
180 # Source files linked in via configuration magic for a particular
181 # target, but with ad hoc naming rules.
182 target_sources_extra = \
183         basic_file.cc \
184         c++locale.cc 
185
186
187 # Sources present in the src directory.
188 sources = \
189         bitset.cc \
190         codecvt.cc \
191         complex_io.cc \
192         concept-inst.cc \
193         ctype.cc \
194         ext-inst.cc \
195         fstream.cc \
196         fstream-inst.cc \
197         functexcept.cc \
198         globals.cc \
199         io-inst.cc \
200         ios.cc \
201         istream-inst.cc \
202         limits.cc \
203         locale.cc \
204         locale-inst.cc \
205         localename.cc \
206         misc-inst.cc \
207         ostream-inst.cc \
208         sstream-inst.cc \
209         stdexcept.cc \
210         stl-inst.cc \
211         streambuf-inst.cc \
212         string-inst.cc \
213         strstream.cc \
214         valarray-inst.cc \
215         vterminate.cc \
216         wstring-inst.cc \
217         ${target_sources} \
218         ${target_sources_extra}
219
220
221 VPATH = $(top_srcdir)/src:$(top_srcdir)
222
223 libstdc___la_SOURCES = $(sources)
224
225 libstdc___la_LIBADD = \
226         ../libmath/libmath.la @libio_la@ \
227         ../libsupc++/libsupc++convenience.la
228
229 @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@version_arg = @GLIBCPP_BUILD_VERSIONED_SHLIB_TRUE@-Wl,--version-script=linker.map
230 @GLIBCPP_BUILD_VERSIONED_SHLIB_FALSE@version_arg = 
231
232 libstdc___la_LDFLAGS = \
233         -version-info @libtool_VERSION@ ${version_arg} \
234         -lm @LIBUNWIND_FLAG@ 
235
236
237 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) linker.map
238
239 # Use special rules for the deprecated source files so that they find
240 # deprecated include files.
241 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
242
243 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
244 # modified in a per-library or per-sub-library way.  Need to manually
245 # set this option because CONFIG_CXXFLAGS has to be after
246 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
247 # as the occasion call for it. (ie, --enable-debug)
248 AM_CXXFLAGS = \
249         -fno-implicit-templates \
250         $(LIBSUPCXX_CXXFLAGS) \
251         $(WARN_CXXFLAGS) \
252         $(OPTIMIZE_CXXFLAGS) \
253         $(CONFIG_CXXFLAGS) 
254
255
256 # libstdc++ libtool notes
257
258 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
259 # last. (That way, things like -O2 passed down from the toplevel can
260 # be overridden by --enable-debug.)
261
262 # 2) In general, libtool expects an argument such as `--tag=CXX' when
263 # using the C++ compiler, because that will enable the settings
264 # detected when C++ support was being configured.  However, when no
265 # such flag is given in the command line, libtool attempts to figure
266 # it out by matching the compiler name in each configuration section
267 # against a prefix of the command line.  The problem is that, if the
268 # compiler name and its initial flags stored in the libtool
269 # configuration file don't match those in the command line, libtool
270 # can't decide which configuration to use, and it gives up.  The
271 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
272 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
273 # attempt to infer which configuration to use
274 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
275                $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
276
277
278 # 3) We'd have a problem when building the shared libstdc++ object if
279 # the rules automake generates would be used.  We cannot allow g++ to
280 # be used since this would add -lstdc++ to the link line which of
281 # course is problematic at this point.  So, we get the top-level
282 # directory to configure libstdc++-v3 to use gcc as the C++
283 # compilation driver.
284 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
285           @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
286
287 CONFIG_HEADER = ../config.h
288 CONFIG_CLEAN_FILES = 
289 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
290
291
292 DEFS = @DEFS@ -I. -I$(srcdir) -I..
293 CPPFLAGS = @CPPFLAGS@
294 LDFLAGS = @LDFLAGS@
295 LIBS = @LIBS@
296 libstdc___la_OBJECTS =  bitset.lo codecvt.lo complex_io.lo \
297 concept-inst.lo ctype.lo ext-inst.lo fstream.lo fstream-inst.lo \
298 functexcept.lo globals.lo io-inst.lo ios.lo istream-inst.lo limits.lo \
299 locale.lo locale-inst.lo localename.lo misc-inst.lo ostream-inst.lo \
300 sstream-inst.lo stdexcept.lo stl-inst.lo streambuf-inst.lo \
301 string-inst.lo strstream.lo valarray-inst.lo vterminate.lo \
302 wstring-inst.lo codecvt_members.lo collate_members.lo ctype_members.lo \
303 messages_members.lo monetary_members.lo numeric_members.lo \
304 time_members.lo basic_file.lo c++locale.lo
305 CXXFLAGS = @CXXFLAGS@
306 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
307 CXXLD = $(CXX)
308 DIST_COMMON =  Makefile.am Makefile.in
309
310
311 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
312
313 TAR = gtar
314 GZIP_ENV = --best
315 SOURCES = $(libstdc___la_SOURCES)
316 OBJECTS = $(libstdc___la_OBJECTS)
317
318 all: all-redirect
319 .SUFFIXES:
320 .SUFFIXES: .S .c .cc .lo .o .obj .s
321 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
322         cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
323
324 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
325         cd $(top_builddir) \
326           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
327
328
329 mostlyclean-toolexeclibLTLIBRARIES:
330
331 clean-toolexeclibLTLIBRARIES:
332         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
333
334 distclean-toolexeclibLTLIBRARIES:
335
336 maintainer-clean-toolexeclibLTLIBRARIES:
337
338 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
339         @$(NORMAL_INSTALL)
340         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
341         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
342           if test -f $$p; then \
343             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
344             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
345           else :; fi; \
346         done
347
348 uninstall-toolexeclibLTLIBRARIES:
349         @$(NORMAL_UNINSTALL)
350         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
351           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
352         done
353
354 .c.o:
355         $(COMPILE) -c $<
356
357 # FIXME: We should only use cygpath when building on Windows,
358 # and only if it is available.
359 .c.obj:
360         $(COMPILE) -c `cygpath -w $<`
361
362 .s.o:
363         $(COMPILE) -c $<
364
365 .S.o:
366         $(COMPILE) -c $<
367
368 mostlyclean-compile:
369         -rm -f *.o core *.core
370         -rm -f *.$(OBJEXT)
371
372 clean-compile:
373
374 distclean-compile:
375         -rm -f *.tab.c
376
377 maintainer-clean-compile:
378
379 .c.lo:
380         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
381
382 .s.lo:
383         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
384
385 .S.lo:
386         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
387
388 mostlyclean-libtool:
389         -rm -f *.lo
390
391 clean-libtool:
392         -rm -rf .libs _libs
393
394 distclean-libtool:
395
396 maintainer-clean-libtool:
397
398 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
399         $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
400 .cc.o:
401         $(CXXCOMPILE) -c $<
402 .cc.obj:
403         $(CXXCOMPILE) -c `cygpath -w $<`
404 .cc.lo:
405         $(LTCXXCOMPILE) -c $<
406
407 tags: TAGS
408
409 ID: $(HEADERS) $(SOURCES) $(LISP)
410         list='$(SOURCES) $(HEADERS)'; \
411         unique=`for i in $$list; do echo $$i; done | \
412           awk '    { files[$$0] = 1; } \
413                END { for (i in files) print i; }'`; \
414         here=`pwd` && cd $(srcdir) \
415           && mkid -f$$here/ID $$unique $(LISP)
416
417 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
418         tags=; \
419         here=`pwd`; \
420         list='$(SOURCES) $(HEADERS)'; \
421         unique=`for i in $$list; do echo $$i; done | \
422           awk '    { files[$$0] = 1; } \
423                END { for (i in files) print i; }'`; \
424         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
425           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
426
427 mostlyclean-tags:
428
429 clean-tags:
430
431 distclean-tags:
432         -rm -f TAGS ID
433
434 maintainer-clean-tags:
435
436 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
437
438 subdir = src
439
440 distdir: $(DISTFILES)
441         @for file in $(DISTFILES); do \
442           if test -f $$file; then d=.; else d=$(srcdir); fi; \
443           if test -d $$d/$$file; then \
444             cp -pr $$d/$$file $(distdir)/$$file; \
445           else \
446             test -f $(distdir)/$$file \
447             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
448             || cp -p $$d/$$file $(distdir)/$$file || :; \
449           fi; \
450         done
451 info-am:
452 info: info-am
453 dvi-am:
454 dvi: dvi-am
455 check-am:
456 check: check-am
457 installcheck-am:
458 installcheck: installcheck-am
459 install-info-am: 
460 install-info: install-info-am
461 install-exec-am: install-toolexeclibLTLIBRARIES
462 install-exec: install-exec-am
463
464 install-data-am:
465 install-data: install-data-am
466
467 install-am: all-am
468         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
469 install: install-am
470 uninstall-am: uninstall-toolexeclibLTLIBRARIES
471 uninstall: uninstall-am
472 all-am: Makefile $(LTLIBRARIES)
473 all-redirect: all-am
474 install-strip:
475         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
476 installdirs:
477         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
478
479
480 mostlyclean-generic:
481
482 clean-generic:
483
484 distclean-generic:
485         -rm -f Makefile $(CONFIG_CLEAN_FILES)
486         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
487
488 maintainer-clean-generic:
489 mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
490                 mostlyclean-libtool mostlyclean-tags \
491                 mostlyclean-generic
492
493 mostlyclean: mostlyclean-am
494
495 clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
496                 clean-tags clean-generic mostlyclean-am
497
498 clean: clean-am
499
500 distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
501                 distclean-libtool distclean-tags distclean-generic \
502                 clean-am
503         -rm -f libtool
504
505 distclean: distclean-am
506
507 maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
508                 maintainer-clean-compile maintainer-clean-libtool \
509                 maintainer-clean-tags maintainer-clean-generic \
510                 distclean-am
511         @echo "This command is intended for maintainers to use;"
512         @echo "it deletes files that may require special tools to rebuild."
513
514 maintainer-clean: maintainer-clean-am
515
516 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
517 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
518 maintainer-clean-toolexeclibLTLIBRARIES \
519 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
520 mostlyclean-compile distclean-compile clean-compile \
521 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
522 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
523 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
524 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
525 install-info install-exec-am install-exec install-data-am install-data \
526 install-am install uninstall-am uninstall all-redirect all-am all \
527 installdirs mostlyclean-generic distclean-generic clean-generic \
528 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
529
530 strstream.lo: strstream.cc
531         $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
532 strstream.o: strstream.cc
533         $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated -c $<
534
535 # Use special rules for the concept-checking instantiations so that all
536 # the generated template functions are also instantiated.  Force the checks
537 # to be on so that the instantiations are actually seen.
538 concept-inst.lo: concept-inst.cc
539         $(LTCXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
540 concept-inst.o: concept-inst.cc
541         $(CXXCOMPILE) -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates -c $<
542
543 # Tell versions [3.59,3.63) of GNU make to not export all variables.
544 # Otherwise a system limit (for SysV at least) may be exceeded.
545 .NOEXPORT: