]>
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 | 70 | CXXCPP = @CXXCPP@ |
c470c17d | 71 | DEBUG_FLAGS = @DEBUG_FLAGS@ |
b2dad0e3 BK |
72 | DLLTOOL = @DLLTOOL@ |
73 | EXEEXT = @EXEEXT@ | |
dcfa0bc8 | 74 | EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ |
f133a43e BK |
75 | GCJ = @GCJ@ |
76 | GCJFLAGS = @GCJFLAGS@ | |
b2dad0e3 BK |
77 | LIBMATHOBJS = @LIBMATHOBJS@ |
78 | LIBSTRINGOBJS = @LIBSTRINGOBJS@ | |
79 | LIBTOOL = @LIBTOOL@ | |
80 | LN_S = @LN_S@ | |
81 | MAINT = @MAINT@ | |
82 | MAKEINFO = @MAKEINFO@ | |
3840fa2a | 83 | OBJDUMP = @OBJDUMP@ |
3df64633 | 84 | OBJEXT = @OBJEXT@ |
421173e6 | 85 | OPT_LDFLAGS = @OPT_LDFLAGS@ |
b2dad0e3 BK |
86 | PACKAGE = @PACKAGE@ |
87 | RANLIB = @RANLIB@ | |
c470c17d BK |
88 | SECTION_FLAGS = @SECTION_FLAGS@ |
89 | SECTION_LDFLAGS = @SECTION_LDFLAGS@ | |
3df64633 | 90 | STRIP = @STRIP@ |
2f103494 | 91 | USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@ |
b2dad0e3 | 92 | VERSION = @VERSION@ |
e466dc8a | 93 | WARN_FLAGS = @WARN_FLAGS@ |
d3a12960 | 94 | WERROR = @WERROR@ |
34791641 PE |
95 | enable_shared = @enable_shared@ |
96 | enable_static = @enable_static@ | |
46840bcd | 97 | glibcpp_CXX = @glibcpp_CXX@ |
b2dad0e3 | 98 | glibcpp_basedir = @glibcpp_basedir@ |
46840bcd BK |
99 | glibcpp_expect = @glibcpp_expect@ |
100 | glibcpp_runtest = @glibcpp_runtest@ | |
72ed2836 BK |
101 | glibcpp_toolexecdir = @glibcpp_toolexecdir@ |
102 | glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@ | |
dd75251f | 103 | ifGNUmake = @ifGNUmake@ |
c4d3f801 | 104 | libio_la = @libio_la@ |
e2c20fae | 105 | toplevel_srcdir = @toplevel_srcdir@ |
b2dad0e3 BK |
106 | |
107 | AUTOMAKE_OPTIONS = 1.3 gnits | |
108 | MAINT_CHARSET = latin1 | |
5e53dba6 | 109 | |
ae9dc931 BK |
110 | mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs |
111 | ||
5e53dba6 | 112 | # Cross compiler and multilib support. |
46840bcd | 113 | CXX = @glibcpp_CXX@ |
72ed2836 BK |
114 | toolexecdir = @glibcpp_toolexecdir@ |
115 | toolexeclibdir = @glibcpp_toolexeclibdir@ | |
b2dad0e3 BK |
116 | toolexeclib_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. | |
120 | OPTIMIZE_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 | 125 | CONFIG_CXXFLAGS = @EXTRA_CXX_FLAGS@ @SECTION_FLAGS@ @CSHADOW_FLAGS@ @DEBUG_FLAGS@ |
e466dc8a BK |
126 | |
127 | ||
128 | # Warning flags to use. | |
baac9fce | 129 | WARN_CXXFLAGS = @WARN_FLAGS@ $(WERROR) -fdiagnostics-show-location=once |
e466dc8a BK |
130 | |
131 | ||
132 | # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES | |
133 | GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@ | |
134 | C_INCLUDE_DIR = @C_INCLUDE_DIR@ | |
a40ba78e | 135 | CSTD_INCLUDES = @CSTD_INCLUDES@ |
e466dc8a BK |
136 | LIBMATH_INCLUDES = @LIBMATH_INCLUDES@ |
137 | LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@ | |
138 | LIBIO_INCLUDES = @LIBIO_INCLUDES@ | |
a40ba78e | 139 | TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@ |
e466dc8a | 140 | |
baac9fce BK |
141 | INCLUDES = -nostdinc++ -I$(GLIBCPP_INCLUDE_DIR) $(CSTD_INCLUDES) -I$(top_builddir)/include $(LIBSUPCXX_INCLUDES) $(LIBIO_INCLUDES) $(LIBMATH_INCLUDES) $(TOPLEVEL_INCLUDES) |
142 | ||
143 | ||
144 | base_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 | ||
147 | backward_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 | ||
150 | ext_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 | ||
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 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 |
158 | 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 |
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 | 163 | build_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 | 166 | sources = 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 | 168 | VPATH = $(top_srcdir) $(top_srcdir)/src $(GLIBCPP_INCLUDE_DIR) $(GLIBCPP_INCLUDE_DIR)/std $(C_INCLUDE_DIR) |
b2dad0e3 | 169 | |
b2dad0e3 BK |
170 | libstdc___la_SOURCES = $(sources) |
171 | ||
baac9fce | 172 | libstdc___la_LIBADD = ../libmath/libmath.la @libio_la@ ../libsupc++/libsupc++convenience.la |
5d89258a | 173 | |
b2dad0e3 BK |
174 | |
175 | libstdc___la_LDFLAGS = -version-info 3:0:0 -lm | |
176 | ||
5d89258a | 177 | libstdc___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. | |
182 | gxx_include_dir = @gxx_include_dir@ | |
183 | gxx_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. | |
188 | src_incdir = @GLIBCPP_INCLUDE_DIR@ | |
189 | bld_incdir = $(top_builddir)/include | |
190 | c_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 | 201 | AM_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 | 222 | LTCXXCOMPILE = $(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 | 231 | CXXLINK = $(LIBTOOL) --tag CXX --mode=link $(CXX) @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@ |
a9117427 | 232 | |
b2dad0e3 BK |
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@ | |
e2c09482 | 242 | libstdc___la_OBJECTS = limitsMEMBERS.lo stdexcept.lo functexcept.lo \ |
c0a26060 | 243 | bitset.lo globals.lo basic_file.lo ios.lo complex_io.lo strstream.lo \ |
e2c09482 | 244 | c++locale.lo locale.lo localename.lo codecvt.lo locale-inst.lo \ |
4cacbdf2 BK |
245 | stl-inst.lo misc-inst.lo valarray-inst.lo string-inst.lo \ |
246 | wstring-inst.lo | |
b2dad0e3 | 247 | CXXFLAGS = @CXXFLAGS@ |
b1e53318 | 248 | CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) |
b2dad0e3 BK |
249 | CXXLD = $(CXX) |
250 | DIST_COMMON = Makefile.am Makefile.in | |
251 | ||
252 | ||
253 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
254 | ||
e26cb7ab | 255 | TAR = gtar |
b2dad0e3 | 256 | GZIP_ENV = --best |
4cacbdf2 BK |
257 | SOURCES = $(libstdc___la_SOURCES) |
258 | OBJECTS = $(libstdc___la_OBJECTS) | |
b2dad0e3 BK |
259 | |
260 | all: 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 | ||
266 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
267 | cd $(top_builddir) \ | |
268 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
269 | ||
270 | ||
271 | mostlyclean-toolexeclibLTLIBRARIES: | |
272 | ||
273 | clean-toolexeclibLTLIBRARIES: | |
274 | -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) | |
275 | ||
276 | distclean-toolexeclibLTLIBRARIES: | |
277 | ||
278 | maintainer-clean-toolexeclibLTLIBRARIES: | |
279 | ||
280 | install-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 | ||
290 | uninstall-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 | ||
310 | mostlyclean-compile: | |
311 | -rm -f *.o core *.core | |
3df64633 | 312 | -rm -f *.$(OBJEXT) |
b2dad0e3 BK |
313 | |
314 | clean-compile: | |
315 | ||
316 | distclean-compile: | |
317 | -rm -f *.tab.c | |
318 | ||
319 | maintainer-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 | ||
330 | mostlyclean-libtool: | |
331 | -rm -f *.lo | |
332 | ||
333 | clean-libtool: | |
334 | -rm -rf .libs _libs | |
335 | ||
336 | distclean-libtool: | |
337 | ||
338 | maintainer-clean-libtool: | |
339 | ||
340 | libstdc++.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 | ||
349 | tags: TAGS | |
350 | ||
351 | ID: $(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 |
359 | TAGS: $(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 |
369 | mostlyclean-tags: |
370 | ||
371 | clean-tags: | |
372 | ||
373 | distclean-tags: | |
374 | -rm -f TAGS ID | |
375 | ||
376 | maintainer-clean-tags: | |
377 | ||
378 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |
379 | ||
380 | subdir = src | |
381 | ||
382 | distdir: $(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 | |
393 | info-am: | |
394 | info: info-am | |
395 | dvi-am: | |
396 | dvi: dvi-am | |
397 | check-am: | |
398 | check: check-am | |
399 | installcheck-am: | |
400 | installcheck: installcheck-am | |
401 | install-info-am: | |
402 | install-info: install-info-am | |
403 | install-exec-am: install-toolexeclibLTLIBRARIES | |
404 | install-exec: install-exec-am | |
405 | ||
1fd2f510 | 406 | install-data-am: install-data-local |
b2dad0e3 BK |
407 | install-data: install-data-am |
408 | ||
409 | install-am: all-am | |
410 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
411 | install: install-am | |
412 | uninstall-am: uninstall-toolexeclibLTLIBRARIES | |
413 | uninstall: uninstall-am | |
414 | all-am: Makefile $(LTLIBRARIES) | |
415 | all-redirect: all-am | |
416 | install-strip: | |
417 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install | |
418 | installdirs: | |
419 | $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) | |
420 | ||
421 | ||
422 | mostlyclean-generic: | |
423 | ||
424 | clean-generic: | |
425 | ||
426 | distclean-generic: | |
427 | -rm -f Makefile $(CONFIG_CLEAN_FILES) | |
428 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
429 | ||
430 | maintainer-clean-generic: | |
431 | mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \ | |
432 | mostlyclean-libtool mostlyclean-tags \ | |
433 | mostlyclean-generic | |
434 | ||
435 | mostlyclean: mostlyclean-am | |
436 | ||
437 | clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \ | |
438 | clean-tags clean-generic mostlyclean-am | |
439 | ||
440 | clean: clean-am | |
441 | ||
442 | distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \ | |
443 | distclean-libtool distclean-tags distclean-generic \ | |
444 | clean-am | |
445 | -rm -f libtool | |
446 | ||
447 | distclean: distclean-am | |
448 | ||
449 | maintainer-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 | ||
456 | maintainer-clean: maintainer-clean-am | |
457 | ||
458 | .PHONY: mostlyclean-toolexeclibLTLIBRARIES \ | |
459 | distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \ | |
460 | maintainer-clean-toolexeclibLTLIBRARIES \ | |
461 | uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \ | |
462 | mostlyclean-compile distclean-compile clean-compile \ | |
463 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ | |
464 | clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ | |
465 | distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ | |
466 | dvi-am dvi check check-am installcheck-am installcheck install-info-am \ | |
1fd2f510 BK |
467 | install-info install-exec-am install-exec install-data-local \ |
468 | install-data-am install-data install-am install uninstall-am uninstall \ | |
469 | all-redirect all-am all installdirs mostlyclean-generic \ | |
470 | distclean-generic clean-generic maintainer-clean-generic clean \ | |
471 | mostlyclean 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. | |
476 | strstream.lo: strstream.cc | |
477 | $(LTCXXCOMPILE) -I$(GLIBCPP_INCLUDE_DIR)/backward -c $< | |
478 | strstream.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 | |
504 | install-data-local: myinstalldirs myinstallheaders | |
505 | ||
506 | # NB: installation of shadow header directories is not attempted. | |
507 | myinstalldirs: | |
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 |
514 | myinstallheaders: | |
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 |
549 | all: libstdc++.INC |
550 | libstdc++.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 | ||
558 | tmp-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: |