OSDN Git Service

2000-10-13 Benjamin Kosnik <bkoz@purist.soma.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 DEBUG_FLAGS = @DEBUG_FLAGS@
73 DLLTOOL = @DLLTOOL@
74 EXEEXT = @EXEEXT@
75 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
76 GCC_OBJDIR = @GCC_OBJDIR@
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 glibcpp_basedir = @glibcpp_basedir@
101 gxx_include_dir = @gxx_include_dir@
102 ifGNUmake = @ifGNUmake@
103 libinst_wstring_la = @libinst_wstring_la@
104 libstdcxx_interface = @libstdcxx_interface@
105
106 AUTOMAKE_OPTIONS = 1.3 gnits
107 MAINT_CHARSET = latin1
108 @USE_LIBDIR_TRUE@toolexeclibdir = $(libdir)$(MULTISUBDIR)
109 @USE_LIBDIR_FALSE@@VERSION_SPECIFIC_LIBS_TRUE@toolexeclibdir = $(toolexecdir)/$(gcc_version)
110 @USE_LIBDIR_FALSE@@VERSION_SPECIFIC_LIBS_FALSE@toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
111 @USE_LIBDIR_FALSE@@VERSION_SPECIFIC_LIBS_TRUE@gcc_version = @gcc_version@
112 @USE_LIBDIR_FALSE@@VERSION_SPECIFIC_LIBS_TRUE@toolexecdir = $(libdir)/gcc-lib/$(target_alias)
113 @USE_LIBDIR_FALSE@@VERSION_SPECIFIC_LIBS_FALSE@toolexecdir = $(exec_prefix)/$(target_alias)
114
115 toolexeclib_LTLIBRARIES = libstdc++.la
116 EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la
117
118 # Compile flags that should be constant throughout the build, both for
119 # SUBDIRS and for libstdc++-v3 in general.
120 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
121
122 # These bits are all figured out from configure. Look in acinclude.m4
123 # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS
124 # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
125 CONFIG_CXXFLAGS =       @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ 
126
127
128 # Warning flags to use.
129 WARN_CXXFLAGS =         @WARN_FLAGS@ $(WERROR) @WFMT_FLAGS@
130
131
132 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
133 GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
134 C_INCLUDE_DIR = @C_INCLUDE_DIR@
135 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
136 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
137 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
138 LIBIO_INCLUDES = @LIBIO_INCLUDES@
139 CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
140
141 INCLUDES =      -D_GNU_SOURCE -D_ISOC99_SOURCE -nostdinc++      $(CSHADOW_INCLUDES) $(LIBSUPCXX_INCLUDES) -I$(GLIBCPP_INCLUDE_DIR)      $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) -I$(top_builddir)         $(TOPLEVEL_INCLUDES)    
142
143
144 base_headers =          bits/cpp_type_traits.h bits/char_traits.h bits/codecvt.h        bits/basic_string.h bits/std_string.h  bits/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     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      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_string_fwd.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/std_strstream.h   ext/ropeimpl.h ext/stl_rope.h   ext/stl_bvector.h bits/stl_config.h bits/stl_construct.h        ext/stl_hashtable.h ext/stl_hash_fun.h  ext/hash_map ext/hash_set ext/rope ext/slist    ext/tree ext/bvector 
145
146
147 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 
148
149
150 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   bits/wrap_libio.h bits/wrap_iolibio.h bits/wrap_libioP.h        bits/wrap_iconv.h bits/wrap_fcntl.h bits/wrap_pthread.h         sys/cdefs.h 
151
152 @GLIBCPP_USE_CSHADOW_TRUE@c_headers = $(c_base_headers) $(c_shadow_headers)
153 @GLIBCPP_USE_CSHADOW_FALSE@c_headers = $(c_base_headers)
154
155 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 strstream utility valarray vector      cassert cctype cerrno cfloat climits clocale ciso646    cmath csetjmp csignal cstdarg cstddef cstdio cstdlib    cstring ctime cwchar cwctype
156
157 @GLIBCPP_NEED_LIBIO_TRUE@libio_headers =        $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
158 @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = 
159
160 build_headers =         $(top_builddir)/bits/std_limits.h $(top_builddir)/bits/c++config.h      $(top_builddir)/bits/c++io.h $(top_builddir)/bits/c++threads.h  $(top_builddir)/bits/atomicity.h $(top_builddir)/bits/os_defines.h      $(top_builddir)/bits/ctype_base.h       $(top_builddir)/bits/ctype_noninline.h  $(top_builddir)/bits/ctype_inline.h 
161
162
163 headers = $(base_headers) $(c_headers)
164
165 sources =       limitsMEMBERS.cc        cmath.cc        complex.cc complexf.cc complexl.cc complex_io.cc        stdexcept.cc    c++io.cc ios.cc stdstreams.cc strstream.cc      locale.cc localename.cc codecvt.cc      locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc string-inst.cc
166
167
168 wstring_sources =       wstring-inst.cc
169
170 VPATH =  $(top_srcdir) $(top_srcdir)/src $(GLIBCPP_INCLUDE_DIR)  $(GLIBCPP_INCLUDE_DIR)/std $(C_INCLUDE_DIR)
171
172 # Actual sources for the distro, but don't build these.
173 #EXTRA_sources = string-inst.cc 
174
175 libstdc___la_SOURCES = $(sources)
176
177 libinst_wstring_la_SOURCES = $(wstring_sources)
178
179 libstdc___la_LIBADD =   ../libmath/libmath.la ../libio/libio.la         ../libsupc++/libsupc++convenience.la    @libinst_wstring_la@
180
181
182 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
183
184 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
185 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = $(top_builddir)/stamp-cshadow
186 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = 
187 @GXX_INCLUDE_DIR_TRUE@myincludep = @gxx_include_dir@
188 @GXX_INCLUDE_DIR_FALSE@@VERSION_SPECIFIC_LIBS_TRUE@myincludep = $(libdir)/gcc-lib/$(target_alias)/@gcc_version@/include/g++
189 @GXX_INCLUDE_DIR_FALSE@@VERSION_SPECIFIC_LIBS_FALSE@myincludep = $(prefix)/include/g++-@libstdcxx_interface@
190
191 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
192 # modified in a per-library or per-sub-library way.
193 # Need to manually set this option because CONFIG_CXXFLAGS has to be at
194 # the end of the compile line so that -O2 can be overridden as the
195 # occasion call for it. (ie, --enable-debug)
196 AM_CXXFLAGS =   -fno-implicit-templates         $(WARN_CXXFLAGS)        $(OPTIMIZE_CXXFLAGS)    $(CONFIG_CXXFLAGS) 
197
198
199 # Need to explicitly set this so that AM_CXXFLAGS is last. In
200 # addition, we don't use $(DEFS), which tries to set $(top_srcdir) as
201 # an include diretory, which screws up shadow headers. (That way,
202 # things like -O2 passed down from the toplevel can be overridden by
203 # --enable-debug.)
204 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(INCLUDES)            $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
205
206
207 # We have a problem when building the shared libstdc++ object if the
208 # rules automake generates would be used.  We cannot allow CXX to be used
209 # in libtool since this would add -lstdc++ to the link line which of
210 # course is impossible.
211 CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
212 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
213 CONFIG_HEADER = ../config.h
214 CONFIG_CLEAN_FILES = 
215 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
216
217
218 DEFS = @DEFS@ -I. -I$(srcdir) -I..
219 CPPFLAGS = @CPPFLAGS@
220 LDFLAGS = @LDFLAGS@
221 LIBS = @LIBS@
222 libinst_string_la_LDFLAGS = 
223 libinst_string_la_LIBADD = 
224 libinst_string_la_SOURCES = libinst-string.la.c
225 libinst_string_la_OBJECTS =  libinst-string.la.lo
226 libinst_wstring_la_LDFLAGS = 
227 libinst_wstring_la_LIBADD = 
228 libinst_wstring_la_OBJECTS =  wstring-inst.lo
229 libstdc___la_OBJECTS =  limitsMEMBERS.lo cmath.lo complex.lo complexf.lo \
230 complexl.lo complex_io.lo stdexcept.lo c++io.lo ios.lo stdstreams.lo \
231 strstream.lo locale.lo localename.lo codecvt.lo locale-inst.lo \
232 stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo
233 CXXFLAGS = @CXXFLAGS@
234 CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
235 CXXLD = $(CXX)
236 CFLAGS = @CFLAGS@
237 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
238 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
239 CCLD = $(CC)
240 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
241 DIST_COMMON =  Makefile.am Makefile.in
242
243
244 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
245
246 TAR = gtar
247 GZIP_ENV = --best
248 SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES)
249 OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS)
250
251 all: all-redirect
252 .SUFFIXES:
253 .SUFFIXES: .S .c .cc .lo .o .obj .s
254 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
255         cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
256
257 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
258         cd $(top_builddir) \
259           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
260
261
262 mostlyclean-toolexeclibLTLIBRARIES:
263
264 clean-toolexeclibLTLIBRARIES:
265         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
266
267 distclean-toolexeclibLTLIBRARIES:
268
269 maintainer-clean-toolexeclibLTLIBRARIES:
270
271 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
272         @$(NORMAL_INSTALL)
273         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
274         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
275           if test -f $$p; then \
276             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
277             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
278           else :; fi; \
279         done
280
281 uninstall-toolexeclibLTLIBRARIES:
282         @$(NORMAL_UNINSTALL)
283         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
284           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
285         done
286
287 .c.o:
288         $(COMPILE) -c $<
289
290 # FIXME: We should only use cygpath when building on Windows,
291 # and only if it is available.
292 .c.obj:
293         $(COMPILE) -c `cygpath -w $<`
294
295 .s.o:
296         $(COMPILE) -c $<
297
298 .S.o:
299         $(COMPILE) -c $<
300
301 mostlyclean-compile:
302         -rm -f *.o core *.core
303         -rm -f *.$(OBJEXT)
304
305 clean-compile:
306
307 distclean-compile:
308         -rm -f *.tab.c
309
310 maintainer-clean-compile:
311
312 .c.lo:
313         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
314
315 .s.lo:
316         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
317
318 .S.lo:
319         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
320
321 mostlyclean-libtool:
322         -rm -f *.lo
323
324 clean-libtool:
325         -rm -rf .libs _libs
326
327 distclean-libtool:
328
329 maintainer-clean-libtool:
330
331 libinst-string.la: $(libinst_string_la_OBJECTS) $(libinst_string_la_DEPENDENCIES)
332         $(LINK)  $(libinst_string_la_LDFLAGS) $(libinst_string_la_OBJECTS) $(libinst_string_la_LIBADD) $(LIBS)
333
334 libinst-wstring.la: $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_DEPENDENCIES)
335         $(CXXLINK)  $(libinst_wstring_la_LDFLAGS) $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_LIBADD) $(LIBS)
336
337 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
338         $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
339 .cc.o:
340         $(CXXCOMPILE) -c $<
341 .cc.obj:
342         $(CXXCOMPILE) -c `cygpath -w $<`
343 .cc.lo:
344         $(LTCXXCOMPILE) -c $<
345
346 tags: TAGS
347
348 ID: $(HEADERS) $(SOURCES) $(LISP)
349         list='$(SOURCES) $(HEADERS)'; \
350         unique=`for i in $$list; do echo $$i; done | \
351           awk '    { files[$$0] = 1; } \
352                END { for (i in files) print i; }'`; \
353         here=`pwd` && cd $(srcdir) \
354           && mkid -f$$here/ID $$unique $(LISP)
355
356 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
357         tags=; \
358         here=`pwd`; \
359         list='$(SOURCES) $(HEADERS)'; \
360         unique=`for i in $$list; do echo $$i; done | \
361           awk '    { files[$$0] = 1; } \
362                END { for (i in files) print i; }'`; \
363         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
364           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
365
366 mostlyclean-tags:
367
368 clean-tags:
369
370 distclean-tags:
371         -rm -f TAGS ID
372
373 maintainer-clean-tags:
374
375 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
376
377 subdir = src
378
379 distdir: $(DISTFILES)
380         @for file in $(DISTFILES); do \
381           if test -f $$file; then d=.; else d=$(srcdir); fi; \
382           if test -d $$d/$$file; then \
383             cp -pr $$d/$$file $(distdir)/$$file; \
384           else \
385             test -f $(distdir)/$$file \
386             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
387             || cp -p $$d/$$file $(distdir)/$$file || :; \
388           fi; \
389         done
390 info-am:
391 info: info-am
392 dvi-am:
393 dvi: dvi-am
394 check-am:
395 check: check-am
396 installcheck-am:
397 installcheck: installcheck-am
398 install-info-am: 
399 install-info: install-info-am
400 install-exec-am: install-toolexeclibLTLIBRARIES
401 install-exec: install-exec-am
402
403 install-data-am: install-data-local
404 install-data: install-data-am
405
406 install-am: all-am
407         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
408 install: install-am
409 uninstall-am: uninstall-toolexeclibLTLIBRARIES
410 uninstall: uninstall-am
411 all-am: Makefile $(LTLIBRARIES)
412 all-redirect: all-am
413 install-strip:
414         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
415 installdirs:
416         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
417
418
419 mostlyclean-generic:
420
421 clean-generic:
422
423 distclean-generic:
424         -rm -f Makefile $(CONFIG_CLEAN_FILES)
425         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
426
427 maintainer-clean-generic:
428 mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
429                 mostlyclean-libtool mostlyclean-tags \
430                 mostlyclean-generic
431
432 mostlyclean: mostlyclean-am
433
434 clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
435                 clean-tags clean-generic mostlyclean-am
436
437 clean: clean-am
438
439 distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
440                 distclean-libtool distclean-tags distclean-generic \
441                 clean-am
442         -rm -f libtool
443
444 distclean: distclean-am
445
446 maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
447                 maintainer-clean-compile maintainer-clean-libtool \
448                 maintainer-clean-tags maintainer-clean-generic \
449                 distclean-am
450         @echo "This command is intended for maintainers to use;"
451         @echo "it deletes files that may require special tools to rebuild."
452
453 maintainer-clean: maintainer-clean-am
454
455 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
456 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
457 maintainer-clean-toolexeclibLTLIBRARIES \
458 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
459 mostlyclean-compile distclean-compile clean-compile \
460 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
461 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
462 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
463 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
464 install-info install-exec-am install-exec install-data-local \
465 install-data-am install-data install-am install uninstall-am uninstall \
466 all-redirect all-am all installdirs mostlyclean-generic \
467 distclean-generic clean-generic maintainer-clean-generic clean \
468 mostlyclean distclean maintainer-clean
469
470
471 # Specify that all *.o's depend on this.
472 $(libstdc___la_OBJECTS): $(CSHADOW_H)
473
474 $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \
475                                $(top_srcdir)/mkcshadow
476         $(top_srcdir)/mkinclosure \
477         "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow;
478         rm -f  $(top_builddir)/stamp-cshadow 
479         echo "done" > $(top_builddir)/stamp-cshadow 
480
481 # We have our own special, needlessly complicated installation routine
482 # here, as automake/autoconf is currently brain-damaged when it comes
483 # to installing sub-directories of headers.
484 install-data-local: myinstallheaders
485
486 # NB: As libio_headers may be empty, need this to make sure bash doesn't
487 # choke on an empty for... loop by using libio_headers_install
488 myinstallheaders: $(headers:%=$(myincludep)/%)
489         if test -z "$(MULTISUBDIR)"; then \
490         for i in $(std_headers); do \
491           echo "$(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep)";\
492                 $(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep); \
493         done; \
494         for i in $(build_headers); do \
495           echo "$(INSTALL_DATA) $$i $(myincludep)/bits/"; \
496                 $(INSTALL_DATA) $$i $(myincludep)/bits/; \
497         done; \
498         libio_headers_install='$(libio_headers)'; \
499         for i in $$libio_headers_install; do \
500           echo "$(INSTALL_DATA) $$i $(myincludep)"; \
501                 $(INSTALL_DATA) $$i $(myincludep); \
502         done; \
503         fi;
504
505 $(headers:%=$(myincludep)/%): $(myincludep)/%: %
506         if test -z "$(MULTISUBDIR)"; then \
507         $(mkinstalldirs) $(@D); \
508         echo " $(INSTALL_DATA) $^ $@"; \
509         $(INSTALL_DATA) $^ $@; \
510         fi;
511
512 # We have to handle misc-inst.cc and locale-inst.cc in a special way
513 # since we cannot instantiate all classes due to missing definitions
514 # for things like vptrs, type_info bits, etc. when using
515 # -fno-implicit-templates.
516 misc-inst.o: misc-inst.cc
517         $(CXXCOMPILE) -fimplicit-templates -c $<
518 misc-inst.lo: misc-inst.cc
519         $(LTCXXCOMPILE) -fimplicit-templates -c $<
520 locale-inst.o: locale-inst.cc
521         $(CXXCOMPILE) -fimplicit-templates -c $<
522 locale-inst.lo: locale-inst.cc
523         $(LTCXXCOMPILE) -fimplicit-templates -c $<
524
525 # We have to instantiate wstring bits too. . . 
526 wstring-inst.o: string-inst.cc
527         $(CXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
528 wstring-inst.lo: string-inst.cc
529         $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
530
531 # Alexandre put this in here for some libtool-related reason.
532 all: libstdc++.INC
533 libstdc++.INC: Makefile
534         $(MAKE) \
535           top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \
536           top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \
537           tmp-$@
538         -rm -f $@
539         mv tmp-$@ $@
540
541 tmp-libstdc++.INC: Makefile
542         echo -I$(top_builddir) $(INCLUDES) > $@
543
544 # Tell versions [3.59,3.63) of GNU make to not export all variables.
545 # Otherwise a system limit (for SysV at least) may be exceeded.
546 .NOEXPORT: