OSDN Git Service

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