OSDN Git Service

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