OSDN Git Service

2000-07-24 H.J. Lu <hjl@gnu.org>
[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 CPU_FLAGS = @CPU_FLAGS@
70 CSHADOWFLAGS = @CSHADOWFLAGS@
71 CXX = @CXX@
72 CXXCPP = @CXXCPP@
73 DEBUG_FLAGS = @DEBUG_FLAGS@
74 DLLTOOL = @DLLTOOL@
75 EXEEXT = @EXEEXT@
76 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
77 GCC_OBJDIR = @GCC_OBJDIR@
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 PACKAGE = @PACKAGE@
88 RANLIB = @RANLIB@
89 SECTION_FLAGS = @SECTION_FLAGS@
90 SECTION_LDFLAGS = @SECTION_LDFLAGS@
91 THREADDEPS = @THREADDEPS@
92 THREADINCS = @THREADINCS@
93 THREADLIBS = @THREADLIBS@
94 THREADOBJS = @THREADOBJS@
95 THREADSPEC = @THREADSPEC@
96 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
97 VERSION = @VERSION@
98 WERROR = @WERROR@
99 WFMT_FLAGS = @WFMT_FLAGS@
100 cpu_include_dir = @cpu_include_dir@
101 ctype_include_dir = @ctype_include_dir@
102 glibcpp_basedir = @glibcpp_basedir@
103 ifGNUmake = @ifGNUmake@
104 libinst_wstring_la = @libinst_wstring_la@
105
106 AUTOMAKE_OPTIONS = 1.3 gnits
107 MAINT_CHARSET = latin1
108 @USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
109 @USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
110 @USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
111
112 toolexeclib_LTLIBRARIES = libstdc++.la
113 EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la
114
115 # Using these options is probably a good idea for thrill-seekers. Just
116 # uncomment the lines below and make, everything else is ready to go... 
117 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc 
118
119 # These bits are all figured out from configure. Look in acinclude.m4
120 # or configure.in to see how they are set.
121 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
122 AC_CXXFLAGS = \
123         $(WERROR) @WFMT_FLAGS@ @CPU_FLAGS@ @EXTRA_CXX_FLAGS@ \
124         @SECTION_FLAGS@ @DEBUG_FLAGS@ 
125
126
127 # Need to manually set this option because AC_CXXFLAGS has to be at
128 # the end of the compile line so that -O2 can be overridden as the
129 # occasion call for it. (ie, --enable-debug)
130 AM_CXXFLAGS = \
131         -fno-implicit-templates $(OPTIMIZE_CXXFLAGS) \
132         -Wall -Wno-format -W -Wwrite-strings -Winline \
133         $(AC_CXXFLAGS) 
134
135
136 # Passed down for cross compilers, canadian crosses.
137 TOPLEVEL_INCLUDES = -I$(includedir)
138 @GLIBCPP_NEED_LIBIO_TRUE@LIBIO_INCLUDES = @GLIBCPP_NEED_LIBIO_TRUE@\
139 @GLIBCPP_NEED_LIBIO_TRUE@       -I$(top_builddir)/libio -I$(top_srcdir)/libio 
140 @GLIBCPP_NEED_LIBIO_FALSE@LIBIO_INCLUDES = @GLIBCPP_NEED_LIBIO_FALSE@-I$(top_srcdir)/libio
141 #CSHADOW_INCLUDES = \
142 #       @CSHADOWFLAGS@ -I$(top_srcdir)/shadow -I$(top_builddir)/cshadow
143 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_INCLUDES = 
144 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_INCLUDES = 
145
146 CONFIG_INCLUDES = \
147         -I$(top_srcdir)/@cpu_include_dir@ \
148         -I$(top_srcdir)/@ctype_include_dir@
149
150
151 INCLUDES = \
152         -D_GNU_SOURCE -nostdinc++ -I$(top_srcdir) \
153         $(CSHADOW_INCLUDES) $(LIBIO_INCLUDES) \
154         $(CONFIG_INCLUDES) $(TOPLEVEL_INCLUDES) 
155
156
157 # Need to explicitly set this so that AM_CXXFLAGS is last. (That way,
158 # things like -O2 passed down from the toplevel can be overridden by
159 # --enable-debug.)
160 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
161              $(CXXFLAGS) $(AM_CXXFLAGS) 
162
163
164 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) \
165                $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
166
167
168 # We have a problem when building the shared libstdc++ object if the
169 # rules automake generates would be used.  We cannot allow CXX to be used
170 # in libtool since this would add -lstdc++ to the link line which of
171 # course is impossible.
172 CXXLINK = $(LIBTOOL) --mode=link "$(CC)" -Wl,-O1 @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
173
174 headers = \
175         bits/cpp_type_traits.h \
176         bits/std_cctype.h bits/ctype_base.h bits/ctype_specializations.h \
177         bits/char_traits.h \
178         bits/basic_string.h bits/std_string.h  bits/string.tcc \
179         bits/generic_shadow.h bits/std_utility.h \
180         bits/std_complex.h \
181         bits/valarray_array.h bits/valarray_array.tcc bits/valarray_meta.h \
182         bits/std_valarray.h bits/mask_array.h bits/slice.h bits/slice_array.h \
183         bits/gslice.h bits/gslice_array.h bits/indirect_array.h \
184         bits/std_cassert.h bits/std_cwctype.h \
185         bits/std_cerrno.h bits/std_cfloat.h bits/std_climits.h \
186         bits/std_clocale.h bits/std_cmath.h \
187         bits/std_csetjmp.h bits/std_csignal.h bits/std_cstdarg.h \
188         bits/std_cstddef.h bits/std_cstdio.h bits/std_cstdlib.h \
189         bits/std_cstring.h bits/std_ctime.h bits/std_cwchar.h \
190         bits/std_typeinfo.h bits/std_new.h \
191         bits/std_exception.h bits/exception_support.h \
192         bits/std_fstream.h bits/std_iomanip.h \
193         bits/ios_base.h bits/fpos.h bits/basic_ios.h bits/basic_ios.tcc \
194         bits/std_ios.h bits/std_iosfwd.h bits/std_iostream.h \
195         bits/std_istream.h bits/istream.tcc bits/std_locale.h \
196         bits/fstream.tcc bits/ostream.tcc bits/sbuf_iter.h bits/sstream.tcc \
197         bits/std_ostream.h bits/std_sstream.h bits/std_streambuf.h \
198         bits/streambuf.tcc bits/basic_file.h \
199         bits/locale_facets.h bits/locale_facets.tcc bits/localefwd.h \
200         bits/stl_pthread_alloc.h bits/pthread_allocimpl.h \
201         bits/stl_threads.h bits/stl_iterator_base.h \
202         backward/algo.h backward/algobase.h backward/alloc.h \
203         backward/bvector.h backward/defalloc.h backward/deque.h \
204         backward/function.h backward/hash_map.h backward/hash_set.h \
205         backward/hashtable.h backward/heap.h backward/iterator.h \
206         backward/list.h backward/map.h backward/multimap.h backward/new.h \
207         backward/multiset.h backward/pair.h backward/iostream.h \
208         backward/rope.h backward/set.h backward/slist.h backward/stack.h \
209         backward/tempbuf.h backward/tree.h backward/vector.h \
210         bits/std_bitset.h bits/std_deque.h bits/std_functional.h \
211         bits/std_iterator.h bits/std_list.h \
212         bits/std_map.h bits/std_memory.h bits/std_numeric.h \
213         bits/std_queue.h bits/std_set.h bits/std_stack.h \
214         bits/std_stdexcept.h bits/std_vector.h \
215         bits/stl_algo.h bits/stl_algobase.h bits/stl_alloc.h \
216         bits/stl_deque.h bits/stl_function.h \
217         bits/stl_heap.h bits/stl_iterator.h bits/stl_list.h bits/stl_map.h \
218         bits/stl_multimap.h bits/stl_multiset.h bits/stl_numeric.h \
219         bits/stl_pair.h bits/stl_queue.h bits/stl_raw_storage_iter.h \
220         bits/stl_relops.h bits/stl_set.h \
221         bits/stl_stack.h bits/stl_string_fwd.h bits/stl_tempbuf.h \
222         bits/stl_tree.h bits/stl_uninitialized.h bits/stl_vector.h \
223         bits/type_traits.h bits/stl_range_errors.h bits/std_algorithm.h \
224         bits/concept_checks.h bits/container_concepts.h \
225         bits/sequence_concepts.h bits/std_strstream.h \
226         ext/ropeimpl.h ext/stl_rope.h \
227         ext/stl_bvector.h bits/stl_config.h bits/stl_construct.h \
228         ext/stl_hashtable.h ext/stl_hash_fun.h \
229         ext/hash_map ext/hash_set ext/rope ext/slist \
230         ext/tree ext/bvector \
231         shadow/assert.h shadow/ctype.h shadow/errno.h shadow/float.h \
232         shadow/libio.h \
233         shadow/limits.h shadow/locale.h shadow/math.h shadow/setjmp.h \
234         shadow/signal.h shadow/stdarg.h shadow/stddef.h shadow/stdio.h \
235         shadow/stdlib.h shadow/string.h shadow/time.h \
236         shadow/unistd.h shadow/wchar.h shadow/wctype.h \
237         shadow/bits/std_cassert.h shadow/bits/std_cctype.h \
238         shadow/bits/std_cerrno.h shadow/bits/std_cfloat.h \
239         shadow/bits/std_climits.h shadow/bits/std_clocale.h \
240         shadow/bits/std_cmath.h shadow/bits/std_csetjmp.h \
241         shadow/bits/std_csignal.h shadow/bits/std_cstdarg.h \
242         shadow/bits/std_cstddef.h shadow/bits/std_cstdio.h \
243         shadow/bits/std_cstdlib.h shadow/bits/std_cstring.h \
244         shadow/bits/std_ctime.h shadow/bits/std_cwchar.h \
245         shadow/bits/std_cwctype.h \
246         shadow/bits/wrap_libio.h shadow/bits/wrap_unistd.h \
247         shadow/sys/cdefs.h 
248
249
250 std_headers = \
251         algorithm bitset cassert cctype cerrno cfloat climits clocale ciso646 \
252         cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib \
253         cstring ctime cwchar cwctype deque exception fstream functional \
254         iomanip ios iosfwd iostream istream iterator limits list locale \
255         map memory new numeric ostream queue set sstream stack stdexcept \
256         streambuf string strstream typeinfo utility valarray vector 
257
258 @GLIBCPP_NEED_LIBIO_TRUE@libio_headers = @GLIBCPP_NEED_LIBIO_TRUE@\
259 @GLIBCPP_NEED_LIBIO_TRUE@       $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
260 @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = 
261
262 generated_headers = \
263          $(top_builddir)/bits/std_limits.h $(top_builddir)/bits/c++config.h \
264          $(top_builddir)/bits/c++threads.h $(top_builddir)/bits/c++io.h
265
266
267 cpu_headers = \
268          $(top_srcdir)/@cpu_include_dir@/bits/atomicity.h 
269
270
271 sources = \
272         limitsMEMBERS.cc \
273         cmath.cc \
274         complex.cc complexf.cc complexl.cc complex_io.cc \
275         stdexcept.cc \
276         c++io.cc ios.cc stdstreams.cc strstream.cc \
277         locale.cc localename.cc  \
278         locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc string-inst.cc
279
280
281 wstring_sources = \
282         wstring-inst.cc
283
284 VPATH =  $(top_srcdir) $(top_srcdir)/std $(top_srcdir)/src $(top_srcdir)/@ctype_include_dir@
285
286 # Actual sources for the distro, but don't build these.
287 #EXTRA_sources = string-inst.cc 
288
289 libstdc___la_SOURCES = $(sources)
290
291 libinst_wstring_la_SOURCES = $(wstring_sources)
292
293 libstdc___la_LIBADD = \
294         ../math/libmath.la ../libio/libio.la \
295         @libinst_wstring_la@
296
297
298 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
299
300 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
301 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = @GLIBCPP_USE_CSHADOW_TRUE@$(top_builddir)/stamp-cshadow
302 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = 
303
304 # We cannot use the default rules to install headers since we cannot
305 # statically decide which headers to install.  So we have our own special
306 # installation routine here.
307 myincludep = $(DESTDIR)$(includedir)/g++-v3/
308 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
309 CONFIG_HEADER = ../config.h
310 CONFIG_CLEAN_FILES = 
311 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
312
313
314 DEFS = @DEFS@ -I. -I$(srcdir) -I..
315 CPPFLAGS = @CPPFLAGS@
316 LDFLAGS = @LDFLAGS@
317 LIBS = @LIBS@
318 libinst_string_la_LDFLAGS = 
319 libinst_string_la_LIBADD = 
320 libinst_string_la_SOURCES = libinst-string.la.c
321 libinst_string_la_OBJECTS =  libinst-string.la.lo
322 libinst_wstring_la_LDFLAGS = 
323 libinst_wstring_la_LIBADD = 
324 libinst_wstring_la_OBJECTS =  wstring-inst.lo
325 libstdc___la_OBJECTS =  limitsMEMBERS.lo cmath.lo complex.lo complexf.lo \
326 complexl.lo complex_io.lo stdexcept.lo c++io.lo ios.lo stdstreams.lo \
327 strstream.lo locale.lo localename.lo locale-inst.lo stl-inst.lo \
328 misc-inst.lo valarray-inst.lo string-inst.lo
329 CXXFLAGS = @CXXFLAGS@
330 CXXLD = $(CXX)
331 CFLAGS = @CFLAGS@
332 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
333 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
334 CCLD = $(CC)
335 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
336 DIST_COMMON =  Makefile.am Makefile.in
337
338
339 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
340
341 TAR = gtar
342 GZIP_ENV = --best
343 SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES)
344 OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS)
345
346 all: all-redirect
347 .SUFFIXES:
348 .SUFFIXES: .S .c .cc .lo .o .s
349 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
350         cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
351
352 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
353         cd $(top_builddir) \
354           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
355
356
357 mostlyclean-toolexeclibLTLIBRARIES:
358
359 clean-toolexeclibLTLIBRARIES:
360         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
361
362 distclean-toolexeclibLTLIBRARIES:
363
364 maintainer-clean-toolexeclibLTLIBRARIES:
365
366 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
367         @$(NORMAL_INSTALL)
368         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
369         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
370           if test -f $$p; then \
371             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
372             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
373           else :; fi; \
374         done
375
376 uninstall-toolexeclibLTLIBRARIES:
377         @$(NORMAL_UNINSTALL)
378         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
379           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
380         done
381
382 .c.o:
383         $(COMPILE) -c $<
384
385 .s.o:
386         $(COMPILE) -c $<
387
388 .S.o:
389         $(COMPILE) -c $<
390
391 mostlyclean-compile:
392         -rm -f *.o core *.core
393
394 clean-compile:
395
396 distclean-compile:
397         -rm -f *.tab.c
398
399 maintainer-clean-compile:
400
401 .c.lo:
402         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
403
404 .s.lo:
405         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
406
407 .S.lo:
408         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
409
410 mostlyclean-libtool:
411         -rm -f *.lo
412
413 clean-libtool:
414         -rm -rf .libs _libs
415
416 distclean-libtool:
417
418 maintainer-clean-libtool:
419
420 libinst-string.la: $(libinst_string_la_OBJECTS) $(libinst_string_la_DEPENDENCIES)
421         $(LINK)  $(libinst_string_la_LDFLAGS) $(libinst_string_la_OBJECTS) $(libinst_string_la_LIBADD) $(LIBS)
422
423 libinst-wstring.la: $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_DEPENDENCIES)
424         $(CXXLINK)  $(libinst_wstring_la_LDFLAGS) $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_LIBADD) $(LIBS)
425
426 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
427         $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
428 .cc.o:
429         $(CXXCOMPILE) -c $<
430 .cc.lo:
431         $(LTCXXCOMPILE) -c $<
432
433 tags: TAGS
434
435 ID: $(HEADERS) $(SOURCES) $(LISP)
436         list='$(SOURCES) $(HEADERS)'; \
437         unique=`for i in $$list; do echo $$i; done | \
438           awk '    { files[$$0] = 1; } \
439                END { for (i in files) print i; }'`; \
440         here=`pwd` && cd $(srcdir) \
441           && mkid -f$$here/ID $$unique $(LISP)
442
443 mostlyclean-tags:
444
445 clean-tags:
446
447 distclean-tags:
448         -rm -f TAGS ID
449
450 maintainer-clean-tags:
451
452 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
453
454 subdir = src
455
456 distdir: $(DISTFILES)
457         @for file in $(DISTFILES); do \
458           if test -f $$file; then d=.; else d=$(srcdir); fi; \
459           if test -d $$d/$$file; then \
460             cp -pr $$d/$$file $(distdir)/$$file; \
461           else \
462             test -f $(distdir)/$$file \
463             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
464             || cp -p $$d/$$file $(distdir)/$$file || :; \
465           fi; \
466         done
467 info-am:
468 info: info-am
469 dvi-am:
470 dvi: dvi-am
471 check-am:
472 check: check-am
473 installcheck-am:
474 installcheck: installcheck-am
475 install-info-am: 
476 install-info: install-info-am
477 install-exec-am: install-toolexeclibLTLIBRARIES
478 install-exec: install-exec-am
479
480 install-data-am:
481 install-data: install-data-am
482
483 install-am: all-am
484         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
485 install: install-am
486 uninstall-am: uninstall-toolexeclibLTLIBRARIES
487 uninstall: uninstall-am
488 all-am: Makefile $(LTLIBRARIES)
489 all-redirect: all-am
490 install-strip:
491         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
492 installdirs:
493         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
494
495
496 mostlyclean-generic:
497
498 clean-generic:
499
500 distclean-generic:
501         -rm -f Makefile $(CONFIG_CLEAN_FILES)
502         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
503
504 maintainer-clean-generic:
505 mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
506                 mostlyclean-libtool mostlyclean-tags \
507                 mostlyclean-generic
508
509 mostlyclean: mostlyclean-am
510
511 clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
512                 clean-tags clean-generic mostlyclean-am
513
514 clean: clean-am
515
516 distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
517                 distclean-libtool distclean-tags distclean-generic \
518                 clean-am
519         -rm -f libtool
520
521 distclean: distclean-am
522
523 maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
524                 maintainer-clean-compile maintainer-clean-libtool \
525                 maintainer-clean-tags maintainer-clean-generic \
526                 distclean-am
527         @echo "This command is intended for maintainers to use;"
528         @echo "it deletes files that may require special tools to rebuild."
529
530 maintainer-clean: maintainer-clean-am
531
532 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
533 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
534 maintainer-clean-toolexeclibLTLIBRARIES \
535 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
536 mostlyclean-compile distclean-compile clean-compile \
537 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
538 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
539 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
540 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
541 install-info install-exec-am install-exec install-data-am install-data \
542 install-am install uninstall-am uninstall all-redirect all-am all \
543 installdirs mostlyclean-generic distclean-generic clean-generic \
544 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
545
546
547 # Specify that all *.o's depend on this.
548 $(libstdc___la_OBJECTS): $(CSHADOW_H)
549
550 $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \
551                                $(top_srcdir)/mkcshadow
552         $(top_srcdir)/mkinclosure \
553         "-I $(top_builddir)/../../gcc/include -I /usr/include -G machine/ansi.h" | $(top_srcdir)/mkcshadow;
554         rm -f  $(top_builddir)/stamp-cshadow 
555         echo "done" > $(top_builddir)/stamp-cshadow 
556
557 install: myinstallheaders
558
559 # NB: As libio_headers may be empty, need this to make sure bash doesn't
560 # choke on an empty for... loop by using libio_headers_install
561 myinstallheaders: $(headers:%=$(myincludep)%)
562         if test -z "$(MULTISUBDIR)"; then \
563         for i in $(std_headers); do \
564           echo "$(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludep)"; \
565                 $(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludep); \
566         done; \
567         for i in $(generated_headers); do \
568           echo "$(INSTALL_DATA) $$i $(myincludep)bits/"; \
569                 $(INSTALL_DATA) $$i $(myincludep)bits/; \
570         done; \
571         libio_headers_install='$(libio_headers)'; \
572         for i in $$libio_headers_install; do \
573           echo "$(INSTALL_DATA) $$i $(myincludep)"; \
574                 $(INSTALL_DATA) $$i $(myincludep); \
575         done; \
576         echo "$(INSTALL_DATA) $(cpu_headers) $(myincludep)bits/"; \
577         $(INSTALL_DATA) $(cpu_headers) $(myincludep)bits/; \
578         fi;
579
580 $(headers:%=$(myincludep)%): $(myincludep)%: %
581         if test -z "$(MULTISUBDIR)"; then \
582         $(mkinstalldirs) $(@D); \
583         echo " $(INSTALL_DATA) $^ $@"; \
584         $(INSTALL_DATA) $^ $@; \
585         fi;
586
587 # All the machinations with string instantiations messes up the
588 # automake-generated TAGS rule. Make a simple one here.
589 TAGS: $(generated_headers) $(cpu_headers) 
590         etags -C $(top_srcdir)/bits/*.h $(top_srcdir)/bits/*.tcc \
591         $(generated_headers) $(cpu_headers) $(libio_headers) \
592         $(top_srcdir)/src/*.cc \
593         $(top_builddir)/src/limitsMEMBERS.cc $(top_builddir)/src/c++io.cc \
594         -o $(top_builddir)/TAGS
595
596 # We have to handle misc-inst.cc and locale-inst.cc in a special way
597 # since we cannot instantiate all classes due to missing definitions
598 # for things like vptrs, type_info bits, etc. when using
599 # -fno-implicit-templates.
600 misc-inst.o: misc-inst.cc
601         $(CXXCOMPILE) -fimplicit-templates -c $<
602 misc-inst.lo: misc-inst.cc
603         $(LTCXXCOMPILE) -fimplicit-templates -c $<
604 locale-inst.o: locale-inst.cc
605         $(CXXCOMPILE) -fimplicit-templates -c $<
606 locale-inst.lo: locale-inst.cc
607         $(LTCXXCOMPILE) -fimplicit-templates -c $<
608
609 # We have to instantiate wstring bits too. . . 
610 wstring-inst.o: string-inst.cc
611         $(CXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
612 wstring-inst.lo: string-inst.cc
613         $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
614
615 # Tell versions [3.59,3.63) of GNU make to not export all variables.
616 # Otherwise a system limit (for SysV at least) may be exceeded.
617 .NOEXPORT: