OSDN Git Service

2000-10-06 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 CPU_FLAGS = @CPU_FLAGS@
70 CSHADOWFLAGS = @CSHADOWFLAGS@
71 CXX = @CXX@
72 CXXCPP = @CXXCPP@
73 DEBUG_FLAGS = @DEBUG_FLAGS@
74 DLLTOOL = @DLLTOOL@
75 EXEEXT = @EXEEXT@
76 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
77 GCC_OBJDIR = @GCC_OBJDIR@
78 GCJ = @GCJ@
79 GCJFLAGS = @GCJFLAGS@
80 GLIBCPP_CFLAGS = @GLIBCPP_CFLAGS@
81 GLIBCPP_CXXFLAGS = @GLIBCPP_CXXFLAGS@
82 LIBMATHOBJS = @LIBMATHOBJS@
83 LIBSTRINGOBJS = @LIBSTRINGOBJS@
84 LIBTOOL = @LIBTOOL@
85 LN_S = @LN_S@
86 MAINT = @MAINT@
87 MAKEINFO = @MAKEINFO@
88 OBJDUMP = @OBJDUMP@
89 OBJEXT = @OBJEXT@
90 OPT_LDFLAGS = @OPT_LDFLAGS@
91 PACKAGE = @PACKAGE@
92 RANLIB = @RANLIB@
93 SECTION_FLAGS = @SECTION_FLAGS@
94 SECTION_LDFLAGS = @SECTION_LDFLAGS@
95 STRIP = @STRIP@
96 THREADDEPS = @THREADDEPS@
97 THREADINCS = @THREADINCS@
98 THREADLIBS = @THREADLIBS@
99 THREADOBJS = @THREADOBJS@
100 THREADSPEC = @THREADSPEC@
101 USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
102 VERSION = @VERSION@
103 WERROR = @WERROR@
104 WFMT_FLAGS = @WFMT_FLAGS@
105 cpu_include_dir = @cpu_include_dir@
106 ctype_include_dir = @ctype_include_dir@
107 glibcpp_basedir = @glibcpp_basedir@
108 ifGNUmake = @ifGNUmake@
109 libinst_wstring_la = @libinst_wstring_la@
110
111 AUTOMAKE_OPTIONS = 1.3 gnits
112 MAINT_CHARSET = latin1
113 @USE_LIBDIR_TRUE@toolexeclibdir = $(libdir)$(MULTISUBDIR)
114 @USE_LIBDIR_FALSE@toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR)
115 @USE_LIBDIR_FALSE@toolexecdir = $(exec_prefix)/$(target_alias)
116
117 toolexeclib_LTLIBRARIES = libstdc++.la
118 EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la
119
120 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
121 # modified in a per-library or per-sub-library way.
122 # Need to manually set this option because CONFIG_CXXFLAGS has to be at
123 # the end of the compile line so that -O2 can be overridden as the
124 # occasion call for it. (ie, --enable-debug)
125 AM_CXXFLAGS =   -fno-implicit-templates         $(WARN_CXXFLAGS)        $(OPTIMIZE_CXXFLAGS)    $(CONFIG_CXXFLAGS) 
126
127
128 # Need to explicitly set this so that AM_CXXFLAGS is last. In
129 # addition, we don't use $(DEFS), which tries to set $(top_srcdir) as
130 # an include diretory, which screws up shadow headers. (That way,
131 # things like -O2 passed down from the toplevel can be overridden by
132 # --enable-debug.)
133 CXXCOMPILE = $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS)           $(CXXFLAGS) $(AM_CXXFLAGS) 
134
135
136 LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(INCLUDES)            $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) 
137
138
139 # We have a problem when building the shared libstdc++ object if the
140 # rules automake generates would be used.  We cannot allow CXX to be used
141 # in libtool since this would add -lstdc++ to the link line which of
142 # course is impossible.
143 CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
144
145 # Root level of the include sources.
146 glibcpp_includedir = $(top_srcdir)/include
147
148 # Passed down for cross compilers, canadian crosses.
149 TOPLEVEL_INCLUDES = -I$(includedir)
150
151 LIBMATH_INCLUDES = -I$(top_srcdir)/libmath
152 @GLIBCPP_NEED_LIBIO_TRUE@LIBIO_INCLUDES =       -I$(top_builddir)/libio -I$(top_srcdir)/libio 
153 @GLIBCPP_NEED_LIBIO_FALSE@LIBIO_INCLUDES = -I$(top_srcdir)/libio
154 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_INCLUDES =    -I$(glibcpp_includedir)/std -I$(top_srcdir)/shadow 
155 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_INCLUDES = 
156
157 CONFIG_INCLUDES =       -I$(top_srcdir)/@cpu_include_dir@       -I$(top_srcdir)/@ctype_include_dir@
158
159
160 INCLUDES =      -D_GNU_SOURCE -D_ISOC99_SOURCE -nostdinc++ $(CSHADOW_INCLUDES)  -I$(top_builddir) -I$(glibcpp_includedir)        $(CONFIG_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES)        $(TOPLEVEL_INCLUDES)   
161
162
163 headers =       bits/cpp_type_traits.h  bits/std_cctype.h bits/ctype_base.h bits/ctype_specializations.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/std_cassert.h bits/std_cwctype.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_typeinfo.h bits/std_new.h      bits/std_exception.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    shadow/assert.h shadow/ctype.h shadow/errno.h shadow/float.h    shadow/fcntl.h shadow/libio.h shadow/iolibio.h shadow/libioP.h  shadow/limits.h shadow/locale.h shadow/math.h shadow/setjmp.h   shadow/signal.h shadow/stdarg.h shadow/stddef.h shadow/stdio.h  shadow/stdlib.h shadow/string.h shadow/time.h   shadow/pthread.h shadow/iconv.h shadow/wchar.h shadow/wctype.h  shadow/bits/std_cassert.h shadow/bits/std_cctype.h      shadow/bits/std_cerrno.h shadow/bits/std_cfloat.h       shadow/bits/std_climits.h shadow/bits/std_clocale.h     shadow/bits/std_cmath.h shadow/bits/std_csetjmp.h       shadow/bits/std_csignal.h shadow/bits/std_cstdarg.h     shadow/bits/std_cstddef.h shadow/bits/std_cstdio.h      shadow/bits/std_cstdlib.h shadow/bits/std_cstring.h     shadow/bits/std_ctime.h shadow/bits/std_cwchar.h        shadow/bits/std_cwctype.h       shadow/bits/wrap_libio.h shadow/bits/wrap_iolibio.h     shadow/bits/wrap_libioP.h shadow/bits/wrap_iconv.h      shadow/bits/wrap_fcntl.h shadow/bits/wrap_pthread.h     shadow/sys/cdefs.h 
164
165
166 std_headers =   algorithm bitset cassert cctype cerrno cfloat climits clocale ciso646   cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib    cstring ctime cwchar cwctype deque exception fstream functional         iomanip ios iosfwd iostream istream iterator limits list locale         map memory new numeric ostream queue set sstream stack stdexcept        streambuf string strstream typeinfo utility valarray vector 
167
168 @GLIBCPP_NEED_LIBIO_TRUE@libio_headers =        $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
169 @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = 
170
171 generated_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 
172
173
174 cpu_headers =    $(top_srcdir)/@cpu_include_dir@/bits/atomicity.h 
175
176
177 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
178
179
180 wstring_sources =       wstring-inst.cc
181
182 VPATH =  $(top_srcdir) $(top_srcdir)/src $(glibcpp_includedir) $(top_srcdir)/std $(top_srcdir)/@ctype_include_dir@
183
184 # Actual sources for the distro, but don't build these.
185 #EXTRA_sources = string-inst.cc 
186
187 libstdc___la_SOURCES = $(sources)
188
189 libinst_wstring_la_SOURCES = $(wstring_sources)
190
191 libstdc___la_LIBADD =   ../libmath/libmath.la ../libio/libio.la         ../libsupc++/libsupc++convenience.la    @libinst_wstring_la@
192
193
194 libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
195
196 libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
197 @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = $(top_builddir)/stamp-cshadow
198 @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = 
199
200 # We cannot use the default rules to install headers since we cannot
201 # statically decide which headers to install.  So we have our own special
202 # installation routine here.
203 myincludep = $(DESTDIR)$(includedir)/g++-v3/
204 mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
205 CONFIG_HEADER = ../config.h
206 CONFIG_CLEAN_FILES = 
207 LTLIBRARIES =  $(toolexeclib_LTLIBRARIES)
208
209
210 DEFS = @DEFS@ -I. -I$(srcdir) -I..
211 CPPFLAGS = @CPPFLAGS@
212 LDFLAGS = @LDFLAGS@
213 LIBS = @LIBS@
214 libinst_string_la_LDFLAGS = 
215 libinst_string_la_LIBADD = 
216 libinst_string_la_SOURCES = libinst-string.la.c
217 libinst_string_la_OBJECTS =  libinst-string.la.lo
218 libinst_wstring_la_LDFLAGS = 
219 libinst_wstring_la_LIBADD = 
220 libinst_wstring_la_OBJECTS =  wstring-inst.lo
221 libstdc___la_OBJECTS =  limitsMEMBERS.lo cmath.lo complex.lo complexf.lo \
222 complexl.lo complex_io.lo stdexcept.lo c++io.lo ios.lo stdstreams.lo \
223 strstream.lo locale.lo localename.lo codecvt.lo locale-inst.lo \
224 stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo
225 CXXFLAGS = @CXXFLAGS@
226 CXXLD = $(CXX)
227 CFLAGS = @CFLAGS@
228 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
229 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
230 CCLD = $(CC)
231 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
232 DIST_COMMON =  Makefile.am Makefile.in
233
234
235 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
236
237 TAR = gtar
238 GZIP_ENV = --best
239 SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES)
240 OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS)
241
242 all: all-redirect
243 .SUFFIXES:
244 .SUFFIXES: .S .c .cc .lo .o .obj .s
245 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
246         cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
247
248 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
249         cd $(top_builddir) \
250           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
251
252
253 mostlyclean-toolexeclibLTLIBRARIES:
254
255 clean-toolexeclibLTLIBRARIES:
256         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
257
258 distclean-toolexeclibLTLIBRARIES:
259
260 maintainer-clean-toolexeclibLTLIBRARIES:
261
262 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
263         @$(NORMAL_INSTALL)
264         $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
265         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
266           if test -f $$p; then \
267             echo "$(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
268             $(LIBTOOL)  --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
269           else :; fi; \
270         done
271
272 uninstall-toolexeclibLTLIBRARIES:
273         @$(NORMAL_UNINSTALL)
274         list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
275           $(LIBTOOL)  --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
276         done
277
278 .c.o:
279         $(COMPILE) -c $<
280
281 # FIXME: We should only use cygpath when building on Windows,
282 # and only if it is available.
283 .c.obj:
284         $(COMPILE) -c `cygpath -w $<`
285
286 .s.o:
287         $(COMPILE) -c $<
288
289 .S.o:
290         $(COMPILE) -c $<
291
292 mostlyclean-compile:
293         -rm -f *.o core *.core
294         -rm -f *.$(OBJEXT)
295
296 clean-compile:
297
298 distclean-compile:
299         -rm -f *.tab.c
300
301 maintainer-clean-compile:
302
303 .c.lo:
304         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
305
306 .s.lo:
307         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
308
309 .S.lo:
310         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
311
312 mostlyclean-libtool:
313         -rm -f *.lo
314
315 clean-libtool:
316         -rm -rf .libs _libs
317
318 distclean-libtool:
319
320 maintainer-clean-libtool:
321
322 libinst-string.la: $(libinst_string_la_OBJECTS) $(libinst_string_la_DEPENDENCIES)
323         $(LINK)  $(libinst_string_la_LDFLAGS) $(libinst_string_la_OBJECTS) $(libinst_string_la_LIBADD) $(LIBS)
324
325 libinst-wstring.la: $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_DEPENDENCIES)
326         $(CXXLINK)  $(libinst_wstring_la_LDFLAGS) $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_LIBADD) $(LIBS)
327
328 libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
329         $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
330 .cc.o:
331         $(CXXCOMPILE) -c $<
332 .cc.obj:
333         $(CXXCOMPILE) -c `cygpath -w $<`
334 .cc.lo:
335         $(LTCXXCOMPILE) -c $<
336
337 tags: TAGS
338
339 ID: $(HEADERS) $(SOURCES) $(LISP)
340         list='$(SOURCES) $(HEADERS)'; \
341         unique=`for i in $$list; do echo $$i; done | \
342           awk '    { files[$$0] = 1; } \
343                END { for (i in files) print i; }'`; \
344         here=`pwd` && cd $(srcdir) \
345           && mkid -f$$here/ID $$unique $(LISP)
346
347 mostlyclean-tags:
348
349 clean-tags:
350
351 distclean-tags:
352         -rm -f TAGS ID
353
354 maintainer-clean-tags:
355
356 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
357
358 subdir = src
359
360 distdir: $(DISTFILES)
361         @for file in $(DISTFILES); do \
362           if test -f $$file; then d=.; else d=$(srcdir); fi; \
363           if test -d $$d/$$file; then \
364             cp -pr $$d/$$file $(distdir)/$$file; \
365           else \
366             test -f $(distdir)/$$file \
367             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
368             || cp -p $$d/$$file $(distdir)/$$file || :; \
369           fi; \
370         done
371 info-am:
372 info: info-am
373 dvi-am:
374 dvi: dvi-am
375 check-am:
376 check: check-am
377 installcheck-am:
378 installcheck: installcheck-am
379 install-info-am: 
380 install-info: install-info-am
381 install-exec-am: install-toolexeclibLTLIBRARIES
382 install-exec: install-exec-am
383
384 install-data-am:
385 install-data: install-data-am
386
387 install-am: all-am
388         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
389 install: install-am
390 uninstall-am: uninstall-toolexeclibLTLIBRARIES
391 uninstall: uninstall-am
392 all-am: Makefile $(LTLIBRARIES)
393 all-redirect: all-am
394 install-strip:
395         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
396 installdirs:
397         $(mkinstalldirs)  $(DESTDIR)$(toolexeclibdir)
398
399
400 mostlyclean-generic:
401
402 clean-generic:
403
404 distclean-generic:
405         -rm -f Makefile $(CONFIG_CLEAN_FILES)
406         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
407
408 maintainer-clean-generic:
409 mostlyclean-am:  mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
410                 mostlyclean-libtool mostlyclean-tags \
411                 mostlyclean-generic
412
413 mostlyclean: mostlyclean-am
414
415 clean-am:  clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
416                 clean-tags clean-generic mostlyclean-am
417
418 clean: clean-am
419
420 distclean-am:  distclean-toolexeclibLTLIBRARIES distclean-compile \
421                 distclean-libtool distclean-tags distclean-generic \
422                 clean-am
423         -rm -f libtool
424
425 distclean: distclean-am
426
427 maintainer-clean-am:  maintainer-clean-toolexeclibLTLIBRARIES \
428                 maintainer-clean-compile maintainer-clean-libtool \
429                 maintainer-clean-tags maintainer-clean-generic \
430                 distclean-am
431         @echo "This command is intended for maintainers to use;"
432         @echo "it deletes files that may require special tools to rebuild."
433
434 maintainer-clean: maintainer-clean-am
435
436 .PHONY: mostlyclean-toolexeclibLTLIBRARIES \
437 distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
438 maintainer-clean-toolexeclibLTLIBRARIES \
439 uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
440 mostlyclean-compile distclean-compile clean-compile \
441 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
442 clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
443 distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
444 dvi-am dvi check check-am installcheck-am installcheck install-info-am \
445 install-info install-exec-am install-exec install-data-am install-data \
446 install-am install uninstall-am uninstall all-redirect all-am all \
447 installdirs mostlyclean-generic distclean-generic clean-generic \
448 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
449
450
451 # Specify that all *.o's depend on this.
452 $(libstdc___la_OBJECTS): $(CSHADOW_H)
453
454 $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \
455                                $(top_srcdir)/mkcshadow
456         $(top_srcdir)/mkinclosure \
457         "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow;
458         rm -f  $(top_builddir)/stamp-cshadow 
459         echo "done" > $(top_builddir)/stamp-cshadow 
460
461 install: myinstallheaders
462
463 # NB: As libio_headers may be empty, need this to make sure bash doesn't
464 # choke on an empty for... loop by using libio_headers_install
465 myinstallheaders: $(headers:%=$(myincludep)%)
466         if test -z "$(MULTISUBDIR)"; then \
467         for i in $(std_headers); do \
468           echo "$(INSTALL_DATA) $(glibcpp_includedir)/std/$$i $(myincludep)"; \
469                 $(INSTALL_DATA) $(glibcpp_includedir)/std/$$i $(myincludep); \
470         done; \
471         for i in $(generated_headers); do \
472           echo "$(INSTALL_DATA) $$i $(myincludep)bits/"; \
473                 $(INSTALL_DATA) $$i $(myincludep)bits/; \
474         done; \
475         libio_headers_install='$(libio_headers)'; \
476         for i in $$libio_headers_install; do \
477           echo "$(INSTALL_DATA) $$i $(myincludep)"; \
478                 $(INSTALL_DATA) $$i $(myincludep); \
479         done; \
480         echo "$(INSTALL_DATA) $(cpu_headers) $(myincludep)bits/"; \
481         $(INSTALL_DATA) $(cpu_headers) $(myincludep)bits/; \
482         fi;
483
484 $(headers:%=$(myincludep)%): $(myincludep)%: %
485         if test -z "$(MULTISUBDIR)"; then \
486         $(mkinstalldirs) $(@D); \
487         echo " $(INSTALL_DATA) $^ $@"; \
488         $(INSTALL_DATA) $^ $@; \
489         fi;
490
491 # All the (now removed) machinations with string instantiations messes up the
492 # automake-generated TAGS rule. Make a simple one here.
493 TAGS: $(generated_headers) $(cpu_headers) 
494         etags -C $(top_srcdir)/bits/*.h $(top_srcdir)/bits/*.tcc \
495         $(generated_headers) $(cpu_headers) $(libio_headers) \
496         $(top_srcdir)/src/*.cc \
497         $(top_builddir)/src/limitsMEMBERS.cc $(top_builddir)/src/c++io.cc \
498         -o $(top_builddir)/TAGS
499
500 # We have to handle misc-inst.cc and locale-inst.cc in a special way
501 # since we cannot instantiate all classes due to missing definitions
502 # for things like vptrs, type_info bits, etc. when using
503 # -fno-implicit-templates.
504 misc-inst.o: misc-inst.cc
505         $(CXXCOMPILE) -fimplicit-templates -c $<
506 misc-inst.lo: misc-inst.cc
507         $(LTCXXCOMPILE) -fimplicit-templates -c $<
508 locale-inst.o: locale-inst.cc
509         $(CXXCOMPILE) -fimplicit-templates -c $<
510 locale-inst.lo: locale-inst.cc
511         $(LTCXXCOMPILE) -fimplicit-templates -c $<
512
513 # We have to instantiate wstring bits too. . . 
514 wstring-inst.o: string-inst.cc
515         $(CXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
516 wstring-inst.lo: string-inst.cc
517         $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
518
519 all: libstdc++.INC
520 libstdc++.INC: Makefile
521         $(MAKE) \
522           top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \
523           top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \
524           tmp-$@
525         -rm -f $@
526         mv tmp-$@ $@
527
528 tmp-libstdc++.INC: Makefile
529         echo -I$(top_builddir) $(INCLUDES) > $@
530
531 # Tell versions [3.59,3.63) of GNU make to not export all variables.
532 # Otherwise a system limit (for SysV at least) may be exceeded.
533 .NOEXPORT: