1134 lines
39 KiB
Makefile
1134 lines
39 KiB
Makefile
# Makefile.in generated by automake 1.15.1 from Makefile.am.
|
|
# doc/Makefile. Generated from Makefile.in by configure.
|
|
|
|
# Copyright (C) 1994-2017 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 = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3/doc
|
|
am__is_gnu_make = { \
|
|
if test -z '$(MAKELEVEL)'; then \
|
|
false; \
|
|
elif test -n '$(MAKE_HOST)'; then \
|
|
true; \
|
|
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
|
true; \
|
|
else \
|
|
false; \
|
|
fi; \
|
|
}
|
|
am__make_running_with_option = \
|
|
case $${target_option-} in \
|
|
?) ;; \
|
|
*) echo "am__make_running_with_option: internal error: invalid" \
|
|
"target option '$${target_option-}' specified" >&2; \
|
|
exit 1;; \
|
|
esac; \
|
|
has_opt=no; \
|
|
sane_makeflags=$$MAKEFLAGS; \
|
|
if $(am__is_gnu_make); then \
|
|
sane_makeflags=$$MFLAGS; \
|
|
else \
|
|
case $$MAKEFLAGS in \
|
|
*\\[\ \ ]*) \
|
|
bs=\\; \
|
|
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
|
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
|
esac; \
|
|
fi; \
|
|
skip_next=no; \
|
|
strip_trailopt () \
|
|
{ \
|
|
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
|
}; \
|
|
for flg in $$sane_makeflags; do \
|
|
test $$skip_next = yes && { skip_next=no; continue; }; \
|
|
case $$flg in \
|
|
*=*|--*) continue;; \
|
|
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
|
-*I?*) strip_trailopt 'I';; \
|
|
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
|
-*O?*) strip_trailopt 'O';; \
|
|
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
|
-*l?*) strip_trailopt 'l';; \
|
|
-[dEDm]) skip_next=yes;; \
|
|
-[JT]) skip_next=yes;; \
|
|
esac; \
|
|
case $$flg in \
|
|
*$$target_option*) has_opt=yes; break;; \
|
|
esac; \
|
|
done; \
|
|
test $$has_opt = yes
|
|
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
|
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
|
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 = x86_64-pc-linux-gnu
|
|
host_triplet = riscv32-unknown-elf
|
|
target_triplet = riscv32-unknown-elf
|
|
subdir = doc
|
|
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/hwcaps.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/toolexeclibdir.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)/../config/cet.m4 $(top_srcdir)/configure.ac
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
$(ACLOCAL_M4)
|
|
DIST_COMMON = $(srcdir)/Makefile.am
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
CONFIG_CLEAN_FILES =
|
|
CONFIG_CLEAN_VPATH_FILES =
|
|
AM_V_P = $(am__v_P_$(V))
|
|
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
|
|
am__v_P_0 = false
|
|
am__v_P_1 = :
|
|
AM_V_GEN = $(am__v_GEN_$(V))
|
|
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
|
am__v_GEN_0 = @echo " GEN " $@;
|
|
am__v_GEN_1 =
|
|
AM_V_at = $(am__v_at_$(V))
|
|
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
|
am__v_at_0 = @
|
|
am__v_at_1 =
|
|
depcomp =
|
|
am__depfiles_maybe =
|
|
SOURCES =
|
|
am__can_run_installinfo = \
|
|
case $$AM_UPDATE_INFO_DIR in \
|
|
n|no|NO) false;; \
|
|
*) (install-info --version) >/dev/null 2>&1;; \
|
|
esac
|
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
|
ABI_TWEAKS_SRCDIR = config/cpu/generic
|
|
ACLOCAL = ${SHELL} /home/seti/riscv-gnu-toolchain/gcc/missing aclocal-1.15
|
|
ALLOCATOR_H = config/allocator/new_allocator_base.h
|
|
ALLOCATOR_NAME = __gnu_cxx::new_allocator
|
|
ALLOC_FILE =
|
|
AMTAR = $${TAR-tar}
|
|
AM_DEFAULT_VERBOSITY = 1
|
|
AR = /opt/riscv/riscv32-unknown-elf/bin/ar
|
|
AS = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/as
|
|
ATOMICITY_SRCDIR = config/cpu/generic/atomicity_mutex
|
|
ATOMIC_FLAGS =
|
|
ATOMIC_WORD_SRCDIR = config/cpu/generic
|
|
AUTOCONF = ${SHELL} /home/seti/riscv-gnu-toolchain/gcc/missing autoconf
|
|
AUTOHEADER = ${SHELL} /home/seti/riscv-gnu-toolchain/gcc/missing autoheader
|
|
AUTOMAKE = ${SHELL} /home/seti/riscv-gnu-toolchain/gcc/missing automake-1.15
|
|
AWK = /usr/bin/gawk
|
|
BACKTRACE_CPPFLAGS = -DHAVE_FCNTL=1 -DBACKTRACE_ELF_SIZE=32
|
|
BACKTRACE_SUPPORTED = 0
|
|
BACKTRACE_SUPPORTS_THREADS = 0
|
|
BACKTRACE_USES_MALLOC = 0
|
|
BASIC_FILE_CC = config/io/basic_file_stdio.cc
|
|
BASIC_FILE_H = config/io/basic_file_stdio.h
|
|
CC = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/xgcc -B/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/ -B/opt/riscv/riscv32-unknown-elf/bin/ -B/opt/riscv/riscv32-unknown-elf/lib/ -isystem /opt/riscv/riscv32-unknown-elf/include -isystem /opt/riscv/riscv32-unknown-elf/sys-include
|
|
CCODECVT_CC = config/locale/generic/codecvt_members.cc
|
|
CCOLLATE_CC = config/locale/generic/collate_members.cc
|
|
CCTYPE_CC = config/locale/newlib/ctype_members.cc
|
|
CFLAGS = -Os -mcmodel=medlow
|
|
CLOCALE_CC = config/locale/generic/c_locale.cc
|
|
CLOCALE_H = config/locale/generic/c_locale.h
|
|
CLOCALE_INTERNAL_H = config/locale/generic/c++locale_internal.h
|
|
CMESSAGES_CC = config/locale/generic/messages_members.cc
|
|
CMESSAGES_H = config/locale/generic/messages_members.h
|
|
CMONEY_CC = config/locale/generic/monetary_members.cc
|
|
CNUMERIC_CC = config/locale/generic/numeric_members.cc
|
|
CPP = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/xgcc -B/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/ -B/opt/riscv/riscv32-unknown-elf/bin/ -B/opt/riscv/riscv32-unknown-elf/lib/ -isystem /opt/riscv/riscv32-unknown-elf/include -isystem /opt/riscv/riscv32-unknown-elf/sys-include -E
|
|
CPPFLAGS =
|
|
CPU_DEFINES_SRCDIR = config/cpu/generic
|
|
CPU_OPT_BITS_RANDOM = config/cpu/generic/opt/bits/opt_random.h
|
|
CPU_OPT_EXT_RANDOM = config/cpu/generic/opt/ext/opt_random.h
|
|
CSTDIO_H = config/io/c_io_stdio.h
|
|
CTIME_CC = config/locale/generic/time_members.cc
|
|
CTIME_H = config/locale/generic/time_members.h
|
|
CXX = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/xgcc -shared-libgcc -B/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc -nostdinc++ -L/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/src -L/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/src/.libs -L/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/libsupc++/.libs -B/opt/riscv/riscv32-unknown-elf/bin/ -B/opt/riscv/riscv32-unknown-elf/lib/ -isystem /opt/riscv/riscv32-unknown-elf/include -isystem /opt/riscv/riscv32-unknown-elf/sys-include
|
|
CXXCPP = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/xgcc -shared-libgcc -B/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc -nostdinc++ -L/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/src -L/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/src/.libs -L/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/libsupc++/.libs -B/opt/riscv/riscv32-unknown-elf/bin/ -B/opt/riscv/riscv32-unknown-elf/lib/ -isystem /opt/riscv/riscv32-unknown-elf/include -isystem /opt/riscv/riscv32-unknown-elf/sys-include -E
|
|
CXXFILT = /usr/bin/c++filt
|
|
CXXFLAGS = -Os -mcmodel=medlow
|
|
CYGPATH_W = echo
|
|
C_INCLUDE_DIR = ${glibcxx_srcdir}/include/c_global
|
|
DBLATEX = no
|
|
DEBUG_FLAGS = -g3 -O0 -D_GLIBCXX_ASSERTIONS
|
|
DEFS = -DHAVE_CONFIG_H
|
|
DOT = yes
|
|
DOXYGEN = no
|
|
DSYMUTIL = riscv32-unknown-elf-dsymutil
|
|
DUMPBIN =
|
|
ECHO_C =
|
|
ECHO_N = -n
|
|
ECHO_T =
|
|
EGREP = /usr/bin/grep -E
|
|
ERROR_CONSTANTS_SRCDIR = config/os/generic
|
|
EXEEXT =
|
|
EXTRA_CFLAGS =
|
|
EXTRA_CXX_FLAGS =
|
|
FGREP = /usr/bin/grep -F
|
|
FORMAT_FILE = elf.lo
|
|
FREESTANDING_FLAGS =
|
|
GLIBCXX_INCLUDES = -I/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/include/riscv32-unknown-elf -I/home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/include -I/home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3/libsupc++
|
|
GLIBCXX_LIBS =
|
|
GREP = /usr/bin/grep
|
|
HWCAP_CFLAGS =
|
|
INSTALL = /usr/bin/install -c
|
|
INSTALL_DATA = /usr/bin/install -c -m 644
|
|
INSTALL_PROGRAM = /usr/bin/install -c
|
|
INSTALL_SCRIPT = /usr/bin/install -c
|
|
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
|
LD = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/collect-ld
|
|
LDFLAGS =
|
|
LIBICONV =
|
|
LIBOBJS =
|
|
LIBS =
|
|
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
|
LIPO = riscv32-unknown-elf-lipo
|
|
LN_S = ln -s
|
|
LONG_DOUBLE_128_FLAGS =
|
|
LONG_DOUBLE_ALT128_COMPAT_FLAGS =
|
|
LONG_DOUBLE_COMPAT_FLAGS = -mlong-double-64
|
|
LTLIBICONV =
|
|
LTLIBOBJS =
|
|
MAINT = #
|
|
MAKEINFO = makeinfo --split-size=5000000
|
|
MKDIR_P = /usr/bin/mkdir -p
|
|
NM = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/./gcc/nm
|
|
NMEDIT =
|
|
OBJDUMP = /opt/riscv/riscv32-unknown-elf/bin/objdump
|
|
OBJEXT = o
|
|
OPTIMIZE_CXXFLAGS =
|
|
OPT_LDFLAGS =
|
|
OS_INC_SRCDIR = config/os/newlib
|
|
OTOOL = riscv32-unknown-elf-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 = no
|
|
RANLIB = /opt/riscv/riscv32-unknown-elf/bin/ranlib
|
|
SECTION_FLAGS = -ffunction-sections -fdata-sections
|
|
SECTION_LDFLAGS =
|
|
SED = /usr/bin/sed
|
|
SET_MAKE =
|
|
SHELL = /bin/bash
|
|
STRIP = /opt/riscv/riscv32-unknown-elf/bin/strip
|
|
SYMVER_FILE = config/abi/pre/none.ver
|
|
TOPLEVEL_INCLUDES = -I$(toplevel_srcdir)/libgcc
|
|
USE_NLS = no
|
|
VERSION = version-unused
|
|
VIEW_FILE =
|
|
VTV_CXXFLAGS =
|
|
VTV_CXXLINKFLAGS =
|
|
VTV_PCH_CXXFLAGS =
|
|
WARN_FLAGS = -Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2
|
|
XMLCATALOG = no
|
|
|
|
# Validate existing XML structure.
|
|
XMLLINT = xmllint
|
|
XSLTPROC = xsltproc
|
|
XSL_STYLE_DIR =
|
|
abs_builddir = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/doc
|
|
abs_srcdir = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3/doc
|
|
abs_top_builddir = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3
|
|
abs_top_srcdir = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3
|
|
ac_ct_CC =
|
|
ac_ct_CXX =
|
|
ac_ct_DUMPBIN =
|
|
am__leading_dot = .
|
|
am__tar = $${TAR-tar} chof - "$$tardir"
|
|
am__untar = $${TAR-tar} xf -
|
|
baseline_dir = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3/config/abi/post/
|
|
baseline_subdir_switch = --print-multi-directory
|
|
bindir = ${exec_prefix}/bin
|
|
build = x86_64-pc-linux-gnu
|
|
build_alias = x86_64-pc-linux-gnu
|
|
build_cpu = x86_64
|
|
build_os = linux-gnu
|
|
build_vendor = pc
|
|
builddir = .
|
|
check_msgfmt =
|
|
datadir = ${datarootdir}
|
|
datarootdir = ${prefix}/share
|
|
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
|
dvidir = ${docdir}
|
|
enable_shared = no
|
|
enable_static = yes
|
|
exec_prefix = ${prefix}
|
|
get_gcc_base_ver = cat
|
|
glibcxx_MOFILES =
|
|
glibcxx_PCHFLAGS = -include bits/stdc++.h
|
|
glibcxx_POFILES =
|
|
glibcxx_builddir = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3
|
|
glibcxx_compiler_pic_flag =
|
|
glibcxx_compiler_shared_flag =
|
|
glibcxx_cxx98_abi = 0
|
|
glibcxx_localedir = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/po/share/locale
|
|
glibcxx_lt_pic_flag =
|
|
glibcxx_prefixdir = /opt/riscv
|
|
glibcxx_srcdir = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3
|
|
glibcxx_toolexecdir = ${exec_prefix}/${host_alias}
|
|
glibcxx_toolexeclibdir = ${toolexecdir}/lib
|
|
gxx_include_dir = ${prefix}/${target_alias}/include/c++/${gcc_version}
|
|
host = riscv32-unknown-elf
|
|
host_alias = riscv32-unknown-elf
|
|
host_cpu = riscv32
|
|
host_os = elf
|
|
host_vendor = unknown
|
|
|
|
# HTML
|
|
htmldir = "$(DESTDIR)${datarootdir}/doc/${PACKAGE_TARNAME}"
|
|
includedir = ${prefix}/include
|
|
|
|
# TEXINFO,INFO
|
|
infodir = "$(DESTDIR)${datarootdir}/info"
|
|
install_sh = ${SHELL} /home/seti/riscv-gnu-toolchain/gcc/install-sh
|
|
libdir = ${exec_prefix}/lib
|
|
libexecdir = ${exec_prefix}/libexec
|
|
libtool_VERSION = 6:30:0
|
|
localedir = ${datarootdir}/locale
|
|
localstatedir = ${prefix}/var
|
|
lt_host_flags =
|
|
|
|
# MAN
|
|
mandir = "$(DESTDIR)${datarootdir}/man"
|
|
mkdir_p = $(MKDIR_P)
|
|
multi_basedir = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3/..
|
|
oldincludedir = /usr/include
|
|
|
|
# PDF
|
|
pdfdir = "$(DESTDIR)${datarootdir}/doc/${PACKAGE_TARNAME}"
|
|
port_specific_symbol_files =
|
|
prefix = /opt/riscv
|
|
program_transform_name = s&^&riscv32-unknown-elf-&
|
|
psdir = ${docdir}
|
|
python_mod_dir = no
|
|
sbindir = ${exec_prefix}/sbin
|
|
sharedstatedir = ${prefix}/com
|
|
srcdir = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3/doc
|
|
sysconfdir = ${prefix}/etc
|
|
target = riscv32-unknown-elf
|
|
target_alias = riscv32-unknown-elf
|
|
target_cpu = riscv32
|
|
target_os = elf
|
|
target_vendor = unknown
|
|
thread_header = gthr-single.h
|
|
tmake_file =
|
|
top_build_prefix = ../
|
|
top_builddir = ..
|
|
top_srcdir = /home/seti/riscv-gnu-toolchain/gcc/libstdc++-v3
|
|
toplevel_builddir = /home/seti/riscv-gnu-toolchain/build-gcc-newlib-stage2/riscv32-unknown-elf/libstdc++-v3/..
|
|
toplevel_srcdir = /home/seti/riscv-gnu-toolchain/gcc/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
|
|
LDBL_128_FLAGS =
|
|
#LDBL_128_FLAGS = $(LONG_DOUBLE_128_FLAGS)
|
|
|
|
# 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_CFLAGS) -frandom-seed=$@ $(LDBL_128_FLAGS)
|
|
|
|
WARN_CXXFLAGS = \
|
|
$(WARN_FLAGS) $(WERROR_FLAG) -fdiagnostics-show-location=once
|
|
|
|
|
|
# -I/-D flags to pass when compiling.
|
|
AM_CPPFLAGS = $(GLIBCXX_INCLUDES) $(CPPFLAGS)
|
|
STAMP_XML =
|
|
|
|
# Documentation Overview
|
|
#
|
|
# There are two main input materials for libstdc++ documentation.
|
|
# The first is the doxygen markup in libstdc++ sources, which is a
|
|
# reference to the API. And the second is the manual, via docbook markup in
|
|
# doc/xml/.
|
|
#
|
|
# A third and more obscure option deals with charting performance
|
|
# tests, and should be considered experimental.
|
|
|
|
# Documentation conditionals for output.
|
|
#STAMP_XML = doc-xml
|
|
STAMP_INSTALL_XML =
|
|
#STAMP_INSTALL_XML = doc-install-xml
|
|
STAMP_HTML =
|
|
#STAMP_HTML = doc-html
|
|
STAMP_INSTALL_HTML =
|
|
#STAMP_INSTALL_HTML = doc-install-html
|
|
STAMP_MAN =
|
|
#STAMP_MAN = doc-man
|
|
STAMP_INSTALL_MAN =
|
|
#STAMP_INSTALL_MAN = doc-install-man
|
|
STAMP_PDF =
|
|
#STAMP_PDF = doc-pdf
|
|
STAMP_INSTALL_PDF =
|
|
#STAMP_INSTALL_PDF = doc-install-pdf
|
|
STAMP_EPUB = doc-epub
|
|
#STAMP_EPUB = doc-epub
|
|
STAMP_INSTALL_EPUB = doc-install-epub
|
|
#STAMP_INSTALL_EPUB = doc-install-epub
|
|
|
|
# Default creation and installation rules.
|
|
# Point to best sub-rule for the requested documentation target and
|
|
# create, and then install toplevel directory with standardized names
|
|
# and layouts.
|
|
|
|
# XML
|
|
xmldir = "$(DESTDIR)${datarootdir}/doc/${PACKAGE_TARNAME}"
|
|
|
|
# EPUB
|
|
# Assumes ruby installed
|
|
epubdir = "$(DESTDIR)${datarootdir}/doc/${PACKAGE_TARNAME}"
|
|
|
|
# Doxygen configuration
|
|
# Assumes doxygen, graphviz (with dot), pdflatex installed
|
|
doxygen_script = ${top_srcdir}/scripts/run_doxygen
|
|
doxygen_outdir = ${glibcxx_builddir}/doc/doxygen
|
|
api_xml = ${doxygen_outdir}/xml/libstdc++-api.xml
|
|
doxygen_pdf = ${doxygen_outdir}/latex/refman.pdf
|
|
api_pdf = ${doxygen_outdir}/pdf/libstdc++-api.pdf
|
|
|
|
# Docbook configuration.
|
|
# Assumes
|
|
# libxslt
|
|
# dblatex
|
|
# pdflatex
|
|
# docbook-style-xsl
|
|
# emacs-nxml-mode
|
|
docbook_outdir = ${glibcxx_builddir}/doc/docbook
|
|
xml_dir = ${glibcxx_srcdir}/doc/xml
|
|
xml_sources_basic = \
|
|
${xml_dir}/spine.xml \
|
|
${xml_dir}/authors.xml \
|
|
${xml_dir}/api.xml \
|
|
${xml_dir}/faq.xml
|
|
|
|
xml_sources_manual = \
|
|
${xml_dir}/manual/abi.xml \
|
|
${xml_dir}/manual/algorithms.xml \
|
|
${xml_dir}/manual/allocator.xml \
|
|
${xml_dir}/manual/auto_ptr.xml \
|
|
${xml_dir}/manual/atomics.xml \
|
|
${xml_dir}/manual/backwards_compatibility.xml \
|
|
${xml_dir}/manual/bitmap_allocator.xml \
|
|
${xml_dir}/manual/build_hacking.xml \
|
|
${xml_dir}/manual/codecvt.xml \
|
|
${xml_dir}/manual/concurrency.xml \
|
|
${xml_dir}/manual/concurrency_extensions.xml \
|
|
${xml_dir}/manual/configure.xml \
|
|
${xml_dir}/manual/containers.xml \
|
|
${xml_dir}/manual/ctype.xml \
|
|
${xml_dir}/manual/debug_mode.xml \
|
|
${xml_dir}/manual/debug.xml \
|
|
${xml_dir}/manual/diagnostics.xml \
|
|
${xml_dir}/manual/documentation_hacking.xml \
|
|
${xml_dir}/manual/evolution.xml \
|
|
${xml_dir}/manual/extensions.xml \
|
|
${xml_dir}/manual/internals.xml \
|
|
${xml_dir}/manual/intro.xml \
|
|
${xml_dir}/manual/io.xml \
|
|
${xml_dir}/manual/iterators.xml \
|
|
${xml_dir}/manual/locale.xml \
|
|
${xml_dir}/manual/localization.xml \
|
|
${xml_dir}/manual/messages.xml \
|
|
${xml_dir}/manual/mt_allocator.xml \
|
|
${xml_dir}/manual/numerics.xml \
|
|
${xml_dir}/manual/parallel_mode.xml \
|
|
${xml_dir}/manual/policy_data_structures.xml \
|
|
${xml_dir}/manual/policy_data_structures_biblio.xml \
|
|
${xml_dir}/manual/prerequisites.xml \
|
|
${xml_dir}/manual/shared_ptr.xml \
|
|
${xml_dir}/manual/spine.xml \
|
|
${xml_dir}/manual/status_cxx1998.xml \
|
|
${xml_dir}/manual/status_cxx2011.xml \
|
|
${xml_dir}/manual/status_cxx2014.xml \
|
|
${xml_dir}/manual/status_cxx2017.xml \
|
|
${xml_dir}/manual/status_cxx2020.xml \
|
|
${xml_dir}/manual/status_cxxtr1.xml \
|
|
${xml_dir}/manual/status_cxxtr24733.xml \
|
|
${xml_dir}/manual/strings.xml \
|
|
${xml_dir}/manual/support.xml \
|
|
${xml_dir}/manual/test.xml \
|
|
${xml_dir}/manual/test_policy_data_structures.xml \
|
|
${xml_dir}/manual/using.xml \
|
|
${xml_dir}/manual/using_exceptions.xml \
|
|
${xml_dir}/manual/utilities.xml \
|
|
${xml_dir}/manual/appendix_free.xml \
|
|
${xml_dir}/manual/appendix_contributing.xml \
|
|
${xml_dir}/manual/appendix_porting.xml
|
|
|
|
xml_sources_extra = \
|
|
${xml_dir}/gnu/fdl-1.3.xml \
|
|
${xml_dir}/gnu/gpl-3.0.xml
|
|
|
|
xml_sources = \
|
|
${xml_sources_basic} \
|
|
${xml_sources_manual} \
|
|
${xml_sources_extra}
|
|
|
|
xml_image_dir = ${xml_dir}/images
|
|
xml_image_basic = \
|
|
${xml_image_dir}/confdeps.png \
|
|
${xml_image_dir}/pbds_balls_and_bins.png \
|
|
${xml_image_dir}/pbds_container_tag_hierarchy.png \
|
|
${xml_image_dir}/pbds_different_underlying_dss_1.png \
|
|
${xml_image_dir}/pbds_different_underlying_dss_2.png \
|
|
${xml_image_dir}/pbds_embedded_lists_1.png \
|
|
${xml_image_dir}/pbds_embedded_lists_2.png \
|
|
${xml_image_dir}/pbds_embedded_lists_3.png \
|
|
${xml_image_dir}/pbds_exception_hierarchy.png \
|
|
${xml_image_dir}/pbds_hash_policy_cd.png \
|
|
${xml_image_dir}/pbds_hash_ranged_hash_range_hashing_fns.png \
|
|
${xml_image_dir}/pbds_hash_range_hashing_seq_diagram2.png \
|
|
${xml_image_dir}/pbds_hash_range_hashing_seq_diagram.png \
|
|
${xml_image_dir}/pbds_insert_resize_sequence_diagram1.png \
|
|
${xml_image_dir}/pbds_insert_resize_sequence_diagram2.png \
|
|
${xml_image_dir}/pbds_insert_resize_sequence_diagram3.png \
|
|
${xml_image_dir}/pbds_invalidation_guarantee_erase.png \
|
|
${xml_image_dir}/pbds_invalidation_tag_hierarchy.png \
|
|
${xml_image_dir}/pbds_list_update.png \
|
|
${xml_image_dir}/pbds_node_invariants.png \
|
|
${xml_image_dir}/pbds_pat_trie.png \
|
|
${xml_image_dir}/pbds_point_iterator_hierarchy.png \
|
|
${xml_image_dir}/pbds_point_iterators_range_ops_1.png \
|
|
${xml_image_dir}/pbds_point_iterators_range_ops_2.png \
|
|
${xml_image_dir}/pbds_priority_queue_different_underlying_dss.png \
|
|
${xml_image_dir}/pbds_priority_queue_tag_hierarchy.png \
|
|
${xml_image_dir}/pbds_rationale_null_node_updator.png \
|
|
${xml_image_dir}/pbds_resize_policy_cd.png \
|
|
${xml_image_dir}/pbds_restoring_node_invariants.png \
|
|
${xml_image_dir}/pbds_simple_list.png \
|
|
${xml_image_dir}/pbds_tree_node_invalidations.png \
|
|
${xml_image_dir}/pbds_tree_node_invariants.png \
|
|
${xml_image_dir}/pbds_tree_node_updator_policy_cd.png \
|
|
${xml_image_dir}/pbds_trie_node_updator_policy_cd.png \
|
|
${xml_image_dir}/pbds_update_seq_diagram.png
|
|
|
|
xml_image_generated = \
|
|
${xml_image_dir}/pbds_binary_priority_queue_int_push_pop.png \
|
|
${xml_image_dir}/pbds_binary_priority_queue_int_push.png \
|
|
${xml_image_dir}/pbds_ccgp_hash_int_subscript_insert.png \
|
|
${xml_image_dir}/pbds_cc_hash_int_find.png \
|
|
${xml_image_dir}/pbds_cc_hash_int_subscript_find.png \
|
|
${xml_image_dir}/pbds_cc_hash_int_subscript_insert.png \
|
|
${xml_image_dir}/pbds_gp_hash_int_find.png \
|
|
${xml_image_dir}/pbds_gp_hash_int_subscript_find.png \
|
|
${xml_image_dir}/pbds_gp_hash_int_subscript_insert.png \
|
|
${xml_image_dir}/pbds_hash_int_erase_mem.png \
|
|
${xml_image_dir}/pbds_hash_text_find.png \
|
|
${xml_image_dir}/pbds_hash_zlob_int_find.png \
|
|
${xml_image_dir}/pbds_multimap_text_find_large_s2p_hash.png \
|
|
${xml_image_dir}/pbds_multimap_text_find_large_s2p_tree.png \
|
|
${xml_image_dir}/pbds_multimap_text_find_small_s2p_hash.png \
|
|
${xml_image_dir}/pbds_multimap_text_find_small_s2p_tree.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_large_s2p_hash.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_large_s2p_tree.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_mem_large_s2p_hash.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_mem_large_s2p_tree.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_mem_small_s2p_hash.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_mem_small_s2p_tree.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_small_s2p_hash.png \
|
|
${xml_image_dir}/pbds_multimap_text_insert_small_s2p_tree.png \
|
|
${xml_image_dir}/pbds_pairing_priority_queue_text_modify_down_thin.png \
|
|
${xml_image_dir}/pbds_pairing_priority_queue_text_modify_up_thin.png \
|
|
${xml_image_dir}/pbds_pairing_priority_queue_text_push_pop.png \
|
|
${xml_image_dir}/pbds_pairing_priority_queue_text_push.png \
|
|
${xml_image_dir}/pbds_priority_queue_int_push_pop.png \
|
|
${xml_image_dir}/pbds_priority_queue_int_push.png \
|
|
${xml_image_dir}/pbds_priority_queue_text_join.png \
|
|
${xml_image_dir}/pbds_priority_queue_text_modify_down.png \
|
|
${xml_image_dir}/pbds_priority_queue_text_modify_up.png \
|
|
${xml_image_dir}/pbds_priority_queue_text_pop_mem.png \
|
|
${xml_image_dir}/pbds_priority_queue_text_push_pop.png \
|
|
${xml_image_dir}/pbds_priority_queue_text_push.png \
|
|
${xml_image_dir}/pbds_tree_int_find.png \
|
|
${xml_image_dir}/pbds_tree_order_statistics.png \
|
|
${xml_image_dir}/pbds_tree_split_join.png \
|
|
${xml_image_dir}/pbds_tree_text_find.png \
|
|
${xml_image_dir}/pbds_tree_text_insert_node.png \
|
|
${xml_image_dir}/pbds_tree_text_insert_trie.png \
|
|
${xml_image_dir}/pbds_tree_text_insert_vector.png \
|
|
${xml_image_dir}/pbds_tree_text_lor_find.png
|
|
|
|
xml_images = ${xml_image_basic} ${xml_image_generated}
|
|
xml_noinst = \
|
|
${xml_dir}/book.txml \
|
|
${xml_dir}/chapter.txml \
|
|
${xml_dir}/class.txml \
|
|
${xml_image_dir}/confdeps.dot \
|
|
${xml_image_dir}/confdeps.pdf
|
|
|
|
XSLT_FLAGS = --nonet --xinclude
|
|
XSLT_PARAM = --param toc.section.depth 4 --param generate.consistent.ids 1
|
|
#XSL_STYLE_DIR = /usr/share/xml/docbook/stylesheet/docbook-xsl-ns
|
|
#XSL_STYLE_DIR = /usr/share/sgml/docbook/xsl-ns-stylesheets
|
|
XSL_FO_STYLE = $(XSL_STYLE_DIR)/fo/docbook.xsl
|
|
XSL_HTML_STYLE = $(XSL_STYLE_DIR)/xhtml/chunk.xsl
|
|
XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/html/docbook.xsl
|
|
XSL_EPUB_STYLE = $(XSL_STYLE_DIR)/epub3/chunk.xsl
|
|
XSL_LOCAL_STYLE = ${glibcxx_builddir}/doc/xsl/customization.xsl
|
|
|
|
# XML, all one page
|
|
# Some info on canonicalization
|
|
# http://www.mail-archive.com/help-texinfo@gnu.org/msg00864.html
|
|
manual_xml = ${docbook_outdir}/xml/libstdc++-manual.xml
|
|
set_xml = ${docbook_outdir}/xml/libstdc++-set.xml
|
|
LINT_FLAGS = --debug --xinclude --noent --noblanks --noout
|
|
SCHEMA_FLAGS = --dtdvalid http://www.docbook.org/xml/5.0/dtd/docbook.dtd
|
|
SCHEMA_RNG_FLAGS = --relaxng http://www.docbook.org/xml/5.0/rng/docbook.rng
|
|
#SCHEMA_FLAGS = --nonet --dtdvalid /usr/share/xxx/dtd/5.0/docbook.dtd
|
|
XMLLINT_VALID_FLAGS = $(LINT_FLAGS) $(SCHEMA_FLAGS)
|
|
XMLLINT_FLAGS = --xinclude --nsclean --c14n --noent --noblanks --nocdata
|
|
|
|
# HTML, all one page
|
|
# NB: Have to generate customization XSL for UTF-8 output.
|
|
manual_html = ${docbook_outdir}/html/libstdc++-manual-single.html
|
|
|
|
# PDF, via dblatex
|
|
manual_pdf = ${docbook_outdir}/pdf/libstdc++-manual.pdf
|
|
DBLATEX_FLAGS = --verbose --pdf --dump --debug --tmpdir=${docbook_outdir}/latex
|
|
|
|
# TEXINFO, via docbook2X
|
|
# NB: Both experimental and tempermental
|
|
manual_texi = ${docbook_outdir}/texinfo/libstdc++-manual.texi
|
|
manual_info = ${docbook_outdir}/texinfo/libstdc++-manual.info
|
|
DB2TEXI_FLAGS = \
|
|
--encoding=utf-8//TRANSLIT \
|
|
--string-param output-file="libstdc++-manual" \
|
|
--string-param directory-category="GNU C++ Library" \
|
|
--string-param explicit-node-names=true
|
|
|
|
|
|
# EPUB version 3
|
|
# http://sourceforge.net/projects/docbook/files/epub3/
|
|
# Can verify document with epubcheck
|
|
manual_epub = ${docbook_outdir}/epub/libstdc++-manual.epub
|
|
|
|
# Performance doc and graph configuration.
|
|
# Assumes pychart, beautiful soup installed.
|
|
# Generates the plots/graph imagery for performance testing.
|
|
doc_performance_script = ${top_srcdir}/scripts/make_graph.py
|
|
|
|
# By adding these files here, automake will remove them for 'make clean'
|
|
CLEANFILES = *.log stamp*
|
|
all: all-am
|
|
|
|
.SUFFIXES:
|
|
$(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 doc/Makefile'; \
|
|
$(am__cd) $(top_srcdir) && \
|
|
$(AUTOMAKE) --foreign --ignore-deps doc/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_srcdir)/fragment.am $(am__empty):
|
|
|
|
$(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):
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
tags TAGS:
|
|
|
|
ctags CTAGS:
|
|
|
|
cscope cscopelist:
|
|
|
|
check-am: all-am
|
|
check: check-am
|
|
all-am: Makefile
|
|
installdirs:
|
|
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:
|
|
if test -z '$(STRIP)'; then \
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
install; \
|
|
else \
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
|
fi
|
|
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-am
|
|
|
|
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
|
|
|
|
distclean: distclean-am
|
|
-rm -f Makefile
|
|
distclean-am: clean-am distclean-generic
|
|
|
|
dvi-am:
|
|
|
|
html-am:
|
|
|
|
info-am:
|
|
|
|
install-data-am:
|
|
|
|
install-dvi-am:
|
|
|
|
install-exec-am:
|
|
|
|
install-html-am:
|
|
|
|
install-info-am:
|
|
|
|
install-pdf-am:
|
|
|
|
install-ps-am:
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
-rm -f Makefile
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
|
|
|
|
pdf-am:
|
|
|
|
ps-am:
|
|
|
|
uninstall-am:
|
|
|
|
.MAKE: install-am install-strip
|
|
|
|
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
|
clean-local cscopelist-am ctags-am distclean distclean-generic \
|
|
distclean-libtool dvi dvi-am html html-am info info-am install \
|
|
install-am install-data install-data-am 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 installcheck installcheck-am installdirs \
|
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
|
tags-am uninstall uninstall-am
|
|
|
|
.PRECIOUS: Makefile
|
|
|
|
|
|
# Documentation primary rules.
|
|
#
|
|
# xml:
|
|
# html:
|
|
# pdf:
|
|
# man:
|
|
# info:
|
|
# ps:
|
|
# dvi:
|
|
# epub:
|
|
# install-xml:
|
|
# install-html:
|
|
# install-pdf:
|
|
# install-man:
|
|
# install-info:
|
|
# install-ps:
|
|
# install-dvi:
|
|
# install-epub:
|
|
|
|
xml: $(STAMP_XML)
|
|
install-xml: $(STAMP_INSTALL_XML)
|
|
|
|
html: $(STAMP_HTML)
|
|
install-html: $(STAMP_INSTALL_HTML)
|
|
|
|
man: $(STAMP_MAN)
|
|
install-man: $(STAMP_INSTALL_MAN)
|
|
|
|
pdf: $(STAMP_PDF)
|
|
install-pdf: $(STAMP_INSTALL_PDF)
|
|
|
|
epub: $(STAMP_EPUB)
|
|
install-epub: $(STAMP_INSTALL_EPUB)
|
|
|
|
info:
|
|
install-info:
|
|
|
|
ps:
|
|
install-ps:
|
|
|
|
dvi:
|
|
install-dvi:
|
|
stamp-xml: stamp-xml-single-docbook stamp-xml-single-doxygen
|
|
$(STAMP) stamp-xml
|
|
|
|
doc-xml: stamp-xml
|
|
|
|
doc-install-xml: doc-xml
|
|
test -z ${xmldir} || $(mkinstalldirs) ${xmldir}
|
|
$(INSTALL_DATA) ${manual_xml} ${xmldir}
|
|
$(INSTALL_DATA) ${api_xml} ${xmldir}
|
|
stamp-html: stamp-html-docbook-data stamp-html-doxygen
|
|
$(STAMP) stamp-html
|
|
|
|
doc-html: stamp-html
|
|
|
|
doc-install-html: doc-html
|
|
test -z ${htmldir} || $(mkinstalldirs) ${htmldir}
|
|
cp -r ${docbook_outdir}/html ${htmldir}/libstdc++-manual.html;
|
|
cp -r ${doxygen_outdir}/html ${htmldir}/libstdc++-api.html;
|
|
stamp-pdf: stamp-pdf-docbook stamp-pdf-doxygen
|
|
$(STAMP) stamp-pdf
|
|
|
|
doc-pdf: stamp-pdf
|
|
|
|
doc-install-pdf: doc-pdf
|
|
test -z ${pdfdir} || $(mkinstalldirs) ${pdfdir}
|
|
$(INSTALL_DATA) ${docbook_outdir}/pdf/libstdc++-manual.pdf ${pdfdir}
|
|
$(INSTALL_DATA) ${doxygen_outdir}/pdf/libstdc++-api.pdf ${pdfdir}
|
|
stamp-man: stamp-man-doxygen
|
|
$(STAMP) stamp-man
|
|
|
|
doc-man: stamp-man
|
|
|
|
doc-install-man: doc-man
|
|
test -z ${mandir} || $(mkinstalldirs) ${mandir}
|
|
cp -r ${doxygen_outdir}/man/man3 ${mandir}
|
|
stamp-texinfo: stamp-texinfo-docbook
|
|
$(STAMP) stamp-texinfo
|
|
|
|
stamp-info: stamp-info-docbook
|
|
$(STAMP) stamp-info
|
|
|
|
doc-texinfo: stamp-texinfo
|
|
|
|
doc-info: stamp-info
|
|
|
|
doc-install-texinfo: doc-texinfo
|
|
test -z ${infodir} || $(mkinstalldirs) ${infodir}
|
|
$(INSTALL_DATA) ${manual_texi} ${infodir}
|
|
|
|
doc-install-info: doc-info
|
|
test -z ${infodir} || $(mkinstalldirs) ${infodir}
|
|
$(INSTALL_DATA) ${manual_info} ${infodir}
|
|
stamp-epub: stamp-epub-docbook
|
|
$(STAMP) stamp-epub
|
|
|
|
doc-epub: stamp-epub
|
|
|
|
doc-install-epub: doc-epub
|
|
test -z ${epubdir} || $(mkinstalldirs) ${epubdir}
|
|
$(INSTALL_DATA) ${manual_epub} ${epubdir}
|
|
|
|
${doxygen_outdir}/xml:
|
|
mkdir -p ${doxygen_outdir}/xml
|
|
|
|
${doxygen_outdir}/html:
|
|
mkdir -p ${doxygen_outdir}/html
|
|
|
|
${doxygen_outdir}/latex:
|
|
mkdir -p ${doxygen_outdir}/latex
|
|
|
|
${doxygen_outdir}/pdf:
|
|
mkdir -p ${doxygen_outdir}/pdf
|
|
|
|
${doxygen_outdir}/man:
|
|
mkdir -p ${doxygen_outdir}/man
|
|
|
|
stamp-xml-doxygen: ${doxygen_outdir}/xml
|
|
-srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
|
|
builddir=`cd ..; ${PWD_COMMAND}`; \
|
|
${SHELL} ${doxygen_script} \
|
|
--host_alias=${host_alias} --mode=xml \
|
|
"$${srcdir}" "$${builddir}" NO
|
|
$(STAMP) stamp-xml-doxygen
|
|
|
|
stamp-xml-single-doxygen: stamp-xml-doxygen
|
|
@echo "Generating doxygen xml single file..."
|
|
$(XSLTPROC) ${doxygen_outdir}/xml/combine.xslt \
|
|
${doxygen_outdir}/xml/index.xml > ${api_xml};
|
|
$(STAMP) stamp-xml-single-doxygen
|
|
|
|
stamp-html-doxygen: ${doxygen_outdir}/html
|
|
-srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
|
|
builddir=`cd ..; ${PWD_COMMAND}`; \
|
|
${SHELL} ${doxygen_script} \
|
|
--host_alias=${host_alias} --mode=html \
|
|
"$${srcdir}" "$${builddir}" YES
|
|
$(STAMP) stamp-html-doxygen
|
|
|
|
stamp-latex-doxygen: ${doxygen_outdir}/latex
|
|
-srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
|
|
builddir=`cd ..; ${PWD_COMMAND}`; \
|
|
${SHELL} ${doxygen_script} \
|
|
--host_alias=${host_alias} --mode=latex --latex_cmd=$(LATEX_CMD) \
|
|
"$${srcdir}" "$${builddir}" NO
|
|
$(STAMP) stamp-latex-doxygen
|
|
|
|
# Chance of loooooonnggg creation time on this rule. Iff this fails,
|
|
# look at refman.log and see if TeX's memory is exhausted. Symptoms
|
|
# include asking a wizard to enlarge capacity. If this is the case,
|
|
# find texmf.cnf and add a zero for pool_size, string_vacancies,
|
|
# max_strings, and pool_free values. A much simpler workaround is to
|
|
# install lualatex and set LATEX_CMD=lualatex when running make.
|
|
# Errors like "File `foo.sty' not found" mean a TeX package is missing.
|
|
stamp-pdf-doxygen: stamp-latex-doxygen ${doxygen_outdir}/pdf
|
|
@echo "Generating doxygen pdf file...";
|
|
-$(MAKE) -C ${doxygen_outdir}/latex -i pdf
|
|
@if [ -f ${doxygen_pdf} ]; then \
|
|
mv ${doxygen_pdf} ${api_pdf} ; \
|
|
echo ":: PDF file is ${api_pdf}"; \
|
|
else \
|
|
echo "... error"; \
|
|
grep -F 'LaTeX Error' ${doxygen_outdir}/latex/refman.log; \
|
|
grep -F 'TeX capacity exceeded, sorry' ${doxygen_outdir}/latex/refman.log; \
|
|
exit 12; \
|
|
fi
|
|
$(STAMP) stamp-pdf-doxygen
|
|
|
|
stamp-man-doxygen: ${doxygen_outdir}/man
|
|
-srcdir=`cd ${top_srcdir}; ${PWD_COMMAND}`; \
|
|
builddir=`cd ..; ${PWD_COMMAND}`; \
|
|
${SHELL} ${doxygen_script} \
|
|
--host_alias=${host_alias} --mode=man \
|
|
"$${srcdir}" "$${builddir}" YES
|
|
$(STAMP) stamp-man-doxygen
|
|
|
|
doc-xml-doxygen: stamp-xml-doxygen
|
|
doc-xml-single-doxygen: stamp-xml-single-doxygen
|
|
doc-html-doxygen: stamp-html-doxygen
|
|
doc-latex-doxygen: stamp-latex-doxygen
|
|
doc-pdf-doxygen: stamp-pdf-doxygen
|
|
doc-man-doxygen: stamp-man-doxygen
|
|
|
|
${docbook_outdir}/epub:
|
|
mkdir -p ${docbook_outdir}/epub
|
|
mkdir -p ${docbook_outdir}/epub/OEBPS/images
|
|
|
|
${docbook_outdir}/fo:
|
|
mkdir -p ${docbook_outdir}/fo
|
|
|
|
${docbook_outdir}/html:
|
|
mkdir -p ${docbook_outdir}/html
|
|
mkdir -p ${docbook_outdir}/html/images
|
|
mkdir -p ${docbook_outdir}/html/manual
|
|
|
|
${docbook_outdir}/pdf:
|
|
mkdir -p ${docbook_outdir}/pdf
|
|
|
|
${docbook_outdir}/latex:
|
|
mkdir -p ${docbook_outdir}/latex
|
|
|
|
${docbook_outdir}/texinfo:
|
|
mkdir -p ${docbook_outdir}/texinfo
|
|
|
|
${docbook_outdir}/xml:
|
|
mkdir -p ${docbook_outdir}/xml
|
|
stamp-xml-single-docbook: $(xml_sources) ${docbook_outdir}/xml
|
|
@echo "Generating XML single..."
|
|
$(XMLLINT) $(XMLLINT_FLAGS) \
|
|
${top_srcdir}/doc/xml/manual/spine.xml > ${manual_xml};
|
|
$(XMLLINT) $(XMLLINT_FLAGS) \
|
|
${top_srcdir}/doc/xml/spine.xml > ${set_xml};
|
|
$(STAMP) stamp-xml-single-docbook
|
|
|
|
doc-xml-single-docbook: stamp-xml-single-docbook
|
|
doc-xml-validate-docbook: doc-xml-validate-dtd-db
|
|
|
|
doc-xml-validate-dtd-db: $(xml_sources) $(xml_images)
|
|
@echo "Generating XML validation log..."
|
|
$(XMLLINT) $(XMLLINT_VALID_FLAGS) ${top_srcdir}/doc/xml/spine.xml
|
|
|
|
doc-xml-validate-rng-db: $(xml_sources) $(xml_images) doc-xml-single-docbook
|
|
@echo "Generating XML RelaxNG validation log..."
|
|
$(XMLLINT) $(LINT_FLAGS) $(SCHEMA_RNG_FLAGS) ${set_xml}
|
|
|
|
# HTML support files
|
|
stamp-html-docbook-images: stamp-html-docbook $(xml_images)
|
|
$(INSTALL_DATA) $(xml_images) ${docbook_outdir}/html/images
|
|
$(STAMP) stamp-html-docbook-images
|
|
|
|
stamp-html-docbook-data: stamp-html-docbook-images
|
|
$(STAMP) stamp-html-docbook-data
|
|
|
|
# HTML, "chunked" into index plus chapters as separate pages
|
|
stamp-html-docbook: $(xml_sources) ${docbook_outdir}/html
|
|
@echo "Generating html files..."
|
|
$(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) -o ${docbook_outdir}/html/ \
|
|
--stringparam chunker.output.encoding UTF-8 \
|
|
$(XSL_HTML_STYLE) \
|
|
${top_srcdir}/doc/xml/spine.xml
|
|
$(STAMP) stamp-html-docbook
|
|
|
|
doc-html-docbook: stamp-html-docbook-data
|
|
|
|
# Generate the HTML pages and copy them back to the source tree.
|
|
doc-html-docbook-regenerate: doc-html-docbook
|
|
$(INSTALL_DATA) ${docbook_outdir}/html/*.html ${top_srcdir}/doc/html
|
|
$(INSTALL_DATA) ${docbook_outdir}/html/images/* ${top_srcdir}/doc/html/images
|
|
$(INSTALL_DATA) ${docbook_outdir}/html/manual/*.html ${top_srcdir}/doc/html/manual
|
|
stamp-html-single-docbook: $(xml_sources) ${docbook_outdir}/html
|
|
@echo "Generating html single file..."
|
|
$(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) -o ${manual_html} \
|
|
${XSL_LOCAL_STYLE} \
|
|
${top_srcdir}/doc/xml/spine.xml
|
|
$(STAMP) stamp-html-single-docbook
|
|
|
|
doc-html-single-docbook: stamp-html-single-docbook
|
|
|
|
# FO
|
|
stamp-fo-docbook: $(xml_sources) ${docbook_outdir}/fo
|
|
@echo "Generating FO files..."
|
|
$(XSLTPROC) $(XSLT_FLAGS) -o ${docbook_outdir}/fo/spine.fo \
|
|
$(XSL_FO_STYLE) ${top_srcdir}/doc/xml/spine.xml
|
|
$(STAMP) stamp-fo-docbook
|
|
|
|
doc-fo-docbook: stamp-fo-docbook
|
|
|
|
doc-pdf-docbook-dirs: ${docbook_outdir}/pdf ${docbook_outdir}/latex
|
|
|
|
doc-pdf-docbook-pre: $(xml_sources) doc-pdf-docbook-dirs
|
|
|
|
stamp-pdf-docbook: doc-pdf-docbook-pre doc-xml-single-docbook
|
|
@echo "Generating pdf dblatex files..."
|
|
dblatex $(DBLATEX_FLAGS) -o ${manual_pdf} \
|
|
${top_srcdir}/doc/xml/spine.xml
|
|
$(STAMP) stamp-pdf-docbook
|
|
|
|
doc-pdf-docbook: stamp-pdf-docbook
|
|
|
|
stamp-texinfo-docbook: stamp-xml-single-docbook ${docbook_outdir}/texinfo
|
|
@echo "Generating texinfo files..."
|
|
db2x_docbook2texi $(DB2TEXI_FLAGS) ${set_xml}
|
|
mv libstdc++-manual.texi ${manual_texi}
|
|
$(STAMP) stamp-texinfo-docbook
|
|
|
|
stamp-info-docbook: stamp-texinfo-docbook
|
|
@echo "Generating info files..."
|
|
$(MAKEINFO) $(MAKEINFOFLAGS) ${manual_texi}
|
|
$(STAMP) stamp-info-docbook
|
|
|
|
doc-texinfo-docbook: stamp-texinfo-docbook
|
|
|
|
doc-info-docbook: stamp-info-docbook
|
|
stamp-epub-docbook: stamp-xml-single-docbook ${docbook_outdir}/epub
|
|
@echo "Generating epub files..."
|
|
if [ ! -d "${docbook_outdir}/images" ]; then \
|
|
$(LN_S) ${top_srcdir}/doc/xml/images ${docbook_outdir}/; \
|
|
fi
|
|
$(XSLTPROC) $(XSLT_PARAM) $(XSLT_FLAGS) \
|
|
--stringparam base.dir "${docbook_outdir}/epub/OEBPS/" \
|
|
$(XSL_EPUB_STYLE) ${top_srcdir}/doc/xml/spine.xml
|
|
$(INSTALL_DATA) $(xml_images) ${docbook_outdir}/epub/OEBPS/images
|
|
zip -X0 ${manual_epub} ${docbook_outdir}/epub/mimetype
|
|
zip -r -X9 ${manual_epub} ${docbook_outdir}/epub/META-INF ${docbook_outdir}/epub/OEBPS
|
|
$(STAMP) stamp-epub-docbook
|
|
|
|
doc-epub-docbook: stamp-epub-docbook
|
|
doc-svg-performance: ${docbook_outdir}/xml
|
|
-@(chmod + ${doc_performance_script}; \
|
|
${doc_performance_script} \
|
|
${top_srcdir}/testsuite/data/make_graph_test_infos.xml \
|
|
${glibcxx_builddir}/testsuite \
|
|
${glibcxx_builddir}/doc/docbook/xml/images)
|
|
|
|
.PHONY: doc-doxygen-html doc-doxygen-man doc-performance
|
|
|
|
# To remove directories.
|
|
clean-local:
|
|
rm -rf man html pdf fo xml doxygen docbook ./libstdc++-* db2t*
|
|
|
|
# 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 =
|