OSDN Git Service

2001-02-20 Phil Edwards <pme@sources.redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / src / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 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 CC = @CC@
68 CPP = @CPP@
69 CSHADOW_FLAGS = @CSHADOW_FLAGS@
70 CXX = @CXX@
71 CXXCPP = @CXXCPP@
72 CXX_libstdcxx = @CXX_libstdcxx@
73 DEBUG_FLAGS = @DEBUG_FLAGS@
74 DLLTOOL = @DLLTOOL@
75 EXEEXT = @EXEEXT@
76 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
77 GCJ = @GCJ@
78 GCJFLAGS = @GCJFLAGS@
79 GLIBCPP_CFLAGS = @GLIBCPP_CFLAGS@
80 GLIBCPP_CXXFLAGS = @GLIBCPP_CXXFLAGS@
81 LIBMATHOBJS = @LIBMATHOBJS@
82 LIBSTRINGOBJS = @LIBSTRINGOBJS@
83 LIBTOOL = @LIBTOOL@
84 LN_S = @LN_S@
85 MAINT = @MAINT@
86 MAKEINFO = @MAKEINFO@
87 OBJDUMP = @OBJDUMP@
88 OBJEXT = @OBJEXT@
89 OPT_LDFLAGS = @OPT_LDFLAGS@
90 PACKAGE = @PACKAGE@
91 RANLIB = @RANLIB@
92 SECTION_FLAGS = @SECTION_FLAGS@
93 SECTION_LDFLAGS = @SECTION_LDFLAGS@
94 STRIP = @STRIP@
95 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
96 VERSION = @VERSION@
97 WARN_FLAGS = @WARN_FLAGS@
98 WERROR = @WERROR@
99 WFMT_FLAGS = @WFMT_FLAGS@
100 enable_shared = @enable_shared@
101 enable_static = @enable_static@
102 glibcpp_basedir = @glibcpp_basedir@
103 glibcpp_toolexecdir = @glibcpp_toolexecdir@
104 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
105 ifGNUmake = @ifGNUmake@
106 libinst_wstring_la = @libinst_wstring_la@
107 libio_la = @libio_la@
108 toplevel_srcdir = @toplevel_srcdir@
109
110 AUTOMAKE_OPTIONS = 1.3 gnits
111 MAINT_CHARSET = latin1
112
113 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
114
115 # Cross compiler and multilib support.
116 toolexecdir = @glibcpp_toolexecdir@
117 toolexeclibdir = @glibcpp_toolexeclibdir@
118 toolexeclib_LTLIBRARIES = libstdc++.la
119 EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la
120
121 # Compile flags that should be constant throughout the build, both for
122 # SUBDIRS and for libstdc++-v3 in general.
123 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
124
125 # These bits are all figured out from configure. Look in acinclude.m4
126 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
127 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
128 CONFIG_CXXFLAGS = \
129         @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
130
131
132 # Warning flags to use.
133 WARN_CXXFLAGS = \
134         @WARN_FLAGS@ $(WERROR) @WFMT_FLAGS@
135
136
137 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
138 GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
139 C_INCLUDE_DIR = @C_INCLUDE_DIR@
140 CSTD_INCLUDES = @CSTD_INCLUDES@
141 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
142 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
143 LIBIO_INCLUDES = @LIBIO_INCLUDES@
144 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
145
146 INCLUDES = \
147         -nostdinc++ \
148         -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include \
149         $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) \
150         $(TOPLEVEL_INCLUDES)    
151
152
153 base_headers = \
154         bits/cpp_type_traits.h bits/char_traits.h bits/codecvt.h \
155         bits/stringfwd.h bits/std_string.h bits/basic_string.h \
156         bits/basic_string.tcc \
157         bits/generic_shadow.h bits/std_utility.h \
158         bits/std_complex.h \
159         bits/valarray_array.h bits/valarray_array.tcc bits/valarray_meta.h \
160         bits/std_valarray.h bits/mask_array.h bits/slice.h bits/slice_array.h \
161         bits/gslice.h bits/gslice_array.h bits/indirect_array.h \
162         bits/std_fstream.h bits/std_iomanip.h \
163         bits/ios_base.h bits/fpos.h bits/basic_ios.h bits/basic_ios.tcc \
164         bits/std_ios.h bits/std_iosfwd.h bits/std_iostream.h \
165         bits/std_istream.h bits/istream.tcc bits/std_locale.h \
166         bits/fstream.tcc bits/ostream.tcc bits/sbuf_iter.h bits/sstream.tcc \
167         bits/std_ostream.h bits/std_sstream.h bits/std_streambuf.h \
168         bits/streambuf.tcc bits/basic_file.h \
169         bits/locale_facets.h bits/locale_facets.tcc bits/localefwd.h \
170         bits/stl_pthread_alloc.h bits/pthread_allocimpl.h \
171         bits/stl_threads.h bits/stl_iterator_base.h \
172         bits/std_bitset.h bits/std_deque.h bits/std_functional.h \
173         bits/std_iterator.h bits/std_list.h \
174         bits/std_map.h bits/std_memory.h bits/std_numeric.h \
175         bits/std_queue.h bits/std_set.h bits/std_stack.h \
176         bits/std_stdexcept.h bits/functexcept.h bits/std_vector.h \
177         bits/stl_algo.h bits/stl_algobase.h bits/stl_alloc.h \
178         bits/stl_deque.h bits/stl_function.h \
179         bits/stl_heap.h bits/stl_iterator.h bits/stl_list.h bits/stl_map.h \
180         bits/stl_multimap.h bits/stl_multiset.h bits/stl_numeric.h \
181         bits/stl_pair.h bits/stl_queue.h bits/stl_raw_storage_iter.h \
182         bits/stl_relops.h bits/stl_set.h \
183         bits/stl_stack.h bits/stl_tempbuf.h \
184         bits/stl_tree.h bits/stl_uninitialized.h bits/stl_vector.h \
185         bits/type_traits.h bits/std_algorithm.h \
186         bits/concept_checks.h bits/container_concepts.h \
187         bits/sequence_concepts.h bits/stl_construct.h
188
189
190 backward_headers = \
191         backward/complex.h backward/iomanip.h backward/istream.h \
192         backward/ostream.h backward/stream.h backward/streambuf.h \
193         backward/algo.h backward/algobase.h backward/alloc.h \
194         backward/bvector.h backward/defalloc.h backward/deque.h \
195         backward/function.h backward/hash_map.h backward/hash_set.h \
196         backward/hashtable.h backward/heap.h backward/iterator.h \
197         backward/list.h backward/map.h backward/multimap.h backward/new.h \
198         backward/multiset.h backward/pair.h backward/iostream.h \
199         backward/rope.h backward/set.h backward/slist.h backward/stack.h \
200         backward/tempbuf.h backward/tree.h backward/vector.h \
201         backward/fstream.h backward/strstream.h backward/strstream
202
203
204 ext_headers = \
205         ext/ropeimpl.h ext/stl_rope.h \
206         ext/stl_bvector.h ext/stl_hashtable.h ext/stl_hash_fun.h \
207         ext/hash_map ext/hash_set ext/rope ext/slist \
208         ext/tree ext/bvector 
209
210
211 c_base_headers = \
212         bits/std_cassert.h bits/std_cctype.h bits/std_cerrno.h \
213         bits/std_cfloat.h bits/std_climits.h bits/std_clocale.h \
214         bits/std_cmath.h bits/std_csetjmp.h bits/std_csignal.h \
215         bits/std_cstdarg.h bits/std_cstddef.h bits/std_cstdio.h \
216         bits/std_cstdlib.h bits/std_cstring.h bits/std_ctime.h \
217         bits/std_cwchar.h bits/std_cwctype.h bits/cmath.tcc
218
219 @GLIBCPP_USE_CSHADOW_TRUE@c_shadow_headers = @GLIBCPP_USE_CSHADOW_TRUE@\
220 @GLIBCPP_USE_CSHADOW_TRUE@      assert.h ctype.h errno.h float.h limits.h locale.h math.h setjmp.h \
221 @GLIBCPP_USE_CSHADOW_TRUE@      signal.h stdarg.h stddef.h stdio.h stdlib.h string.h time.h wchar.h \
222 @GLIBCPP_USE_CSHADOW_TRUE@      wctype.h fcntl.h libio.h iolibio.h libioP.h pthread.h iconv.h \
223 @GLIBCPP_USE_CSHADOW_TRUE@      features.h langinfo.h \
224 @GLIBCPP_USE_CSHADOW_TRUE@      bits/wrap_libio.h bits/wrap_iolibio.h bits/wrap_libioP.h \
225 @GLIBCPP_USE_CSHADOW_TRUE@      bits/wrap_iconv.h bits/wrap_fcntl.h bits/wrap_pthread.h \
226 @GLIBCPP_USE_CSHADOW_TRUE@      bits/wrap_features.h bits/wrap_langinfo.h \
227 @GLIBCPP_USE_CSHADOW_TRUE@      sys/cdefs.h 
228 @GLIBCPP_USE_CSHADOW_FALSE@c_shadow_headers = 
229
230 std_headers = \
231         algorithm bitset complex deque fstream functional \
232         iomanip ios iosfwd iostream istream iterator limits list locale \
233         map memory numeric ostream queue set sstream stack stdexcept \
234         streambuf string utility valarray vector \
235         cassert cctype cerrno cfloat climits clocale ciso646 \
236         cmath csetjmp csignal cstdarg cstddef cstdio cstdlib \
237         cstring ctime cwchar cwctype
238
239 @GLIBCPP_NEED_LIBIO_TRUE@libio_headers = @GLIBCPP_NEED_LIBIO_TRUE@\
240 @GLIBCPP_NEED_LIBIO_TRUE@       $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
241 @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = 
242
243 build_headers = \
244         bits/std_limits.h \
245         bits/c++config.h bits/c++io.h bits/c++locale.h bits/c++threads.h \
246         bits/atomicity.h bits/os_defines.h \
247         bits/ctype_base.h bits/ctype_noninline.h bits/ctype_inline.h 
248
249
250 sources = \
251         limitsMEMBERS.cc \
252         stdexcept.cc functexcept.cc bitset.cc \
253         globals.cc \
254         c++io.cc ios.cc complex_io.cc strstream.cc \
255         c++locale.cc locale.cc localename.cc codecvt.cc \
256         locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc string-inst.cc
257
258
259 wstring_sources = \
260         wstring-inst.cc
261
262 VPATH =  $(top_srcdir) $(top_srcdir)/src $(GLIBCPP_INCLUDE_DIR)  $(GLIBCPP_INCLUDE_DIR)/std $(C_INCLUDE_DIR)
263
264 # Actual sources for the distro, but don't build these.
265 #EXTRA_sources = string-inst.cc 
266
267 libstdc___la_SOURCES = $(sources)
268
269 libinst_wstring_la_SOURCES = $(wstring_sources)
270
271 libstdc___la_LIBADD = \
272         ../libmath/libmath.la @libio_la@ \
273         ../libsupc++/libsupc++convenience.la \
274         @libinst_wstring_la@
275
276
277 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
278
279 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
280 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = @GLIBCPP_USE_CSHADOW_TRUE@$(top_builddir)/stamp-cshadow
281 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = 
282
283 # Check for various configure bits that change where the headers get installed.
284 gxx_include_dir = @gxx_include_dir@
285 gxx_target_include_dir = $(gxx_include_dir)/$(target_alias)
286
287 # NB: As libio_headers may be empty, need this to make sure bash doesn't
288 # choke on an empty for... loop by using libio_headers_install
289 # NB: installation of shadow headers is not attempted.
290 src_incdir = @GLIBCPP_INCLUDE_DIR@
291 bld_incdir = $(top_builddir)/include
292 c_incdir = @C_INCLUDE_DIR@
293
294 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
295 # modified in a per-library or per-sub-library way.  Need to manually
296 # set this option because CONFIG_CXXFLAGS has to be after
297 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
298 # as the occasion call for it. (ie, --enable-debug)
299 AM_CXXFLAGS = \
300         -fno-implicit-templates \
301         $(LIBSUPCXX_CXXFLAGS) \
302         $(WARN_CXXFLAGS) \
303         $(OPTIMIZE_CXXFLAGS) \
304         $(CONFIG_CXXFLAGS) 
305
306
307 # libstdc++ libtool notes
308
309 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
310 # last. (That way, things like -O2 passed down from the toplevel can
311 # be overridden by --enable-debug.)
312
313 # 2) In general, libtool expects an argument such as `--tag=CXX' when
314 # using the C++ compiler, because that will enable the settings
315 # detected when C++ support was being configured.  However, when no
316 # such flag is given in the command line, libtool attempts to figure
317 # it out by matching the compiler name in each configuration section
318 # against a prefix of the command line.  The problem is that, if the
319 # compiler name and its initial flags stored in the libtool
320 # configuration file don't match those in the command line, libtool
321 # can't decide which configuration to use, and it gives up.  The
322 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
323 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
324 # attempt to infer which configuration to use
325 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) \
326                $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
327
328
329 # 3) We have a problem when building the shared libstdc++ object if
330 # the rules automake generates would be used.  We cannot allow CXX to
331 # be used in libtool since this would add -lstdc++ to the link line
332 # which of course is problematic at this point.
333 CXXLINK = $(LIBTOOL) --mode=link "$(CC)" \
334           @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
335
336 CONFIG_HEADER = ../config.h
337 CONFIG_CLEAN_FILES = 
338 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
339
340
341 DEFS = @DEFS@ -I. -I$(srcdir) -I..
342 CPPFLAGS = @CPPFLAGS@
343 LDFLAGS = @LDFLAGS@
344 LIBS = @LIBS@
345 libinst_string_la_LDFLAGS = 
346 libinst_string_la_LIBADD = 
347 libinst_string_la_SOURCES = libinst-string.la.c
348 libinst_string_la_OBJECTS =  libinst-string.la.lo
349 libinst_wstring_la_LDFLAGS = 
350 libinst_wstring_la_LIBADD = 
351 libinst_wstring_la_OBJECTS =  wstring-inst.lo
352 libstdc___la_OBJECTS =  limitsMEMBERS.lo stdexcept.lo functexcept.lo \
353 bitset.lo globals.lo c++io.lo ios.lo complex_io.lo strstream.lo \
354 c++locale.lo locale.lo localename.lo codecvt.lo locale-inst.lo \
355 stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo
356 CXXFLAGS = @CXXFLAGS@
357 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
358 CXXLD = $(CXX)
359 CFLAGS = @CFLAGS@
360 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
361 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
362 CCLD = $(CC)
363 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
364 DIST_COMMON =  Makefile.am Makefile.in
365
366
367 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
368
369 TAR = gtar
370 GZIP_ENV = --best
371 SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES)
372 OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS)
373
374 all: all-redirect
375 .SUFFIXES:
376 .SUFFIXES: .S .c .cc .lo .o .obj .s
377 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
378         cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
379
380 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
381         cd $(top_builddir) \
382           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
383
384
385 mostlyclean-toolexeclibLTLIBRARIES:
386
387 clean-toolexeclibLTLIBRARIES:
388         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
389
390 distclean-toolexeclibLTLIBRARIES:
391
392 maintainer-clean-toolexeclibLTLIBRARIES:
393
394 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
395         @$(NORMAL_INSTALL)
396         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
397         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
398           if test -f $$p; then \
399             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
400             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
401           else :; fi; \
402         done
403
404 uninstall-toolexeclibLTLIBRARIES:
405         @$(NORMAL_UNINSTALL)
406         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
407           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
408         done
409
410 .c.o:
411         $(COMPILE) -c $<
412
413 # FIXME: We should only use cygpath when building on Windows,
414 # and only if it is available.
415 .c.obj:
416         $(COMPILE) -c `cygpath -w $<`
417
418 .s.o:
419         $(COMPILE) -c $<
420
421 .S.o:
422         $(COMPILE) -c $<
423
424 mostlyclean-compile:
425         -rm -f *.o core *.core
426         -rm -f *.$(OBJEXT)
427
428 clean-compile:
429
430 distclean-compile:
431         -rm -f *.tab.c
432
433 maintainer-clean-compile:
434
435 .c.lo:
436         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
437
438 .s.lo:
439         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
440
441 .S.lo:
442         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
443
444 mostlyclean-libtool:
445         -rm -f *.lo
446
447 clean-libtool:
448         -rm -rf .libs _libs
449
450 distclean-libtool:
451
452 maintainer-clean-libtool:
453
454 libinst-string.la: $(libinst_string_la_OBJECTS) $(libinst_string_la_DEPENDENCIES)
455         $(LINK)  $(libinst_string_la_LDFLAGS) $(libinst_string_la_OBJECTS) $(libinst_string_la_LIBADD) $(LIBS)
456
457 libinst-wstring.la: $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_DEPENDENCIES)
458         $(CXXLINK)  $(libinst_wstring_la_LDFLAGS) $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_LIBADD) $(LIBS)
459
460 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
461         $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
462 .cc.o:
463         $(CXXCOMPILE) -c $<
464 .cc.obj:
465         $(CXXCOMPILE) -c `cygpath -w $<`
466 .cc.lo:
467         $(LTCXXCOMPILE) -c $<
468
469 tags: TAGS
470
471 ID: $(HEADERS) $(SOURCES) $(LISP)
472         list='$(SOURCES) $(HEADERS)'; \
473         unique=`for i in $$list; do echo $$i; done | \
474           awk '    { files[$$0] = 1; } \
475                END { for (i in files) print i; }'`; \
476         here=`pwd` && cd $(srcdir) \
477           && mkid -f$$here/ID $$unique $(LISP)
478
479 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
480         tags=; \
481         here=`pwd`; \
482         list='$(SOURCES) $(HEADERS)'; \
483         unique=`for i in $$list; do echo $$i; done | \
484           awk '    { files[$$0] = 1; } \
485                END { for (i in files) print i; }'`; \
486         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
487           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
488
489 mostlyclean-tags:
490
491 clean-tags:
492
493 distclean-tags:
494         -rm -f TAGS ID
495
496 maintainer-clean-tags:
497
498 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
499
500 subdir = src
501
502 distdir: $(DISTFILES)
503         @for file in $(DISTFILES); do \
504           if test -f $$file; then d=.; else d=$(srcdir); fi; \
505           if test -d $$d/$$file; then \
506             cp -pr $$d/$$file $(distdir)/$$file; \
507           else \
508             test -f $(distdir)/$$file \
509             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
510             || cp -p $$d/$$file $(distdir)/$$file || :; \
511           fi; \
512         done
513 info-am:
514 info: info-am
515 dvi-am:
516 dvi: dvi-am
517 check-am:
518 check: check-am
519 installcheck-am:
520 installcheck: installcheck-am
521 install-info-am: 
522 install-info: install-info-am
523 install-exec-am: install-toolexeclibLTLIBRARIES
524 install-exec: install-exec-am
525
526 install-data-am: install-data-local
527 install-data: install-data-am
528
529 install-am: all-am
530         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
531 install: install-am
532 uninstall-am: uninstall-toolexeclibLTLIBRARIES
533 uninstall: uninstall-am
534 all-am: Makefile $(LTLIBRARIES)
535 all-redirect: all-am
536 install-strip:
537         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
538 installdirs:
539         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
540
541
542 mostlyclean-generic:
543
544 clean-generic:
545
546 distclean-generic:
547         -rm -f Makefile $(CONFIG_CLEAN_FILES)
548         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
549
550 maintainer-clean-generic:
551 mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
552                 mostlyclean-libtool mostlyclean-tags \
553                 mostlyclean-generic
554
555 mostlyclean: mostlyclean-am
556
557 clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
558                 clean-tags clean-generic mostlyclean-am
559
560 clean: clean-am
561
562 distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
563                 distclean-libtool distclean-tags distclean-generic \
564                 clean-am
565         -rm -f libtool
566
567 distclean: distclean-am
568
569 maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
570                 maintainer-clean-compile maintainer-clean-libtool \
571                 maintainer-clean-tags maintainer-clean-generic \
572                 distclean-am
573         @echo "This command is intended for maintainers to use;"
574         @echo "it deletes files that may require special tools to rebuild."
575
576 maintainer-clean: maintainer-clean-am
577
578 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
579 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
580 maintainer-clean-toolexeclibLTLIBRARIES \
581 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
582 mostlyclean-compile distclean-compile clean-compile \
583 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
584 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
585 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
586 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
587 install-info install-exec-am install-exec install-data-local \
588 install-data-am install-data install-am install uninstall-am uninstall \
589 all-redirect all-am all installdirs mostlyclean-generic \
590 distclean-generic clean-generic maintainer-clean-generic clean \
591 mostlyclean distclean maintainer-clean
592
593
594 # Specify that all *.o's depend on this.
595 $(libstdc___la_OBJECTS): $(CSHADOW_H)
596
597 $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \
598                                $(top_srcdir)/mkcshadow
599         $(top_srcdir)/mkinclosure \
600         "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow;
601         rm -f  $(top_builddir)/stamp-cshadow 
602         echo "done" > $(top_builddir)/stamp-cshadow 
603
604 # We have our own special, ridiculously complicated installation routine
605 # here, as automake/autoconf is currently brain-damaged when it comes
606 # to installing sub-directories of headers. In particular, we want to
607 # 1) install build headers from (blddir)/include/bits -> (install)/bits
608 # 2) install source headers from
609 #      (srcdir)/include/bits -> (install)/bits
610 #      (srcdir)/include/ext -> (install)/ext
611 #      (srcdir)/include/backward -> (install)/backward
612 #      ... and the always entertaining "C" compatibility bits
613 #      where * represents configure-time directory switching
614 #      (srcdir)/include/c* -> (install)/
615 #      (srcdir)/include/c*/bits -> (install)/bits
616 #      (srcdir)/include/c*/sys -> (install)/sys
617 install-data-local: myinstalldirs myinstallheaders
618
619 # NB: installation of shadow header directories is not attempted.
620 myinstalldirs:
621         if test -z "$(MULTISUBDIR)"; then \
622         $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/bits; \
623         $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/ext; \
624         $(mkinstalldirs) $(DESTDIR)$(gxx_target_include_dir)/bits; \
625         fi
626 myinstallheaders: 
627         if test -z "$(MULTISUBDIR)"; then \
628         for i in $(base_headers); do \
629         echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/"; \
630           $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/; \
631         done; \
632         for i in $(ext_headers); do \
633         echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/"; \
634           $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/; \
635         done; \
636         for i in $(backward_headers); do \
637         echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)"; \
638           $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir); \
639         done; \
640         for i in $(c_base_headers); do \
641         echo "$(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/"; \
642           $(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/; \
643         done; \
644         for i in $(std_headers); do \
645         echo "$(INSTALL_DATA) $(src_incdir)/std/$$i $(gxx_include_dir)";\
646           $(INSTALL_DATA) $(src_incdir)/std/$$i $(gxx_include_dir); \
647         done; \
648         for i in $(build_headers); do \
649     echo "$(INSTALL_DATA) $(bld_incdir)/$$i $(gxx_target_include_dir)/bits/"; \
650           $(INSTALL_DATA) $(bld_incdir)/$$i $(gxx_target_include_dir)/bits/; \
651         done; \
652         libio_headers_install='$(libio_headers)'; \
653         for i in $$libio_headers_install; do \
654         echo "$(INSTALL_DATA) $$i $(gxx_include_dir)"; \
655           $(INSTALL_DATA) $$i $(gxx_include_dir); \
656         done; \
657         fi;
658
659 # Use special rules for the deprecated source files so that they find
660 # deprecated include files.
661 strstream.lo: strstream.cc
662         $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
663 strstream.o: strstream.cc
664         $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
665
666 # Make wstring-inst.cc from string-inst.cc
667 wstring-inst.o: string-inst.cc
668         $(CXXCOMPILE) -c -DC=wchar_t $< -o $@
669 wstring-inst.lo: string-inst.cc
670         $(LTCXXCOMPILE) -c -DC=wchar_t $< -o $@
671
672 # Alexandre put this in here for some libtool-related reason.
673 all: libstdc++.INC
674 libstdc++.INC: Makefile
675         $(MAKE) \
676         top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \
677         top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \
678         tmp-$@
679         -rm -f $@
680         mv tmp-$@ $@
681
682 tmp-libstdc++.INC: Makefile
683         echo $(INCLUDES) > $@
684
685 # Tell versions [3.59,3.63) of GNU make to not export all variables.
686 # Otherwise a system limit (for SysV at least) may be exceeded.
687 .NOEXPORT: