# Makefile.in generated by automake 1.11.1 from Makefile.am.
# src/Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
# Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.



VPATH = ../../../../gcc-5.1.0/libstdc++-v3/src
pkgdatadir = $(datadir)/libstdc++
pkgincludedir = $(includedir)/libstdc++
pkglibdir = $(libdir)/libstdc++
pkglibexecdir = $(libexecdir)/libstdc++
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i486-slackware-linux-gnu
host_triplet = i486-slackware-linux-gnu
target_triplet = i486-slackware-linux-gnu
DIST_COMMON = $(top_srcdir)/fragment.am $(srcdir)/Makefile.in \
	$(srcdir)/Makefile.am
subdir = src
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../config/acx.m4 \
	$(top_srcdir)/../config/enable.m4 \
	$(top_srcdir)/../config/futex.m4 \
	$(top_srcdir)/../config/iconv.m4 \
	$(top_srcdir)/../config/lead-dot.m4 \
	$(top_srcdir)/../config/lib-ld.m4 \
	$(top_srcdir)/../config/lib-link.m4 \
	$(top_srcdir)/../config/lib-prefix.m4 \
	$(top_srcdir)/../config/lthostflags.m4 \
	$(top_srcdir)/../config/multi.m4 \
	$(top_srcdir)/../config/no-executables.m4 \
	$(top_srcdir)/../config/override.m4 \
	$(top_srcdir)/../config/stdint.m4 \
	$(top_srcdir)/../config/unwind_ipinfo.m4 \
	$(top_srcdir)/../libtool.m4 $(top_srcdir)/../ltoptions.m4 \
	$(top_srcdir)/../ltsugar.m4 $(top_srcdir)/../ltversion.m4 \
	$(top_srcdir)/../lt~obsolete.m4 $(top_srcdir)/crossconfig.m4 \
	$(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.m4 \
	$(top_srcdir)/../config/gc++filt.m4 \
	$(top_srcdir)/../config/tls.m4 $(top_srcdir)/../config/gthr.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
    *) f=$$p;; \
  esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
  for p in $$list; do echo "$$p $$p"; done | \
  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
    if (++n[$$2] == $(am__install_max)) \
      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
    END { for (dir in files) print dir, files[dir] }'
am__base_list = \
  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__installdirs = "$(DESTDIR)$(toolexeclibdir)"
LTLIBRARIES = $(toolexeclib_LTLIBRARIES)
am__DEPENDENCIES_1 =
#am__objects_1 = compatibility-ldbl.lo
am__objects_2 = compatibility.lo compatibility-debug_list.lo \
	compatibility-debug_list-2.lo $(am__objects_1)
am__objects_3 = compatibility-c++0x.lo compatibility-atomic-c++0x.lo \
	compatibility-thread-c++0x.lo compatibility-chrono.lo \
	compatibility-condvar.lo
am_libstdc___la_OBJECTS = $(am__objects_2) $(am__objects_3)
libstdc___la_OBJECTS = $(am_libstdc___la_OBJECTS)
am_libstdc___la_rpath = -rpath $(toolexeclibdir)
#am_libstdc___la_rpath = -rpath $(toolexeclibdir)
libvtv_la_LIBADD =
#am_libvtv_la_OBJECTS = vtv_stubs.lo
libvtv_la_OBJECTS = $(am_libvtv_la_OBJECTS)
#am_libvtv_la_rpath = -rpath $(toolexeclibdir)
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
depcomp =
am__depfiles_maybe =
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
CXXLD = $(CXX)
SOURCES = $(libstdc___la_SOURCES) $(libvtv_la_SOURCES)
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
	html-recursive info-recursive install-data-recursive \
	install-dvi-recursive install-exec-recursive \
	install-html-recursive install-info-recursive \
	install-pdf-recursive install-ps-recursive install-recursive \
	installcheck-recursive installdirs-recursive pdf-recursive \
	ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
  distclean-recursive maintainer-clean-recursive
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
	$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
