OSDN Git Service

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