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