ABI_TWEAKS_SRCDIR = config/cpu/generic
ACLOCAL = ${SHELL} /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/missing --run aclocal-1.11
ALLOCATOR_H = config/allocator/new_allocator_base.h
ALLOCATOR_NAME = __gnu_cxx::new_allocator
AMTAR = ${SHELL} /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/missing --run tar
AR = /usr/i486-slackware-linux/bin/ar
AS = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/as
ATOMICITY_SRCDIR = config/cpu/generic/atomicity_builtins
ATOMIC_FLAGS = -march=native
ATOMIC_WORD_SRCDIR = config/cpu/generic
AUTOCONF = ${SHELL} /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/missing --run autoconf
AUTOHEADER = ${SHELL} /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/missing --run autoheader
AUTOMAKE = ${SHELL} /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/missing --run automake-1.11
AWK = gawk
BASIC_FILE_CC = config/io/basic_file_stdio.cc
BASIC_FILE_H = config/io/basic_file_stdio.h
CC = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/xgcc -B/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/ -B/usr/i486-slackware-linux/bin/ -B/usr/i486-slackware-linux/lib/ -isystem /usr/i486-slackware-linux/include -isystem /usr/i486-slackware-linux/sys-include   
CCODECVT_CC = config/locale/gnu/codecvt_members.cc
CCOLLATE_CC = config/locale/gnu/collate_members.cc
CCTYPE_CC = config/locale/gnu/ctype_members.cc
CFLAGS = -g -O2 -O3 -march=amdfam10
CLOCALE_CC = config/locale/gnu/c_locale.cc
CLOCALE_H = config/locale/gnu/c_locale.h
CLOCALE_INTERNAL_H = config/locale/gnu/c++locale_internal.h
CMESSAGES_CC = config/locale/gnu/messages_members.cc
CMESSAGES_H = config/locale/gnu/messages_members.h
CMONEY_CC = config/locale/gnu/monetary_members.cc
CNUMERIC_CC = config/locale/gnu/numeric_members.cc
CPP = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/xgcc -B/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/ -B/usr/i486-slackware-linux/bin/ -B/usr/i486-slackware-linux/lib/ -isystem /usr/i486-slackware-linux/include -isystem /usr/i486-slackware-linux/sys-include    -E
CPPFLAGS = 
CPU_DEFINES_SRCDIR = config/cpu/generic
CPU_OPT_BITS_RANDOM = config/cpu/i486/opt/bits/opt_random.h
CPU_OPT_EXT_RANDOM = config/cpu/i486/opt/ext/opt_random.h
CSTDIO_H = config/io/c_io_stdio.h
CTIME_CC = config/locale/gnu/time_members.cc
CTIME_H = config/locale/gnu/time_members.h
CXX =  /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/xgcc -shared-libgcc -B/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc -nostdinc++ -L/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/src -L/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/src/.libs -L/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/libsupc++/.libs -B/usr/i486-slackware-linux/bin/ -B/usr/i486-slackware-linux/lib/ -isystem /usr/i486-slackware-linux/include -isystem /usr/i486-slackware-linux/sys-include   
CXXCPP =  /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/xgcc -shared-libgcc -B/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc -nostdinc++ -L/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/src -L/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/src/.libs -L/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/libsupc++/.libs -B/usr/i486-slackware-linux/bin/ -B/usr/i486-slackware-linux/lib/ -isystem /usr/i486-slackware-linux/include -isystem /usr/i486-slackware-linux/sys-include    -E
CXXFILT = /usr/bin/c++filt
CXXFLAGS = -g -O2 -O3 -march=amdfam10 -D_GNU_SOURCE
CYGPATH_W = echo
C_INCLUDE_DIR = ${glibcxx_srcdir}/include/c_global
DBLATEX = no
DEBUG_FLAGS = -gdwarf-4 -g3 -O0
DEFS = -DHAVE_CONFIG_H
DOT = no
DOXYGEN = yes
DSYMUTIL = 
DUMPBIN = 
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = /usr/bin/grep -E
ERROR_CONSTANTS_SRCDIR = config/os/generic
EXEEXT = 
EXTRA_CXX_FLAGS = 
FGREP = /usr/bin/grep -F
GLIBCXX_INCLUDES = -I/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/include/i486-slackware-linux -I/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/include -I/gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/libstdc++-v3/libsupc++
GLIBCXX_LIBS = 
GREP = /usr/bin/grep
HWCAP_FLAGS = 
INSTALL = /usr/bin/ginstall -c
INSTALL_DATA = /usr/bin/ginstall -c -m 644
INSTALL_PROGRAM = /usr/bin/ginstall -c
INSTALL_SCRIPT = /usr/bin/ginstall -c
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
LD = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/collect-ld
LDFLAGS = 
LIBICONV = 
LIBOBJS = 
LIBS = 
LIBTOOL = $(SHELL) $(top_builddir)/libtool
LIPO = lipo
LN_S = ln -s
LTLIBICONV = 
LTLIBOBJS = 
MAINT = #
MAKEINFO = makeinfo --split-size=5000000 --split-size=5000000
MKDIR_P = /usr/bin/mkdir -p
NM = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/./gcc/nm
NMEDIT = 
OBJDUMP = /usr/i486-slackware-linux/bin/objdump
OBJEXT = o
OPTIMIZE_CXXFLAGS = 
OPT_LDFLAGS = -Wl,-O1 -Wl,-z,relro
OS_INC_SRCDIR = config/os/gnu-linux
OTOOL = 
OTOOL64 = 
PACKAGE = libstdc++
PACKAGE_BUGREPORT = 
PACKAGE_NAME = package-unused
PACKAGE_STRING = package-unused version-unused
PACKAGE_TARNAME = libstdc++
PACKAGE_URL = 
PACKAGE_VERSION = version-unused
PATH_SEPARATOR = :
PDFLATEX = yes
RANLIB = /usr/i486-slackware-linux/bin/ranlib
SECTION_FLAGS = -ffunction-sections -fdata-sections
SECTION_LDFLAGS = -Wl,--gc-sections 
SED = /usr/bin/sed
SET_MAKE = 
SHELL = /bin/sh
STRIP = /usr/i486-slackware-linux/bin/strip
SYMVER_FILE = config/abi/pre/gnu.ver
TOPLEVEL_INCLUDES = -I$(toplevel_srcdir)/libgcc
USE_NLS = yes
VERSION = version-unused
VTV_CXXFLAGS = 
VTV_CXXLINKFLAGS = 
VTV_PCH_CXXFLAGS = 
WARN_FLAGS = -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi
WERROR = 
XMLLINT = yes
XSLTPROC = yes
XSL_STYLE_DIR = 
abs_builddir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/src
abs_srcdir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/../../../gcc-5.1.0/libstdc++-v3/src
abs_top_builddir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3
abs_top_srcdir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/../../../gcc-5.1.0/libstdc++-v3
ac_ct_CC = 
ac_ct_CXX = 
ac_ct_DUMPBIN = 
am__leading_dot = .
am__tar = ${AMTAR} chof - "$$tardir"
am__untar = ${AMTAR} xf -
baseline_dir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/libstdc++-v3/config/abi/post/i486-linux-gnu
baseline_subdir_switch = --print-multi-directory
bindir = ${exec_prefix}/bin
build = i486-slackware-linux-gnu
build_alias = i486-slackware-linux
build_cpu = i486
build_os = linux-gnu
build_vendor = slackware
builddir = .
check_msgfmt = yes
datadir = ${datarootdir}
datarootdir = ${prefix}/share
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
dvidir = ${docdir}
enable_shared = yes
enable_static = yes
exec_prefix = ${prefix}
glibcxx_MOFILES =  de.mo fr.mo
glibcxx_PCHFLAGS = -include bits/stdc++.h
glibcxx_POFILES =  de.po fr.po
glibcxx_builddir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3
glibcxx_compiler_pic_flag =  -fPIC -DPIC
glibcxx_compiler_shared_flag = -D_GLIBCXX_SHARED
glibcxx_cxx98_abi = 0
glibcxx_localedir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/po/share/locale
glibcxx_lt_pic_flag = -prefer-pic
glibcxx_prefixdir = /usr
glibcxx_srcdir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/libstdc++-v3
glibcxx_toolexecdir = ${libdir}/gcc/${host_alias}
glibcxx_toolexeclibdir = ${libdir}
gxx_include_dir = ${prefix}/include/c++/${gcc_version}
host = i486-slackware-linux-gnu
host_alias = i486-slackware-linux
host_cpu = i486
host_os = linux-gnu
host_vendor = slackware
htmldir = ${docdir}
includedir = ${prefix}/include
infodir = /usr/info
install_sh = ${SHELL} /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/install-sh
libdir = /usr/lib
libexecdir = ${exec_prefix}/libexec
libtool_VERSION = 6:21:0
localedir = ${datarootdir}/locale
localstatedir = ${prefix}/var
lt_host_flags = 
mandir = /usr/man
mkdir_p = /usr/bin/mkdir -p
multi_basedir = ../../../gcc-5.1.0/libstdc++-v3/..
oldincludedir = /usr/include
pdfdir = ${docdir}
port_specific_symbol_files =  $(top_srcdir)/config/abi/pre/float128.ver
prefix = /usr
program_transform_name = s,y,y,
psdir = ${docdir}
python_mod_dir = /lib/python2.7/site-packages
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
srcdir = ../../../../gcc-5.1.0/libstdc++-v3/src
sysconfdir = ${prefix}/etc
target = i486-slackware-linux-gnu
target_alias = i486-slackware-linux
target_cpu = i486
target_os = linux-gnu
target_vendor = slackware
thread_header = gthr-posix.h
top_build_prefix = ../
top_builddir = ..
top_srcdir = ../../../../gcc-5.1.0/libstdc++-v3
toplevel_builddir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc.build.lnx/i486-slackware-linux/libstdc++-v3/..
toplevel_srcdir = /gcc-daa6516a4b0f301756ec3adbd762e11e/gcc-5.1.0/libstdc++-v3/..

# May be used by various substitution variables.
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
MAINT_CHARSET = latin1
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
PWD_COMMAND = $${PWDCMD-pwd}
STAMP = echo timestamp >
toolexecdir = $(glibcxx_toolexecdir)
toolexeclibdir = $(glibcxx_toolexeclibdir)
#WERROR_FLAG = 
WERROR_FLAG = $(WERROR)
#XTEMPLATE_FLAGS = 
XTEMPLATE_FLAGS = -fno-implicit-templates

# These bits are all figured out from configure.  Look in acinclude.m4
# or configure.ac to see how they are set.  See GLIBCXX_EXPORT_FLAGS.
CONFIG_CXXFLAGS = \
	$(SECTION_FLAGS) $(HWCAP_FLAGS) -frandom-seed=$@

WARN_CXXFLAGS = \
	$(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once 


# -I/-D flags to pass when compiling.
AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
SUBDIRS = c++98 c++11
toolexeclib_LTLIBRARIES = libstdc++.la

# Cross compiler support.
#toolexeclib_LTLIBRARIES = libvtv.la libstdc++.la
#libvtv_la_SOURCES = vtv_stubs.cc
#libvtv_la_LDFLAGS = $(lt_host_flags)
#libvtv_la_AM_CXXFLAGS = \
#	$(glibcxx_compiler_pic_flag) \
#	$(XTEMPLATE_FLAGS) \
#	-Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end \
#	$(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)

#libvtv_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
#	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(libvtv_la_AM_CXXFLAGS) \
#	$(CXXFLAGS) $(libvtv_la_LDFLAGS) $(LDFLAGS) -o $@

ldbl_compat_sources = 
#ldbl_compat_sources = compatibility-ldbl.cc
parallel_compat_sources = \
	compatibility-parallel_list.cc  compatibility-parallel_list-2.cc

cxx98_sources = \
	compatibility.cc \
	compatibility-debug_list.cc \
	compatibility-debug_list-2.cc \
	${ldbl_compat_sources} 

cxx11_sources = \
	compatibility-c++0x.cc \
	compatibility-atomic-c++0x.cc \
	compatibility-thread-c++0x.cc \
	compatibility-chrono.cc \
	compatibility-condvar.cc

libstdc___la_SOURCES = $(cxx98_sources) $(cxx11_sources)
libstdc___la_LIBADD = \
	$(GLIBCXX_LIBS) \
	$(top_builddir)/libsupc++/libsupc++convenience.la \
	$(top_builddir)/src/c++98/libc++98convenience.la \
	$(top_builddir)/src/c++11/libc++11convenience.la

libstdc___la_DEPENDENCIES = \
	${version_dep} \
	$(top_builddir)/libsupc++/libsupc++convenience.la \
	$(top_builddir)/src/c++98/libc++98convenience.la \
	$(top_builddir)/src/c++11/libc++11convenience.la

libstdc___la_LDFLAGS = \
	-version-info $(libtool_VERSION) ${version_arg} -lm

libstdc___la_LINK = $(CXXLINK) $(libstdc___la_LDFLAGS)

# A note on compatibility and static libraries.
# 
# static lib == linked against only this version, should not need compat
# shared lib == linked against potentially all compat versions
#
# Thus, the shared libs have more compat symbols, which can be found
# segregated in the sources with -D_GLIBCXX_SHARED.
#
# In the sub-directories of libsupc++, src/c++98, src/c++11, only
# -prefer-pic objects are generated for the convenience libraries.
# 
# In the main src directory, make shared and static objects just for
# the compat libraries. Shared objects are compiled with -prefer-pic
# -D_GLIBCXX_SHARED and in the .libs sub-directory, static objects are
# compiled with -prefer-pic (ie, -fPIC but not -D_GLIBCXX_SHARED) and
# the main src directory.
#
# Why are objects destined for libstdc++.a compiled with -fPIC? First,
# because -fPIC is not harmful to use for objects destined for static
# libraries. In addition, using -fPIC will allow the use of static
# libstdc++.a in the creation of other C++ shared libraries.

# AM_CXXFLAGS needs to be in each sub-directory so that it can be
# modified in a per-library or per-sub-library way.  Need to manually
# set this option because CONFIG_CXXFLAGS has to be after
# OPTIMIZE_CXXFLAGS on the compile line so that -O2 can be overridden
# as the occasion calls for it.
AM_CXXFLAGS = \
	$(glibcxx_compiler_pic_flag) \
	$(XTEMPLATE_FLAGS) $(VTV_CXXFLAGS) \
	$(WARN_CXXFLAGS) $(OPTIMIZE_CXXFLAGS) $(CONFIG_CXXFLAGS)


# Libtool notes

# 1) In general, libtool expects an argument such as `--tag=CXX' when
# using the C++ compiler, because that will enable the settings
# detected when C++ support was being configured.  However, when no
# such flag is given in the command line, libtool attempts to figure
# it out by matching the compiler name in each configuration section
# against a prefix of the command line.  The problem is that, if the
# compiler name and its initial flags stored in the libtool
# configuration file don't match those in the command line, libtool
# can't decide which configuration to use, and it gives up.  The
# correct solution is to add `--tag CXX' to LTCXXCOMPILE and maybe
# CXXLINK, just after $(LIBTOOL), so that libtool doesn't have to
# attempt to infer which configuration to use.
# 
# The second tag argument, `--tag disable-shared` means that libtool
# only compiles each source once, for static objects. In actuality,
# glibcxx_lt_pic_flag and glibcxx_compiler_shared_flag are added to
# the libtool command that is used create the object, which is
# suitable for shared libraries.  The `--tag disable-shared` must be
# placed after --tag CXX lest things CXX undo the affect of
# disable-shared.

# 2) Need to explicitly set LTCXXCOMPILE so that EXTRA_CXX_FLAGS is
# last. (That way, things like -O2 passed down from the toplevel can
# be overridden by --enable-debug and --enable-cxx-flags.)
LTCXXCOMPILE = \
	$(LIBTOOL) --tag CXX \
	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=compile $(CXX) $(INCLUDES) \
	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(EXTRA_CXX_FLAGS)

LTLDFLAGS = $(shell $(SHELL) $(top_srcdir)/../libtool-ldflags $(LDFLAGS))

# 3) We'd have a problem when building the shared libstdc++ object if
# the rules automake generates would be used.  We cannot allow g++ to
# be used since this would add -lstdc++ to the link line which of
# course is problematic at this point.  So, we get the top-level
# directory to configure libstdc++-v3 to use gcc as the C++
# compilation driver.
CXXLINK = \
	$(LIBTOOL) --tag CXX \
	$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
	--mode=link $(CXX) \
	$(VTV_CXXLINKFLAGS) \
	$(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LTLDFLAGS) -o $@

CLEANFILES = libstdc++-symbols.ver $(version_dep)
#version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist
#version_arg = 
#version_arg = -Wl,--version-script=libstdc++-symbols.ver
version_arg = -Wl,--version-script=libstdc++-symbols.ver
#version_arg = -Wl,-M,libstdc++-symbols.ver-sun
#version_dep = libstdc++-symbols.explist
#version_dep = 
#version_dep = libstdc++-symbols.ver
version_dep = libstdc++-symbols.ver
#version_dep = libstdc++-symbols.ver-sun
STAMP_DEBUG = 

# Added rules.
# 1 debug library
# 2 supra-convenience library
#STAMP_DEBUG = build-debug
STAMP_INSTALL_DEBUG = 
#STAMP_INSTALL_DEBUG = install-debug
CLEAN_DEBUG = 
#CLEAN_DEBUG = debug

# Build a debug variant.
# Take care to fix all possibly-relative paths.
debugdir = ${glibcxx_builddir}/src/debug
all: all-recursive

.SUFFIXES:
.SUFFIXES: .cc .lo .o .obj
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/fragment.am $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
	        && { if test -f $@; then exit 0; else break; fi; }; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps src/Makefile'; \
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --foreign --ignore-deps src/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh

$(top_srcdir)/configure: # $(am__configure_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
	@$(NORMAL_INSTALL)
	test -z "$(toolexeclibdir)" || $(MKDIR_P) "$(DESTDIR)$(toolexeclibdir)"
	@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
	list2=; for p in $$list; do \
	  if test -f $$p; then \
	    list2="$$list2 $$p"; \
	  else :; fi; \
	done; \
	test -z "$$list2" || { \
	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(toolexeclibdir)'"; \
	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(toolexeclibdir)"; \
	}

uninstall-toolexeclibLTLIBRARIES:
	@$(NORMAL_UNINSTALL)
	@list='$(toolexeclib_LTLIBRARIES)'; test -n "$(toolexeclibdir)" || list=; \
	for p in $$list; do \
	  $(am__strip_dir) \
	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$f"; \
	done

clean-toolexeclibLTLIBRARIES:
	-test -z "$(toolexeclib_LTLIBRARIES)" || rm -f $(toolexeclib_LTLIBRARIES)
	@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
	  dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
	  test "$$dir" != "$$p" || dir=.; \
	  echo "rm -f \"$${dir}/so_locations\""; \
	  rm -f "$${dir}/so_locations"; \
	done
libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) 
	$(libstdc___la_LINK) $(am_libstdc___la_rpath) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS)
libvtv.la: $(libvtv_la_OBJECTS) $(libvtv_la_DEPENDENCIES) 
	$(libvtv_la_LINK) $(am_libvtv_la_rpath) $(libvtv_la_OBJECTS) $(libvtv_la_LIBADD) $(LIBS)

mostlyclean-compile:
	-rm -f *.$(OBJEXT)

distclean-compile:
	-rm -f *.tab.c

.cc.o:
	$(CXXCOMPILE) -c -o $@ $<

.cc.obj:
	$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`

.cc.lo:
	$(LTCXXCOMPILE) -c -o $@ $<

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
	@fail= failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	  || eval $$failcom; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

$(RECURSIVE_CLEAN_TARGETS):
	@fail= failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
	dot_seen=no; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	rev=''; for subdir in $$list; do \
	  if test "$$subdir" = "."; then :; else \
	    rev="$$subdir $$rev"; \
	  fi; \
	done; \
	rev="$$rev ."; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
	  || eval $$failcom; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done
ctags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
	done

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	set x; \
	here=`pwd`; \
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	  empty_fix=.; \
	else \
	  include_option=--include; \
	  empty_fix=; \
	fi; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test ! -f $$subdir/TAGS || \
	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
	  fi; \
	done; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	shift; \
	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  if test $$# -gt 0; then \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      "$$@" $$unique; \
	  else \
	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	      $$unique; \
	  fi; \
	fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
	test -z "$(CTAGS_ARGS)$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && $(am__cd) $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) "$$here"

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
check-am: all-am
check: check-recursive
all-am: Makefile $(LTLIBRARIES) all-local
installdirs: installdirs-recursive
installdirs-am:
	for dir in "$(DESTDIR)$(toolexeclibdir)"; do \
	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
	done
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean-generic:
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive

clean-am: clean-generic clean-libtool clean-local \
	clean-toolexeclibLTLIBRARIES mostlyclean-am

distclean: distclean-recursive
	-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
	distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

html-am:

info: info-recursive

info-am:

install-data-am: install-data-local

install-dvi: install-dvi-recursive

install-dvi-am:

install-exec-am: install-toolexeclibLTLIBRARIES

install-html: install-html-recursive

install-html-am:

install-info: install-info-recursive

install-info-am:

install-man:

install-pdf: install-pdf-recursive

install-pdf-am:

install-ps: install-ps-recursive

install-ps-am:

installcheck-am:

maintainer-clean: maintainer-clean-recursive
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-compile mostlyclean-generic \
	mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-toolexeclibLTLIBRARIES

.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
	install-am install-strip tags-recursive

.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
	all all-am all-local check check-am clean clean-generic \
	clean-libtool clean-local clean-toolexeclibLTLIBRARIES ctags \
	ctags-recursive distclean distclean-compile distclean-generic \
	distclean-libtool distclean-tags dvi dvi-am html html-am info \
	info-am install install-am install-data install-data-am \
	install-data-local install-dvi install-dvi-am install-exec \
	install-exec-am install-html install-html-am install-info \
	install-info-am install-man install-pdf install-pdf-am \
	install-ps install-ps-am install-strip \
	install-toolexeclibLTLIBRARIES installcheck installcheck-am \
	installdirs installdirs-am maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-compile \
	mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
	tags tags-recursive uninstall uninstall-am \
	uninstall-toolexeclibLTLIBRARIES


#vtv_stubs.cc:
#	rm -f $@
#	$(LN_S) $(toplevel_srcdir)/libstdc++-v3/libsupc++/vtv_stubs.cc $@

vpath % $(top_srcdir)/src/c++98
vpath % $(top_srcdir)/src/c++11

# Use special rules for compatibility-ldbl.cc compilation, as we need to
# pass -mlong-double-64.
#compatibility-ldbl.lo: compatibility-ldbl.cc
#	$(LTCXXCOMPILE) -mlong-double-64 -c $<
#compatibility-ldbl.o: compatibility-ldbl.cc
#	$(CXXCOMPILE) -mlong-double-64 -c $<

# Use special rules for C++11 files/objects.
compatibility-c++0x.lo: compatibility-c++0x.cc
	$(LTCXXCOMPILE) -std=gnu++11 -c $<
compatibility-c++0x.o: compatibility-c++0x.cc
	$(CXXCOMPILE) -std=gnu++11 -c $<

compatibility-atomic-c++0x.lo: compatibility-atomic-c++0x.cc
	$(LTCXXCOMPILE) -std=gnu++11 -c $<
compatibility-atomic-c++0x.o: compatibility-atomic-c++0x.cc
	$(CXXCOMPILE) -std=gnu++11 -c $<

compatibility-thread-c++0x.lo: compatibility-thread-c++0x.cc
	$(LTCXXCOMPILE) -std=gnu++11 -c $<
compatibility-thread-c++0x.o: compatibility-thread-c++0x.cc
	$(CXXCOMPILE) -std=gnu++11 -c $<

compatibility-chrono.lo: compatibility-chrono.cc
	$(LTCXXCOMPILE) -std=gnu++11 -c $<
compatibility-chrono.o: compatibility-chrono.cc
	$(CXXCOMPILE) -std=gnu++11 -c $<

compatibility-condvar.lo: compatibility-condvar.cc
	$(LTCXXCOMPILE) -std=gnu++11 -c $<
compatibility-condvar.o: compatibility-condvar.cc
	$(CXXCOMPILE) -std=gnu++11 -c $<

# Symbol versioning for shared libraries.
libstdc++-symbols.ver:  ${glibcxx_srcdir}/$(SYMVER_FILE) \
		$(port_specific_symbol_files)
	cp ${glibcxx_srcdir}/$(SYMVER_FILE) $@.tmp
	chmod +w $@.tmp
	if test "x$(port_specific_symbol_files)" != x; then \
	  if grep '^# Appended to version file.' \
	       $(port_specific_symbol_files) /dev/null > /dev/null 2>&1; then \
	    cat $(port_specific_symbol_files) >> $@.tmp; \
	  else \
	    sed -n '1,/DO NOT DELETE/p' $@.tmp > tmp.top; \
	    sed -n '/DO NOT DELETE/,$$p' $@.tmp > tmp.bottom; \
	    cat tmp.top $(port_specific_symbol_files) tmp.bottom > $@.tmp; \
	    rm tmp.top tmp.bottom; \
	  fi; \
	fi
	$(EGREP) -v '^[ 	]*#(#| |$$)' $@.tmp | \
	  $(CC) -E -P -include $(CONFIG_HEADER) - > $@ || (rm -f $@ ; exit 1)
	rm -f $@.tmp
#libstdc++-symbols.ver-sun : libstdc++-symbols.ver \
#		$(toplevel_srcdir)/contrib/make_sunver.pl \
#		$(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
#	CXXFILT="$(CXXFILT)"; export CXXFILT; \
#	perl $(toplevel_srcdir)/contrib/make_sunver.pl \
#	  libstdc++-symbols.ver \
#	  $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
#	 `echo $(libstdc___la_LIBADD) | \
#	    sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
#	 > $@ || (rm -f $@ ; exit 1)
#libstdc++-symbols.explist : libstdc++-symbols.ver \
#		${glibcxx_srcdir}/scripts/make_exports.pl \
#		$(libstdc___la_OBJECTS) $(libstdc___la_LIBADD)
#	perl ${glibcxx_srcdir}/scripts/make_exports.pl \
#	  libstdc++-symbols.ver \
#	  $(libstdc___la_OBJECTS:%.lo=.libs/%.o) \
#	 `echo $(libstdc___la_LIBADD) | \
#	    sed 's,/\([^/.]*\)\.la,/.libs/\1.a,g'` \
#	 > $@ || (rm -f $@ ; exit 1)

