OSDN Git Service

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