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