OSDN Git Service

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