OSDN Git Service

2000-11-12 Alexandre Petit-Bianco <apbianco@cygnus.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 libstdcxx_interface = @libstdcxx_interface@
107
108 AUTOMAKE_OPTIONS = 1.3 gnits
109 MAINT_CHARSET = latin1
110
111 # Cross compiler and multilib support.
112 # Install a library built with a cross compiler in tooldir, not libdir.
113 @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_TRUE@gcc_version = @gcc_version@
114 @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_TRUE@toolexecdir = $(libdir)/gcc-lib/$(target_alias)
115 @USE_LIBDIR_FALSE@toolexecdir = $(exec_prefix)/$(target_alias)
116 @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_TRUE@toolexeclibdir = $(toolexecdir)/$(gcc_version)
117 @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_FALSE@toolexeclibdir = $(libdir)$(MULTISUBDIR)
118 @USE_LIBDIR_FALSE@toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
119
120 toolexeclib_LTLIBRARIES = libstdc++.la
121 EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la
122
123 # Compile flags that should be constant throughout the build, both for
124 # SUBDIRS and for libstdc++-v3 in general.
125 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
126
127 # These bits are all figured out from configure. Look in acinclude.m4
128 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
129 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
130 CONFIG_CXXFLAGS =       @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
131
132
133 # Warning flags to use.
134 WARN_CXXFLAGS =         @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 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
141 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
142 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
143 LIBIO_INCLUDES = @LIBIO_INCLUDES@
144 CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
145
146 INCLUDES =      -D_GNU_SOURCE -D_ISOC99_SOURCE -nostdinc++      $(CSHADOW_INCLUDES) $(LIBSUPCXX_INCLUDES) -I$(GLIBCPP_INCLUDE_DIR)      $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) -I$(top_builddir)/include         $(TOPLEVEL_INCLUDES)    
147
148
149 base_headers =          bits/cpp_type_traits.h bits/char_traits.h bits/codecvt.h        bits/basic_string.h bits/std_string.h  bits/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     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      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/std_strstream.h   ext/ropeimpl.h ext/stl_rope.h   ext/stl_bvector.h bits/stl_config.h bits/stl_construct.h        ext/stl_hashtable.h ext/stl_hash_fun.h  ext/hash_map ext/hash_set ext/rope ext/slist    ext/tree ext/bvector 
150
151
152 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 
153
154
155 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 
156
157 @GLIBCPP_USE_CSHADOW_TRUE@c_headers = $(c_base_headers) $(c_shadow_headers)
158 @GLIBCPP_USE_CSHADOW_FALSE@c_headers = $(c_base_headers)
159
160 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 strstream utility valarray vector      cassert cctype cerrno cfloat climits clocale ciso646    cmath csetjmp csignal cstdarg cstddef cstdio cstdlib    cstring ctime cwchar cwctype
161
162 @GLIBCPP_NEED_LIBIO_TRUE@libio_headers =        $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
163 @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = 
164
165 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 
166
167
168 headers = $(base_headers) $(c_headers)
169
170 sources =       limitsMEMBERS.cc        cmath.cc        complex.cc complexf.cc complexl.cc complex_io.cc        stdexcept.cc    c++io.cc ios.cc stdstreams.cc strstream.cc      locale.cc localename.cc codecvt.cc      locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc string-inst.cc
171
172
173 wstring_sources =       wstring-inst.cc
174
175 VPATH =  $(top_srcdir) $(top_srcdir)/src $(GLIBCPP_INCLUDE_DIR)  $(GLIBCPP_INCLUDE_DIR)/std $(C_INCLUDE_DIR)
176
177 # Actual sources for the distro, but don't build these.
178 #EXTRA_sources = string-inst.cc 
179
180 libstdc___la_SOURCES = $(sources)
181
182 libinst_wstring_la_SOURCES = $(wstring_sources)
183
184 libstdc___la_LIBADD =   ../libmath/libmath.la ../libio/libio.la         ../libsupc++/libsupc++convenience.la    @libinst_wstring_la@
185
186
187 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
188
189 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
190 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = $(top_builddir)/stamp-cshadow
191 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = 
192 @GXX_INCLUDE_DIR_TRUE@myincludep = @gxx_include_dir@
193 @GXX_INCLUDE_DIR_FALSE@@VERSION_SPECIFIC_LIBS_TRUE@myincludep = $(libdir)/gcc-lib/$(target_alias)/@gcc_version@/include/g++
194 @GXX_INCLUDE_DIR_FALSE@@VERSION_SPECIFIC_LIBS_FALSE@myincludep = $(prefix)/include/g++-@libstdcxx_interface@
195
196 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
197 # modified in a per-library or per-sub-library way.  Need to manually
198 # set this option because CONFIG_CXXFLAGS has to be after
199 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
200 # as the occasion call for it. (ie, --enable-debug)
201 AM_CXXFLAGS =   -fno-implicit-templates         $(LIBSUPCXX_CXXFLAGS)   $(WARN_CXXFLAGS)        $(OPTIMIZE_CXXFLAGS)    $(CONFIG_CXXFLAGS) 
202
203
204 # libstdc++ libtool notes
205
206 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
207 # last. (That way, things like -O2 passed down from the toplevel can
208 # be overridden by --enable-debug.)
209
210 # 2) In general, libtool expects an argument such as `--tag=CXX' when
211 # using the C++ compiler, because that will enable the settings
212 # detected when C++ support was being configured.  However, when no
213 # such flag is given in the command line, libtool attempts to figure
214 # it out by matching the compiler name in each configuration section
215 # against a prefix of the command line.  The problem is that, if the
216 # compiler name and its initial flags stored in the libtool
217 # configuration file don't match those in the command line, libtool
218 # can't decide which configuration to use, and it gives up.  The
219 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
220 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
221 # attempt to infer which configuration to use
222 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES)          $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
223
224
225 # 3) We have a problem when building the shared libstdc++ object if
226 # the rules automake generates would be used.  We cannot allow CXX to
227 # be used in libtool since this would add -lstdc++ to the link line
228 # which of course is problematic at this point.
229 CXXLINK = $(LIBTOOL) --mode=link "$(CC)"          @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
230
231 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
232 CONFIG_HEADER = ../config.h
233 CONFIG_CLEAN_FILES = 
234 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
235
236
237 DEFS = @DEFS@ -I. -I$(srcdir) -I..
238 CPPFLAGS = @CPPFLAGS@
239 LDFLAGS = @LDFLAGS@
240 LIBS = @LIBS@
241 libinst_string_la_LDFLAGS = 
242 libinst_string_la_LIBADD = 
243 libinst_string_la_SOURCES = libinst-string.la.c
244 libinst_string_la_OBJECTS =  libinst-string.la.lo
245 libinst_wstring_la_LDFLAGS = 
246 libinst_wstring_la_LIBADD = 
247 libinst_wstring_la_OBJECTS =  wstring-inst.lo
248 libstdc___la_OBJECTS =  limitsMEMBERS.lo cmath.lo complex.lo complexf.lo \
249 complexl.lo complex_io.lo stdexcept.lo c++io.lo ios.lo stdstreams.lo \
250 strstream.lo locale.lo localename.lo codecvt.lo locale-inst.lo \
251 stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo
252 CXXFLAGS = @CXXFLAGS@
253 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
254 CXXLD = $(CXX)
255 CFLAGS = @CFLAGS@
256 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
257 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
258 CCLD = $(CC)
259 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
260 DIST_COMMON =  Makefile.am Makefile.in
261
262
263 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
264
265 TAR = gtar
266 GZIP_ENV = --best
267 SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES)
268 OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS)
269
270 all: all-redirect
271 .SUFFIXES:
272 .SUFFIXES: .S .c .cc .lo .o .obj .s
273 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
274         cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
275
276 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
277         cd $(top_builddir) \
278           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
279
280
281 mostlyclean-toolexeclibLTLIBRARIES:
282
283 clean-toolexeclibLTLIBRARIES:
284         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
285
286 distclean-toolexeclibLTLIBRARIES:
287
288 maintainer-clean-toolexeclibLTLIBRARIES:
289
290 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
291         @$(NORMAL_INSTALL)
292         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
293         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
294           if test -f $$p; then \
295             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
296             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
297           else :; fi; \
298         done
299
300 uninstall-toolexeclibLTLIBRARIES:
301         @$(NORMAL_UNINSTALL)
302         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
303           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
304         done
305
306 .c.o:
307         $(COMPILE) -c $<
308
309 # FIXME: We should only use cygpath when building on Windows,
310 # and only if it is available.
311 .c.obj:
312         $(COMPILE) -c `cygpath -w $<`
313
314 .s.o:
315         $(COMPILE) -c $<
316
317 .S.o:
318         $(COMPILE) -c $<
319
320 mostlyclean-compile:
321         -rm -f *.o core *.core
322         -rm -f *.$(OBJEXT)
323
324 clean-compile:
325
326 distclean-compile:
327         -rm -f *.tab.c
328
329 maintainer-clean-compile:
330
331 .c.lo:
332         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
333
334 .s.lo:
335         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
336
337 .S.lo:
338         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
339
340 mostlyclean-libtool:
341         -rm -f *.lo
342
343 clean-libtool:
344         -rm -rf .libs _libs
345
346 distclean-libtool:
347
348 maintainer-clean-libtool:
349
350 libinst-string.la: $(libinst_string_la_OBJECTS) $(libinst_string_la_DEPENDENCIES)
351         $(LINK)  $(libinst_string_la_LDFLAGS) $(libinst_string_la_OBJECTS) $(libinst_string_la_LIBADD) $(LIBS)
352
353 libinst-wstring.la: $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_DEPENDENCIES)
354         $(CXXLINK)  $(libinst_wstring_la_LDFLAGS) $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_LIBADD) $(LIBS)
355
356 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
357         $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
358 .cc.o:
359         $(CXXCOMPILE) -c $<
360 .cc.obj:
361         $(CXXCOMPILE) -c `cygpath -w $<`
362 .cc.lo:
363         $(LTCXXCOMPILE) -c $<
364
365 tags: TAGS
366
367 ID: $(HEADERS) $(SOURCES) $(LISP)
368         list='$(SOURCES) $(HEADERS)'; \
369         unique=`for i in $$list; do echo $$i; done | \
370           awk '    { files[$$0] = 1; } \
371                END { for (i in files) print i; }'`; \
372         here=`pwd` && cd $(srcdir) \
373           && mkid -f$$here/ID $$unique $(LISP)
374
375 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
376         tags=; \
377         here=`pwd`; \
378         list='$(SOURCES) $(HEADERS)'; \
379         unique=`for i in $$list; do echo $$i; done | \
380           awk '    { files[$$0] = 1; } \
381                END { for (i in files) print i; }'`; \
382         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
383           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
384
385 mostlyclean-tags:
386
387 clean-tags:
388
389 distclean-tags:
390         -rm -f TAGS ID
391
392 maintainer-clean-tags:
393
394 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
395
396 subdir = src
397
398 distdir: $(DISTFILES)
399         @for file in $(DISTFILES); do \
400           if test -f $$file; then d=.; else d=$(srcdir); fi; \
401           if test -d $$d/$$file; then \
402             cp -pr $$d/$$file $(distdir)/$$file; \
403           else \
404             test -f $(distdir)/$$file \
405             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
406             || cp -p $$d/$$file $(distdir)/$$file || :; \
407           fi; \
408         done
409 info-am:
410 info: info-am
411 dvi-am:
412 dvi: dvi-am
413 check-am:
414 check: check-am
415 installcheck-am:
416 installcheck: installcheck-am
417 install-info-am: 
418 install-info: install-info-am
419 install-exec-am: install-toolexeclibLTLIBRARIES
420 install-exec: install-exec-am
421
422 install-data-am: install-data-local
423 install-data: install-data-am
424
425 install-am: all-am
426         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
427 install: install-am
428 uninstall-am: uninstall-toolexeclibLTLIBRARIES
429 uninstall: uninstall-am
430 all-am: Makefile $(LTLIBRARIES)
431 all-redirect: all-am
432 install-strip:
433         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
434 installdirs:
435         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
436
437
438 mostlyclean-generic:
439
440 clean-generic:
441
442 distclean-generic:
443         -rm -f Makefile $(CONFIG_CLEAN_FILES)
444         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
445
446 maintainer-clean-generic:
447 mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
448                 mostlyclean-libtool mostlyclean-tags \
449                 mostlyclean-generic
450
451 mostlyclean: mostlyclean-am
452
453 clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
454                 clean-tags clean-generic mostlyclean-am
455
456 clean: clean-am
457
458 distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
459                 distclean-libtool distclean-tags distclean-generic \
460                 clean-am
461         -rm -f libtool
462
463 distclean: distclean-am
464
465 maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
466                 maintainer-clean-compile maintainer-clean-libtool \
467                 maintainer-clean-tags maintainer-clean-generic \
468                 distclean-am
469         @echo "This command is intended for maintainers to use;"
470         @echo "it deletes files that may require special tools to rebuild."
471
472 maintainer-clean: maintainer-clean-am
473
474 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
475 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
476 maintainer-clean-toolexeclibLTLIBRARIES \
477 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
478 mostlyclean-compile distclean-compile clean-compile \
479 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
480 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
481 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
482 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
483 install-info install-exec-am install-exec install-data-local \
484 install-data-am install-data install-am install uninstall-am uninstall \
485 all-redirect all-am all installdirs mostlyclean-generic \
486 distclean-generic clean-generic maintainer-clean-generic clean \
487 mostlyclean distclean maintainer-clean
488
489
490 # Specify that all *.o's depend on this.
491 $(libstdc___la_OBJECTS): $(CSHADOW_H)
492
493 $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \
494                                $(top_srcdir)/mkcshadow
495         $(top_srcdir)/mkinclosure \
496         "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow;
497         rm -f  $(top_builddir)/stamp-cshadow 
498         echo "done" > $(top_builddir)/stamp-cshadow 
499
500 # We have our own special, needlessly complicated installation routine
501 # here, as automake/autoconf is currently brain-damaged when it comes
502 # to installing sub-directories of headers.
503 install-data-local: myinstallheaders
504
505 # NB: As libio_headers may be empty, need this to make sure bash doesn't
506 # choke on an empty for... loop by using libio_headers_install
507 myinstallheaders: $(headers:%=$(myincludep)/%)
508         if test -z "$(MULTISUBDIR)"; then \
509         for i in $(std_headers); do \
510           echo "$(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep)";\
511                 $(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep); \
512         done; \
513         for i in $(build_headers); do \
514           echo "$(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/"; \
515              $(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/; \
516         done; \
517         libio_headers_install='$(libio_headers)'; \
518         for i in $$libio_headers_install; do \
519           echo "$(INSTALL_DATA) $$i $(myincludep)"; \
520                 $(INSTALL_DATA) $$i $(myincludep); \
521         done; \
522         fi;
523
524 $(headers:%=$(myincludep)/%): $(myincludep)/%: %
525         if test -z "$(MULTISUBDIR)"; then \
526         $(mkinstalldirs) $(@D); \
527         echo " $(INSTALL_DATA) $^ $@"; \
528         $(INSTALL_DATA) $^ $@; \
529         fi;
530
531 # We have to handle misc-inst.cc and locale-inst.cc in a special way
532 # since we cannot instantiate all classes due to missing definitions
533 # for things like vptrs, type_info bits, etc. when using
534 # -fno-implicit-templates.
535 misc-inst.o: misc-inst.cc
536         $(CXXCOMPILE) -fimplicit-templates -c $<
537 misc-inst.lo: misc-inst.cc
538         $(LTCXXCOMPILE) -fimplicit-templates -c $<
539 locale-inst.o: locale-inst.cc
540         $(CXXCOMPILE) -fimplicit-templates -c $<
541 locale-inst.lo: locale-inst.cc
542         $(LTCXXCOMPILE) -fimplicit-templates -c $<
543
544 # We have to instantiate wstring bits too. . . 
545 wstring-inst.o: string-inst.cc
546         $(CXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
547 wstring-inst.lo: string-inst.cc
548         $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
549
550 # Alexandre put this in here for some libtool-related reason.
551 all: libstdc++.INC
552 libstdc++.INC: Makefile
553         $(MAKE) \
554           top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \
555           top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \
556           tmp-$@
557         -rm -f $@
558         mv tmp-$@ $@
559
560 tmp-libstdc++.INC: Makefile
561         echo $(INCLUDES) > $@
562
563 # Tell versions [3.59,3.63) of GNU make to not export all variables.
564 # Otherwise a system limit (for SysV at least) may be exceeded.
565 .NOEXPORT: