]>
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@ | |
c470c17d | 69 | CPU_FLAGS = @CPU_FLAGS@ |
5b80666b | 70 | CSHADOWFLAGS = @CSHADOWFLAGS@ |
b2dad0e3 BK |
71 | CXX = @CXX@ |
72 | CXXCPP = @CXXCPP@ | |
c470c17d | 73 | DEBUG_FLAGS = @DEBUG_FLAGS@ |
b2dad0e3 BK |
74 | DLLTOOL = @DLLTOOL@ |
75 | EXEEXT = @EXEEXT@ | |
dcfa0bc8 | 76 | EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@ |
b2dad0e3 BK |
77 | GCC_OBJDIR = @GCC_OBJDIR@ |
78 | GLIBCPP_CFLAGS = @GLIBCPP_CFLAGS@ | |
79 | GLIBCPP_CXXFLAGS = @GLIBCPP_CXXFLAGS@ | |
80 | LIBMATHOBJS = @LIBMATHOBJS@ | |
81 | LIBSTRINGOBJS = @LIBSTRINGOBJS@ | |
82 | LIBTOOL = @LIBTOOL@ | |
83 | LN_S = @LN_S@ | |
84 | MAINT = @MAINT@ | |
85 | MAKEINFO = @MAKEINFO@ | |
3840fa2a | 86 | OBJDUMP = @OBJDUMP@ |
421173e6 | 87 | OPT_LDFLAGS = @OPT_LDFLAGS@ |
b2dad0e3 BK |
88 | PACKAGE = @PACKAGE@ |
89 | RANLIB = @RANLIB@ | |
c470c17d BK |
90 | SECTION_FLAGS = @SECTION_FLAGS@ |
91 | SECTION_LDFLAGS = @SECTION_LDFLAGS@ | |
b2dad0e3 BK |
92 | THREADDEPS = @THREADDEPS@ |
93 | THREADINCS = @THREADINCS@ | |
94 | THREADLIBS = @THREADLIBS@ | |
95 | THREADOBJS = @THREADOBJS@ | |
96 | THREADSPEC = @THREADSPEC@ | |
2f103494 | 97 | USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@ |
b2dad0e3 | 98 | VERSION = @VERSION@ |
d3a12960 | 99 | WERROR = @WERROR@ |
c470c17d | 100 | WFMT_FLAGS = @WFMT_FLAGS@ |
b2dad0e3 BK |
101 | cpu_include_dir = @cpu_include_dir@ |
102 | ctype_include_dir = @ctype_include_dir@ | |
103 | glibcpp_basedir = @glibcpp_basedir@ | |
dd75251f | 104 | ifGNUmake = @ifGNUmake@ |
5d89258a | 105 | libinst_wstring_la = @libinst_wstring_la@ |
b2dad0e3 BK |
106 | |
107 | AUTOMAKE_OPTIONS = 1.3 gnits | |
108 | MAINT_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 | |
113 | toolexeclib_LTLIBRARIES = libstdc++.la | |
5d89258a | 114 | EXTRA_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 | 123 | AC_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) |
131 | AM_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. |
138 | TOPLEVEL_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 | |
147 | CONFIG_INCLUDES = \ | |
148 | -I$(top_srcdir)/@cpu_include_dir@ \ | |
149 | -I$(top_srcdir)/@ctype_include_dir@ | |
150 | ||
151 | ||
152 | INCLUDES = \ | |
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 |
161 | CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ |
162 | $(CXXFLAGS) $(AM_CXXFLAGS) | |
b2dad0e3 BK |
163 | |
164 | ||
165 | LTCXXCOMPILE = $(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 | 173 | CXXLINK = $(LIBTOOL) --mode=link "$(CC)" @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@ |
b2dad0e3 | 174 | |
b2dad0e3 BK |
175 | headers = \ |
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 | ||
251 | std_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 | |
263 | generated_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 | ||
268 | cpu_headers = \ | |
f3b004d8 | 269 | $(top_srcdir)/@cpu_include_dir@/bits/atomicity.h |
b2dad0e3 BK |
270 | |
271 | ||
5b80666b | 272 | sources = \ |
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 | ||
282 | wstring_sources = \ | |
c470c17d | 283 | wstring-inst.cc |
b2dad0e3 | 284 | |
b2dad0e3 BK |
285 | VPATH = $(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 | |
290 | libstdc___la_SOURCES = $(sources) | |
291 | ||
5d89258a BK |
292 | libinst_wstring_la_SOURCES = $(wstring_sources) |
293 | ||
294 | libstdc___la_LIBADD = \ | |
295 | ../math/libmath.la ../libio/libio.la \ | |
c470c17d | 296 | @libinst_wstring_la@ |
5d89258a | 297 | |
b2dad0e3 BK |
298 | |
299 | libstdc___la_LDFLAGS = -version-info 3:0:0 -lm | |
300 | ||
5d89258a | 301 | libstdc___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. | |
308 | myincludep = $(DESTDIR)$(includedir)/g++-v3/ | |
309 | mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs | |
310 | CONFIG_HEADER = ../config.h | |
311 | CONFIG_CLEAN_FILES = | |
312 | LTLIBRARIES = $(toolexeclib_LTLIBRARIES) | |
313 | ||
314 | ||
315 | DEFS = @DEFS@ -I. -I$(srcdir) -I.. | |
316 | CPPFLAGS = @CPPFLAGS@ | |
317 | LDFLAGS = @LDFLAGS@ | |
318 | LIBS = @LIBS@ | |
5d89258a BK |
319 | libinst_string_la_LDFLAGS = |
320 | libinst_string_la_LIBADD = | |
c470c17d BK |
321 | libinst_string_la_SOURCES = libinst-string.la.c |
322 | libinst_string_la_OBJECTS = libinst-string.la.lo | |
5d89258a BK |
323 | libinst_wstring_la_LDFLAGS = |
324 | libinst_wstring_la_LIBADD = | |
c470c17d | 325 | libinst_wstring_la_OBJECTS = wstring-inst.lo |
dd75251f BK |
326 | libstdc___la_OBJECTS = limitsMEMBERS.lo cmath.lo complex.lo complexf.lo \ |
327 | complexl.lo complex_io.lo stdexcept.lo c++io.lo ios.lo stdstreams.lo \ | |
5d89258a | 328 | strstream.lo locale.lo localename.lo locale-inst.lo stl-inst.lo \ |
c470c17d | 329 | misc-inst.lo valarray-inst.lo string-inst.lo |
b2dad0e3 BK |
330 | CXXFLAGS = @CXXFLAGS@ |
331 | CXXLD = $(CXX) | |
c470c17d BK |
332 | CFLAGS = @CFLAGS@ |
333 | COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
334 | LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | |
335 | CCLD = $(CC) | |
336 | LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ | |
b2dad0e3 BK |
337 | DIST_COMMON = Makefile.am Makefile.in |
338 | ||
339 | ||
340 | DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST) | |
341 | ||
342 | TAR = gtar | |
343 | GZIP_ENV = --best | |
c470c17d BK |
344 | SOURCES = libinst-string.la.c $(libinst_wstring_la_SOURCES) $(libstdc___la_SOURCES) |
345 | OBJECTS = libinst-string.la.lo $(libinst_wstring_la_OBJECTS) $(libstdc___la_OBJECTS) | |
b2dad0e3 BK |
346 | |
347 | all: 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 | ||
353 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status | |
354 | cd $(top_builddir) \ | |
355 | && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status | |
356 | ||
357 | ||
358 | mostlyclean-toolexeclibLTLIBRARIES: | |
359 | ||
360 | clean-toolexeclibLTLIBRARIES: | |
361 | -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES) | |
362 | ||
363 | distclean-toolexeclibLTLIBRARIES: | |
364 | ||
365 | maintainer-clean-toolexeclibLTLIBRARIES: | |
366 | ||
367 | install-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 | ||
377 | uninstall-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 | ||
392 | mostlyclean-compile: | |
393 | -rm -f *.o core *.core | |
394 | ||
395 | clean-compile: | |
396 | ||
397 | distclean-compile: | |
398 | -rm -f *.tab.c | |
399 | ||
400 | maintainer-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 | ||
411 | mostlyclean-libtool: | |
412 | -rm -f *.lo | |
413 | ||
414 | clean-libtool: | |
415 | -rm -rf .libs _libs | |
416 | ||
417 | distclean-libtool: | |
418 | ||
419 | maintainer-clean-libtool: | |
420 | ||
5d89258a | 421 | libinst-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 | |
424 | libinst-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 |
427 | libstdc++.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 | ||
434 | tags: TAGS | |
435 | ||
436 | ID: $(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 |
444 | mostlyclean-tags: |
445 | ||
446 | clean-tags: | |
447 | ||
448 | distclean-tags: | |
449 | -rm -f TAGS ID | |
450 | ||
451 | maintainer-clean-tags: | |
452 | ||
453 | distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) | |
454 | ||
455 | subdir = src | |
456 | ||
457 | distdir: $(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 | |
468 | info-am: | |
469 | info: info-am | |
470 | dvi-am: | |
471 | dvi: dvi-am | |
472 | check-am: | |
473 | check: check-am | |
474 | installcheck-am: | |
475 | installcheck: installcheck-am | |
476 | install-info-am: | |
477 | install-info: install-info-am | |
478 | install-exec-am: install-toolexeclibLTLIBRARIES | |
479 | install-exec: install-exec-am | |
480 | ||
481 | install-data-am: | |
482 | install-data: install-data-am | |
483 | ||
484 | install-am: all-am | |
485 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am | |
486 | install: install-am | |
487 | uninstall-am: uninstall-toolexeclibLTLIBRARIES | |
488 | uninstall: uninstall-am | |
489 | all-am: Makefile $(LTLIBRARIES) | |
490 | all-redirect: all-am | |
491 | install-strip: | |
492 | $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install | |
493 | installdirs: | |
494 | $(mkinstalldirs) $(DESTDIR)$(toolexeclibdir) | |
495 | ||
496 | ||
497 | mostlyclean-generic: | |
498 | ||
499 | clean-generic: | |
500 | ||
501 | distclean-generic: | |
502 | -rm -f Makefile $(CONFIG_CLEAN_FILES) | |
503 | -rm -f config.cache config.log stamp-h stamp-h[0-9]* | |
504 | ||
505 | maintainer-clean-generic: | |
506 | mostlyclean-am: mostlyclean-toolexeclibLTLIBRARIES mostlyclean-compile \ | |
507 | mostlyclean-libtool mostlyclean-tags \ | |
508 | mostlyclean-generic | |
509 | ||
510 | mostlyclean: mostlyclean-am | |
511 | ||
512 | clean-am: clean-toolexeclibLTLIBRARIES clean-compile clean-libtool \ | |
513 | clean-tags clean-generic mostlyclean-am | |
514 | ||
515 | clean: clean-am | |
516 | ||
517 | distclean-am: distclean-toolexeclibLTLIBRARIES distclean-compile \ | |
518 | distclean-libtool distclean-tags distclean-generic \ | |
519 | clean-am | |
520 | -rm -f libtool | |
521 | ||
522 | distclean: distclean-am | |
523 | ||
524 | maintainer-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 | ||
531 | maintainer-clean: maintainer-clean-am | |
532 | ||
533 | .PHONY: mostlyclean-toolexeclibLTLIBRARIES \ | |
534 | distclean-toolexeclibLTLIBRARIES clean-toolexeclibLTLIBRARIES \ | |
535 | maintainer-clean-toolexeclibLTLIBRARIES \ | |
536 | uninstall-toolexeclibLTLIBRARIES install-toolexeclibLTLIBRARIES \ | |
537 | mostlyclean-compile distclean-compile clean-compile \ | |
538 | maintainer-clean-compile mostlyclean-libtool distclean-libtool \ | |
539 | clean-libtool maintainer-clean-libtool tags mostlyclean-tags \ | |
540 | distclean-tags clean-tags maintainer-clean-tags distdir info-am info \ | |
541 | dvi-am dvi check check-am installcheck-am installcheck install-info-am \ | |
542 | install-info install-exec-am install-exec install-data-am install-data \ | |
543 | install-am install uninstall-am uninstall all-redirect all-am all \ | |
544 | installdirs mostlyclean-generic distclean-generic clean-generic \ | |
545 | maintainer-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 |
558 | install: 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 |
562 | myinstallheaders: $(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 |
590 | TAGS: $(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 |
601 | misc-inst.o: misc-inst.cc |
602 | $(CXXCOMPILE) -fimplicit-templates -c $< | |
603 | misc-inst.lo: misc-inst.cc | |
604 | $(LTCXXCOMPILE) -fimplicit-templates -c $< | |
605 | locale-inst.o: locale-inst.cc | |
606 | $(CXXCOMPILE) -fimplicit-templates -c $< | |
607 | locale-inst.lo: locale-inst.cc | |
608 | $(LTCXXCOMPILE) -fimplicit-templates -c $< | |
609 | ||
c470c17d BK |
610 | # We have to instantiate wstring bits too. . . |
611 | wstring-inst.o: string-inst.cc | |
612 | $(CXXCOMPILE) -fimplicit-templates -c -DC=wchar_t $< -o $@ | |
613 | wstring-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: |