OSDN Git Service

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