OSDN Git Service

2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / src / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
7
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 prefix = @prefix@
19 exec_prefix = @exec_prefix@
20
21 bindir = @bindir@
22 sbindir = @sbindir@
23 libexecdir = @libexecdir@
24 datadir = @datadir@
25 sysconfdir = @sysconfdir@
26 sharedstatedir = @sharedstatedir@
27 localstatedir = @localstatedir@
28 libdir = @libdir@
29 infodir = @infodir@
30 mandir = @mandir@
31 includedir = @includedir@
32 oldincludedir = /usr/include
33
34 DESTDIR =
35
36 pkgdatadir = $(datadir)/@PACKAGE@
37 pkglibdir = $(libdir)/@PACKAGE@
38 pkgincludedir = $(includedir)/@PACKAGE@
39
40 top_builddir = ..
41
42 ACLOCAL = @ACLOCAL@
43 AUTOCONF = @AUTOCONF@
44 AUTOMAKE = @AUTOMAKE@
45 AUTOHEADER = @AUTOHEADER@
46
47 INSTALL = @INSTALL@
48 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
49 INSTALL_DATA = @INSTALL_DATA@
50 INSTALL_SCRIPT = @INSTALL_SCRIPT@
51 transform = @program_transform_name@
52
53 NORMAL_INSTALL = :
54 PRE_INSTALL = :
55 POST_INSTALL = :
56 NORMAL_UNINSTALL = :
57 PRE_UNINSTALL = :
58 POST_UNINSTALL = :
59 build_alias = @build_alias@
60 build_triplet = @build@
61 host_alias = @host_alias@
62 host_triplet = @host@
63 target_alias = @target_alias@
64 target_triplet = @target@
65 AR = @AR@
66 AS = @AS@
67 CC = @CC@
68 CPP = @CPP@
69 CSHADOW_FLAGS = @CSHADOW_FLAGS@
70 CXX = @CXX@
71 CXXCPP = @CXXCPP@
72 CXX_libstdcxx = @CXX_libstdcxx@
73 DEBUG_FLAGS = @DEBUG_FLAGS@
74 DLLTOOL = @DLLTOOL@
75 EXEEXT = @EXEEXT@
76 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
77 GCJ = @GCJ@
78 GCJFLAGS = @GCJFLAGS@
79 LIBMATHOBJS = @LIBMATHOBJS@
80 LIBSTRINGOBJS = @LIBSTRINGOBJS@
81 LIBTOOL = @LIBTOOL@
82 LN_S = @LN_S@
83 MAINT = @MAINT@
84 MAKEINFO = @MAKEINFO@
85 OBJDUMP = @OBJDUMP@
86 OBJEXT = @OBJEXT@
87 OPT_LDFLAGS = @OPT_LDFLAGS@
88 PACKAGE = @PACKAGE@
89 RANLIB = @RANLIB@
90 SECTION_FLAGS = @SECTION_FLAGS@
91 SECTION_LDFLAGS = @SECTION_LDFLAGS@
92 STRIP = @STRIP@
93 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
94 VERSION = @VERSION@
95 WARN_FLAGS = @WARN_FLAGS@
96 WERROR = @WERROR@
97 enable_shared = @enable_shared@
98 enable_static = @enable_static@
99 glibcpp_basedir = @glibcpp_basedir@
100 glibcpp_toolexecdir = @glibcpp_toolexecdir@
101 glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
102 ifGNUmake = @ifGNUmake@
103 libio_la = @libio_la@
104 toplevel_srcdir = @toplevel_srcdir@
105
106 AUTOMAKE_OPTIONS = 1.3 gnits
107 MAINT_CHARSET = latin1
108
109 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
110
111 # Cross compiler and multilib support.
112 toolexecdir = @glibcpp_toolexecdir@
113 toolexeclibdir = @glibcpp_toolexeclibdir@
114 toolexeclib_LTLIBRARIES = libstdc++.la
115
116 # Compile flags that should be constant throughout the build, both for
117 # SUBDIRS and for libstdc++-v3 in general.
118 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
119
120 # These bits are all figured out from configure. Look in acinclude.m4
121 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
122 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
123 CONFIG_CXXFLAGS =       @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
124
125
126 # Warning flags to use.
127 WARN_CXXFLAGS =         @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once
128
129
130 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
131 GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
132 C_INCLUDE_DIR = @C_INCLUDE_DIR@
133 CSTD_INCLUDES = @CSTD_INCLUDES@
134 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
135 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
136 LIBIO_INCLUDES = @LIBIO_INCLUDES@
137 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
138
139 INCLUDES =      -nostdinc++     -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include     $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES)     $(TOPLEVEL_INCLUDES)    
140
141
142 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/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/functexcept.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/std_algorithm.h         bits/concept_checks.h bits/container_concepts.h         bits/sequence_concepts.h bits/stl_construct.h
143
144
145 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
146
147
148 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 
149
150
151 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
152
153 @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 
154 @GLIBCPP_USE_CSHADOW_FALSE@c_shadow_headers = 
155
156 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
157
158 @GLIBCPP_NEED_LIBIO_TRUE@libio_headers =        $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
159 @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = 
160
161 build_headers =         bits/std_limits.h       bits/c++config.h bits/c++io.h bits/c++locale.h bits/c++threads.h        bits/basic_file_model.h         bits/atomicity.h bits/os_defines.h      bits/ctype_base.h bits/ctype_noninline.h bits/ctype_inline.h 
162
163
164 sources =       limitsMEMBERS.cc        stdexcept.cc functexcept.cc bitset.cc         globals.cc        basic_file.cc ios.cc complex_io.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 wstring-inst.cc 
165
166 VPATH =  $(top_srcdir) $(top_srcdir)/src $(GLIBCPP_INCLUDE_DIR)  $(GLIBCPP_INCLUDE_DIR)/std $(C_INCLUDE_DIR)
167
168 libstdc___la_SOURCES = $(sources)
169
170 libstdc___la_LIBADD =   ../libmath/libmath.la @libio_la@        ../libsupc++/libsupc++convenience.la
171
172
173 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
174
175 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
176 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = $(top_builddir)/stamp-cshadow
177 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = 
178
179 # Check for various configure bits that change where the headers get installed.
180 gxx_include_dir = @gxx_include_dir@
181 gxx_target_include_dir = $(gxx_include_dir)/$(target_alias)
182
183 # NB: As libio_headers may be empty, need this to make sure bash doesn't
184 # choke on an empty for... loop by using libio_headers_install
185 # NB: installation of shadow headers is not attempted.
186 src_incdir = @GLIBCPP_INCLUDE_DIR@
187 bld_incdir = $(top_builddir)/include
188 c_incdir = @C_INCLUDE_DIR@
189
190 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
191 # modified in a per-library or per-sub-library way.  Need to manually
192 # set this option because CONFIG_CXXFLAGS has to be after
193 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
194 # as the occasion call for it. (ie, --enable-debug)
195 AM_CXXFLAGS =   -fno-implicit-templates         $(LIBSUPCXX_CXXFLAGS)   $(WARN_CXXFLAGS)        $(OPTIMIZE_CXXFLAGS)    $(CONFIG_CXXFLAGS) 
196
197
198 # libstdc++ libtool notes
199
200 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
201 # last. (That way, things like -O2 passed down from the toplevel can
202 # be overridden by --enable-debug.)
203
204 # 2) In general, libtool expects an argument such as `--tag=CXX' when
205 # using the C++ compiler, because that will enable the settings
206 # detected when C++ support was being configured.  However, when no
207 # such flag is given in the command line, libtool attempts to figure
208 # it out by matching the compiler name in each configuration section
209 # against a prefix of the command line.  The problem is that, if the
210 # compiler name and its initial flags stored in the libtool
211 # configuration file don't match those in the command line, libtool
212 # can't decide which configuration to use, and it gives up.  The
213 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
214 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
215 # attempt to infer which configuration to use
216 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES)          $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
217
218
219 # 3) We have a problem when building the shared libstdc++ object if
220 # the rules automake generates would be used.  We cannot allow CXX to
221 # be used in libtool since this would add -lstdc++ to the link line
222 # which of course is problematic at this point.
223 CXXLINK = $(LIBTOOL) --mode=link "$(CC)"          @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
224
225 CONFIG_HEADER = ../config.h
226 CONFIG_CLEAN_FILES = 
227 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
228
229
230 DEFS = @DEFS@ -I. -I$(srcdir) -I..
231 CPPFLAGS = @CPPFLAGS@
232 LDFLAGS = @LDFLAGS@
233 LIBS = @LIBS@
234 libstdc___la_OBJECTS =  limitsMEMBERS.lo stdexcept.lo functexcept.lo \
235 bitset.lo globals.lo basic_file.lo ios.lo complex_io.lo strstream.lo \
236 c++locale.lo locale.lo localename.lo codecvt.lo locale-inst.lo \
237 stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo \
238 wstring-inst.lo
239 CXXFLAGS = @CXXFLAGS@
240 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
241 CXXLD = $(CXX)
242 DIST_COMMON =  Makefile.am Makefile.in
243
244
245 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
246
247 TAR = gtar
248 GZIP_ENV = --best
249 SOURCES = $(libstdc___la_SOURCES)
250 OBJECTS = $(libstdc___la_OBJECTS)
251
252 all: all-redirect
253 .SUFFIXES:
254 .SUFFIXES: .S .c .cc .lo .o .obj .s
255 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
256         cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
257
258 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
259         cd $(top_builddir) \
260           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
261
262
263 mostlyclean-toolexeclibLTLIBRARIES:
264
265 clean-toolexeclibLTLIBRARIES:
266         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
267
268 distclean-toolexeclibLTLIBRARIES:
269
270 maintainer-clean-toolexeclibLTLIBRARIES:
271
272 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
273         @$(NORMAL_INSTALL)
274         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
275         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
276           if test -f $$p; then \
277             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
278             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
279           else :; fi; \
280         done
281
282 uninstall-toolexeclibLTLIBRARIES:
283         @$(NORMAL_UNINSTALL)
284         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
285           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
286         done
287
288 .c.o:
289         $(COMPILE) -c $<
290
291 # FIXME: We should only use cygpath when building on Windows,
292 # and only if it is available.
293 .c.obj:
294         $(COMPILE) -c `cygpath -w $<`
295
296 .s.o:
297         $(COMPILE) -c $<
298
299 .S.o:
300         $(COMPILE) -c $<
301
302 mostlyclean-compile:
303         -rm -f *.o core *.core
304         -rm -f *.$(OBJEXT)
305
306 clean-compile:
307
308 distclean-compile:
309         -rm -f *.tab.c
310
311 maintainer-clean-compile:
312
313 .c.lo:
314         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
315
316 .s.lo:
317         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
318
319 .S.lo:
320         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
321
322 mostlyclean-libtool:
323         -rm -f *.lo
324
325 clean-libtool:
326         -rm -rf .libs _libs
327
328 distclean-libtool:
329
330 maintainer-clean-libtool:
331
332 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
333         $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
334 .cc.o:
335         $(CXXCOMPILE) -c $<
336 .cc.obj:
337         $(CXXCOMPILE) -c `cygpath -w $<`
338 .cc.lo:
339         $(LTCXXCOMPILE) -c $<
340
341 tags: TAGS
342
343 ID: $(HEADERS) $(SOURCES) $(LISP)
344         list='$(SOURCES) $(HEADERS)'; \
345         unique=`for i in $$list; do echo $$i; done | \
346           awk '    { files[$$0] = 1; } \
347                END { for (i in files) print i; }'`; \
348         here=`pwd` && cd $(srcdir) \
349           && mkid -f$$here/ID $$unique $(LISP)
350
351 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
352         tags=; \
353         here=`pwd`; \
354         list='$(SOURCES) $(HEADERS)'; \
355         unique=`for i in $$list; do echo $$i; done | \
356           awk '    { files[$$0] = 1; } \
357                END { for (i in files) print i; }'`; \
358         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
359           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
360
361 mostlyclean-tags:
362
363 clean-tags:
364
365 distclean-tags:
366         -rm -f TAGS ID
367
368 maintainer-clean-tags:
369
370 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
371
372 subdir = src
373
374 distdir: $(DISTFILES)
375         @for file in $(DISTFILES); do \
376           if test -f $$file; then d=.; else d=$(srcdir); fi; \
377           if test -d $$d/$$file; then \
378             cp -pr $$d/$$file $(distdir)/$$file; \
379           else \
380             test -f $(distdir)/$$file \
381             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
382             || cp -p $$d/$$file $(distdir)/$$file || :; \
383           fi; \
384         done
385 info-am:
386 info: info-am
387 dvi-am:
388 dvi: dvi-am
389 check-am:
390 check: check-am
391 installcheck-am:
392 installcheck: installcheck-am
393 install-info-am: 
394 install-info: install-info-am
395 install-exec-am: install-toolexeclibLTLIBRARIES
396 install-exec: install-exec-am
397
398 install-data-am: install-data-local
399 install-data: install-data-am
400
401 install-am: all-am
402         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
403 install: install-am
404 uninstall-am: uninstall-toolexeclibLTLIBRARIES
405 uninstall: uninstall-am
406 all-am: Makefile $(LTLIBRARIES)
407 all-redirect: all-am
408 install-strip:
409         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
410 installdirs:
411         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
412
413
414 mostlyclean-generic:
415
416 clean-generic:
417
418 distclean-generic:
419         -rm -f Makefile $(CONFIG_CLEAN_FILES)
420         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
421
422 maintainer-clean-generic:
423 mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
424                 mostlyclean-libtool mostlyclean-tags \
425                 mostlyclean-generic
426
427 mostlyclean: mostlyclean-am
428
429 clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
430                 clean-tags clean-generic mostlyclean-am
431
432 clean: clean-am
433
434 distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
435                 distclean-libtool distclean-tags distclean-generic \
436                 clean-am
437         -rm -f libtool
438
439 distclean: distclean-am
440
441 maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
442                 maintainer-clean-compile maintainer-clean-libtool \
443                 maintainer-clean-tags maintainer-clean-generic \
444                 distclean-am
445         @echo "This command is intended for maintainers to use;"
446         @echo "it deletes files that may require special tools to rebuild."
447
448 maintainer-clean: maintainer-clean-am
449
450 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
451 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
452 maintainer-clean-toolexeclibLTLIBRARIES \
453 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
454 mostlyclean-compile distclean-compile clean-compile \
455 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
456 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
457 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
458 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
459 install-info install-exec-am install-exec install-data-local \
460 install-data-am install-data install-am install uninstall-am uninstall \
461 all-redirect all-am all installdirs mostlyclean-generic \
462 distclean-generic clean-generic maintainer-clean-generic clean \
463 mostlyclean distclean maintainer-clean
464
465
466 # Use special rules for the deprecated source files so that they find
467 # deprecated include files.
468 strstream.lo: strstream.cc
469         $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
470 strstream.o: strstream.cc
471         $(CXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $<
472
473 # Specify that all *.o's depend on this.
474 $(libstdc___la_OBJECTS): $(CSHADOW_H)
475
476 $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \
477                                $(top_srcdir)/mkcshadow
478         $(top_srcdir)/mkinclosure \
479         "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow;
480         rm -f  $(top_builddir)/stamp-cshadow 
481         echo "done" > $(top_builddir)/stamp-cshadow 
482
483 # We have our own special, ridiculously complicated installation routine
484 # here, as automake/autoconf is currently brain-damaged when it comes
485 # to installing sub-directories of headers. In particular, we want to
486 # 1) install build headers from (blddir)/include/bits -> (install)/bits
487 # 2) install source headers from
488 #      (srcdir)/include/bits -> (install)/bits
489 #      (srcdir)/include/ext -> (install)/ext
490 #      (srcdir)/include/backward -> (install)/backward
491 #      ... and the always entertaining "C" compatibility bits
492 #      where * represents configure-time directory switching
493 #      (srcdir)/include/c* -> (install)/
494 #      (srcdir)/include/c*/bits -> (install)/bits
495 #      (srcdir)/include/c*/sys -> (install)/sys
496 install-data-local: myinstalldirs myinstallheaders
497
498 # NB: installation of shadow header directories is not attempted.
499 myinstalldirs:
500         if test -z "$(MULTISUBDIR)"; then \
501         $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/bits; \
502         $(mkinstalldirs) $(DESTDIR)$(gxx_include_dir)/ext; \
503         $(mkinstalldirs) $(DESTDIR)$(gxx_target_include_dir)/bits; \
504         fi
505 myinstallheaders: 
506         if test -z "$(MULTISUBDIR)"; then \
507         for i in $(base_headers); do \
508         echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/"; \
509           $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/bits/; \
510         done; \
511         for i in $(ext_headers); do \
512         echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/"; \
513           $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)/ext/; \
514         done; \
515         for i in $(backward_headers); do \
516         echo "$(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir)"; \
517           $(INSTALL_DATA) $(src_incdir)/$$i $(gxx_include_dir); \
518         done; \
519         for i in $(c_base_headers); do \
520         echo "$(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/"; \
521           $(INSTALL_DATA) $(c_incdir)/$$i $(gxx_include_dir)/bits/; \
522         done; \
523         for i in $(std_headers); do \
524         echo "$(INSTALL_DATA) $(src_incdir)/std/$$i $(gxx_include_dir)";\
525           $(INSTALL_DATA) $(src_incdir)/std/$$i $(gxx_include_dir); \
526         done; \
527         for i in $(build_headers); do \
528     echo "$(INSTALL_DATA) $(bld_incdir)/$$i $(gxx_target_include_dir)/bits/"; \
529           $(INSTALL_DATA) $(bld_incdir)/$$i $(gxx_target_include_dir)/bits/; \
530         done; \
531         libio_headers_install='$(libio_headers)'; \
532         for i in $$libio_headers_install; do \
533         echo "$(INSTALL_DATA) $$i $(gxx_include_dir)"; \
534           $(INSTALL_DATA) $$i $(gxx_include_dir); \
535         done; \
536         fi;
537
538 # Alexandre put this in here for some libtool-related reason.
539 all: libstdc++.INC
540 libstdc++.INC: Makefile
541         $(MAKE) \
542         top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \
543         top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \
544         tmp-$@
545         -rm -f $@
546         mv tmp-$@ $@
547
548 tmp-libstdc++.INC: Makefile
549         echo $(INCLUDES) > $@
550
551 # Tell versions [3.59,3.63) of GNU make to not export all variables.
552 # Otherwise a system limit (for SysV at least) may be exceeded.
553 .NOEXPORT: