OSDN Git Service

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