# Control additional build primary rules.
all-once: libstdc++convenience.la $(STAMP_DEBUG)
install-data-once: $(STAMP_INSTALL_DEBUG)

all-local: all-once
install-data-local: install-data-once
clean-local:
	rm -rf libstdc++convenience.la stamp* $(CLEAN_DEBUG)

# Make a non-installed convenience library, so that --disable-static
# may work.
libstdc++convenience.la: $(toolexeclib_LTLIBRARIES)
	$(CXXLINK) $(libstdc___la_LIBADD) $(LIBS); \
	if test ! -f .libs/libstdc++.a; then \
	  cp .libs/libstdc++convenience.a .libs/libstdc++.a; \
	fi; \
	echo `date` > stamp-libstdc++convenience;
stamp-debug:
	if test ! -d ${debugdir}; then \
	  mkdir -p ${debugdir}; \
	  for d in $(SUBDIRS); do mkdir -p  ${debugdir}/$$d; done; \
	  (cd ${debugdir}; \
	  sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
	      -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
	      -e 's/srcdir = \.\./srcdir = ..\/../' \
	      -e 's/VPATH = \.\./VPATH = ..\/../' \
	      -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
	      -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
	  < ../Makefile > Makefile ; \
	  for d in . $(SUBDIRS); do \
	  sed -e 's/top_builddir = \.\./top_builddir = ..\/../' \
	      -e 's/top_build_prefix = \.\./top_build_prefix = ..\/../' \
	      -e 's/srcdir = \.\./srcdir = ..\/../' \
	      -e 's/VPATH = \.\./VPATH = ..\/../' \
	      -e 's/glibcxx_basedir = \.\./glibcxx_basedir = ..\/../' \
	      -e 's/MKDIR_P = \.\./MKDIR_P = ..\/../' \
	  < ../$$d/Makefile > $$d/Makefile ; \
	  done) ; \
	fi; \
	echo `date` > stamp-debug;

