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