OSDN Git Service

compiler: Fix backend representation for interface methods.
[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 LIBTOOL = @LIBTOOL@
198 LIPO = @LIPO@
199 LN_S = @LN_S@
200 LTLIBICONV = @LTLIBICONV@
201 LTLIBOBJS = @LTLIBOBJS@
202 MAINT = @MAINT@
203 MAKEINFO = @MAKEINFO@
204 MKDIR_P = @MKDIR_P@
205 NM = @NM@
206 NMEDIT = @NMEDIT@
207 OBJDUMP = @OBJDUMP@
208 OBJEXT = @OBJEXT@
209 OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
210 OPT_LDFLAGS = @OPT_LDFLAGS@
211 OS_INC_SRCDIR = @OS_INC_SRCDIR@
212 OTOOL = @OTOOL@
213 OTOOL64 = @OTOOL64@
214 PACKAGE = @PACKAGE@
215 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
216 PACKAGE_NAME = @PACKAGE_NAME@
217 PACKAGE_STRING = @PACKAGE_STRING@
218 PACKAGE_TARNAME = @PACKAGE_TARNAME@
219 PACKAGE_URL = @PACKAGE_URL@
220 PACKAGE_VERSION = @PACKAGE_VERSION@
221 PATH_SEPARATOR = @PATH_SEPARATOR@
222 PDFLATEX = @PDFLATEX@
223 PIC_CXXFLAGS = @PIC_CXXFLAGS@
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 python_mod_dir = @python_mod_dir@
302 sbindir = @sbindir@
303 sharedstatedir = @sharedstatedir@
304 srcdir = @srcdir@
305 sysconfdir = @sysconfdir@
306 target = @target@
307 target_alias = @target_alias@
308 target_cpu = @target_cpu@
309 target_os = @target_os@
310 target_vendor = @target_vendor@
311 top_build_prefix = @top_build_prefix@
312 top_builddir = @top_builddir@
313 top_srcdir = @top_srcdir@
314 toplevel_builddir = @toplevel_builddir@
315 toplevel_srcdir = @toplevel_srcdir@
316
317 # May be used by various substitution variables.
318 gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
319 MAINT_CHARSET = latin1
320 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
321 PWD_COMMAND = $${PWDCMD-pwd}
322 STAMP = echo timestamp >
323 toolexecdir = $(glibcxx_toolexecdir)
324 toolexeclibdir = $(glibcxx_toolexeclibdir)
325
326 # These bits are all figured out from configure.  Look in acinclude.m4
327 # or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
328 CONFIG_CXXFLAGS = \
329         $(SECTION_FLAGS) $(EXTRA_CXX_FLAGS) -frandom-seed=$@
330
331 WARN_CXXFLAGS = \
332         $(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once -Wabi
333
334
335 # -I/-D flags to pass when compiling.
336 AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
337
338 # Need this library to both be part of libstdc++.a, and installed
339 # separately too.
340 # 1) separate libsupc++.la
341 toolexeclib_LTLIBRARIES = libsupc++.la
342 # 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
343 noinst_LTLIBRARIES = libsupc++convenience.la
344 std_HEADERS = \
345         cxxabi.h exception initializer_list new typeinfo 
346
347 bits_HEADERS = \
348         atomic_lockfree_defines.h cxxabi_forced.h \
349         exception_defines.h exception_ptr.h hash_bytes.h nested_exception.h 
350
351 headers = $(std_HEADERS) $(bits_HEADERS)
352 @GLIBCXX_HOSTED_TRUE@c_sources = \
353 @GLIBCXX_HOSTED_TRUE@   cp-demangle.c 
354
355 sources = \
356         array_type_info.cc \
357         atexit_arm.cc \
358         bad_alloc.cc \
359         bad_cast.cc \
360         bad_typeid.cc \
361         class_type_info.cc \
362         del_op.cc \
363         del_opnt.cc \
364         del_opv.cc \
365         del_opvnt.cc \
366         dyncast.cc \
367         eh_alloc.cc \
368         eh_arm.cc \
369         eh_aux_runtime.cc \
370         eh_call.cc \
371         eh_catch.cc \
372         eh_exception.cc \
373         eh_globals.cc \
374         eh_personality.cc \
375         eh_ptr.cc \
376         eh_term_handler.cc \
377         eh_terminate.cc \
378         eh_tm.cc \
379         eh_throw.cc \
380         eh_type.cc \
381         eh_unex_handler.cc \
382         enum_type_info.cc \
383         function_type_info.cc \
384         fundamental_type_info.cc \
385         guard.cc \
386         guard_error.cc \
387         hash_bytes.cc \
388         nested_exception.cc \
389         new_handler.cc \
390         new_op.cc \
391         new_opnt.cc \
392         new_opv.cc \
393         new_opvnt.cc \
394         pbase_type_info.cc \
395         pmem_type_info.cc \
396         pointer_type_info.cc \
397         pure.cc \
398         si_class_type_info.cc \
399         tinfo.cc \
400         tinfo2.cc \
401         vec.cc \
402         vmi_class_type_info.cc \
403         vterminate.cc
404
405 libsupc___la_SOURCES = $(sources) $(c_sources) 
406 libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
407
408 # AM_CXXFLAGS needs to be in each subdirectory so that it can be
409 # modified in a per-library or per-sub-library way.  Need to manually
410 # set this option because CONFIG_CXXFLAGS has to be after
411 # OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
412 # as the occasion call for it.
413 AM_CXXFLAGS = \
414         $(PIC_CXXFLAGS) \
415         $(XTEMPLATE_FLAGS) \
416         $(WARN_CXXFLAGS) \
417         $(OPTIMIZE_CXXFLAGS) \
418         $(CONFIG_CXXFLAGS)
419
420 AM_MAKEFLAGS = \
421         "gxx_include_dir=$(gxx_include_dir)"
422
423
424 # Use special rules for pulling things out of libiberty.  These
425 # objects should be compiled with the "C" compiler, not the C++
426 # compiler, and also should not use the C++ includes.
427 C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
428 C_COMPILE = \
429         $(CC) $(DEFS) $(C_INCLUDES) \
430         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
431
432
433 # LTCOMPILE is copied from LTCXXCOMPILE below.
434 LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared $(LIBTOOLFLAGS) --mode=compile \
435             $(CC) $(DEFS) $(C_INCLUDES) $(PIC_CXXFLAGS) \
436             $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
437
438
439 # Libtool notes
440
441 # 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
442 # last. (That way, things like -O2 passed down from the toplevel can
443 # be overridden by --enable-debug.)
444
445 # 2) In general, libtool expects an argument such as `--tag=CXX' when
446 # using the C++ compiler, because that will enable the settings
447 # detected when C++ support was being configured.  However, when no
448 # such flag is given in the command line, libtool attempts to figure
449 # it out by matching the compiler name in each configuration section
450 # against a prefix of the command line.  The problem is that, if the
451 # compiler name and its initial flags stored in the libtool
452 # configuration file don't match those in the command line, libtool
453 # can't decide which configuration to use, and it gives up.  The
454 # correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
455 # CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
456 # attempt to infer which configuration to use.
457 #
458 # We have to put --tag disable-shared after --tag CXX lest things
459 # CXX undo the affect of disable-shared.
460 LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \
461                --mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
462                $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 
463
464 LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))
465
466 # 3) We'd have a problem when building the shared libstdc++ object if
467 # the rules automake generates would be used.  We cannot allow g++ to
468 # be used since this would add -lstdc++ to the link line which of
469 # course is problematic at this point.  So, we get the top-level
470 # directory to configure libstdc++-v3 to use gcc as the C++
471 # compilation driver.
472 CXXLINK = $(LIBTOOL) --tag CXX --tag disable-shared $(LIBTOOLFLAGS) \
473           --mode=link $(CXX) \
474           $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@
475
476
477 # Install notes
478 # We have to have rules modified from the default to counteract SUN make
479 # prepending each of $(*_HEADERS) with VPATH below.
480 stddir = $(gxx_include_dir)
481 bitsdir = $(gxx_include_dir)/bits
482 all: all-am
483
484 .SUFFIXES:
485 .SUFFIXES: .c .cc .lo .o .obj
486 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
487         @for dep in $?; do \
488           case '$(am__configure_deps)' in \
489             *$$dep*) \
490               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
491                 && { if test -f $@; then exit 0; else break; fi; }; \
492               exit 1;; \
493           esac; \
494         done; \
495         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
496         $(am__cd) $(top_srcdir) && \
497           $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile
498 .PRECIOUS: Makefile
499 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
500         @case '$?' in \
501           *config.status*) \
502             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
503           *) \
504             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
505             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
506         esac;
507
508 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
509         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
510
511 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
512         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
513 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
514         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
515 $(am__aclocal_m4_deps):
516
517 clean-noinstLTLIBRARIES:
518         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
519         @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
520           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
521           test "$$dir" != "$$p" || dir=.; \
522           echo "rm -f \"$${dir}/so_locations\""; \
523           rm -f "$${dir}/so_locations"; \
524         done
525 install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
526         @$(NORMAL_INSTALL)
527         test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
528         @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
529         list2=; for p in $$list; do \
530           if test -f $$p; then \
531             list2="$$list2 $$p"; \
532           else :; fi; \
533         done; \
534         test -z "$$list2" || { \
535           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
536           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
537         }
538
539 uninstall-toolexeclibLTLIBRARIES:
540         @$(NORMAL_UNINSTALL)
541         @list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
542         for p in $$list; do \
543           $(am__strip_dir) \
544           echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
545           $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
546         done
547
548 clean-toolexeclibLTLIBRARIES:
549         -test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
550         @list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
551           dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
552           test "$$dir" != "$$p" || dir=.; \
553           echo "rm -f \"$${dir}/so_locations\""; \
554           rm -f "$${dir}/so_locations"; \
555         done
556 libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES) 
557         $(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
558 libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES) 
559         $(CXXLINK)  $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
560
561 mostlyclean-compile:
562         -rm -f *.$(OBJEXT)
563
564 distclean-compile:
565         -rm -f *.tab.c
566
567 .c.o:
568         $(COMPILE) -c $<
569
570 .c.obj:
571         $(COMPILE) -c `$(CYGPATH_W) '$<'`
572
573 .c.lo:
574         $(LTCOMPILE) -c -o $@ $<
575
576 .cc.o:
577         $(CXXCOMPILE) -c -o $@ $<
578
579 .cc.obj:
580         $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
581
582 .cc.lo:
583         $(LTCXXCOMPILE) -c -o $@ $<
584
585 mostlyclean-libtool:
586         -rm -f *.lo
587
588 clean-libtool:
589         -rm -rf .libs _libs
590
591 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
592         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
593         unique=`for i in $$list; do \
594             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
595           done | \
596           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
597               END { if (nonempty) { for (i in files) print i; }; }'`; \
598         mkid -fID $$unique
599 tags: TAGS
600
601 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
602                 $(TAGS_FILES) $(LISP)
603         set x; \
604         here=`pwd`; \
605         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
606         unique=`for i in $$list; do \
607             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
608           done | \
609           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
610               END { if (nonempty) { for (i in files) print i; }; }'`; \
611         shift; \
612         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
613           test -n "$$unique" || unique=$$empty_fix; \
614           if test $$# -gt 0; then \
615             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
616               "$$@" $$unique; \
617           else \
618             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
619               $$unique; \
620           fi; \
621         fi
622 ctags: CTAGS
623 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
624                 $(TAGS_FILES) $(LISP)
625         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
626         unique=`for i in $$list; do \
627             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
628           done | \
629           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
630               END { if (nonempty) { for (i in files) print i; }; }'`; \
631         test -z "$(CTAGS_ARGS)$$unique" \
632           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
633              $$unique
634
635 GTAGS:
636         here=`$(am__cd) $(top_builddir) && pwd` \
637           && $(am__cd) $(top_srcdir) \
638           && gtags -i $(GTAGS_ARGS) "$$here"
639
640 distclean-tags:
641         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
642 check-am: all-am
643 check: check-am
644 all-am: Makefile $(LTLIBRARIES) $(HEADERS)
645 installdirs:
646         for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" "$(DESTDIR)$(stddir)"; do \
647           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
648         done
649 install: install-am
650 install-exec: install-exec-am
651 install-data: install-data-am
652 uninstall: uninstall-am
653
654 install-am: all-am
655         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
656
657 installcheck: installcheck-am
658 install-strip:
659         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
660           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
661           `test -z '$(STRIP)' || \
662             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
663 mostlyclean-generic:
664
665 clean-generic:
666
667 distclean-generic:
668         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
669         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
670
671 maintainer-clean-generic:
672         @echo "This command is intended for maintainers to use"
673         @echo "it deletes files that may require special tools to rebuild."
674 clean: clean-am
675
676 clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
677         clean-toolexeclibLTLIBRARIES mostlyclean-am
678
679 distclean: distclean-am
680         -rm -f Makefile
681 distclean-am: clean-am distclean-compile distclean-generic \
682         distclean-tags
683
684 dvi: dvi-am
685
686 dvi-am:
687
688 html: html-am
689
690 html-am:
691
692 info: info-am
693
694 info-am:
695
696 install-data-am: install-bitsHEADERS install-stdHEADERS
697
698 install-dvi: install-dvi-am
699
700 install-dvi-am:
701
702 install-exec-am: install-toolexeclibLTLIBRARIES
703
704 install-html: install-html-am
705
706 install-html-am:
707
708 install-info: install-info-am
709
710 install-info-am:
711
712 install-man:
713
714 install-pdf: install-pdf-am
715
716 install-pdf-am:
717
718 install-ps: install-ps-am
719
720 install-ps-am:
721
722 installcheck-am:
723
724 maintainer-clean: maintainer-clean-am
725         -rm -f Makefile
726 maintainer-clean-am: distclean-am maintainer-clean-generic
727
728 mostlyclean: mostlyclean-am
729
730 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
731         mostlyclean-libtool
732
733 pdf: pdf-am
734
735 pdf-am:
736
737 ps: ps-am
738
739 ps-am:
740
741 uninstall-am: uninstall-bitsHEADERS uninstall-stdHEADERS \
742         uninstall-toolexeclibLTLIBRARIES
743
744 .MAKE: install-am install-strip
745
746 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
747         clean-libtool clean-noinstLTLIBRARIES \
748         clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
749         distclean-generic distclean-libtool distclean-tags dvi dvi-am \
750         html html-am info info-am install install-am \
751         install-bitsHEADERS install-data install-data-am install-dvi \
752         install-dvi-am install-exec install-exec-am install-html \
753         install-html-am install-info install-info-am install-man \
754         install-pdf install-pdf-am install-ps install-ps-am \
755         install-stdHEADERS install-strip \
756         install-toolexeclibLTLIBRARIES installcheck installcheck-am \
757         installdirs maintainer-clean maintainer-clean-generic \
758         mostlyclean mostlyclean-compile mostlyclean-generic \
759         mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
760         uninstall-am uninstall-bitsHEADERS uninstall-stdHEADERS \
761         uninstall-toolexeclibLTLIBRARIES
762
763
764 cp-demangle.c:
765         rm -f $@
766         $(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
767 cp-demangle.lo: cp-demangle.c
768         $(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
769 cp-demangle.o: cp-demangle.c
770         $(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
771
772 # Use special rules for the C++0x sources so that the proper flags are passed.
773 eh_ptr.lo: eh_ptr.cc
774         $(LTCXXCOMPILE) -std=gnu++0x -c $<
775 eh_ptr.o: eh_ptr.cc
776         $(CXXCOMPILE) -std=gnu++0x -c $<
777
778 eh_throw.lo: eh_throw.cc
779         $(LTCXXCOMPILE) -std=gnu++0x -c $<
780 eh_throw.o: eh_throw.cc
781         $(CXXCOMPILE) -std=gnu++0x -c $<
782
783 guard.lo: guard.cc
784         $(LTCXXCOMPILE) -std=gnu++0x -c $<
785 guard.o: guard.cc
786         $(CXXCOMPILE) -std=gnu++0x -c $<
787
788 nested_exception.lo: nested_exception.cc
789         $(LTCXXCOMPILE) -std=gnu++0x -c $<
790 nested_exception.o: nested_exception.cc
791         $(CXXCOMPILE) -std=gnu++0x -c $<
792
793 install-stdHEADERS: $(std_HEADERS)
794         @$(NORMAL_INSTALL)
795         $(mkinstalldirs) $(DESTDIR)$(stddir)
796         @list='$(std_HEADERS)'; for p in $$list; do \
797           q=`echo $$p | sed -e 's,.*/,,'`; \
798           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
799           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q"; \
800           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(stddir)/$$q; \
801         done
802
803 install-bitsHEADERS: $(bits_HEADERS)
804         @$(NORMAL_INSTALL)
805         $(mkinstalldirs) $(DESTDIR)$(bitsdir)
806         @list='$(bits_HEADERS)'; for p in $$list; do \
807           q=`echo $$p | sed -e 's,.*/,,'`; \
808           if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
809           echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q"; \
810           $(INSTALL_DATA) $$d$$p $(DESTDIR)$(bitsdir)/$$q; \
811         done
812
813 uninstall-stdHEADERS:
814         @$(NORMAL_UNINSTALL)
815         list='$(std_HEADERS)'; for p in $$list; do \
816           q=`echo $$p | sed -e 's,.*/,,'`; \
817           rm -f $(DESTDIR)$(stddir)/$$q; \
818         done
819
820 uninstall-bitsHEADERS:
821         @$(NORMAL_UNINSTALL)
822         list='$(bits_HEADERS)'; for p in $$list; do \
823           q=`echo $$p | sed -e 's,.*/,,'`; \
824           rm -f $(DESTDIR)$(bitsdir)/$$q; \
825         done
826
827 # Tell versions [3.59,3.63) of GNU make to not export all variables.
828 # Otherwise a system limit (for SysV at least) may be exceeded.
829 .NOEXPORT: