OSDN Git Service

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