OSDN Git Service

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