OSDN Git Service

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