OSDN Git Service

2001-09-19 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 CSHADOW_FLAGS = @CSHADOW_FLAGS@
79 CSTDIO_H = @CSTDIO_H@
80 CTIME_H = @CTIME_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 LIMITS_INC_SRCDIR = @LIMITS_INC_SRCDIR@
105 LN_S = @LN_S@
106 MAINT = @MAINT@
107 MAKEINFO = @MAKEINFO@
108 MKINSTALLDIRS = @MKINSTALLDIRS@
109 MSGFMT = @MSGFMT@
110 OBJDUMP = @OBJDUMP@
111 OBJEXT = @OBJEXT@
112 OPT_LDFLAGS = @OPT_LDFLAGS@
113 OS_INC_SRCDIR = @OS_INC_SRCDIR@
114 PACKAGE = @PACKAGE@
115 POFILES = @POFILES@
116 POSUB = @POSUB@
117 RANLIB = @RANLIB@
118 SECTION_FLAGS = @SECTION_FLAGS@
119 SECTION_LDFLAGS = @SECTION_LDFLAGS@
120 STRIP = @STRIP@
121 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
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         basic_file.cc bitset.cc c++locale.cc cmath.cc codecvt.cc \
190         complex_io.cc functexcept.cc globals.cc ios.cc limits.cc \
191         locale.cc locale-inst.cc localename.cc \
192         collate.cc messages.cc moneypunct.cc numpunct.cc \
193         misc-inst.cc stdexcept.cc stl-inst.cc string-inst.cc strstream.cc \
194         valarray-inst.cc wstring-inst.cc
195
196
197 VPATH = $(top_srcdir):$(top_srcdir)/src
198
199 libstdc___la_SOURCES = $(sources)
200
201 libstdc___la_LIBADD = \
202         ../libmath/libmath.la @libio_la@ \
203         ../libsupc++/libsupc++convenience.la
204
205
206 libstdc___la_LDFLAGS = -version-info @libtool_VERSION@ -lm
207
208 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
209
210 # Use special rules for the deprecated source files so that they find
211 # deprecated include files.
212 GLIBCPP_INCLUDE_DIR = @glibcpp_builddir@/include
213
214 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
215 # modified in a per-library or per-sub-library way.  Need to manually
216 # set this option because CONFIG_CXXFLAGS has to be after
217 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
218 # as the occasion call for it. (ie, --enable-debug)
219 #
220 # The no-implicit-templates flag will generate unresolved references to
221 # the concept-checking symbols.  So we must disable the checks while
222 # actually building the library.
223 AM_CXXFLAGS = \
224         -fno-implicit-templates \
225         $(LIBSUPCXX_CXXFLAGS) \
226         $(WARN_CXXFLAGS) \
227         $(OPTIMIZE_CXXFLAGS) \
228         $(CONFIG_CXXFLAGS) 
229
230
231 # libstdc++ libtool notes
232
233 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
234 # last. (That way, things like -O2 passed down from the toplevel can
235 # be overridden by --enable-debug.)
236
237 # 2) In general, libtool expects an argument such as `--tag=CXX' when
238 # using the C++ compiler, because that will enable the settings
239 # detected when C++ support was being configured.  However, when no
240 # such flag is given in the command line, libtool attempts to figure
241 # it out by matching the compiler name in each configuration section
242 # against a prefix of the command line.  The problem is that, if the
243 # compiler name and its initial flags stored in the libtool
244 # configuration file don't match those in the command line, libtool
245 # can't decide which configuration to use, and it gives up.  The
246 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
247 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
248 # attempt to infer which configuration to use
249 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
250                $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
251
252
253 # 3) We'd have a problem when building the shared libstdc++ object if
254 # the rules automake generates would be used.  We cannot allow g++ to
255 # be used since this would add -lstdc++ to the link line which of
256 # course is problematic at this point.  So, we get the top-level
257 # directory to configure libstdc++-v3 to use gcc as the C++
258 # compilation driver.
259 CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) \
260           @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
261
262 CONFIG_HEADER = ../config.h
263 CONFIG_CLEAN_FILES = 
264 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
265
266
267 DEFS = @DEFS@ -I. -I$(srcdir) -I..
268 CPPFLAGS = @CPPFLAGS@
269 LDFLAGS = @LDFLAGS@
270 LIBS = @LIBS@
271 libstdc___la_OBJECTS =  basic_file.lo bitset.lo c++locale.lo cmath.lo \
272 codecvt.lo complex_io.lo functexcept.lo globals.lo ios.lo limits.lo \
273 locale.lo locale-inst.lo localename.lo collate.lo messages.lo \
274 moneypunct.lo numpunct.lo misc-inst.lo stdexcept.lo stl-inst.lo \
275 string-inst.lo strstream.lo valarray-inst.lo wstring-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 -c $<
503 strstream.o: strstream.cc
504         $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
505
506 # Tell versions [3.59,3.63) of GNU make to not export all variables.
507 # Otherwise a system limit (for SysV at least) may be exceeded.
508 .NOEXPORT: