OSDN Git Service

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