OSDN Git Service

2012-01-17 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / libsupc++ / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 pkglibdir = $(libdir)/@PACKAGE@
23 pkglibexecdir = $(libexecdir)/@PACKAGE@
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
30 NORMAL_INSTALL = :
31 PRE_INSTALL = :
32 POST_INSTALL = :
33 NORMAL_UNINSTALL = :
34 PRE_UNINSTALL = :
35 POST_UNINSTALL = :
36 build_triplet = @build@
37 host_triplet = @host@
38 target_triplet = @target@
39 DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \
40         $(srcdir)/Makefile.am $(bits_HEADERS) $(std_HEADERS)
41 subdir = libsupc++
42 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
43 am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
44         $(top_srcdir)/../config/enable.m4 \
45         $(top_srcdir)/../config/futex.m4 \
46         $(top_srcdir)/../config/iconv.m4 \
47         $(top_srcdir)/../config/lead-dot.m4 \
48         $(top_srcdir)/../config/lib-ld.m4 \
49         $(top_srcdir)/../config/lib-link.m4 \
50         $(top_srcdir)/../config/lib-prefix.m4 \
51         $(top_srcdir)/../config/lthostflags.m4 \
52         $(top_srcdir)/../config/multi.m4 \
53         $(top_srcdir)/../config/no-executables.m4 \
54         $(top_srcdir)/../config/override.m4 \
55         $(top_srcdir)/../config/stdint.m4 \
56         $(top_srcdir)/../config/unwind_ipinfo.m4 \
57         $(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
58         $(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
59         $(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
60         $(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
61         $(top_srcdir)/../config/gc++filt.m4 \
62         $(top_srcdir)/../config/tls.m4 $(top_srcdir)/configure.ac
63 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
64         $(ACLOCAL_M4)
65 CONFIG_HEADER = $(top_builddir)/config.h
66 CONFIG_CLEAN_FILES =
67 CONFIG_CLEAN_VPATH_FILES =
68 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
69 am__vpath_adj = case $$p in \
70     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
71     *) f=$$p;; \
72   esac;
73 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
74 am__install_max = 40
75 am__nobase_strip_setup = \
76   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
77 am__nobase_strip = \
78   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
79 am__nobase_list = $(am__nobase_strip_setup); \
80   for p in $$list; do echo "$$p $$p"; done | \
81   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
82   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
83     if (++n[$$2] == $(am__install_max)) \
84       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
85     END { for (dir in files) print dir, files[dir] }'
86 am__base_list = \
87   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
88   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
89 am__installdirs = "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" \
90         "$(DESTDIR)$(stddir)"
91 LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
92 libsupc___la_LIBADD =
93 am__objects_1 = array_type_info.lo atexit_arm.lo bad_alloc.lo \
94         bad_cast.lo bad_typeid.lo class_type_info.lo del_op.lo \
95         del_opnt.lo del_opv.lo del_opvnt.lo dyncast.lo eh_alloc.lo \
96         eh_arm.lo eh_aux_runtime.lo eh_call.lo eh_catch.lo \
97         eh_exception.lo eh_globals.lo eh_personality.lo eh_ptr.lo \
98         eh_term_handler.lo eh_terminate.lo eh_tm.lo eh_throw.lo \
99         eh_type.lo eh_unex_handler.lo enum_type_info.lo \
100         function_type_info.lo fundamental_type_info.lo guard.lo \
101         guard_error.lo hash_bytes.lo nested_exception.lo \
102         new_handler.lo new_op.lo new_opnt.lo new_opv.lo new_opvnt.lo \
103         pbase_type_info.lo pmem_type_info.lo pointer_type_info.lo \
104         pure.lo si_class_type_info.lo tinfo.lo tinfo2.lo vec.lo \
105         vmi_class_type_info.lo vterminate.lo
106 @GLIBCXX_HOSTED_TRUE@am__objects_2 = cp-demangle.lo
107 am_libsupc___la_OBJECTS = $(am__objects_1) $(am__objects_2)
108 libsupc___la_OBJECTS = $(am_libsupc___la_OBJECTS)
109 libsupc__convenience_la_LIBADD =
110 am_libsupc__convenience_la_OBJECTS = $(am__objects_1) $(am__objects_2)
111 libsupc__convenience_la_OBJECTS =  \
112         $(am_libsupc__convenience_la_OBJECTS)
113 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
114 depcomp =
115 am__depfiles_maybe =
116 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
117         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
118 CCLD = $(CC)
119 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
120         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
121         $(LDFLAGS) -o $@
122 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
123         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
124 CXXLD = $(CXX)
125 SOURCES = $(libsupc___la_SOURCES) $(libsupc__convenience_la_SOURCES)
126 HEADERS = $(bits_HEADERS) $(std_HEADERS)
127 ETAGS = etags
128 CTAGS = ctags
129 ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
130 ACLOCAL = @ACLOCAL@
131 ALLOCATOR_H = @ALLOCATOR_H@
132 ALLOCATOR_NAME = @ALLOCATOR_NAME@
133 AMTAR = @AMTAR@
134 AR = @AR@
135 AS = @AS@
136 ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
137 ATOMIC_FLAGS = @ATOMIC_FLAGS@
138 ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
139 AUTOCONF = @AUTOCONF@
140 AUTOHEADER = @AUTOHEADER@
141 AUTOMAKE = @AUTOMAKE@
142 AWK = @AWK@
143 BASIC_FILE_CC = @BASIC_FILE_CC@
144 BASIC_FILE_H = @BASIC_FILE_H@
145 CC = @CC@
146 CCODECVT_CC = @CCODECVT_CC@
147 CCOLLATE_CC = @CCOLLATE_CC@
148 CCTYPE_CC = @CCTYPE_CC@
149 CFLAGS = @CFLAGS@
150 CLOCALE_CC = @CLOCALE_CC@
151 CLOCALE_H = @CLOCALE_H@
152 CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
153 CMESSAGES_CC = @CMESSAGES_CC@
154 CMESSAGES_H = @CMESSAGES_H@
155 CMONEY_CC = @CMONEY_CC@
156 CNUMERIC_CC = @CNUMERIC_CC@
157 CPP = @CPP@
158 CPPFLAGS = @CPPFLAGS@
159 CPU_DEFINES_SRCDIR = @CPU_DEFINES_SRCDIR@
160 CSTDIO_H = @CSTDIO_H@
161 CTIME_CC = @CTIME_CC@
162 CTIME_H = @CTIME_H@
163 CXX = @CXX@
164 CXXCPP = @CXXCPP@
165 CXXFILT = @CXXFILT@
166 CXXFLAGS = @CXXFLAGS@
167 CYGPATH_W = @CYGPATH_W@
168 C_INCLUDE_DIR = @C_INCLUDE_DIR@
169 DBLATEX = @DBLATEX@
170 DEBUG_FLAGS = @DEBUG_FLAGS@
171 DEFS = @DEFS@
172 DOT = @DOT@
173 DOXYGEN = @DOXYGEN@
174 DSYMUTIL = @DSYMUTIL@
175 DUMPBIN = @DUMPBIN@
176 ECHO_C = @ECHO_C@
177 ECHO_N = @ECHO_N@
178 ECHO_T = @ECHO_T@
179 EGREP = @EGREP@
180 ERROR_CONSTANTS_SRCDIR = @ERROR_CONSTANTS_SRCDIR@
181 EXEEXT = @EXEEXT@
182 EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
183 FGREP = @FGREP@
184 GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
185 GLIBCXX_LIBS = @GLIBCXX_LIBS@
186 GREP = @GREP@
187 INSTALL = @INSTALL@
188 INSTALL_DATA = @INSTALL_DATA@
189 INSTALL_PROGRAM = @INSTALL_PROGRAM@
190 INSTALL_SCRIPT = @INSTALL_SCRIPT@
191 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
192 LD = @LD@
193 LDFLAGS = @LDFLAGS@
194 LIBICONV = @LIBICONV@
195 LIBOBJS = @LIBOBJS@
196 LIBS = @LIBS@
197 LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
198 LIBTOOL = @LIBTOOL@
199 LIPO = @LIPO@
200 LN_S = @LN_S@
201 LTLIBICONV = @LTLIBICONV@
202 LTLIBOBJS = @LTLIBOBJS@
203 MAINT = @MAINT@
204 MAKEINFO = @MAKEINFO@
205 MKDIR_P = @MKDIR_P@
206 NM = @NM@
207 NMEDIT = @NMEDIT@
208 OBJDUMP = @OBJDUMP@
209 OBJEXT = @OBJEXT@
210 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
211 OPT_LDFLAGS = @OPT_LDFLAGS@
212 OS_INC_SRCDIR = @OS_INC_SRCDIR@
213 OTOOL = @OTOOL@
214 OTOOL64 = @OTOOL64@
215 PACKAGE = @PACKAGE@
216 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
217 PACKAGE_NAME = @PACKAGE_NAME@
218 PACKAGE_STRING = @PACKAGE_STRING@
219 PACKAGE_TARNAME = @PACKAGE_TARNAME@
220 PACKAGE_URL = @PACKAGE_URL@
221 PACKAGE_VERSION = @PACKAGE_VERSION@
222 PATH_SEPARATOR = @PATH_SEPARATOR@
223 PDFLATEX = @PDFLATEX@
224 RANLIB = @RANLIB@
225 SECTION_FLAGS = @SECTION_FLAGS@
226 SECTION_LDFLAGS = @SECTION_LDFLAGS@
227 SED = @SED@
228 SET_MAKE = @SET_MAKE@
229 SHELL = @SHELL@
230 STRIP = @STRIP@
231 SYMVER_FILE = @SYMVER_FILE@
232 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
233 USE_NLS = @USE_NLS@
234 VERSION = @VERSION@
235 WARN_FLAGS = @WARN_FLAGS@
236 WERROR = @WERROR@
237 XMLLINT = @XMLLINT@
238 XSLTPROC = @XSLTPROC@
239 XSL_STYLE_DIR = @XSL_STYLE_DIR@
240 abs_builddir = @abs_builddir@
241 abs_srcdir = @abs_srcdir@
242 abs_top_builddir = @abs_top_builddir@
243 abs_top_srcdir = @abs_top_srcdir@
244 ac_ct_CC = @ac_ct_CC@
245 ac_ct_CXX = @ac_ct_CXX@
246 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
247 am__leading_dot = @am__leading_dot@
248 am__tar = @am__tar@
249 am__untar = @am__untar@
250 baseline_dir = @baseline_dir@
251 baseline_subdir_switch = @baseline_subdir_switch@
252 bindir = @bindir@
253 build = @build@
254 build_alias = @build_alias@
255 build_cpu = @build_cpu@
256 build_os = @build_os@
257 build_vendor = @build_vendor@
258 builddir = @builddir@
259 check_msgfmt = @check_msgfmt@
260 datadir = @datadir@
261 datarootdir = @datarootdir@
262 docdir = @docdir@
263 dvidir = @dvidir@
264 enable_shared = @enable_shared@
265 enable_static = @enable_static@
266 exec_prefix = @exec_prefix@
267 glibcxx_MOFILES = @glibcxx_MOFILES@
268 glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
269 glibcxx_POFILES = @glibcxx_POFILES@
270 glibcxx_builddir = @glibcxx_builddir@
271 glibcxx_localedir = @glibcxx_localedir@
272 glibcxx_prefixdir = @glibcxx_prefixdir@
273 glibcxx_srcdir = @glibcxx_srcdir@
274 glibcxx_toolexecdir = @glibcxx_toolexecdir@
275 glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
276 gxx_include_dir = @gxx_include_dir@
277 host = @host@
278 host_alias = @host_alias@
279 host_cpu = @host_cpu@
280 host_os = @host_os@
281 host_vendor = @host_vendor@
282 htmldir = @htmldir@
283 includedir = @includedir@
284 infodir = @infodir@
285 install_sh = @install_sh@
286 libdir = @libdir@
287 libexecdir = @libexecdir@
288 libtool_VERSION = @libtool_VERSION@
289 localedir = @localedir@
290 localstatedir = @localstatedir@
291 lt_host_flags = @lt_host_flags@
292 mandir = @mandir@
293 mkdir_p = @mkdir_p@
294 multi_basedir = @multi_basedir@
295 oldincludedir = @oldincludedir@
296 pdfdir = @pdfdir@
297 port_specific_symbol_files = @port_specific_symbol_files@
298 prefix = @prefix@
299 program_transform_name = @program_transform_name@
300 psdir = @psdir@
301 sbindir = @sbindir@
302 sharedstatedir = @sharedstatedir@
303 srcdir = @srcdir@
304 sysconfdir = @sysconfdir@
305 target = @target@
306 target_alias = @target_alias@
307 target_cpu = @target_cpu@
308 target_os = @target_os@
309 target_vendor = @target_vendor@
310 top_build_prefix = @top_build_prefix@
311 top_builddir = @top_builddir@
312 top_srcdir = @top_srcdir@
313 toplevel_builddir = @toplevel_builddir@
314 toplevel_srcdir = @toplevel_srcdir@
315
316 # May be used by various substitution variables.
317 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
318 MAINT_CHARSET = latin1
319 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
320 PWD_COMMAND = $${PWDCMD-pwd}
321 STAMP = echo timestamp >
322 toolexecdir = $(glibcxx_toolexecdir)
323 toolexeclibdir = $(glibcxx_toolexeclibdir)
324
325 # These bits are all figured out from configure.  Look in acinclude.m4
326 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
327 CONFIG_CXXFLAGS = \
328         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@
329
330 WARN_CXXFLAGS = \
331         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once -Wabi
332
333
334 # -I/-D flags to pass when compiling.
335 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
336
337 # Need this library to both be part of libstdc++.a, and installed
338 # separately too.
339 # 1) separate libsupc++.la
340 toolexeclib_LTLIBRARIES = libsupc++.la
341 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
342 noinst_LTLIBRARIES = libsupc++convenience.la
343 std_HEADERS = \
344         cxxabi.h exception initializer_list new typeinfo 
345
346 bits_HEADERS = \
347         atomic_lockfree_defines.h cxxabi_forced.h \
348         exception_defines.h exception_ptr.h hash_bytes.h nested_exception.h 
349
350 headers = $(std_HEADERS) $(bits_HEADERS)
351 @GLIBCXX_HOSTED_TRUE@c_sources = \
352 @GLIBCXX_HOSTED_TRUE@   cp-demangle.c 
353
354 sources = \
355         array_type_info.cc \
356         atexit_arm.cc \
357         bad_alloc.cc \
358         bad_cast.cc \
359         bad_typeid.cc \
360         class_type_info.cc \
361         del_op.cc \
362         del_opnt.cc \
363         del_opv.cc \
364         del_opvnt.cc \
365         dyncast.cc \
366         eh_alloc.cc \
367         eh_arm.cc \
368         eh_aux_runtime.cc \
369         eh_call.cc \
370         eh_catch.cc \
371         eh_exception.cc \
372         eh_globals.cc \
373         eh_personality.cc \
374         eh_ptr.cc \
375         eh_term_handler.cc \
376         eh_terminate.cc \
377         eh_tm.cc \
378         eh_throw.cc \
379         eh_type.cc \
380         eh_unex_handler.cc \
381         enum_type_info.cc \
382         function_type_info.cc \
383         fundamental_type_info.cc \
384         guard.cc \
385         guard_error.cc \
386         hash_bytes.cc \
387         nested_exception.cc \
388         new_handler.cc \
389         new_op.cc \
390         new_opnt.cc \
391         new_opv.cc \
392         new_opvnt.cc \
393         pbase_type_info.cc \
394         pmem_type_info.cc \
395         pointer_type_info.cc \
396         pure.cc \
397         si_class_type_info.cc \
398         tinfo.cc \
399         tinfo2.cc \
400         vec.cc \
401         vmi_class_type_info.cc \
402         vterminate.cc
403
404 libsupc___la_SOURCES = $(sources) $(c_sources) 
405 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
406
407 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
408 # modified in a per-library or per-sub-library way.  Need to manually
409 # set this option because CONFIG_CXXFLAGS has to be after
410 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
411 # as the occasion call for it.
412 AM_CXXFLAGS = \
413         -fno-implicit-templates \
414         $(LIBSUPCXX_PICFLAGS) \
415         $(WARN_CXXFLAGS) \
416         $(OPTIMIZE_CXXFLAGS) \
417         $(CONFIG_CXXFLAGS)
418
419 AM_MAKEFLAGS = \
420         "gxx_include_dir=$(gxx_include_dir)"
421
422
423 # Use special rules for pulling things out of libiberty.  These
424 # objects should be compiled with the "C" compiler, not the C++
425 # compiler, and also should not use the C++ includes.
426 C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
427 C_COMPILE = \
428         $(CC) $(DEFS) $(C_INCLUDES) \
429         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
430
431
432 # LTCOMPILE is copied from LTCXXCOMPILE below.
433 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared $(LIBTOOLFLAGS) --mode=compile \
434             $(CC) $(DEFS) $(C_INCLUDES) $(LIBSUPCXX_PICFLAGS) \
435             $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
436
437
438 # Libtool notes
439
440 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
441 # last. (That way, things like -O2 passed down from the toplevel can
442 # be overridden by --enable-debug.)
443
444 # 2) In general, libtool expects an argument such as `--tag=CXX' when
445 # using the C++ compiler, because that will enable the settings
446 # detected when C++ support was being configured.  However, when no
447 # such flag is given in the command line, libtool attempts to figure
448 # it out by matching the compiler name in each configuration section
449 # against a prefix of the command line.  The problem is that, if the
450 # compiler name and its initial flags stored in the libtool
451 # configuration file don't match those in the command line, libtool
452 # can't decide which configuration to use, and it gives up.  The
453 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
454 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
455 # attempt to infer which configuration to use.
456 #
457 # We have to put --tag disable-shared after --tag CXX lest things
458 # CXX undo the affect of disable-shared.
459 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \
460                --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
461                $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 
462
463 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
464
465 # 3) We'd have a problem when building the shared libstdc++ object if
466 # the rules automake generates would be used.  We cannot allow g++ to
467 # be used since this would add -lstdc++ to the link line which of
468 # course is problematic at this point.  So, we get the top-level
469 # directory to configure libstdc++-v3 to use gcc as the C++
470 # compilation driver.
471 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \
472           --mode=link $(CXX) \
473           $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
474
475
476 # Install notes
477 # We have to have rules modified from the default to counteract SUN make
478 # prepending each of $(*_HEADERS) with VPATH below.
479 stddir = $(gxx_include_dir)
480 bitsdir = $(gxx_include_dir)/bits
481 all: all-am
482
483 .SUFFIXES:
484 .SUFFIXES: .c .cc .lo .o .obj
485 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
486         @for dep in $?; do \
487           case '$(am__configure_deps)' in \
488             *$$dep*) \
489               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
490                 && { if test -f $@; then exit 0; else break; fi; }; \
491               exit 1;; \
492           esac; \
493         done; \
494         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
495         $(am__cd) $(top_srcdir) && \
496           $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile
497 .PRECIOUS: Makefile
498 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
499         @case '$?' in \
500           *config.status*) \
501             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
502           *) \
503             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
504             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
505         esac;
506
507 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
508         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
509
510 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
511         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
512 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
513         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
514 $(am__aclocal_m4_deps):
515
516 clean-noinstLTLIBRARIES:
517         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
518         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
519           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
520           test "$$dir" != "$$p" || dir=.; \
521           echo "rm -f \"$${dir}/so_locations\""; \
522           rm -f "$${dir}/so_locations"; \
523         done
524 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
525         @$(NORMAL_INSTALL)
526         test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
527         @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
528         list2=; for p in $$list; do \
529           if test -f $$p; then \
530             list2="$$list2 $$p"; \
531           else :; fi; \
532         done; \
533         test -z "$$list2" || { \
534           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
535           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
536         }
537
538 uninstall-toolexeclibLTLIBRARIES:
539         @$(NORMAL_UNINSTALL)
540         @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
541         for p in $$list; do \
542           $(am__strip_dir) \
543           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
544           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
545         done
546
547 clean-toolexeclibLTLIBRARIES:
548         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
549         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
550           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
551           test "$$dir" != "$$p" || dir=.; \
552           echo "rm -f \"$${dir}/so_locations\""; \
553           rm -f "$${dir}/so_locations"; \
554         done
555 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES) 
556         $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
557 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES) 
558         $(CXXLINK)  $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
559
560 mostlyclean-compile:
561         -rm -f *.$(OBJEXT)
562
563 distclean-compile:
564         -rm -f *.tab.c
565
566 .c.o:
567         $(COMPILE) -c $<
568
569 .c.obj:
570         $(COMPILE) -c `$(CYGPATH_W) '$<'`
571
572 .c.lo:
573         $(LTCOMPILE) -c -o $@ $<
574
575 .cc.o:
576         $(CXXCOMPILE) -c -o $@ $<
577
578 .cc.obj:
579         $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
580
581 .cc.lo:
582         $(LTCXXCOMPILE) -c -o $@ $<
583
584 mostlyclean-libtool:
585         -rm -f *.lo
586
587 clean-libtool:
588         -rm -rf .libs _libs
589
590 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
591         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
592         unique=`for i in $$list; do \
593             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
594           done | \
595           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
596               END { if (nonempty) { for (i in files) print i; }; }'`; \
597         mkid -fID $$unique
598 tags: TAGS
599
600 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
601                 $(TAGS_FILES) $(LISP)
602         set x; \
603         here=`pwd`; \
604         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
605         unique=`for i in $$list; do \
606             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
607           done | \
608           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
609               END { if (nonempty) { for (i in files) print i; }; }'`; \
610         shift; \
611         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
612           test -n "$$unique" || unique=$$empty_fix; \
613           if test $$# -gt 0; then \
614             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
615               "$$@" $$unique; \
616           else \
617             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
618               $$unique; \
619           fi; \
620         fi
621 ctags: CTAGS
622 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
623                 $(TAGS_FILES) $(LISP)
624         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
625         unique=`for i in $$list; do \
626             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
627           done | \
628           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
629               END { if (nonempty) { for (i in files) print i; }; }'`; \
630         test -z "$(CTAGS_ARGS)$$unique" \
631           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
632              $$unique
633
634 GTAGS:
635         here=`$(am__cd) $(top_builddir) && pwd` \
636           && $(am__cd) $(top_srcdir) \
637           && gtags -i $(GTAGS_ARGS) "$$here"
638
639 distclean-tags:
640         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
641 check-am: all-am
642 check: check-am
643 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
644 installdirs:
645         for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" "$(DESTDIR)$(stddir)"; do \
646           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
647         done
648 install: install-am
649 install-exec: install-exec-am
650 install-data: install-data-am
651 uninstall: uninstall-am
652
653 install-am: all-am
654         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
655
656 installcheck: installcheck-am
657 install-strip:
658         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
659           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
660           `test -z '$(STRIP)' || \
661             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
662 mostlyclean-generic:
663
664 clean-generic:
665
666 distclean-generic:
667         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
668         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
669
670 maintainer-clean-generic:
671         @echo "This command is intended for maintainers to use"
672         @echo "it deletes files that may require special tools to rebuild."
673 clean: clean-am
674
675 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
676         clean-toolexeclibLTLIBRARIES mostlyclean-am
677
678 distclean: distclean-am
679         -rm -f Makefile
680 distclean-am: clean-am distclean-compile distclean-generic \
681         distclean-tags
682
683 dvi: dvi-am
684
685 dvi-am:
686
687 html: html-am
688
689 html-am:
690
691 info: info-am
692
693 info-am:
694
695 install-data-am: install-bitsHEADERS install-stdHEADERS
696
697 install-dvi: install-dvi-am
698
699 install-dvi-am:
700
701 install-exec-am: install-toolexeclibLTLIBRARIES
702
703 install-html: install-html-am
704
705 install-html-am:
706
707 install-info: install-info-am
708
709 install-info-am:
710
711 install-man:
712
713 install-pdf: install-pdf-am
714
715 install-pdf-am:
716
717 install-ps: install-ps-am
718
719 install-ps-am:
720
721 installcheck-am:
722
723 maintainer-clean: maintainer-clean-am
724         -rm -f Makefile
725 maintainer-clean-am: distclean-am maintainer-clean-generic
726
727 mostlyclean: mostlyclean-am
728
729 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
730         mostlyclean-libtool
731
732 pdf: pdf-am
733
734 pdf-am:
735
736 ps: ps-am
737
738 ps-am:
739
740 uninstall-am: uninstall-bitsHEADERS uninstall-stdHEADERS \
741         uninstall-toolexeclibLTLIBRARIES
742
743 .MAKE: install-am install-strip
744
745 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
746         clean-libtool clean-noinstLTLIBRARIES \
747         clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
748         distclean-generic distclean-libtool distclean-tags dvi dvi-am \
749         html html-am info info-am install install-am \
750         install-bitsHEADERS install-data install-data-am install-dvi \
751         install-dvi-am install-exec install-exec-am install-html \
752         install-html-am install-info install-info-am install-man \
753         install-pdf install-pdf-am install-ps install-ps-am \
754         install-stdHEADERS install-strip \
755         install-toolexeclibLTLIBRARIES installcheck installcheck-am \
756         installdirs maintainer-clean maintainer-clean-generic \
757         mostlyclean mostlyclean-compile mostlyclean-generic \
758         mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
759         uninstall-am uninstall-bitsHEADERS uninstall-stdHEADERS \
760         uninstall-toolexeclibLTLIBRARIES
761
762
763 cp-demangle.c:
764         rm -f $@
765         $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
766 cp-demangle.lo: cp-demangle.c
767         $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
768 cp-demangle.o: cp-demangle.c
769         $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
770
771 # Use special rules for the C++0x sources so that the proper flags are passed.
772 eh_ptr.lo: eh_ptr.cc
773         $(LTCXXCOMPILE) -std=gnu++0x -c $<
774 eh_ptr.o: eh_ptr.cc
775         $(CXXCOMPILE) -std=gnu++0x -c $<
776
777 eh_throw.lo: eh_throw.cc
778         $(LTCXXCOMPILE) -std=gnu++0x -c $<
779 eh_throw.o: eh_throw.cc
780         $(CXXCOMPILE) -std=gnu++0x -c $<
781
782 guard.lo: guard.cc
783         $(LTCXXCOMPILE) -std=gnu++0x -c $<
784 guard.o: guard.cc
785         $(CXXCOMPILE) -std=gnu++0x -c $<
786
787 nested_exception.lo: nested_exception.cc
788         $(LTCXXCOMPILE) -std=gnu++0x -c $<
789 nested_exception.o: nested_exception.cc
790         $(CXXCOMPILE) -std=gnu++0x -c $<
791
792 install-stdHEADERS: $(std_HEADERS)
793         @$(NORMAL_INSTALL)
794         $(mkinstalldirs) $(DESTDIR)$(stddir)
795         @list='$(std_HEADERS)'; for p in $$list; do \
796           q=`echo $$p | sed -e 's,.*/,,'`; \
797           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
798           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q"; \
799           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q; \
800         done
801
802 install-bitsHEADERS: $(bits_HEADERS)
803         @$(NORMAL_INSTALL)
804         $(mkinstalldirs) $(DESTDIR)$(bitsdir)
805         @list='$(bits_HEADERS)'; for p in $$list; do \
806           q=`echo $$p | sed -e 's,.*/,,'`; \
807           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
808           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q"; \
809           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q; \
810         done
811
812 uninstall-stdHEADERS:
813         @$(NORMAL_UNINSTALL)
814         list='$(std_HEADERS)'; for p in $$list; do \
815           q=`echo $$p | sed -e 's,.*/,,'`; \
816           rm -f $(DESTDIR)$(stddir)/$$q; \
817         done
818
819 uninstall-bitsHEADERS:
820         @$(NORMAL_UNINSTALL)
821         list='$(bits_HEADERS)'; for p in $$list; do \
822           q=`echo $$p | sed -e 's,.*/,,'`; \
823           rm -f $(DESTDIR)$(bitsdir)/$$q; \
824         done
825
826 # Tell versions [3.59,3.63) of GNU make to not export all variables.
827 # Otherwise a system limit (for SysV at least) may be exceeded.
828 .NOEXPORT: