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