OSDN Git Service

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