OSDN Git Service

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