mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-29 14:05:44 +08:00
872d8fea40
2005-07-05 Paolo Carlini <pcarlini@suse.de> Add class __versa_string, a versatile "basic_string-type" class: an additional, non-standard, template parameter allows to specify the preferred base class. Two are provided: __rc_string_base, which implements a behavior very similar to our standard string, and __sso_string_base, not reference-counted and optimized for short strings. * include/ext/rc_string_base.h: New. * include/ext/sso_string_base.h: Likewise. * include/ext/vstring.h: Likewise. * include/ext/vstring.tcc: Likewise. * include/ext/vstring_fwd.h: Likewise. * include/ext/vstring_util.h: Likewise. * include/Makefile.am: Add. * include/Makefile.in: Regenerate. * testsuite/ext/vstring/explicit_instantiation/1.cc: New. * testsuite/ext/vstring/explicit_instantiation/2.cc: Likewise. * testsuite/ext/vstring/explicit_instantiation/char/1.cc: Likewise. * testsuite/ext/vstring/explicit_instantiation/wchar_t/1.cc: Likewise. * Makefile.in: Regenerate with autotools 1.9.3 (to date, the version officially used by v3). * aclocal.m4: Likewise. * libmath/Makefile.in: Likewise. * libsupc++/Makefile.in: Likewise. * po/Makefile.in: Likewise. * src/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. From-SVN: r101639
719 lines
24 KiB
Makefile
719 lines
24 KiB
Makefile
# Makefile.in generated by automake 1.9.3 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
# 2003, 2004 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.
|
|
|
|
@SET_MAKE@
|
|
|
|
|
|
SOURCES = $(libsupc___la_SOURCES) $(libsupc__convenience_la_SOURCES)
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
top_builddir = ..
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
INSTALL = @INSTALL@
|
|
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 = @build@
|
|
host_triplet = @host@
|
|
target_triplet = @target@
|
|
DIST_COMMON = $(glibcxxinstall_HEADERS) $(srcdir)/Makefile.am \
|
|
$(srcdir)/Makefile.in $(top_srcdir)/fragment.am
|
|
subdir = libsupc++
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
am__aclocal_m4_deps = $(top_srcdir)/../config/lead-dot.m4 \
|
|
$(top_srcdir)/../config/no-executables.m4 \
|
|
$(top_srcdir)/../libtool.m4 $(top_srcdir)/crossconfig.m4 \
|
|
$(top_srcdir)/linkage.m4 $(top_srcdir)/acinclude.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 =
|
|
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 = `echo $$p | sed -e 's|^.*/||'`;
|
|
am__installdirs = "$(DESTDIR)$(toolexeclibdir)" \
|
|
"$(DESTDIR)$(glibcxxinstalldir)"
|
|
toolexeclibLTLIBRARIES_INSTALL = $(INSTALL)
|
|
LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES)
|
|
libsupc___la_LIBADD =
|
|
am__libsupc___la_SOURCES_DIST = del_op.cc del_opnt.cc del_opv.cc \
|
|
del_opvnt.cc eh_alloc.cc eh_arm.cc eh_aux_runtime.cc \
|
|
eh_call.cc eh_catch.cc eh_exception.cc eh_globals.cc \
|
|
eh_personality.cc eh_term_handler.cc eh_terminate.cc \
|
|
eh_throw.cc eh_type.cc eh_unex_handler.cc guard.cc \
|
|
new_handler.cc new_op.cc new_opnt.cc new_opv.cc new_opvnt.cc \
|
|
pure.cc tinfo.cc tinfo2.cc vec.cc vterminate.cc cp-demangle.c
|
|
am__objects_1 = del_op.lo del_opnt.lo del_opv.lo del_opvnt.lo \
|
|
eh_alloc.lo eh_arm.lo eh_aux_runtime.lo eh_call.lo eh_catch.lo \
|
|
eh_exception.lo eh_globals.lo eh_personality.lo \
|
|
eh_term_handler.lo eh_terminate.lo eh_throw.lo eh_type.lo \
|
|
eh_unex_handler.lo guard.lo new_handler.lo new_op.lo \
|
|
new_opnt.lo new_opv.lo new_opvnt.lo pure.lo tinfo.lo tinfo2.lo \
|
|
vec.lo vterminate.lo
|
|
@GLIBCXX_HOSTED_TRUE@am__objects_2 = cp-demangle.lo
|
|
am_libsupc___la_OBJECTS = $(am__objects_1) $(am__objects_2)
|
|
libsupc___la_OBJECTS = $(am_libsupc___la_OBJECTS)
|
|
libsupc__convenience_la_LIBADD =
|
|
am__libsupc__convenience_la_SOURCES_DIST = del_op.cc del_opnt.cc \
|
|
del_opv.cc del_opvnt.cc eh_alloc.cc eh_arm.cc \
|
|
eh_aux_runtime.cc eh_call.cc eh_catch.cc eh_exception.cc \
|
|
eh_globals.cc eh_personality.cc eh_term_handler.cc \
|
|
eh_terminate.cc eh_throw.cc eh_type.cc eh_unex_handler.cc \
|
|
guard.cc new_handler.cc new_op.cc new_opnt.cc new_opv.cc \
|
|
new_opvnt.cc pure.cc tinfo.cc tinfo2.cc vec.cc vterminate.cc \
|
|
cp-demangle.c
|
|
am_libsupc__convenience_la_OBJECTS = $(am__objects_1) $(am__objects_2)
|
|
libsupc__convenience_la_OBJECTS = \
|
|
$(am_libsupc__convenience_la_OBJECTS)
|
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
|
|
depcomp =
|
|
am__depfiles_maybe =
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
CXXLD = $(CXX)
|
|
SOURCES = $(libsupc___la_SOURCES) $(libsupc__convenience_la_SOURCES)
|
|
DIST_SOURCES = $(am__libsupc___la_SOURCES_DIST) \
|
|
$(am__libsupc__convenience_la_SOURCES_DIST)
|
|
glibcxxinstallHEADERS_INSTALL = $(INSTALL_HEADER)
|
|
HEADERS = $(glibcxxinstall_HEADERS)
|
|
ETAGS = etags
|
|
CTAGS = ctags
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
ABI_TWEAKS_SRCDIR = @ABI_TWEAKS_SRCDIR@
|
|
ACLOCAL = @ACLOCAL@
|
|
ALLOCATOR_H = @ALLOCATOR_H@
|
|
ALLOCATOR_NAME = @ALLOCATOR_NAME@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
ATOMICITY_SRCDIR = @ATOMICITY_SRCDIR@
|
|
ATOMIC_WORD_SRCDIR = @ATOMIC_WORD_SRCDIR@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AWK = @AWK@
|
|
BASIC_FILE_CC = @BASIC_FILE_CC@
|
|
BASIC_FILE_H = @BASIC_FILE_H@
|
|
CC = @CC@
|
|
CCODECVT_CC = @CCODECVT_CC@
|
|
CCOLLATE_CC = @CCOLLATE_CC@
|
|
CCTYPE_CC = @CCTYPE_CC@
|
|
CFLAGS = @CFLAGS@
|
|
CLOCALE_CC = @CLOCALE_CC@
|
|
CLOCALE_H = @CLOCALE_H@
|
|
CLOCALE_INTERNAL_H = @CLOCALE_INTERNAL_H@
|
|
CMESSAGES_CC = @CMESSAGES_CC@
|
|
CMESSAGES_H = @CMESSAGES_H@
|
|
CMONEY_CC = @CMONEY_CC@
|
|
CNUMERIC_CC = @CNUMERIC_CC@
|
|
CPP = @CPP@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CSTDIO_H = @CSTDIO_H@
|
|
CTIME_CC = @CTIME_CC@
|
|
CTIME_H = @CTIME_H@
|
|
CXX = @CXX@
|
|
CXXCPP = @CXXCPP@
|
|
CXXFLAGS = @CXXFLAGS@
|
|
CYGPATH_W = @CYGPATH_W@
|
|
C_INCLUDE_DIR = @C_INCLUDE_DIR@
|
|
DEBUG_FLAGS = @DEBUG_FLAGS@
|
|
DEFS = @DEFS@
|
|
ECHO_C = @ECHO_C@
|
|
ECHO_N = @ECHO_N@
|
|
ECHO_T = @ECHO_T@
|
|
EGREP = @EGREP@
|
|
EXEEXT = @EXEEXT@
|
|
EXTRA_CXX_FLAGS = @EXTRA_CXX_FLAGS@
|
|
GLIBCXX_BUILD_DEBUG_FALSE = @GLIBCXX_BUILD_DEBUG_FALSE@
|
|
GLIBCXX_BUILD_DEBUG_TRUE = @GLIBCXX_BUILD_DEBUG_TRUE@
|
|
GLIBCXX_BUILD_PCH_FALSE = @GLIBCXX_BUILD_PCH_FALSE@
|
|
GLIBCXX_BUILD_PCH_TRUE = @GLIBCXX_BUILD_PCH_TRUE@
|
|
GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE = @GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@
|
|
GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE = @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@
|
|
GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE = @GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@
|
|
GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE = @GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@
|
|
GLIBCXX_C_HEADERS_C_FALSE = @GLIBCXX_C_HEADERS_C_FALSE@
|
|
GLIBCXX_C_HEADERS_C_STD_FALSE = @GLIBCXX_C_HEADERS_C_STD_FALSE@
|
|
GLIBCXX_C_HEADERS_C_STD_TRUE = @GLIBCXX_C_HEADERS_C_STD_TRUE@
|
|
GLIBCXX_C_HEADERS_C_TRUE = @GLIBCXX_C_HEADERS_C_TRUE@
|
|
GLIBCXX_HOSTED_FALSE = @GLIBCXX_HOSTED_FALSE@
|
|
GLIBCXX_HOSTED_TRUE = @GLIBCXX_HOSTED_TRUE@
|
|
GLIBCXX_INCLUDES = @GLIBCXX_INCLUDES@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
LIBICONV = @LIBICONV@
|
|
LIBMATHOBJS = @LIBMATHOBJS@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBS = @LIBS@
|
|
LIBSUPCXX_PICFLAGS = @LIBSUPCXX_PICFLAGS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LN_S = @LN_S@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
MAINT = @MAINT@
|
|
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
|
|
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
|
|
MAKEINFO = @MAKEINFO@
|
|
OBJEXT = @OBJEXT@
|
|
OPTIMIZE_CXXFLAGS = @OPTIMIZE_CXXFLAGS@
|
|
OPT_LDFLAGS = @OPT_LDFLAGS@
|
|
OS_INC_SRCDIR = @OS_INC_SRCDIR@
|
|
PACKAGE = @PACKAGE@
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
RANLIB = @RANLIB@
|
|
SECTION_FLAGS = @SECTION_FLAGS@
|
|
SECTION_LDFLAGS = @SECTION_LDFLAGS@
|
|
SET_MAKE = @SET_MAKE@
|
|
SHELL = @SHELL@
|
|
STRIP = @STRIP@
|
|
SYMVER_MAP = @SYMVER_MAP@
|
|
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
|
|
USE_NLS = @USE_NLS@
|
|
VERSION = @VERSION@
|
|
WARN_FLAGS = @WARN_FLAGS@
|
|
WERROR = @WERROR@
|
|
ac_ct_AR = @ac_ct_AR@
|
|
ac_ct_AS = @ac_ct_AS@
|
|
ac_ct_CC = @ac_ct_CC@
|
|
ac_ct_CXX = @ac_ct_CXX@
|
|
ac_ct_RANLIB = @ac_ct_RANLIB@
|
|
ac_ct_STRIP = @ac_ct_STRIP@
|
|
am__leading_dot = @am__leading_dot@
|
|
am__tar = @am__tar@
|
|
am__untar = @am__untar@
|
|
baseline_dir = @baseline_dir@
|
|
bindir = @bindir@
|
|
build = @build@
|
|
build_alias = @build_alias@
|
|
build_cpu = @build_cpu@
|
|
build_os = @build_os@
|
|
build_vendor = @build_vendor@
|
|
check_msgfmt = @check_msgfmt@
|
|
datadir = @datadir@
|
|
enable_shared = @enable_shared@
|
|
enable_static = @enable_static@
|
|
exec_prefix = @exec_prefix@
|
|
glibcxx_MOFILES = @glibcxx_MOFILES@
|
|
glibcxx_PCHFLAGS = @glibcxx_PCHFLAGS@
|
|
glibcxx_POFILES = @glibcxx_POFILES@
|
|
glibcxx_builddir = @glibcxx_builddir@
|
|
glibcxx_localedir = @glibcxx_localedir@
|
|
glibcxx_prefixdir = @glibcxx_prefixdir@
|
|
glibcxx_srcdir = @glibcxx_srcdir@
|
|
glibcxx_thread_h = @glibcxx_thread_h@
|
|
glibcxx_toolexecdir = @glibcxx_toolexecdir@
|
|
glibcxx_toolexeclibdir = @glibcxx_toolexeclibdir@
|
|
gxx_include_dir = @gxx_include_dir@
|
|
host = @host@
|
|
host_alias = @host_alias@
|
|
host_cpu = @host_cpu@
|
|
host_os = @host_os@
|
|
host_vendor = @host_vendor@
|
|
includedir = @includedir@
|
|
infodir = @infodir@
|
|
install_sh = @install_sh@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
libtool_VERSION = @libtool_VERSION@
|
|
localstatedir = @localstatedir@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
multi_basedir = @multi_basedir@
|
|
oldincludedir = @oldincludedir@
|
|
port_specific_symbol_files = @port_specific_symbol_files@
|
|
prefix = @prefix@
|
|
program_transform_name = @program_transform_name@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
sysconfdir = @sysconfdir@
|
|
target = @target@
|
|
target_alias = @target_alias@
|
|
target_cpu = @target_cpu@
|
|
target_os = @target_os@
|
|
target_vendor = @target_vendor@
|
|
toplevel_srcdir = @toplevel_srcdir@
|
|
|
|
# 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)
|
|
|
|
# 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) $(EXTRA_CXX_FLAGS)
|
|
|
|
WARN_CXXFLAGS = \
|
|
$(WARN_FLAGS) $(WERROR) -fdiagnostics-show-location=once
|
|
|
|
|
|
# -I/-D flags to pass when compiling.
|
|
AM_CPPFLAGS = $(GLIBCXX_INCLUDES)
|
|
|
|
# Need this library to both be part of libstdc++.a, and installed
|
|
# separately too.
|
|
# 1) separate libsupc++.la
|
|
toolexeclib_LTLIBRARIES = libsupc++.la
|
|
# 2) integrated libsupc++convenience.la that is to be a part of libstdc++.a
|
|
noinst_LTLIBRARIES = libsupc++convenience.la
|
|
headers = \
|
|
exception new typeinfo cxxabi.h exception_defines.h
|
|
|
|
@GLIBCXX_HOSTED_TRUE@c_sources = \
|
|
@GLIBCXX_HOSTED_TRUE@ cp-demangle.c
|
|
|
|
sources = \
|
|
del_op.cc \
|
|
del_opnt.cc \
|
|
del_opv.cc \
|
|
del_opvnt.cc \
|
|
eh_alloc.cc \
|
|
eh_arm.cc \
|
|
eh_aux_runtime.cc \
|
|
eh_call.cc \
|
|
eh_catch.cc \
|
|
eh_exception.cc \
|
|
eh_globals.cc \
|
|
eh_personality.cc \
|
|
eh_term_handler.cc \
|
|
eh_terminate.cc \
|
|
eh_throw.cc \
|
|
eh_type.cc \
|
|
eh_unex_handler.cc \
|
|
guard.cc \
|
|
new_handler.cc \
|
|
new_op.cc \
|
|
new_opnt.cc \
|
|
new_opv.cc \
|
|
new_opvnt.cc \
|
|
pure.cc \
|
|
tinfo.cc \
|
|
tinfo2.cc \
|
|
vec.cc \
|
|
vterminate.cc
|
|
|
|
libsupc___la_SOURCES = $(sources) $(c_sources)
|
|
libsupc__convenience_la_SOURCES = $(sources) $(c_sources)
|
|
glibcxxinstalldir = $(gxx_include_dir)
|
|
glibcxxinstall_HEADERS = $(headers)
|
|
|
|
# AM_CXXFLAGS needs to be in each subdirectory 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 call for it.
|
|
AM_CXXFLAGS = \
|
|
-fno-implicit-templates \
|
|
$(LIBSUPCXX_PICFLAGS) \
|
|
$(WARN_CXXFLAGS) \
|
|
$(OPTIMIZE_CXXFLAGS) \
|
|
$(CONFIG_CXXFLAGS)
|
|
|
|
AM_MAKEFLAGS = \
|
|
"gxx_include_dir=$(gxx_include_dir)"
|
|
|
|
|
|
# Use special rules for pulling things out of libiberty. These
|
|
# objects should be compiled with the "C" compiler, not the C++
|
|
# compiler, and also should not use the C++ includes.
|
|
C_INCLUDES = -I.. -I$(toplevel_srcdir)/libiberty -I$(toplevel_srcdir)/include
|
|
C_COMPILE = \
|
|
$(CC) $(DEFS) $(C_INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
|
|
# LTCOMPILE is copied from LTCXXCOMPILE below.
|
|
LTCOMPILE = $(LIBTOOL) --tag CC --tag disable-shared --mode=compile $(CC) \
|
|
$(DEFS) $(C_INCLUDES) $(LIBSUPCXX_PICFLAGS) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
|
|
|
# libstdc++ libtool notes
|
|
|
|
# 1) Need to explicitly set LTCXXCOMPILE so that AM_CXXFLAGS is
|
|
# last. (That way, things like -O2 passed down from the toplevel can
|
|
# be overridden by --enable-debug.)
|
|
|
|
# 2) 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.
|
|
#
|
|
# We have to put --tag disable-shared after --tag CXX lest things
|
|
# CXX undo the affect of disable-shared.
|
|
LTCXXCOMPILE = $(LIBTOOL) --tag CXX --tag disable-shared \
|
|
--mode=compile $(CXX) $(TOPLEVEL_INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(CXXFLAGS) $(AM_CXXFLAGS)
|
|
|
|
|
|
# 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 --tag disable-shared \
|
|
--mode=link $(CXX) \
|
|
$(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
|
|
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .cc .lo .o .obj
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(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 \
|
|
&& exit 0; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign --ignore-deps libsupc++/Makefile'; \
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --foreign --ignore-deps libsupc++/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: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
clean-noinstLTLIBRARIES:
|
|
-test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
|
|
@list='$(noinst_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
|
|
install-toolexeclibLTLIBRARIES: $(toolexeclib_LTLIBRARIES)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(toolexeclibdir)" || $(mkdir_p) "$(DESTDIR)$(toolexeclibdir)"
|
|
@list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
f=$(am__strip_dir) \
|
|
echo " $(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(toolexeclibdir)/$$f'"; \
|
|
$(LIBTOOL) --mode=install $(toolexeclibLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(toolexeclibdir)/$$f"; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-toolexeclibLTLIBRARIES:
|
|
@$(NORMAL_UNINSTALL)
|
|
@set -x; list='$(toolexeclib_LTLIBRARIES)'; for p in $$list; do \
|
|
p=$(am__strip_dir) \
|
|
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(toolexeclibdir)/$$p'"; \
|
|
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(toolexeclibdir)/$$p"; \
|
|
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
|
|
libsupc++.la: $(libsupc___la_OBJECTS) $(libsupc___la_DEPENDENCIES)
|
|
$(CXXLINK) -rpath $(toolexeclibdir) $(libsupc___la_LDFLAGS) $(libsupc___la_OBJECTS) $(libsupc___la_LIBADD) $(LIBS)
|
|
libsupc++convenience.la: $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_DEPENDENCIES)
|
|
$(CXXLINK) $(libsupc__convenience_la_LDFLAGS) $(libsupc__convenience_la_OBJECTS) $(libsupc__convenience_la_LIBADD) $(LIBS)
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.$(OBJEXT)
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.c.obj:
|
|
$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
.c.lo:
|
|
$(LTCOMPILE) -c -o $@ $<
|
|
|
|
.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
|
|
|
|
distclean-libtool:
|
|
-rm -f libtool
|
|
uninstall-info-am:
|
|
|
|
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; } \
|
|
END { for (i in files) print i; }'`; \
|
|
mkid -fID $$unique
|
|
tags: TAGS
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
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; } \
|
|
END { for (i in files) print i; }'`; \
|
|
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
$$tags $$unique; \
|
|
fi
|
|
ctags: CTAGS
|
|
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
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; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
$$tags $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
&& cd $(top_srcdir) \
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
|
distdir: $(DISTFILES)
|
|
$(mkdir_p) $(distdir)/..
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
|
|
list='$(DISTFILES)'; for file in $$list; do \
|
|
case $$file in \
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
|
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
|
|
esac; \
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
|
dir="/$$dir"; \
|
|
$(mkdir_p) "$(distdir)$$dir"; \
|
|
else \
|
|
dir=''; \
|
|
fi; \
|
|
if test -d $$d/$$file; then \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
fi; \
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
check-am: all-am
|
|
check: check-am
|
|
all-am: Makefile $(LTLIBRARIES) $(HEADERS)
|
|
installdirs:
|
|
for dir in "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(glibcxxinstalldir)"; do \
|
|
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
|
done
|
|
install: install-am
|
|
install-exec: install-exec-am
|
|
install-data: install-data-am
|
|
uninstall: uninstall-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-am
|
|
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:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_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-am
|
|
|
|
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
|
|
clean-toolexeclibLTLIBRARIES mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
-rm -f Makefile
|
|
distclean-am: clean-am distclean-compile distclean-generic \
|
|
distclean-libtool distclean-tags
|
|
|
|
dvi: dvi-am
|
|
|
|
dvi-am:
|
|
|
|
html: html-am
|
|
|
|
info: info-am
|
|
|
|
info-am:
|
|
|
|
install-data-am: install-glibcxxinstallHEADERS
|
|
|
|
install-exec-am: install-toolexeclibLTLIBRARIES
|
|
|
|
install-info: install-info-am
|
|
|
|
install-man:
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
-rm -f Makefile
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
|
mostlyclean-libtool
|
|
|
|
pdf: pdf-am
|
|
|
|
pdf-am:
|
|
|
|
ps: ps-am
|
|
|
|
ps-am:
|
|
|
|
uninstall-am: uninstall-glibcxxinstallHEADERS uninstall-info-am \
|
|
uninstall-toolexeclibLTLIBRARIES
|
|
|
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
|
clean-libtool clean-noinstLTLIBRARIES \
|
|
clean-toolexeclibLTLIBRARIES ctags distclean distclean-compile \
|
|
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
|
dvi-am html html-am info info-am install install-am \
|
|
install-data install-data-am install-exec install-exec-am \
|
|
install-glibcxxinstallHEADERS install-info install-info-am \
|
|
install-man install-strip install-toolexeclibLTLIBRARIES \
|
|
installcheck installcheck-am installdirs maintainer-clean \
|
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
|
tags uninstall uninstall-am uninstall-glibcxxinstallHEADERS \
|
|
uninstall-info-am uninstall-toolexeclibLTLIBRARIES
|
|
|
|
|
|
cp-demangle.c:
|
|
rm -f $@
|
|
$(LN_S) $(toplevel_srcdir)/libiberty/cp-demangle.c $@
|
|
cp-demangle.lo: cp-demangle.c
|
|
$(LTCOMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
|
|
cp-demangle.o: cp-demangle.c
|
|
$(C_COMPILE) -DIN_GLIBCPP_V3 -Wno-error -c $<
|
|
|
|
# We have to have rules modified from the default to counteract SUN make
|
|
# prepending each of $(glibcxxinstall_HEADERS) with VPATH below.
|
|
install-glibcxxinstallHEADERS: $(glibcxxinstall_HEADERS)
|
|
@$(NORMAL_INSTALL)
|
|
$(mkinstalldirs) $(DESTDIR)$(glibcxxinstalldir)
|
|
@list='$(glibcxxinstall_HEADERS)'; for p in $$list; do \
|
|
q=`echo $$p | sed -e 's,.*/,,'`; \
|
|
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
|
|
echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcxxinstalldir)/$$q"; \
|
|
$(INSTALL_DATA) $$d$$p $(DESTDIR)$(glibcxxinstalldir)/$$q; \
|
|
done
|
|
|
|
uninstall-glibcxxinstallHEADERS:
|
|
@$(NORMAL_UNINSTALL)
|
|
list='$(glibcxxinstall_HEADERS)'; for p in $$list; do \
|
|
q=`echo $$p | sed -e 's,.*/,,'`; \
|
|
rm -f $(DESTDIR)$(glibcxxinstalldir)/$$q; \
|
|
done
|
|
# 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:
|