]>
Commit | Line | Data |
---|---|---|
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 | ||
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@ | |
b2dad0e3 BK |
67 | CC = @CC@ |
68 | CPP = @CPP@ | |
e466dc8a | 69 | CSHADOW_FLAGS = @CSHADOW_FLAGS@ |
b2dad0e3 BK |
70 | CXX = @CXX@ |
71 | CXXCPP = @CXXCPP@ | |
de9aefe0 | 72 | CXX_libstdcxx = @CXX_libstdcxx@ |
c470c17d | 73 | DEBUG_FLAGS = @DEBUG_FLAGS@ |
b2dad0e3 BK |
74 | DLLTOOL = @DLLTOOL@ |
75 | EXEEXT = @EXEEXT@ | |
dcfa0bc8 | 76 | EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ |
f133a43e BK |
77 | GCJ = @GCJ@ |
78 | GCJFLAGS = @GCJFLAGS@ | |
b2dad0e3 BK |
79 | GLIBCPP_CFLAGS = @GLIBCPP_CFLAGS@ |
80 | GLIBCPP_CXXFLAGS = @GLIBCPP_CXXFLAGS@ | |
81 | LIBMATHOBJS = @LIBMATHOBJS@ | |
82 | LIBSTRINGOBJS = @LIBSTRINGOBJS@ | |
83 | LIBTOOL = @LIBTOOL@ | |
84 | LN_S = @LN_S@ | |
85 | MAINT = @MAINT@ | |
86 | MAKEINFO = @MAKEINFO@ | |
3840fa2a | 87 | OBJDUMP = @OBJDUMP@ |
3df64633 | 88 | OBJEXT = @OBJEXT@ |
421173e6 | 89 | OPT_LDFLAGS = @OPT_LDFLAGS@ |
b2dad0e3 BK |
90 | PACKAGE = @PACKAGE@ |
91 | RANLIB = @RANLIB@ | |
c470c17d BK |
92 | SECTION_FLAGS = @SECTION_FLAGS@ |
93 | SECTION_LDFLAGS = @SECTION_LDFLAGS@ | |
3df64633 | 94 | STRIP = @STRIP@ |
2f103494 | 95 | USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@ |
b2dad0e3 | 96 | VERSION = @VERSION@ |
e466dc8a | 97 | WARN_FLAGS = @WARN_FLAGS@ |
d3a12960 | 98 | WERROR = @WERROR@ |
c470c17d | 99 | WFMT_FLAGS = @WFMT_FLAGS@ |
34791641 PE |
100 | enable_shared = @enable_shared@ |
101 | enable_static = @enable_static@ | |
b2dad0e3 | 102 | glibcpp_basedir = @glibcpp_basedir@ |
1fd2f510 | 103 | gxx_include_dir = @gxx_include_dir@ |
dd75251f | 104 | ifGNUmake = @ifGNUmake@ |
5d89258a | 105 | libinst_wstring_la = @libinst_wstring_la@ |
c4d3f801 | 106 | libio_la = @libio_la@ |
1fd2f510 | 107 | libstdcxx_interface = @libstdcxx_interface@ |
b2dad0e3 BK |
108 | |
109 | AUTOMAKE_OPTIONS = 1.3 gnits | |
110 | MAINT_CHARSET = latin1 | |
5e53dba6 BK |
111 | |
112 | # Cross compiler and multilib support. | |
113 | # Install a library built with a cross compiler in tooldir, not libdir. | |
819004bb BK |
114 | @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_TRUE@gcc_version = @gcc_version@ |
115 | @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_TRUE@toolexecdir = $(libdir)/gcc-lib/$(target_alias) | |
116 | @USE_LIBDIR_FALSE@toolexecdir = $(exec_prefix)/$(target_alias) | |
117 | @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_TRUE@toolexeclibdir = $(toolexecdir)/$(gcc_version) | |
118 | @USE_LIBDIR_TRUE@@VERSION_SPECIFIC_LIBS_FALSE@toolexeclibdir = $(libdir)$(MULTISUBDIR) | |
119 | @USE_LIBDIR_FALSE@toolexeclibdir = $(toolexecdir)/lib$(MULTISUBDIR) | |
b2dad0e3 BK |
120 | |
121 | toolexeclib_LTLIBRARIES = libstdc++.la | |
5d89258a | 122 | EXTRA_LTLIBRARIES = libinst-string.la libinst-wstring.la |
b2dad0e3 | 123 | |
e466dc8a BK |
124 | # Compile flags that should be constant throughout the build, both for |
125 | # SUBDIRS and for libstdc++-v3 in general. | |
126 | OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@ | |
127 | ||
128 | # These bits are all figured out from configure. Look in acinclude.m4 | |
129 | # or configure.in to see how they are set. See GLIBCPP_EXPORT_FLAGS | |
130 | # NB: DEBUGFLAGS have to be at the end so that -O2 can be overridden. | |
819004bb | 131 | CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ |
e466dc8a BK |
132 | |
133 | ||
134 | # Warning flags to use. | |
819004bb | 135 | WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) @WFMT_FLAGS@ |
e466dc8a BK |
136 | |
137 | ||
138 | # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES | |
139 | GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@ | |
140 | C_INCLUDE_DIR = @C_INCLUDE_DIR@ | |
141 | TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ | |
142 | LIBMATH_INCLUDES = @LIBMATH_INCLUDES@ | |
143 | LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@ | |
144 | LIBIO_INCLUDES = @LIBIO_INCLUDES@ | |
145 | CSHADOW_INCLUDES = @CSHADOW_INCLUDES@ | |
146 | ||
85fe3810 | 147 | INCLUDES = -nostdinc++ $(CSHADOW_INCLUDES) $(LIBSUPCXX_INCLUDES) -I$(GLIBCPP_INCLUDE_DIR) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) -I$(top_builddir)/include $(TOPLEVEL_INCLUDES) |
819004bb BK |
148 | |
149 | ||
4ce69c7f | 150 | base_headers = bits/cpp_type_traits.h bits/char_traits.h bits/codecvt.h bits/basic_string.h bits/std_string.h bits/string.tcc bits/generic_shadow.h bits/std_utility.h bits/std_complex.h bits/valarray_array.h bits/valarray_array.tcc bits/valarray_meta.h bits/std_valarray.h bits/mask_array.h bits/slice.h bits/slice_array.h bits/gslice.h bits/gslice_array.h bits/indirect_array.h bits/exception_support.h bits/std_fstream.h bits/std_iomanip.h bits/ios_base.h bits/fpos.h bits/basic_ios.h bits/basic_ios.tcc bits/std_ios.h bits/std_iosfwd.h bits/std_iostream.h bits/std_istream.h bits/istream.tcc bits/std_locale.h bits/fstream.tcc bits/ostream.tcc bits/sbuf_iter.h bits/sstream.tcc bits/std_ostream.h bits/std_sstream.h bits/std_streambuf.h bits/streambuf.tcc bits/basic_file.h bits/locale_facets.h bits/locale_facets.tcc bits/localefwd.h bits/stl_pthread_alloc.h bits/pthread_allocimpl.h bits/stl_threads.h bits/stl_iterator_base.h backward/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/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 backward/strstream.h backward/strstream 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 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 |
819004bb BK |
151 | |
152 | ||
153 | c_base_headers = bits/std_cassert.h bits/std_cctype.h bits/std_cerrno.h bits/std_cfloat.h bits/std_climits.h bits/std_clocale.h bits/std_cmath.h bits/std_csetjmp.h bits/std_csignal.h bits/std_cstdarg.h bits/std_cstddef.h bits/std_cstdio.h bits/std_cstdlib.h bits/std_cstring.h bits/std_ctime.h bits/std_cwchar.h bits/std_cwctype.h | |
154 | ||
155 | ||
156 | 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 | |
157 | ||
158 | @GLIBCPP_USE_CSHADOW_TRUE@c_headers = $(c_base_headers) $(c_shadow_headers) | |
159 | @GLIBCPP_USE_CSHADOW_FALSE@c_headers = $(c_base_headers) | |
160 | ||
5feb272b | 161 | std_headers = algorithm bitset complex deque fstream functional iomanip ios iosfwd iostream istream iterator limits list locale map memory numeric ostream queue set sstream stack stdexcept streambuf string utility valarray vector cassert cctype cerrno cfloat climits clocale ciso646 cmath csetjmp csignal cstdarg cstddef cstdio cstdlib cstring ctime cwchar cwctype |
819004bb BK |
162 | |
163 | @GLIBCPP_NEED_LIBIO_TRUE@libio_headers = $(top_srcdir)/libio/_G_config.h $(top_srcdir)/libio/libio.h | |
e26cb7ab MM |
164 | @GLIBCPP_NEED_LIBIO_FALSE@libio_headers = |
165 | ||
819004bb | 166 | build_headers = bits/std_limits.h bits/c++config.h bits/c++io.h bits/c++threads.h bits/atomicity.h bits/os_defines.h bits/ctype_base.h bits/ctype_noninline.h bits/ctype_inline.h |
a6863e25 | 167 | |
b2dad0e3 | 168 | |
a6863e25 | 169 | headers = $(base_headers) $(c_headers) |
b2dad0e3 | 170 | |
abfadcb1 | 171 | sources = limitsMEMBERS.cc cmath.cc complex.cc complexf.cc complexl.cc complex_io.cc stdexcept.cc bitset.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 |
172 | |
173 | ||
819004bb | 174 | wstring_sources = wstring-inst.cc |
b2dad0e3 | 175 | |
a6863e25 | 176 | VPATH = $(top_srcdir) $(top_srcdir)/src $(GLIBCPP_INCLUDE_DIR) $(GLIBCPP_INCLUDE_DIR)/std $(C_INCLUDE_DIR) |
b2dad0e3 BK |
177 | |
178 | # Actual sources for the distro, but don't build these. | |
c470c17d | 179 | #EXTRA_sources = string-inst.cc |
b2dad0e3 BK |
180 | |
181 | libstdc___la_SOURCES = $(sources) | |
182 | ||
5d89258a BK |
183 | libinst_wstring_la_SOURCES = $(wstring_sources) |
184 | ||
819004bb | 185 | libstdc___la_LIBADD = ../libmath/libmath.la @libio_la@ ../libsupc++/libsupc++convenience.la @libinst_wstring_la@ |
5d89258a | 186 | |
b2dad0e3 BK |
187 | |
188 | libstdc___la_LDFLAGS = -version-info 3:0:0 -lm | |
189 | ||
5d89258a | 190 | libstdc___la_DEPENDENCIES = $(libstdc___la_LIBADD) |
819004bb | 191 | @GLIBCPP_USE_CSHADOW_TRUE@CSHADOW_H = $(top_builddir)/stamp-cshadow |
e26cb7ab | 192 | @GLIBCPP_USE_CSHADOW_FALSE@CSHADOW_H = |
819004bb BK |
193 | @GXX_INCLUDE_DIR_TRUE@myincludep = @gxx_include_dir@ |
194 | @GXX_INCLUDE_DIR_FALSE@@VERSION_SPECIFIC_LIBS_TRUE@myincludep = $(libdir)/gcc-lib/$(target_alias)/@gcc_version@/include/g++ | |
195 | @GXX_INCLUDE_DIR_FALSE@@VERSION_SPECIFIC_LIBS_FALSE@myincludep = $(prefix)/include/g++-@libstdcxx_interface@ | |
0b8e0cf3 BK |
196 | |
197 | # AM_CXXFLAGS needs to be in each subdirectory so that it can be | |
a9117427 BK |
198 | # modified in a per-library or per-sub-library way. Need to manually |
199 | # set this option because CONFIG_CXXFLAGS has to be after | |
200 | # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden | |
201 | # as the occasion call for it. (ie, --enable-debug) | |
819004bb | 202 | AM_CXXFLAGS = -fno-implicit-templates $(LIBSUPCXX_CXXFLAGS) $(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS) |
a9117427 BK |
203 | |
204 | ||
205 | # libstdc++ libtool notes | |
206 | ||
207 | # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is | |
208 | # last. (That way, things like -O2 passed down from the toplevel can | |
209 | # be overridden by --enable-debug.) | |
210 | ||
211 | # 2) In general, libtool expects an argument such as `--tag=CXX' when | |
212 | # using the C++ compiler, because that will enable the settings | |
213 | # detected when C++ support was being configured. However, when no | |
214 | # such flag is given in the command line, libtool attempts to figure | |
215 | # it out by matching the compiler name in each configuration section | |
216 | # against a prefix of the command line. The problem is that, if the | |
217 | # compiler name and its initial flags stored in the libtool | |
218 | # configuration file don't match those in the command line, libtool | |
219 | # can't decide which configuration to use, and it gives up. The | |
220 | # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe | |
221 | # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to | |
222 | # attempt to infer which configuration to use | |
819004bb | 223 | LTCXXCOMPILE = $(LIBTOOL) --tag CXX --mode=compile $(CXX) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS) |
a9117427 BK |
224 | |
225 | ||
226 | # 3) We have a problem when building the shared libstdc++ object if | |
227 | # the rules automake generates would be used. We cannot allow CXX to | |
228 | # be used in libtool since this would add -lstdc++ to the link line | |
229 | # which of course is problematic at this point. | |
819004bb | 230 | CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@ |
a9117427 | 231 | |
b2dad0e3 BK |
232 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs |
233 | CONFIG_HEADER = ../config.h | |
234 | CONFIG_CLEAN_FILES = | |
235 | LTLIBRARIES = $(toolexeclib_LTLIBRARIES) | |
236 | ||
237 | ||
238 | DEFS = @DEFS@ -I. -I$(srcdir) -I.. | |
239 | CPPFLAGS = @CPPFLAGS@ | |
240 | LDFLAGS = @LDFLAGS@ | |
241 | LIBS = @LIBS@ | |
5d89258a BK |
242 | libinst_string_la_LDFLAGS = |
243 | libinst_string_la_LIBADD = | |
c470c17d BK |
244 | libinst_string_la_SOURCES = libinst-string.la.c |
245 | libinst_string_la_OBJECTS = libinst-string.la.lo | |
5d89258a BK |
246 | libinst_wstring_la_LDFLAGS = |
247 | libinst_wstring_la_LIBADD = | |
c470c17d | 248 | libinst_wstring_la_OBJECTS = wstring-inst.lo |
dd75251f | 249 | libstdc___la_OBJECTS = limitsMEMBERS.lo cmath.lo complex.lo complexf.lo \ |
abfadcb1 GDR |
250 | complexl.lo complex_io.lo stdexcept.lo bitset.lo c++io.lo ios.lo \ |
251 | stdstreams.lo strstream.lo locale.lo localename.lo codecvt.lo \ | |
252 | locale-inst.lo stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo | |
b2dad0e3 | 253 | CXXFLAGS = @CXXFLAGS@ |
b1e53318 | 254 | CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
b2dad0e3 | 255 | CXXLD = $(CXX) |
c470c17d BK |
256 | CFLAGS = @CFLAGS@ |
257 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
258 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
259 | CCLD = $(CC) | |
260 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ | |
b2dad0e3 BK |
261 | DIST_COMMON = Makefile.am Makefile.in |
262 | ||
263 | ||
264 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
265 | ||
e26cb7ab | 266 | TAR = gtar |
b2dad0e3 | 267 | GZIP_ENV = --best |
c470c17d BK |
268 | SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES) |
269 | OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS) | |
b2dad0e3 BK |
270 | |
271 | all: all-redirect | |
272 | .SUFFIXES: | |
3df64633 | 273 | .SUFFIXES: .S .c .cc .lo .o .obj .s |
b2dad0e3 BK |
274 | $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
275 | cd $(top_srcdir) && $(AUTOMAKE) --cygnus src/Makefile | |
276 | ||
277 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
278 | cd $(top_builddir) \ | |
279 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
280 | ||
281 | ||
282 | mostlyclean-toolexeclibLTLIBRARIES: | |
283 | ||
284 | clean-toolexeclibLTLIBRARIES: | |
285 | -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) | |
286 | ||
287 | distclean-toolexeclibLTLIBRARIES: | |
288 | ||
289 | maintainer-clean-toolexeclibLTLIBRARIES: | |
290 | ||
291 | install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES) | |
292 | @$(NORMAL_INSTALL) | |
293 | $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) | |
294 | @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ | |
295 | if test -f $$p; then \ | |
296 | echo "$(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p"; \ | |
297 | $(LIBTOOL) --mode=install $(INSTALL) $$p $(DESTDIR)$(toolexeclibdir)/$$p; \ | |
298 | else :; fi; \ | |
299 | done | |
300 | ||
301 | uninstall-toolexeclibLTLIBRARIES: | |
302 | @$(NORMAL_UNINSTALL) | |
303 | list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \ | |
304 | $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(toolexeclibdir)/$$p; \ | |
305 | done | |
306 | ||
307 | .c.o: | |
308 | $(COMPILE) -c $< | |
309 | ||
3df64633 AO |
310 | # FIXME: We should only use cygpath when building on Windows, |
311 | # and only if it is available. | |
312 | .c.obj: | |
313 | $(COMPILE) -c `cygpath -w $<` | |
314 | ||
b2dad0e3 BK |
315 | .s.o: |
316 | $(COMPILE) -c $< | |
317 | ||
318 | .S.o: | |
319 | $(COMPILE) -c $< | |
320 | ||
321 | mostlyclean-compile: | |
322 | -rm -f *.o core *.core | |
3df64633 | 323 | -rm -f *.$(OBJEXT) |
b2dad0e3 BK |
324 | |
325 | clean-compile: | |
326 | ||
327 | distclean-compile: | |
328 | -rm -f *.tab.c | |
329 | ||
330 | maintainer-clean-compile: | |
331 | ||
332 | .c.lo: | |
333 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
334 | ||
335 | .s.lo: | |
336 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
337 | ||
338 | .S.lo: | |
339 | $(LIBTOOL) --mode=compile $(COMPILE) -c $< | |
340 | ||
341 | mostlyclean-libtool: | |
342 | -rm -f *.lo | |
343 | ||
344 | clean-libtool: | |
345 | -rm -rf .libs _libs | |
346 | ||
347 | distclean-libtool: | |
348 | ||
349 | maintainer-clean-libtool: | |
350 | ||
5d89258a | 351 | libinst-string.la: $(libinst_string_la_OBJECTS) $(libinst_string_la_DEPENDENCIES) |
c470c17d | 352 | $(LINK) $(libinst_string_la_LDFLAGS) $(libinst_string_la_OBJECTS) $(libinst_string_la_LIBADD) $(LIBS) |
5d89258a BK |
353 | |
354 | libinst-wstring.la: $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_DEPENDENCIES) | |
355 | $(CXXLINK) $(libinst_wstring_la_LDFLAGS) $(libinst_wstring_la_OBJECTS) $(libinst_wstring_la_LIBADD) $(LIBS) | |
356 | ||
b2dad0e3 BK |
357 | libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) |
358 | $(CXXLINK) -rpath $(toolexeclibdir) $(libstdc___la_LDFLAGS) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) | |
359 | .cc.o: | |
360 | $(CXXCOMPILE) -c $< | |
3df64633 AO |
361 | .cc.obj: |
362 | $(CXXCOMPILE) -c `cygpath -w $<` | |
b2dad0e3 BK |
363 | .cc.lo: |
364 | $(LTCXXCOMPILE) -c $< | |
365 | ||
366 | tags: TAGS | |
367 | ||
368 | ID: $(HEADERS) $(SOURCES) $(LISP) | |
369 | list='$(SOURCES) $(HEADERS)'; \ | |
370 | unique=`for i in $$list; do echo $$i; done | \ | |
371 | awk ' { files[$$0] = 1; } \ | |
372 | END { for (i in files) print i; }'`; \ | |
373 | here=`pwd` && cd $(srcdir) \ | |
374 | && mkid -f$$here/ID $$unique $(LISP) | |
375 | ||
1fd2f510 BK |
376 | TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP) |
377 | tags=; \ | |
378 | here=`pwd`; \ | |
379 | list='$(SOURCES) $(HEADERS)'; \ | |
380 | unique=`for i in $$list; do echo $$i; done | \ | |
381 | awk ' { files[$$0] = 1; } \ | |
382 | END { for (i in files) print i; }'`; \ | |
383 | test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ | |
384 | || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS) | |
385 | ||
b2dad0e3 BK |
386 | mostlyclean-tags: |
387 | ||
388 | clean-tags: | |
389 | ||
390 | distclean-tags: | |
391 | -rm -f TAGS ID | |
392 | ||
393 | maintainer-clean-tags: | |
394 | ||
395 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |
396 | ||
397 | subdir = src | |
398 | ||
399 | distdir: $(DISTFILES) | |
400 | @for file in $(DISTFILES); do \ | |
401 | if test -f $$file; then d=.; else d=$(srcdir); fi; \ | |
402 | if test -d $$d/$$file; then \ | |
abfadcb1 | 403 | cp -pr $$/$$file $(distdir)/$$file; \ |
b2dad0e3 BK |
404 | else \ |
405 | test -f $(distdir)/$$file \ | |
406 | || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ | |
407 | || cp -p $$d/$$file $(distdir)/$$file || :; \ | |
408 | fi; \ | |
409 | done | |
410 | info-am: | |
411 | info: info-am | |
412 | dvi-am: | |
413 | dvi: dvi-am | |
414 | check-am: | |
415 | check: check-am | |
416 | installcheck-am: | |
417 | installcheck: installcheck-am | |
418 | install-info-am: | |
419 | install-info: install-info-am | |
420 | install-exec-am: install-toolexeclibLTLIBRARIES | |
421 | install-exec: install-exec-am | |
422 | ||
1fd2f510 | 423 | install-data-am: install-data-local |
b2dad0e3 BK |
424 | install-data: install-data-am |
425 | ||
426 | install-am: all-am | |
427 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
428 | install: install-am | |
429 | uninstall-am: uninstall-toolexeclibLTLIBRARIES | |
430 | uninstall: uninstall-am | |
431 | all-am: Makefile $(LTLIBRARIES) | |
432 | all-redirect: all-am | |
433 | install-strip: | |
434 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install | |
435 | installdirs: | |
436 | $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) | |
437 | ||
438 | ||
439 | mostlyclean-generic: | |
440 | ||
441 | clean-generic: | |
442 | ||
443 | distclean-generic: | |
444 | -rm -f Makefile $(CONFIG_CLEAN_FILES) | |
445 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
446 | ||
447 | maintainer-clean-generic: | |
448 | mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \ | |
449 | mostlyclean-libtool mostlyclean-tags \ | |
450 | mostlyclean-generic | |
451 | ||
452 | mostlyclean: mostlyclean-am | |
453 | ||
454 | clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \ | |
455 | clean-tags clean-generic mostlyclean-am | |
456 | ||
457 | clean: clean-am | |
458 | ||
459 | distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \ | |
460 | distclean-libtool distclean-tags distclean-generic \ | |
461 | clean-am | |
462 | -rm -f libtool | |
463 | ||
464 | distclean: distclean-am | |
465 | ||
466 | maintainer-clean-am: maintainer-clean-toolexeclibLTLIBRARIES \ | |
467 | maintainer-clean-compile maintainer-clean-libtool \ | |
468 | maintainer-clean-tags maintainer-clean-generic \ | |
469 | distclean-am | |
470 | @echo "This command is intended for maintainers to use;" | |
471 | @echo "it deletes files that may require special tools to rebuild." | |
472 | ||
473 | maintainer-clean: maintainer-clean-am | |
474 | ||
475 | .PHONY: mostlyclean-toolexeclibLTLIBRARIES \ | |
476 | distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \ | |
477 | maintainer-clean-toolexeclibLTLIBRARIES \ | |
478 | uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \ | |
479 | mostlyclean-compile distclean-compile clean-compile \ | |
480 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ | |
481 | clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ | |
482 | distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ | |
483 | dvi-am dvi check check-am installcheck-am installcheck install-info-am \ | |
1fd2f510 BK |
484 | install-info install-exec-am install-exec install-data-local \ |
485 | install-data-am install-data install-am install uninstall-am uninstall \ | |
486 | all-redirect all-am all installdirs mostlyclean-generic \ | |
487 | distclean-generic clean-generic maintainer-clean-generic clean \ | |
488 | mostlyclean distclean maintainer-clean | |
b2dad0e3 BK |
489 | |
490 | ||
5b80666b BK |
491 | # Specify that all *.o's depend on this. |
492 | $(libstdc___la_OBJECTS): $(CSHADOW_H) | |
493 | ||
494 | $(top_builddir)/stamp-cshadow: $(top_srcdir)/mkinclosure \ | |
495 | $(top_srcdir)/mkcshadow | |
496 | $(top_srcdir)/mkinclosure \ | |
0517cb99 | 497 | "-I $(top_builddir)/../../gcc/include -I /usr/include -G fcntl.h unistd.h" | $(top_srcdir)/mkcshadow; |
5b80666b BK |
498 | rm -f $(top_builddir)/stamp-cshadow |
499 | echo "done" > $(top_builddir)/stamp-cshadow | |
500 | ||
1fd2f510 BK |
501 | # We have our own special, needlessly complicated installation routine |
502 | # here, as automake/autoconf is currently brain-damaged when it comes | |
503 | # to installing sub-directories of headers. | |
504 | install-data-local: myinstallheaders | |
b2dad0e3 BK |
505 | |
506 | # NB: As libio_headers may be empty, need this to make sure bash doesn't | |
507 | # choke on an empty for... loop by using libio_headers_install | |
1fd2f510 | 508 | myinstallheaders: $(headers:%=$(myincludep)/%) |
b2dad0e3 BK |
509 | if test -z "$(MULTISUBDIR)"; then \ |
510 | for i in $(std_headers); do \ | |
a6863e25 BK |
511 | echo "$(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep)";\ |
512 | $(INSTALL_DATA) $(GLIBCPP_INCLUDE_DIR)/std/$$i $(myincludep); \ | |
b2dad0e3 | 513 | done; \ |
e974e9cc | 514 | for i in $(build_headers); do \ |
5e53dba6 BK |
515 | echo "$(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/"; \ |
516 | $(INSTALL_DATA) $(top_builddir)/include/$$i $(myincludep)/bits/; \ | |
b2dad0e3 BK |
517 | done; \ |
518 | libio_headers_install='$(libio_headers)'; \ | |
519 | for i in $$libio_headers_install; do \ | |
520 | echo "$(INSTALL_DATA) $$i $(myincludep)"; \ | |
521 | $(INSTALL_DATA) $$i $(myincludep); \ | |
522 | done; \ | |
b2dad0e3 BK |
523 | fi; |
524 | ||
1fd2f510 | 525 | $(headers:%=$(myincludep)/%): $(myincludep)/%: % |
b2dad0e3 BK |
526 | if test -z "$(MULTISUBDIR)"; then \ |
527 | $(mkinstalldirs) $(@D); \ | |
528 | echo " $(INSTALL_DATA) $^ $@"; \ | |
529 | $(INSTALL_DATA) $^ $@; \ | |
530 | fi; | |
531 | ||
d94611f1 BK |
532 | # We have to handle misc-inst.cc and locale-inst.cc in a special way |
533 | # since we cannot instantiate all classes due to missing definitions | |
534 | # for things like vptrs, type_info bits, etc. when using | |
535 | # -fno-implicit-templates. | |
b2dad0e3 BK |
536 | misc-inst.o: misc-inst.cc |
537 | $(CXXCOMPILE) -fimplicit-templates -c $< | |
538 | misc-inst.lo: misc-inst.cc | |
539 | $(LTCXXCOMPILE) -fimplicit-templates -c $< | |
540 | locale-inst.o: locale-inst.cc | |
541 | $(CXXCOMPILE) -fimplicit-templates -c $< | |
542 | locale-inst.lo: locale-inst.cc | |
543 | $(LTCXXCOMPILE) -fimplicit-templates -c $< | |
544 | ||
c470c17d BK |
545 | # We have to instantiate wstring bits too. . . |
546 | wstring-inst.o: string-inst.cc | |
547 | $(CXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@ | |
548 | wstring-inst.lo: string-inst.cc | |
549 | $(LTCXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@ | |
b2dad0e3 | 550 | |
e974e9cc | 551 | # Alexandre put this in here for some libtool-related reason. |
7d7aced2 AO |
552 | all: libstdc++.INC |
553 | libstdc++.INC: Makefile | |
2f1cb8c2 AO |
554 | $(MAKE) \ |
555 | top_builddir=`CDPATH=:. && cd $(top_builddir) && pwd` \ | |
556 | top_srcdir=`CDPATH=:. && cd $(top_srcdir) && pwd` \ | |
7d7aced2 AO |
557 | tmp-$@ |
558 | -rm -f $@ | |
559 | mv tmp-$@ $@ | |
2f1cb8c2 | 560 | |
7d7aced2 | 561 | tmp-libstdc++.INC: Makefile |
b72554f1 | 562 | echo $(INCLUDES) > $@ |
2f1cb8c2 | 563 | |
b2dad0e3 BK |
564 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
565 | # Otherwise a system limit (for SysV at least) may be exceeded. | |
566 | .NOEXPORT: |