build-debug: stamp-debug
	  (cd ${debugdir}; \
	  mv Makefile Makefile.tmp; \
	  sed -e 's,all-local: all-once,all-local:,' \
	      -e 's,install-data-local: install-data-once,install-data-local:,' \
	      -e '/vpath/!s,src/c,src/debug/c,' \
	  < Makefile.tmp > Makefile ; \
	  rm -f Makefile.tmp ; \
	  $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
	  toolexeclibdir=$(glibcxx_toolexeclibdir)/debug all) ;

# Install debug library.
install-debug: build-debug
	(cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
	toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
MULTISUBDIR = 

PWD_COMMAND=$${PWDCMD-pwd}

# FIXME: There should be an @-sign in front of the `if'.
# Leave out until this is tested a bit more.
multi-do:
	if [ -z "$(MULTIDIRS)" ]; then \
	  true; \
	else \
	  rootpre=`${PWD_COMMAND}`/; export rootpre; \
	  srcrootpre=`cd $(srcdir); ${PWD_COMMAND}`/; export srcrootpre; \
	  lib=`echo "$${rootpre}" | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \
	  compiler="$(CC)"; \
	  for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \
	    dir=`echo $$i | sed -e 's/;.*$$//'`; \
	    if [ "$${dir}" = "." ]; then \
	      true; \
	    else \
	      if [ -d ../$${dir}/$${lib} ]; then \
		flags=`echo $$i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
		if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) \
				CFLAGS="$(CFLAGS) $${flags}" \
				CCASFLAGS="$(CCASFLAGS) $${flags}" \
				FCFLAGS="$(FCFLAGS) $${flags}" \
				FFLAGS="$(FFLAGS) $${flags}" \
				ADAFLAGS="$(ADAFLAGS) $${flags}" \
				prefix="$(prefix)" \
				exec_prefix="$(exec_prefix)" \
				GCJFLAGS="$(GCJFLAGS) $${flags}" \
				GOCFLAGS="$(GOCFLAGS) $${flags}" \
				CXXFLAGS="$(CXXFLAGS) $${flags}" \
				LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
				LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
				LDFLAGS="$(LDFLAGS) $${flags}" \
				MULTIFLAGS="$${flags}" \
				DESTDIR="$(DESTDIR)" \
				INSTALL="$(INSTALL)" \
				INSTALL_DATA="$(INSTALL_DATA)" \
				INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
				INSTALL_SCRIPT="$(INSTALL_SCRIPT)" \
				$(DO)); then \
		  true; \
		else \
		  exit 1; \
		fi; \
	      else true; \
	      fi; \
	    fi; \
	  done; \
	fi

# FIXME: There should be an @-sign in front of the `if'.
# Leave out until this is tested a bit more.
multi-clean:
	if [ -z "$(MULTIDIRS)" ]; then \
	  true; \
	else \
	  lib=`${PWD_COMMAND} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
	  for dir in : $(MULTIDIRS); do \
	    test $$dir != : || continue; \
	    if [ -f ../$${dir}/$${lib}/src/Makefile ]; then \
	      if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \
	      then true; \
	      else exit 1; \
	      fi; \
	    else true; \
	    fi; \
	  done; \
	fi
