OSDN Git Service

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