OSDN Git Service

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