OSDN Git Service

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