]> git.ipfire.org Git - thirdparty/gcc.git/blame - libstdc++-v3/src/Makefile.in
cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
[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@
c470c17d 69CPU_FLAGS = @CPU_FLAGS@
5b80666b 70CSHADOWFLAGS = @CSHADOWFLAGS@
b2dad0e3
BK
71CXX = @CXX@
72CXXCPP = @CXXCPP@
c470c17d 73DEBUG_FLAGS = @DEBUG_FLAGS@
b2dad0e3
BK
74DLLTOOL = @DLLTOOL@
75EXEEXT = @EXEEXT@
dcfa0bc8 76EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
b2dad0e3
BK
77GCC_OBJDIR = @GCC_OBJDIR@
78GLIBCPP_CFLAGS = @GLIBCPP_CFLAGS@
79GLIBCPP_CXXFLAGS = @GLIBCPP_CXXFLAGS@
80LIBMATHOBJS = @LIBMATHOBJS@
81LIBSTRINGOBJS = @LIBSTRINGOBJS@
82LIBTOOL = @LIBTOOL@
83LN_S = @LN_S@
84MAINT = @MAINT@
85MAKEINFO = @MAKEINFO@
3840fa2a 86OBJDUMP = @OBJDUMP@
421173e6 87OPT_LDFLAGS = @OPT_LDFLAGS@
b2dad0e3
BK
88PACKAGE = @PACKAGE@
89RANLIB = @RANLIB@
c470c17d
BK
90SECTION_FLAGS = @SECTION_FLAGS@
91SECTION_LDFLAGS = @SECTION_LDFLAGS@
b2dad0e3
BK
92THREADDEPS = @THREADDEPS@
93THREADINCS = @THREADINCS@
94THREADLIBS = @THREADLIBS@
95THREADOBJS = @THREADOBJS@
96THREADSPEC = @THREADSPEC@
2f103494 97USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
b2dad0e3 98VERSION = @VERSION@
d3a12960 99WERROR = @WERROR@
c470c17d 100WFMT_FLAGS = @WFMT_FLAGS@
b2dad0e3
BK
101cpu_include_dir = @cpu_include_dir@
102ctype_include_dir = @ctype_include_dir@
103glibcpp_basedir = @glibcpp_basedir@
dd75251f 104ifGNUmake = @ifGNUmake@
5d89258a 105libinst_wstring_la = @libinst_wstring_la@
b2dad0e3
BK
106
107AUTOMAKE_OPTIONS = 1.3 gnits
108MAINT_CHARSET = latin1
93c63813
BK
109@USE_LIBDIR_TRUE@toolexeclibdir = @USE_LIBDIR_TRUE@$(libdir)$(MULTISUBDIR)
110@USE_LIBDIR_FALSE@toolexeclibdir = @USE_LIBDIR_FALSE@$(toolexecdir)/lib$(MULTISUBDIR)
111@USE_LIBDIR_FALSE@toolexecdir = @USE_LIBDIR_FALSE@$(exec_prefix)/$(target_alias)
b2dad0e3
BK
112
113toolexeclib_LTLIBRARIES = libstdc++.la
5d89258a 114EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la
b2dad0e3 115
d3a12960 116# Using these options is probably a good idea for thrill-seekers. Just
c470c17d
BK
117# uncomment the lines below and make, everything else is ready to go...
118# OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
d3a12960
BK
119
120# These bits are all figured out from configure. Look in acinclude.m4
121# or configure.in to see how they are set.
c470c17d 122# NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden.
d3a12960 123AC_CXXFLAGS = \
aac350aa 124 $(WERROR) @WFMT_FLAGS@ @CPU_FLAGS@ @EXTRA_CXX_FLAGS@ \
c4561450 125 @SECTION_FLAGS@ @DEBUG_FLAGS@
d3a12960
BK
126
127
128# Need to manually set this option because AC_CXXFLAGS has to be at
c470c17d 129# the end of the compile line so that -O2 can be overridden as the
d3a12960
BK
130# occasion call for it. (ie, --enable-debug)
131AM_CXXFLAGS = \
99b51359 132 -fno-implicit-templates $(OPTIMIZE_CXXFLAGS) \
d3a12960 133 -Wall -Wno-format -W -Wwrite-strings -Winline \
c470c17d 134 $(AC_CXXFLAGS)
b2dad0e3
BK
135
136
5b80666b
BK
137# Passed down for cross compilers, canadian crosses.
138TOPLEVEL_INCLUDES = -I$(includedir)
99b51359
BK
139@GLIBCPP_NEED_LIBIO_TRUE@LIBIO_INCLUDES = @GLIBCPP_NEED_LIBIO_TRUE@\
140@GLIBCPP_NEED_LIBIO_TRUE@ -I$(top_builddir)/libio -I$(top_srcdir)/libio
44fc6a02 141@GLIBCPP_NEED_LIBIO_FALSE@LIBIO_INCLUDES = @GLIBCPP_NEED_LIBIO_FALSE@-I$(top_srcdir)/libio
99b51359
BK
142#CSHADOW_INCLUDES = \
143# @CSHADOWFLAGS@ -I$(top_srcdir)/shadow -I$(top_builddir)/cshadow
144@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_INCLUDES =
145@GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_INCLUDES =
5b80666b
BK
146
147CONFIG_INCLUDES = \
148 -I$(top_srcdir)/@cpu_include_dir@ \
149 -I$(top_srcdir)/@ctype_include_dir@
150
151
152INCLUDES = \
99b51359
BK
153 -D_GNU_SOURCE -nostdinc++ -I$(top_srcdir) \
154 $(CSHADOW_INCLUDES) $(LIBIO_INCLUDES) \
155 $(CONFIG_INCLUDES) $(TOPLEVEL_INCLUDES)
5b80666b
BK
156
157
b2dad0e3
BK
158# Need to explicitly set this so that AM_CXXFLAGS is last. (That way,
159# things like -O2 passed down from the toplevel can be overridden by
160# --enable-debug.)
c470c17d
BK
161CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
162 $(CXXFLAGS) $(AM_CXXFLAGS)
b2dad0e3
BK
163
164
165LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) \
166 $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
167
168
169# We have a problem when building the shared libstdc++ object if the
170# rules automake generates would be used. We cannot allow CXX to be used
171# in libtool since this would add -lstdc++ to the link line which of
172# course is impossible.
421173e6 173CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
b2dad0e3 174
b2dad0e3
BK
175headers = \
176 bits/cpp_type_traits.h \
177 bits/std_cctype.h bits/ctype_base.h bits/ctype_specializations.h \
178 bits/char_traits.h \
179 bits/basic_string.h bits/std_string.h bits/string.tcc \
180 bits/generic_shadow.h bits/std_utility.h \
181 bits/std_complex.h \
182 bits/valarray_array.h bits/valarray_array.tcc bits/valarray_meta.h \
183 bits/std_valarray.h bits/mask_array.h bits/slice.h bits/slice_array.h \
184 bits/gslice.h bits/gslice_array.h bits/indirect_array.h \
811e551b 185 bits/std_cassert.h bits/std_cwctype.h \
b2dad0e3
BK
186 bits/std_cerrno.h bits/std_cfloat.h bits/std_climits.h \
187 bits/std_clocale.h bits/std_cmath.h \
188 bits/std_csetjmp.h bits/std_csignal.h bits/std_cstdarg.h \
189 bits/std_cstddef.h bits/std_cstdio.h bits/std_cstdlib.h \
190 bits/std_cstring.h bits/std_ctime.h bits/std_cwchar.h \
191 bits/std_typeinfo.h bits/std_new.h \
192 bits/std_exception.h bits/exception_support.h \
193 bits/std_fstream.h bits/std_iomanip.h \
194 bits/ios_base.h bits/fpos.h bits/basic_ios.h bits/basic_ios.tcc \
195 bits/std_ios.h bits/std_iosfwd.h bits/std_iostream.h \
196 bits/std_istream.h bits/istream.tcc bits/std_locale.h \
197 bits/fstream.tcc bits/ostream.tcc bits/sbuf_iter.h bits/sstream.tcc \
198 bits/std_ostream.h bits/std_sstream.h bits/std_streambuf.h \
199 bits/streambuf.tcc bits/basic_file.h \
200 bits/locale_facets.h bits/locale_facets.tcc bits/localefwd.h \
201 bits/stl_pthread_alloc.h bits/pthread_allocimpl.h \
202 bits/stl_threads.h bits/stl_iterator_base.h \
203 backward/algo.h backward/algobase.h backward/alloc.h \
204 backward/bvector.h backward/defalloc.h backward/deque.h \
205 backward/function.h backward/hash_map.h backward/hash_set.h \
206 backward/hashtable.h backward/heap.h backward/iterator.h \
55718a0b
BK
207 backward/list.h backward/map.h backward/multimap.h backward/new.h \
208 backward/multiset.h backward/pair.h backward/iostream.h \
b2dad0e3
BK
209 backward/rope.h backward/set.h backward/slist.h backward/stack.h \
210 backward/tempbuf.h backward/tree.h backward/vector.h \
211 bits/std_bitset.h bits/std_deque.h bits/std_functional.h \
212 bits/std_iterator.h bits/std_list.h \
213 bits/std_map.h bits/std_memory.h bits/std_numeric.h \
214 bits/std_queue.h bits/std_set.h bits/std_stack.h \
215 bits/std_stdexcept.h bits/std_vector.h \
216 bits/stl_algo.h bits/stl_algobase.h bits/stl_alloc.h \
217 bits/stl_deque.h bits/stl_function.h \
218 bits/stl_heap.h bits/stl_iterator.h bits/stl_list.h bits/stl_map.h \
219 bits/stl_multimap.h bits/stl_multiset.h bits/stl_numeric.h \
220 bits/stl_pair.h bits/stl_queue.h bits/stl_raw_storage_iter.h \
221 bits/stl_relops.h bits/stl_set.h \
222 bits/stl_stack.h bits/stl_string_fwd.h bits/stl_tempbuf.h \
223 bits/stl_tree.h bits/stl_uninitialized.h bits/stl_vector.h \
224 bits/type_traits.h bits/stl_range_errors.h bits/std_algorithm.h \
54a3a087
BK
225 bits/concept_checks.h bits/container_concepts.h \
226 bits/sequence_concepts.h bits/std_strstream.h \
b2dad0e3
BK
227 ext/ropeimpl.h ext/stl_rope.h \
228 ext/stl_bvector.h bits/stl_config.h bits/stl_construct.h \
229 ext/stl_hashtable.h ext/stl_hash_fun.h \
230 ext/hash_map ext/hash_set ext/rope ext/slist \
231 ext/tree ext/bvector \
232 shadow/assert.h shadow/ctype.h shadow/errno.h shadow/float.h \
233 shadow/libio.h \
234 shadow/limits.h shadow/locale.h shadow/math.h shadow/setjmp.h \
235 shadow/signal.h shadow/stdarg.h shadow/stddef.h shadow/stdio.h \
236 shadow/stdlib.h shadow/string.h shadow/time.h \
237 shadow/unistd.h shadow/wchar.h shadow/wctype.h \
238 shadow/bits/std_cassert.h shadow/bits/std_cctype.h \
239 shadow/bits/std_cerrno.h shadow/bits/std_cfloat.h \
240 shadow/bits/std_climits.h shadow/bits/std_clocale.h \
241 shadow/bits/std_cmath.h shadow/bits/std_csetjmp.h \
242 shadow/bits/std_csignal.h shadow/bits/std_cstdarg.h \
243 shadow/bits/std_cstddef.h shadow/bits/std_cstdio.h \
244 shadow/bits/std_cstdlib.h shadow/bits/std_cstring.h \
245 shadow/bits/std_ctime.h shadow/bits/std_cwchar.h \
246 shadow/bits/std_cwctype.h \
247 shadow/bits/wrap_libio.h shadow/bits/wrap_unistd.h \
248 shadow/sys/cdefs.h
249
250
251std_headers = \
252 algorithm bitset cassert cctype cerrno cfloat climits clocale ciso646 \
253 cmath complex csetjmp csignal cstdarg cstddef cstdio cstdlib \
254 cstring ctime cwchar cwctype deque exception fstream functional \
255 iomanip ios iosfwd iostream istream iterator limits list locale \
256 map memory new numeric ostream queue set sstream stack stdexcept \
257 streambuf string strstream typeinfo utility valarray vector
258
93c63813 259@GLIBCPP_NEED_LIBIO_TRUE@libio_headers = @GLIBCPP_NEED_LIBIO_TRUE@\
f22ad9d0 260@GLIBCPP_NEED_LIBIO_TRUE@ $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h
93c63813 261@GLIBCPP_NEED_LIBIO_FALSE@libio_headers =
b2dad0e3
BK
262
263generated_headers = \
d94611f1
BK
264 $(top_builddir)/bits/std_limits.h $(top_builddir)/bits/c++config.h \
265 $(top_builddir)/bits/c++threads.h $(top_builddir)/bits/c++io.h
b2dad0e3
BK
266
267
268cpu_headers = \
f3b004d8 269 $(top_srcdir)/@cpu_include_dir@/bits/atomicity.h
b2dad0e3
BK
270
271
5b80666b 272sources = \
dd75251f 273 limitsMEMBERS.cc \
5b80666b
BK
274 cmath.cc \
275 complex.cc complexf.cc complexl.cc complex_io.cc \
dd75251f
BK
276 stdexcept.cc \
277 c++io.cc ios.cc stdstreams.cc strstream.cc \
5b80666b 278 locale.cc localename.cc \
c470c17d 279 locale-inst.cc stl-inst.cc misc-inst.cc valarray-inst.cc string-inst.cc
b2dad0e3
BK
280
281
282wstring_sources = \
c470c17d 283 wstring-inst.cc
b2dad0e3 284
b2dad0e3
BK
285VPATH = $(top_srcdir) $(top_srcdir)/std $(top_srcdir)/src $(top_srcdir)/@ctype_include_dir@
286
287# Actual sources for the distro, but don't build these.
c470c17d 288#EXTRA_sources = string-inst.cc
b2dad0e3
BK
289
290libstdc___la_SOURCES = $(sources)
291
5d89258a
BK
292libinst_wstring_la_SOURCES = $(wstring_sources)
293
294libstdc___la_LIBADD = \
295 ../math/libmath.la ../libio/libio.la \
c470c17d 296 @libinst_wstring_la@
5d89258a 297
b2dad0e3
BK
298
299libstdc___la_LDFLAGS = -version-info 3:0:0 -lm
300
5d89258a 301libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD)
93c63813
BK
302@GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = @GLIBCPP_USE_CSHADOW_TRUE@$(top_builddir)/stamp-cshadow
303@GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H =
5d89258a 304
b2dad0e3
BK
305# We cannot use the default rules to install headers since we cannot
306# statically decide which headers to install. So we have our own special
307# installation routine here.
308myincludep = $(DESTDIR)$(includedir)/g++-v3/
309mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
310CONFIG_HEADER = ../config.h
311CONFIG_CLEAN_FILES =
312LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
313
314
315DEFS = @DEFS@ -I. -I$(srcdir) -I..
316CPPFLAGS = @CPPFLAGS@
317LDFLAGS = @LDFLAGS@
318LIBS = @LIBS@
5d89258a
BK
319libinst_string_la_LDFLAGS =
320libinst_string_la_LIBADD =
c470c17d
BK
321libinst_string_la_SOURCES = libinst-string.la.c
322libinst_string_la_OBJECTS = libinst-string.la.lo
5d89258a
BK
323libinst_wstring_la_LDFLAGS =
324libinst_wstring_la_LIBADD =
c470c17d 325libinst_wstring_la_OBJECTS = wstring-inst.lo
dd75251f
BK
326libstdc___la_OBJECTS = limitsMEMBERS.lo cmath.lo complex.lo complexf.lo \
327complexl.lo complex_io.lo stdexcept.lo c++io.lo ios.lo stdstreams.lo \
5d89258a 328strstream.lo locale.lo localename.lo locale-inst.lo stl-inst.lo \
c470c17d 329misc-inst.lo valarray-inst.lo string-inst.lo
b2dad0e3
BK
330CXXFLAGS = @CXXFLAGS@
331CXXLD = $(CXX)
c470c17d
BK
332CFLAGS = @CFLAGS@
333COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
334LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
335CCLD = $(CC)
336LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
b2dad0e3
BK
337DIST_COMMON = Makefile.am Makefile.in
338
339
340DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
341
342TAR = gtar
343GZIP_ENV = --best
c470c17d
BK
344SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES)
345OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS)
b2dad0e3
BK
346
347all: all-redirect
348.SUFFIXES:
349.SUFFIXES: .S .c .cc .lo .o .s
350$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
351 cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile
352
353Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
354 cd $(top_builddir) \
355 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
356
357
358mostlyclean-toolexeclibLTLIBRARIES:
359
360clean-toolexeclibLTLIBRARIES:
361 -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
362
363distclean-toolexeclibLTLIBRARIES:
364
365maintainer-clean-toolexeclibLTLIBRARIES:
366
367install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
368 @$(NORMAL_INSTALL)
369 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
370 @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
371 if test -f $$p; then \
372 echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \
373 $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \
374 else :; fi; \
375 done
376
377uninstall-toolexeclibLTLIBRARIES:
378 @$(NORMAL_UNINSTALL)
379 list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
380 $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \
381 done
382
383.c.o:
384 $(COMPILE) -c $<
385
386.s.o:
387 $(COMPILE) -c $<
388
389.S.o:
390 $(COMPILE) -c $<
391
392mostlyclean-compile:
393 -rm -f *.o core *.core
394
395clean-compile:
396
397distclean-compile:
398 -rm -f *.tab.c
399
400maintainer-clean-compile:
401
402.c.lo:
403 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
404
405.s.lo:
406 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
407
408.S.lo:
409 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
410
411mostlyclean-libtool:
412 -rm -f *.lo
413
414clean-libtool:
415 -rm -rf .libs _libs
416
417distclean-libtool:
418
419maintainer-clean-libtool:
420
5d89258a 421libinst-string.la: $(libinst_string_la_OBJECTS) $(libinst_string_la_DEPENDENCIES)
c470c17d 422 $(LINK) $(libinst_string_la_LDFLAGS) $(libinst_string_la_OBJECTS) $(libinst_string_la_LIBADD) $(LIBS)
5d89258a
BK
423
424libinst-wstring.la: $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_DEPENDENCIES)
425 $(CXXLINK) $(libinst_wstring_la_LDFLAGS) $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_LIBADD) $(LIBS)
426
b2dad0e3
BK
427libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES)
428 $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
429.cc.o:
430 $(CXXCOMPILE) -c $<
431.cc.lo:
432 $(LTCXXCOMPILE) -c $<
433
434tags: TAGS
435
436ID: $(HEADERS) $(SOURCES) $(LISP)
437 list='$(SOURCES) $(HEADERS)'; \
438 unique=`for i in $$list; do echo $$i; done | \
439 awk ' { files[$$0] = 1; } \
440 END { for (i in files) print i; }'`; \
441 here=`pwd` && cd $(srcdir) \
442 && mkid -f$$here/ID $$unique $(LISP)
443
b2dad0e3
BK
444mostlyclean-tags:
445
446clean-tags:
447
448distclean-tags:
449 -rm -f TAGS ID
450
451maintainer-clean-tags:
452
453distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
454
455subdir = src
456
457distdir: $(DISTFILES)
458 @for file in $(DISTFILES); do \
459 if test -f $$file; then d=.; else d=$(srcdir); fi; \
460 if test -d $$d/$$file; then \
461 cp -pr $$d/$$file $(distdir)/$$file; \
462 else \
463 test -f $(distdir)/$$file \
464 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
465 || cp -p $$d/$$file $(distdir)/$$file || :; \
466 fi; \
467 done
468info-am:
469info: info-am
470dvi-am:
471dvi: dvi-am
472check-am:
473check: check-am
474installcheck-am:
475installcheck: installcheck-am
476install-info-am:
477install-info: install-info-am
478install-exec-am: install-toolexeclibLTLIBRARIES
479install-exec: install-exec-am
480
481install-data-am:
482install-data: install-data-am
483
484install-am: all-am
485 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
486install: install-am
487uninstall-am: uninstall-toolexeclibLTLIBRARIES
488uninstall: uninstall-am
489all-am: Makefile $(LTLIBRARIES)
490all-redirect: all-am
491install-strip:
492 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
493installdirs:
494 $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir)
495
496
497mostlyclean-generic:
498
499clean-generic:
500
501distclean-generic:
502 -rm -f Makefile $(CONFIG_CLEAN_FILES)
503 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
504
505maintainer-clean-generic:
506mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \
507 mostlyclean-libtool mostlyclean-tags \
508 mostlyclean-generic
509
510mostlyclean: mostlyclean-am
511
512clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \
513 clean-tags clean-generic mostlyclean-am
514
515clean: clean-am
516
517distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \
518 distclean-libtool distclean-tags distclean-generic \
519 clean-am
520 -rm -f libtool
521
522distclean: distclean-am
523
524maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \
525 maintainer-clean-compile maintainer-clean-libtool \
526 maintainer-clean-tags maintainer-clean-generic \
527 distclean-am
528 @echo "This command is intended for maintainers to use;"
529 @echo "it deletes files that may require special tools to rebuild."
530
531maintainer-clean: maintainer-clean-am
532
533.PHONY: mostlyclean-toolexeclibLTLIBRARIES \
534distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \
535maintainer-clean-toolexeclibLTLIBRARIES \
536uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \
537mostlyclean-compile distclean-compile clean-compile \
538maintainer-clean-compile mostlyclean-libtool distclean-libtool \
539clean-libtool maintainer-clean-libtool tags mostlyclean-tags \
540distclean-tags clean-tags maintainer-clean-tags distdir info-am info \
541dvi-am dvi check check-am installcheck-am installcheck install-info-am \
542install-info install-exec-am install-exec install-data-am install-data \
543install-am install uninstall-am uninstall all-redirect all-am all \
544installdirs mostlyclean-generic distclean-generic clean-generic \
545maintainer-clean-generic clean mostlyclean distclean maintainer-clean
546
547
5b80666b
BK
548# Specify that all *.o's depend on this.
549$(libstdc___la_OBJECTS): $(CSHADOW_H)
550
551$(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \
552 $(top_srcdir)/mkcshadow
553 $(top_srcdir)/mkinclosure \
554 "-I $(top_builddir)/../../gcc/include -I /usr/include -G machine/ansi.h" | $(top_srcdir)/mkcshadow;
555 rm -f $(top_builddir)/stamp-cshadow
556 echo "done" > $(top_builddir)/stamp-cshadow
557
b2dad0e3
BK
558install: myinstallheaders
559
560# NB: As libio_headers may be empty, need this to make sure bash doesn't
561# choke on an empty for... loop by using libio_headers_install
b2dad0e3
BK
562myinstallheaders: $(headers:%=$(myincludep)%)
563 if test -z "$(MULTISUBDIR)"; then \
564 for i in $(std_headers); do \
565 echo "$(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludep)"; \
566 $(INSTALL_DATA) $(top_srcdir)/std/$$i $(myincludep); \
567 done; \
568 for i in $(generated_headers); do \
d94611f1
BK
569 echo "$(INSTALL_DATA) $$i $(myincludep)bits/"; \
570 $(INSTALL_DATA) $$i $(myincludep)bits/; \
b2dad0e3
BK
571 done; \
572 libio_headers_install='$(libio_headers)'; \
573 for i in $$libio_headers_install; do \
574 echo "$(INSTALL_DATA) $$i $(myincludep)"; \
575 $(INSTALL_DATA) $$i $(myincludep); \
576 done; \
f3b004d8
BK
577 echo "$(INSTALL_DATA) $(cpu_headers) $(myincludep)bits/"; \
578 $(INSTALL_DATA) $(cpu_headers) $(myincludep)bits/; \
b2dad0e3
BK
579 fi;
580
581$(headers:%=$(myincludep)%): $(myincludep)%: %
582 if test -z "$(MULTISUBDIR)"; then \
583 $(mkinstalldirs) $(@D); \
584 echo " $(INSTALL_DATA) $^ $@"; \
585 $(INSTALL_DATA) $^ $@; \
586 fi;
587
d94611f1 588# All the machinations with string instantiations messes up the
bf93f43b 589# automake-generated TAGS rule. Make a simple one here.
d94611f1
BK
590TAGS: $(generated_headers) $(cpu_headers)
591 etags -C $(top_srcdir)/bits/*.h $(top_srcdir)/bits/*.tcc \
592 $(generated_headers) $(cpu_headers) $(libio_headers) \
593 $(top_srcdir)/src/*.cc \
594 $(top_builddir)/src/limitsMEMBERS.cc $(top_builddir)/src/c++io.cc \
595 -o $(top_builddir)/TAGS
596
597# We have to handle misc-inst.cc and locale-inst.cc in a special way
598# since we cannot instantiate all classes due to missing definitions
599# for things like vptrs, type_info bits, etc. when using
600# -fno-implicit-templates.
b2dad0e3
BK
601misc-inst.o: misc-inst.cc
602 $(CXXCOMPILE) -fimplicit-templates -c $<
603misc-inst.lo: misc-inst.cc
604 $(LTCXXCOMPILE) -fimplicit-templates -c $<
605locale-inst.o: locale-inst.cc
606 $(CXXCOMPILE) -fimplicit-templates -c $<
607locale-inst.lo: locale-inst.cc
608 $(LTCXXCOMPILE) -fimplicit-templates -c $<
609
c470c17d
BK
610# We have to instantiate wstring bits too. . .
611wstring-inst.o: string-inst.cc
612 $(CXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
613wstring-inst.lo: string-inst.cc
614 $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@
b2dad0e3
BK
615
616# Tell versions [3.59,3.63) of GNU make to not export all variables.
617# Otherwise a system limit (for SysV at least) may be exceeded.
618.NOEXPORT: