OSDN Git Service

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