Started adding commodity tests
This commit is contained in:
parent
e7f9486f6e
commit
e43f54f249
22 changed files with 3394 additions and 3104 deletions
|
|
@ -196,7 +196,8 @@ check_PROGRAMS = $(TESTS)
|
|||
|
||||
UnitTests_SOURCES = tests/UnitTests.cc \
|
||||
\
|
||||
tests/corelib/numerics/BasicAmount.cc
|
||||
tests/corelib/numerics/BasicAmount.cc \
|
||||
tests/corelib/numerics/CommodityAmount.cc
|
||||
|
||||
UnitTests_LDADD = $(lib_LTLIBRARIES) gdtoa/libgdtoa.la -lcppunit
|
||||
UnitTests_LDFLAGS = $(LIBADD_DL)
|
||||
|
|
|
|||
559
Makefile.in
559
Makefile.in
File diff suppressed because it is too large
Load diff
185
aclocal.m4
vendored
185
aclocal.m4
vendored
|
|
@ -1,7 +1,7 @@
|
|||
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
||||
# generated automatically by aclocal 1.10 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005 Free Software Foundation, Inc.
|
||||
# 2005, 2006 Free Software Foundation, Inc.
|
||||
# This file 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.
|
||||
|
|
@ -11,6 +11,11 @@
|
|||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_if(m4_PACKAGE_VERSION, [2.61],,
|
||||
[m4_fatal([this file was generated for autoconf 2.61.
|
||||
You have another version of autoconf. If you want to use that,
|
||||
you should regenerate the build system entirely.], [63])])
|
||||
|
||||
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
||||
|
||||
# serial 48 AC_PROG_LIBTOOL
|
||||
|
|
@ -6388,7 +6393,7 @@ SED=$lt_cv_path_SED
|
|||
AC_MSG_RESULT([$SED])
|
||||
])
|
||||
|
||||
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
|
|
@ -6398,14 +6403,29 @@ AC_MSG_RESULT([$SED])
|
|||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
||||
# (This private macro should not be called outside this file.)
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
[am__api_version='1.10'
|
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
dnl require some minimum version. Point them to the right macro.
|
||||
m4_if([$1], [1.10], [],
|
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
])
|
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION)
|
||||
# -----------------------------
|
||||
# aclocal traces this macro to find the Autoconf version.
|
||||
# This is a private macro too. Using m4_define simplifies
|
||||
# the logic in aclocal, which can simply ignore this definition.
|
||||
m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.9.6])])
|
||||
[AM_AUTOMAKE_VERSION([1.10])dnl
|
||||
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
|
|
@ -6462,14 +6482,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
|
|||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 7
|
||||
# serial 8
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
|
|
@ -6478,8 +6498,10 @@ AC_DEFUN([AM_CONDITIONAL],
|
|||
[AC_PREREQ(2.52)dnl
|
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])
|
||||
AC_SUBST([$1_FALSE])
|
||||
AC_SUBST([$1_TRUE])dnl
|
||||
AC_SUBST([$1_FALSE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
|
|
@ -6493,15 +6515,14 @@ AC_CONFIG_COMMANDS_PRE(
|
|||
Usually this means the macro was only invoked conditionally.]])
|
||||
fi])])
|
||||
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 8
|
||||
# serial 9
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
|
|
@ -6529,6 +6550,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
|
|||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
|
|
@ -6594,6 +6616,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
|
|||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
|
|
@ -6646,7 +6669,8 @@ if test "x$enable_dependency_tracking" != xno; then
|
|||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])
|
||||
AC_SUBST([AMDEPBACKSLASH])dnl
|
||||
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
|
@ -6671,8 +6695,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# So let's grep whole file.
|
||||
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
||||
# Grep'ing the whole file is not good either: AIX grep has a line
|
||||
# limit of 2048, but all sed's we know have understand at least 4000.
|
||||
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
|
|
@ -6719,8 +6744,8 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
|
|
@ -6743,16 +6768,20 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.58])dnl
|
||||
[AC_PREREQ([2.60])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||
test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
# is not polluted with repeated "-I."
|
||||
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
|
|
@ -6772,6 +6801,9 @@ m4_ifval([$2],
|
|||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
|
|
@ -6807,6 +6839,10 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
|||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
[_AM_DEPENDENCIES(OBJC)],
|
||||
[define([AC_PROG_OBJC],
|
||||
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
||||
])
|
||||
])
|
||||
|
||||
|
|
@ -6842,7 +6878,7 @@ echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
|||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
|
|
@ -6866,19 +6902,20 @@ fi
|
|||
rmdir .tst 2>/dev/null
|
||||
AC_SUBST([am__leading_dot])])
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
|
||||
# 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 9
|
||||
# serial 10
|
||||
|
||||
# AM_PATH_LISPDIR
|
||||
# ---------------
|
||||
AC_DEFUN([AM_PATH_LISPDIR],
|
||||
[ # If set to t, that means we are running in a shell under Emacs.
|
||||
[AC_PREREQ([2.60])dnl
|
||||
# If set to t, that means we are running in a shell under Emacs.
|
||||
# If you have an Emacs named "t", then use the full path.
|
||||
test x"$EMACS" = xt && EMACS=
|
||||
AC_CHECK_PROGS([EMACS], [emacs xemacs], [no])
|
||||
|
|
@ -6902,7 +6939,7 @@ AC_DEFUN([AM_PATH_LISPDIR],
|
|||
am_cv_lispdir=`sed -n \
|
||||
-e 's,/$,,' \
|
||||
-e '/.*\/lib\/x*emacs\/site-lisp$/{s,.*/lib/\(x*emacs/site-lisp\)$,${libdir}/\1,;p;q;}' \
|
||||
-e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datadir}/\1,;p;q;}' \
|
||||
-e '/.*\/share\/x*emacs\/site-lisp$/{s,.*/share/\(x*emacs/site-lisp\),${datarootdir}/\1,;p;q;}' \
|
||||
conftest.out`
|
||||
rm conftest.out
|
||||
fi
|
||||
|
|
@ -6970,14 +7007,14 @@ rm -f confinc confmf
|
|||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 4
|
||||
# serial 5
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
|
|
@ -6993,6 +7030,7 @@ AC_SUBST($1)])
|
|||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
|
|
@ -7003,7 +7041,7 @@ else
|
|||
fi
|
||||
])
|
||||
|
||||
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
|
|
@ -7011,60 +7049,23 @@ fi
|
|||
|
||||
# AM_PROG_MKDIR_P
|
||||
# ---------------
|
||||
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
|
||||
#
|
||||
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
|
||||
# created by `make install' are always world readable, even if the
|
||||
# installer happens to have an overly restrictive umask (e.g. 077).
|
||||
# This was a mistake. There are at least two reasons why we must not
|
||||
# use `-m 0755':
|
||||
# - it causes special bits like SGID to be ignored,
|
||||
# - it may be too restrictive (some setups expect 775 directories).
|
||||
#
|
||||
# Do not use -m 0755 and let people choose whatever they expect by
|
||||
# setting umask.
|
||||
#
|
||||
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
|
||||
# Some implementations (such as Solaris 8's) are not thread-safe: if a
|
||||
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
|
||||
# concurrently, both version can detect that a/ is missing, but only
|
||||
# one can create it and the other will error out. Consequently we
|
||||
# restrict ourselves to GNU make (using the --version option ensures
|
||||
# this.)
|
||||
# Check for `mkdir -p'.
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||
# We used to keeping the `.' as first argument, in order to
|
||||
# allow $(mkdir_p) to be used without argument. As in
|
||||
# $(mkdir_p) $(somedir)
|
||||
# where $(somedir) is conditionally defined. However this is wrong
|
||||
# for two reasons:
|
||||
# 1. if the package is installed by a user who cannot write `.'
|
||||
# make install will fail,
|
||||
# 2. the above comment should most certainly read
|
||||
# $(mkdir_p) $(DESTDIR)$(somedir)
|
||||
# so it does not work when $(somedir) is undefined and
|
||||
# $(DESTDIR) is not.
|
||||
# To support the latter case, we have to write
|
||||
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
||||
# so the `.' trick is pointless.
|
||||
mkdir_p='mkdir -p --'
|
||||
else
|
||||
# On NextStep and OpenStep, the `mkdir' command does not
|
||||
# recognize any option. It will interpret all options as
|
||||
# directories to create, and then abort because `.' already
|
||||
# exists.
|
||||
for d in ./-p ./--version;
|
||||
do
|
||||
test -d $d && rmdir $d
|
||||
done
|
||||
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
||||
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
||||
mkdir_p='$(mkinstalldirs)'
|
||||
else
|
||||
mkdir_p='$(install_sh) -d'
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([mkdir_p])])
|
||||
[AC_PREREQ([2.60])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
||||
dnl while keeping a definition of mkdir_p for backward compatibility.
|
||||
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
||||
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
||||
dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
||||
dnl adjustment using top_builddir (which is defined more often than
|
||||
dnl MKDIR_P).
|
||||
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
||||
case $mkdir_p in
|
||||
[[\\/$]]* | ?:[[\\/]]*) ;;
|
||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
|
|
@ -7357,9 +7358,21 @@ dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
|||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Copyright (C) 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
# This macro is traced by Automake.
|
||||
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
|
|
|
|||
2
acprep
2
acprep
|
|
@ -17,10 +17,12 @@ autoconf
|
|||
|
||||
INCDIRS="-I/usr/local/include"
|
||||
INCDIRS="$INCDIRS -I/usr/local/include/boost"
|
||||
INCDIRS="$INCDIRS -I/sw/include"
|
||||
INCDIRS="$INCDIRS -I/usr/include/httpd/xml"
|
||||
INCDIRS="$INCDIRS -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5"
|
||||
|
||||
LIBDIRS="-L/usr/local/lib"
|
||||
LIBDIRS="$LIBDIRS -L/sw/lib"
|
||||
LIBDIRS="$LIBDIRS -L/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/config"
|
||||
|
||||
SYSTEM=`uname -s`
|
||||
|
|
|
|||
|
|
@ -1123,7 +1123,7 @@ static void parse_commodity(std::istream& in, std::string& symbol)
|
|||
symbol = buf;
|
||||
}
|
||||
|
||||
void parse_annotations(std::istream& in, amount_t& price,
|
||||
bool parse_annotations(std::istream& in, amount_t& price,
|
||||
datetime_t& date, std::string& tag)
|
||||
{
|
||||
do {
|
||||
|
|
@ -1200,6 +1200,7 @@ void amount_t::parse(std::istream& in, unsigned char flags)
|
|||
std::string quant;
|
||||
amount_t tprice;
|
||||
datetime_t tdate;
|
||||
bool had_date = false;
|
||||
std::string tag;
|
||||
unsigned int comm_flags = COMMODITY_STYLE_DEFAULTS;
|
||||
bool negative = false;
|
||||
|
|
@ -1225,7 +1226,7 @@ void amount_t::parse(std::istream& in, unsigned char flags)
|
|||
comm_flags |= COMMODITY_STYLE_SUFFIXED;
|
||||
|
||||
if (! in.eof() && ((n = in.peek()) != '\n'))
|
||||
parse_annotations(in, tprice, tdate, tag);
|
||||
had_date = parse_annotations(in, tprice, tdate, tag);
|
||||
}
|
||||
} else {
|
||||
parse_commodity(in, symbol);
|
||||
|
|
@ -1237,7 +1238,7 @@ void amount_t::parse(std::istream& in, unsigned char flags)
|
|||
parse_quantity(in, quant);
|
||||
|
||||
if (! quant.empty() && ! in.eof() && ((n = in.peek()) != '\n'))
|
||||
parse_annotations(in, tprice, tdate, tag);
|
||||
had_date = parse_annotations(in, tprice, tdate, tag);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1261,7 +1262,7 @@ void amount_t::parse(std::istream& in, unsigned char flags)
|
|||
}
|
||||
assert(commodity_);
|
||||
|
||||
if (! tprice.realzero() || tdate || ! tag.empty())
|
||||
if (! tprice.realzero() || had_date || ! tag.empty())
|
||||
commodity_ =
|
||||
annotated_commodity_t::find_or_create(*commodity_, tprice, tdate, tag);
|
||||
}
|
||||
|
|
|
|||
2
amount.h
2
amount.h
|
|
@ -312,7 +312,7 @@ class amount_t
|
|||
friend void clean_commodity_history(char * item_pool,
|
||||
char * item_pool_end);
|
||||
|
||||
friend void parse_annotations(std::istream& in, amount_t& price,
|
||||
friend bool parse_annotations(std::istream& in, amount_t& price,
|
||||
datetime_t& date, std::string& tag);
|
||||
|
||||
// Streaming interface
|
||||
|
|
|
|||
63
config.guess
vendored
63
config.guess
vendored
|
|
@ -1,9 +1,10 @@
|
|||
#! /bin/sh
|
||||
# Attempt to guess a canonical system name.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||
# Inc.
|
||||
|
||||
timestamp='2005-07-08'
|
||||
timestamp='2006-07-02'
|
||||
|
||||
# This file is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
|
|
@ -106,7 +107,7 @@ set_cc_for_build='
|
|||
trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
|
||||
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ;
|
||||
: ${TMPDIR=/tmp} ;
|
||||
{ tmp=`(umask 077 && mktemp -d -q "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||
{ tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
|
||||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } ||
|
||||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } ||
|
||||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ;
|
||||
|
|
@ -206,8 +207,11 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
|
|||
*:ekkoBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:SolidBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
macppc:MirBSD:*:*)
|
||||
echo powerppc-unknown-mirbsd${UNAME_RELEASE}
|
||||
echo powerpc-unknown-mirbsd${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:MirBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE}
|
||||
|
|
@ -764,7 +768,14 @@ EOF
|
|||
echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
|
||||
exit ;;
|
||||
*:FreeBSD:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
|
||||
case ${UNAME_MACHINE} in
|
||||
pc98)
|
||||
echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||
amd64)
|
||||
echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||
*)
|
||||
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;;
|
||||
esac
|
||||
exit ;;
|
||||
i*:CYGWIN*:*)
|
||||
echo ${UNAME_MACHINE}-pc-cygwin
|
||||
|
|
@ -779,8 +790,11 @@ EOF
|
|||
i*:PW*:*)
|
||||
echo ${UNAME_MACHINE}-pc-pw32
|
||||
exit ;;
|
||||
x86:Interix*:[34]*)
|
||||
echo i586-pc-interix${UNAME_RELEASE}|sed -e 's/\..*//'
|
||||
x86:Interix*:[3456]*)
|
||||
echo i586-pc-interix${UNAME_RELEASE}
|
||||
exit ;;
|
||||
EM64T:Interix*:[3456]*)
|
||||
echo x86_64-unknown-interix${UNAME_RELEASE}
|
||||
exit ;;
|
||||
[345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
|
||||
echo i${UNAME_MACHINE}-pc-mks
|
||||
|
|
@ -794,7 +808,7 @@ EOF
|
|||
i*:UWIN*:*)
|
||||
echo ${UNAME_MACHINE}-pc-uwin
|
||||
exit ;;
|
||||
amd64:CYGWIN*:*:*)
|
||||
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
|
||||
echo x86_64-unknown-cygwin
|
||||
exit ;;
|
||||
p*:CYGWIN*:*)
|
||||
|
|
@ -817,6 +831,9 @@ EOF
|
|||
arm*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit ;;
|
||||
avr32*:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit ;;
|
||||
cris:Linux:*:*)
|
||||
echo cris-axis-linux-gnu
|
||||
exit ;;
|
||||
|
|
@ -851,7 +868,11 @@ EOF
|
|||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^CPU/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||
;;
|
||||
mips64:Linux:*:*)
|
||||
|
|
@ -870,9 +891,16 @@ EOF
|
|||
#endif
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^CPU=`
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^CPU/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
|
||||
;;
|
||||
or32:Linux:*:*)
|
||||
echo or32-unknown-linux-gnu
|
||||
exit ;;
|
||||
ppc:Linux:*:*)
|
||||
echo powerpc-unknown-linux-gnu
|
||||
exit ;;
|
||||
|
|
@ -916,6 +944,9 @@ EOF
|
|||
sparc:Linux:*:* | sparc64:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-unknown-linux-gnu
|
||||
exit ;;
|
||||
vax:Linux:*:*)
|
||||
echo ${UNAME_MACHINE}-dec-linux-gnu
|
||||
exit ;;
|
||||
x86_64:Linux:*:*)
|
||||
echo x86_64-unknown-linux-gnu
|
||||
exit ;;
|
||||
|
|
@ -961,7 +992,7 @@ EOF
|
|||
LIBC=gnulibc1
|
||||
# endif
|
||||
#else
|
||||
#ifdef __INTEL_COMPILER
|
||||
#if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC)
|
||||
LIBC=gnu
|
||||
#else
|
||||
LIBC=gnuaout
|
||||
|
|
@ -971,7 +1002,11 @@ EOF
|
|||
LIBC=dietlibc
|
||||
#endif
|
||||
EOF
|
||||
eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep ^LIBC=`
|
||||
eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
|
||||
/^LIBC/{
|
||||
s: ::g
|
||||
p
|
||||
}'`"
|
||||
test x"${LIBC}" != x && {
|
||||
echo "${UNAME_MACHINE}-pc-linux-${LIBC}"
|
||||
exit
|
||||
|
|
@ -1182,7 +1217,6 @@ EOF
|
|||
*:Darwin:*:*)
|
||||
UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
|
||||
case $UNAME_PROCESSOR in
|
||||
*86) UNAME_PROCESSOR=i686 ;;
|
||||
unknown) UNAME_PROCESSOR=powerpc ;;
|
||||
esac
|
||||
echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE}
|
||||
|
|
@ -1261,6 +1295,9 @@ EOF
|
|||
i*86:skyos:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//'
|
||||
exit ;;
|
||||
i*86:rdos:*:*)
|
||||
echo ${UNAME_MACHINE}-pc-rdos
|
||||
exit ;;
|
||||
esac
|
||||
|
||||
#echo '(No uname command or uname output not recognized.)' 1>&2
|
||||
|
|
|
|||
99
config.sub
vendored
99
config.sub
vendored
|
|
@ -1,9 +1,10 @@
|
|||
#! /bin/sh
|
||||
# Configuration validation subroutine script.
|
||||
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
|
||||
# Inc.
|
||||
|
||||
timestamp='2005-07-08'
|
||||
timestamp='2006-09-20'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
|
|
@ -119,8 +120,9 @@ esac
|
|||
# Here we must recognize all the valid KERNEL-OS combinations.
|
||||
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \
|
||||
kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
|
||||
uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
os=-$maybe_os
|
||||
basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
|
||||
;;
|
||||
|
|
@ -171,6 +173,10 @@ case $os in
|
|||
-hiux*)
|
||||
os=-hiuxwe2
|
||||
;;
|
||||
-sco6)
|
||||
os=-sco5v6
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-sco5)
|
||||
os=-sco3.2v5
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
|
|
@ -187,6 +193,10 @@ case $os in
|
|||
# Don't forget version if it is 3.2v4 or newer.
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-sco5v6*)
|
||||
# Don't forget version if it is 3.2v4 or newer.
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
;;
|
||||
-sco*)
|
||||
os=-sco3.2v2
|
||||
basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
|
||||
|
|
@ -231,7 +241,7 @@ case $basic_machine in
|
|||
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
||||
| am33_2.0 \
|
||||
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
|
||||
| arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
||||
| bfin \
|
||||
| c4x | clipper \
|
||||
| d10v | d30v | dlx | dsp16xx \
|
||||
|
|
@ -239,7 +249,8 @@ case $basic_machine in
|
|||
| h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
|
||||
| i370 | i860 | i960 | ia64 \
|
||||
| ip2k | iq2000 \
|
||||
| m32r | m32rle | m68000 | m68k | m88k | maxq | mcore \
|
||||
| m32c | m32r | m32rle | m68000 | m68k | m88k \
|
||||
| maxq | mb | microblaze | mcore \
|
||||
| mips | mipsbe | mipseb | mipsel | mipsle \
|
||||
| mips16 \
|
||||
| mips64 | mips64el \
|
||||
|
|
@ -257,28 +268,27 @@ case $basic_machine in
|
|||
| mipsisa64sr71k | mipsisa64sr71kel \
|
||||
| mipstx39 | mipstx39el \
|
||||
| mn10200 | mn10300 \
|
||||
| ms1 \
|
||||
| mt \
|
||||
| msp430 \
|
||||
| nios | nios2 \
|
||||
| ns16k | ns32k \
|
||||
| or32 \
|
||||
| pdp10 | pdp11 | pj | pjl \
|
||||
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
|
||||
| pyramid \
|
||||
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| score \
|
||||
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
|
||||
| sh64 | sh64le \
|
||||
| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
|
||||
| sparcv8 | sparcv9 | sparcv9b \
|
||||
| strongarm \
|
||||
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
|
||||
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
|
||||
| spu | strongarm \
|
||||
| tahoe | thumb | tic4x | tic80 | tron \
|
||||
| v850 | v850e \
|
||||
| we32k \
|
||||
| x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
|
||||
| x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
|
||||
| z8k)
|
||||
basic_machine=$basic_machine-unknown
|
||||
;;
|
||||
m32c)
|
||||
basic_machine=$basic_machine-unknown
|
||||
;;
|
||||
m6811 | m68hc11 | m6812 | m68hc12)
|
||||
# Motorola 68HC11/12.
|
||||
basic_machine=$basic_machine-unknown
|
||||
|
|
@ -286,6 +296,9 @@ case $basic_machine in
|
|||
;;
|
||||
m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k)
|
||||
;;
|
||||
ms1)
|
||||
basic_machine=mt-unknown
|
||||
;;
|
||||
|
||||
# We use `pc' rather than `unknown'
|
||||
# because (1) that's what they normally are, and
|
||||
|
|
@ -305,7 +318,7 @@ case $basic_machine in
|
|||
| alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
|
||||
| alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
|
||||
| arm-* | armbe-* | armle-* | armeb-* | armv*-* \
|
||||
| avr-* \
|
||||
| avr-* | avr32-* \
|
||||
| bfin-* | bs2000-* \
|
||||
| c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
|
||||
| clipper-* | craynv-* | cydra-* \
|
||||
|
|
@ -316,7 +329,7 @@ case $basic_machine in
|
|||
| hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
|
||||
| i*86-* | i860-* | i960-* | ia64-* \
|
||||
| ip2k-* | iq2000-* \
|
||||
| m32r-* | m32rle-* \
|
||||
| m32c-* | m32r-* | m32rle-* \
|
||||
| m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
|
||||
| m88110-* | m88k-* | maxq-* | mcore-* \
|
||||
| mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
|
||||
|
|
@ -336,31 +349,30 @@ case $basic_machine in
|
|||
| mipsisa64sr71k-* | mipsisa64sr71kel-* \
|
||||
| mipstx39-* | mipstx39el-* \
|
||||
| mmix-* \
|
||||
| ms1-* \
|
||||
| mt-* \
|
||||
| msp430-* \
|
||||
| nios-* | nios2-* \
|
||||
| none-* | np1-* | ns16k-* | ns32k-* \
|
||||
| orion-* \
|
||||
| pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
|
||||
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
|
||||
| pyramid-* \
|
||||
| romp-* | rs6000-* \
|
||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
|
||||
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
|
||||
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
|
||||
| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
|
||||
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
|
||||
| sparclite-* \
|
||||
| sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \
|
||||
| sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
|
||||
| tahoe-* | thumb-* \
|
||||
| tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
|
||||
| tron-* \
|
||||
| v850-* | v850e-* | vax-* \
|
||||
| we32k-* \
|
||||
| x86-* | x86_64-* | xps100-* | xscale-* | xscalee[bl]-* \
|
||||
| x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
|
||||
| xstormy16-* | xtensa-* \
|
||||
| ymp-* \
|
||||
| z8k-*)
|
||||
;;
|
||||
m32c-*)
|
||||
;;
|
||||
# Recognize the various machine names and aliases which stand
|
||||
# for a CPU type and a company and sometimes even an OS.
|
||||
386bsd)
|
||||
|
|
@ -696,6 +708,9 @@ case $basic_machine in
|
|||
basic_machine=i386-pc
|
||||
os=-msdos
|
||||
;;
|
||||
ms1-*)
|
||||
basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
|
||||
;;
|
||||
mvs)
|
||||
basic_machine=i370-ibm
|
||||
os=-mvs
|
||||
|
|
@ -803,6 +818,12 @@ case $basic_machine in
|
|||
pc532 | pc532-*)
|
||||
basic_machine=ns32k-pc532
|
||||
;;
|
||||
pc98)
|
||||
basic_machine=i386-pc
|
||||
;;
|
||||
pc98-*)
|
||||
basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'`
|
||||
;;
|
||||
pentium | p5 | k5 | k6 | nexgen | viac3)
|
||||
basic_machine=i586-pc
|
||||
;;
|
||||
|
|
@ -859,6 +880,10 @@ case $basic_machine in
|
|||
basic_machine=i586-unknown
|
||||
os=-pw32
|
||||
;;
|
||||
rdos)
|
||||
basic_machine=i386-pc
|
||||
os=-rdos
|
||||
;;
|
||||
rom68k)
|
||||
basic_machine=m68k-rom68k
|
||||
os=-coff
|
||||
|
|
@ -885,6 +910,10 @@ case $basic_machine in
|
|||
sb1el)
|
||||
basic_machine=mipsisa64sb1el-unknown
|
||||
;;
|
||||
sde)
|
||||
basic_machine=mipsisa32-sde
|
||||
os=-elf
|
||||
;;
|
||||
sei)
|
||||
basic_machine=mips-sei
|
||||
os=-seiux
|
||||
|
|
@ -1101,7 +1130,7 @@ case $basic_machine in
|
|||
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||
basic_machine=sh-unknown
|
||||
;;
|
||||
sparc | sparcv8 | sparcv9 | sparcv9b)
|
||||
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
|
||||
basic_machine=sparc-sun
|
||||
;;
|
||||
cydra)
|
||||
|
|
@ -1174,21 +1203,23 @@ case $os in
|
|||
| -aos* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
| -openbsd* | -solidbsd* \
|
||||
| -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
|
||||
| -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
|
||||
| -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
|
||||
| -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
|
||||
| -chorusos* | -chorusrdb* \
|
||||
| -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
|
||||
| -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -mingw32* | -linux-gnu* | -linux-newlib* | -linux-uclibc* \
|
||||
| -uxpv* | -beos* | -mpeix* | -udk* \
|
||||
| -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
|
||||
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
|
||||
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
|
||||
| -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
|
||||
| -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
|
||||
| -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
|
||||
| -skyos* | -haiku*)
|
||||
| -skyos* | -haiku* | -rdos* | -toppers*)
|
||||
# Remember, each alternative MUST END IN *, to match a version number.
|
||||
;;
|
||||
-qnx*)
|
||||
|
|
@ -1340,6 +1371,12 @@ else
|
|||
# system, and we'll never get to this point.
|
||||
|
||||
case $basic_machine in
|
||||
score-*)
|
||||
os=-elf
|
||||
;;
|
||||
spu-*)
|
||||
os=-elf
|
||||
;;
|
||||
*-acorn)
|
||||
os=-riscix1.2
|
||||
;;
|
||||
|
|
@ -1349,9 +1386,9 @@ case $basic_machine in
|
|||
arm*-semi)
|
||||
os=-aout
|
||||
;;
|
||||
c4x-* | tic4x-*)
|
||||
os=-coff
|
||||
;;
|
||||
c4x-* | tic4x-*)
|
||||
os=-coff
|
||||
;;
|
||||
# This must come before the *-dec entry.
|
||||
pdp10-*)
|
||||
os=-tops20
|
||||
|
|
|
|||
64
depcomp
64
depcomp
|
|
@ -1,9 +1,10 @@
|
|||
#! /bin/sh
|
||||
# depcomp - compile a program generating dependencies as side-effects
|
||||
|
||||
scriptversion=2005-07-09.11
|
||||
scriptversion=2006-10-15.18
|
||||
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006 Free Software
|
||||
# Foundation, Inc.
|
||||
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
|
|
@ -91,7 +92,20 @@ gcc3)
|
|||
## gcc 3 implements dependency tracking that does exactly what
|
||||
## we want. Yay! Note: for some reason libtool 1.4 doesn't like
|
||||
## it if -MD -MP comes after the -MF stuff. Hmm.
|
||||
"$@" -MT "$object" -MD -MP -MF "$tmpdepfile"
|
||||
## Unfortunately, FreeBSD c89 acceptance of flags depends upon
|
||||
## the command line argument order; so add the flags where they
|
||||
## appear in depend2.am. Note that the slowdown incurred here
|
||||
## affects only configure: in makefiles, %FASTDEP% shortcuts this.
|
||||
for arg
|
||||
do
|
||||
case $arg in
|
||||
-c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;;
|
||||
*) set fnord "$@" "$arg" ;;
|
||||
esac
|
||||
shift # fnord
|
||||
shift # $arg
|
||||
done
|
||||
"$@"
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
|
|
@ -276,6 +290,46 @@ icc)
|
|||
rm -f "$tmpdepfile"
|
||||
;;
|
||||
|
||||
hp2)
|
||||
# The "hp" stanza above does not work with aCC (C++) and HP's ia64
|
||||
# compilers, which have integrated preprocessors. The correct option
|
||||
# to use with these is +Maked; it writes dependencies to a file named
|
||||
# 'foo.d', which lands next to the object file, wherever that
|
||||
# happens to be.
|
||||
# Much of this is similar to the tru64 case; see comments there.
|
||||
dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
|
||||
test "x$dir" = "x$object" && dir=
|
||||
base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'`
|
||||
if test "$libtool" = yes; then
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir.libs/$base.d
|
||||
"$@" -Wc,+Maked
|
||||
else
|
||||
tmpdepfile1=$dir$base.d
|
||||
tmpdepfile2=$dir$base.d
|
||||
"$@" +Maked
|
||||
fi
|
||||
stat=$?
|
||||
if test $stat -eq 0; then :
|
||||
else
|
||||
rm -f "$tmpdepfile1" "$tmpdepfile2"
|
||||
exit $stat
|
||||
fi
|
||||
|
||||
for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2"
|
||||
do
|
||||
test -f "$tmpdepfile" && break
|
||||
done
|
||||
if test -f "$tmpdepfile"; then
|
||||
sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
|
||||
# Add `dependent.h:' lines.
|
||||
sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
|
||||
else
|
||||
echo "#dummy" > "$depfile"
|
||||
fi
|
||||
rm -f "$tmpdepfile" "$tmpdepfile2"
|
||||
;;
|
||||
|
||||
tru64)
|
||||
# The Tru64 compiler uses -MD to generate dependencies as a side
|
||||
# effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'.
|
||||
|
|
@ -288,13 +342,13 @@ tru64)
|
|||
|
||||
if test "$libtool" = yes; then
|
||||
# With Tru64 cc, shared objects can also be used to make a
|
||||
# static library. This mecanism is used in libtool 1.4 series to
|
||||
# static library. This mechanism is used in libtool 1.4 series to
|
||||
# handle both shared and static libraries in a single compilation.
|
||||
# With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d.
|
||||
#
|
||||
# With libtool 1.5 this exception was removed, and libtool now
|
||||
# generates 2 separate objects for the 2 libraries. These two
|
||||
# compilations output dependencies in in $dir.libs/$base.o.d and
|
||||
# compilations output dependencies in $dir.libs/$base.o.d and
|
||||
# in $dir$base.o.d. We have to check for both files, because
|
||||
# one of the two compilations can be disabled. We should prefer
|
||||
# $dir$base.o.d over $dir.libs/$base.o.d because the latter is
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
|
||||
Software Foundation, Inc.
|
||||
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
|
||||
2006 Free Software Foundation, Inc.
|
||||
|
||||
This file is free documentation; the Free Software Foundation gives
|
||||
unlimited permission to copy, distribute and modify it.
|
||||
|
|
@ -10,7 +10,10 @@ unlimited permission to copy, distribute and modify it.
|
|||
Basic Installation
|
||||
==================
|
||||
|
||||
These are generic installation instructions.
|
||||
Briefly, the shell commands `./configure; make; make install' should
|
||||
configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the `README' file for
|
||||
instructions specific to this package.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
|
|
@ -23,9 +26,9 @@ debugging `configure').
|
|||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. (Caching is
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.)
|
||||
cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
|
|
@ -35,20 +38,17 @@ some point `config.cache' contains results you don't want to keep, you
|
|||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You only need
|
||||
`configure.ac' if you want to change it or regenerate `configure' using
|
||||
a newer version of `autoconf'.
|
||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||
you want to change it or regenerate `configure' using a newer version
|
||||
of `autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system. If you're
|
||||
using `csh' on an old version of System V, you might need to type
|
||||
`sh ./configure' instead to prevent `csh' from trying to execute
|
||||
`configure' itself.
|
||||
`./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' takes awhile. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
Running `configure' might take a while. While running, it prints
|
||||
some messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
|
||||
|
|
@ -78,7 +78,7 @@ details on some of the pertinent environment variables.
|
|||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
|
||||
./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
|
||||
*Note Defining Variables::, for more details.
|
||||
|
||||
|
|
@ -87,17 +87,15 @@ Compiling For Multiple Architectures
|
|||
|
||||
You can compile the package for more than one kind of computer at the
|
||||
same time, by placing the object files for each architecture in their
|
||||
own directory. To do this, you must use a version of `make' that
|
||||
supports the `VPATH' variable, such as GNU `make'. `cd' to the
|
||||
own directory. To do this, you can use GNU `make'. `cd' to the
|
||||
directory where you want the object files and executables to go and run
|
||||
the `configure' script. `configure' automatically checks for the
|
||||
source code in the directory that `configure' is in and in `..'.
|
||||
|
||||
If you have to use a `make' that does not support the `VPATH'
|
||||
variable, you have to compile the package for one architecture at a
|
||||
time in the source code directory. After you have installed the
|
||||
package for one architecture, use `make distclean' before reconfiguring
|
||||
for another architecture.
|
||||
With a non-GNU `make', it is safer to compile the package for one
|
||||
architecture at a time in the source code directory. After you have
|
||||
installed the package for one architecture, use `make distclean' before
|
||||
reconfiguring for another architecture.
|
||||
|
||||
Installation Names
|
||||
==================
|
||||
|
|
@ -190,12 +188,12 @@ them in the `configure' command line, using `VAR=value'. For example:
|
|||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script). Here is a another example:
|
||||
overridden in the site shell script).
|
||||
|
||||
/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf bug. Until the bug is fixed you can use this workaround:
|
||||
|
||||
Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
|
||||
configuration-related scripts to be executed by `/bin/bash'.
|
||||
CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
======================
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
lib_LTLIBRARIES = libgdtoa.la
|
||||
|
||||
libgdtoa_la_CPPFLAGS = -I$(includedir)
|
||||
libgdtoa_la_CPPFLAGS = -I$(srcdir)
|
||||
libgdtoa_la_SOURCES = \
|
||||
dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c g_ffmt.c \
|
||||
g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c hexnan.c \
|
||||
|
|
@ -14,16 +14,15 @@ EXTRA_libgdtoa_la_SOURCES = arithchk.c qnan.c
|
|||
$(libgdtoa_la_SOURCES): arith.h gd_qnan.h
|
||||
|
||||
arith.h: arithchk.c
|
||||
mkdir -p $(includedir)
|
||||
$(CC) $(CFLAGS) -o $(prefix)/arithchk $< || \
|
||||
$(CC) -DNO_LONG_LONG $(CFLAGS) -o $(prefix)/arithchk $<
|
||||
$(prefix)/arithchk > $(includedir)/$@
|
||||
rm -f $(prefix)/arithchk
|
||||
$(CC) $(CFLAGS) -o $(srcdir)/arithchk $< || \
|
||||
$(CC) -DNO_LONG_LONG $(CFLAGS) -o $(srcdir)/arithchk $<
|
||||
$(srcdir)/arithchk > $(srcdir)/$@
|
||||
rm -f $(srcdir)/arithchk
|
||||
|
||||
gd_qnan.h: qnan.c arith.h
|
||||
$(CC) $(CFLAGS) -o $(prefix)/qnan -I$(includedir) $<
|
||||
$(prefix)/qnan > $(includedir)/$@
|
||||
rm -f $(prefix)/qnan
|
||||
$(CC) $(CFLAGS) -o $(srcdir)/qnan -I$(srcdir) $<
|
||||
$(srcdir)/qnan > $(srcdir)/$@
|
||||
rm -f $(srcdir)/qnan
|
||||
|
||||
libgdtoa_la_LDFLAGS = -release 1.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
# Makefile.in generated by automake 1.9.6 from Makefile.am.
|
||||
# Makefile.in generated by automake 1.10 from Makefile.am.
|
||||
# @configure_input@
|
||||
|
||||
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
||||
# 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# 2003, 2004, 2005, 2006 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.
|
||||
|
|
@ -15,15 +15,11 @@
|
|||
@SET_MAKE@
|
||||
|
||||
|
||||
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
|
||||
|
|
@ -37,20 +33,20 @@ PRE_UNINSTALL = :
|
|||
POST_UNINSTALL = :
|
||||
build_triplet = @build@
|
||||
host_triplet = @host@
|
||||
DIST_COMMON = README $(am__configure_deps) $(pkginclude_HEADERS) \
|
||||
$(srcdir)/../compile $(srcdir)/../config.guess \
|
||||
$(srcdir)/../config.sub $(srcdir)/../depcomp \
|
||||
$(srcdir)/../install-sh $(srcdir)/../ltmain.sh \
|
||||
$(srcdir)/../missing $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/acconf.h.in \
|
||||
$(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS
|
||||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(pkginclude_HEADERS) \
|
||||
$(srcdir)/../config.guess $(srcdir)/../config.sub \
|
||||
$(srcdir)/../depcomp $(srcdir)/../install-sh \
|
||||
$(srcdir)/../ltmain.sh $(srcdir)/../missing \
|
||||
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
||||
$(srcdir)/acconf.h.in $(top_srcdir)/configure AUTHORS COPYING \
|
||||
ChangeLog INSTALL NEWS
|
||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||
am__aclocal_m4_deps = $(top_srcdir)/configure.in
|
||||
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||
$(ACLOCAL_M4)
|
||||
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
||||
configure.lineno configure.status.lineno
|
||||
configure.lineno config.status.lineno
|
||||
mkinstalldirs = $(install_sh) -d
|
||||
CONFIG_HEADER = acconf.h
|
||||
CONFIG_CLEAN_FILES =
|
||||
|
|
@ -85,17 +81,21 @@ am_libgdtoa_la_OBJECTS = libgdtoa_la-dmisc.lo libgdtoa_la-dtoa.lo \
|
|||
libgdtoa_la-strtorf.lo libgdtoa_la-strtorx.lo \
|
||||
libgdtoa_la-strtorxL.lo libgdtoa_la-sum.lo libgdtoa_la-ulp.lo
|
||||
libgdtoa_la_OBJECTS = $(am_libgdtoa_la_OBJECTS)
|
||||
DEFAULT_INCLUDES = -I. -I$(srcdir) -I.
|
||||
libgdtoa_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(libgdtoa_la_LDFLAGS) $(LDFLAGS) -o $@
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@
|
||||
depcomp = $(SHELL) $(top_srcdir)/../depcomp
|
||||
am__depfiles_maybe = depfiles
|
||||
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
||||
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
|
||||
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
||||
$(AM_CFLAGS) $(CFLAGS)
|
||||
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
||||
CCLD = $(CC)
|
||||
LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
||||
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
||||
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
||||
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
||||
$(LDFLAGS) -o $@
|
||||
SOURCES = $(libgdtoa_la_SOURCES) $(EXTRA_libgdtoa_la_SOURCES)
|
||||
DIST_SOURCES = $(libgdtoa_la_SOURCES) $(EXTRA_libgdtoa_la_SOURCES)
|
||||
pkgincludeHEADERS_INSTALL = $(INSTALL_HEADER)
|
||||
|
|
@ -114,8 +114,6 @@ GZIP_ENV = --best
|
|||
distuninstallcheck_listfiles = find . -type f -print
|
||||
distcleancheck_listfiles = find . -type f -print
|
||||
ACLOCAL = @ACLOCAL@
|
||||
AMDEP_FALSE = @AMDEP_FALSE@
|
||||
AMDEP_TRUE = @AMDEP_TRUE@
|
||||
AMTAR = @AMTAR@
|
||||
AR = @AR@
|
||||
AUTOCONF = @AUTOCONF@
|
||||
|
|
@ -143,6 +141,7 @@ EXEEXT = @EXEEXT@
|
|||
F77 = @F77@
|
||||
FFLAGS = @FFLAGS@
|
||||
GREP = @GREP@
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
|
|
@ -154,6 +153,7 @@ LIBTOOL = @LIBTOOL@
|
|||
LN_S = @LN_S@
|
||||
LTLIBOBJS = @LTLIBOBJS@
|
||||
MAKEINFO = @MAKEINFO@
|
||||
MKDIR_P = @MKDIR_P@
|
||||
OBJEXT = @OBJEXT@
|
||||
PACKAGE = @PACKAGE@
|
||||
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
||||
|
|
@ -167,13 +167,13 @@ SET_MAKE = @SET_MAKE@
|
|||
SHELL = @SHELL@
|
||||
STRIP = @STRIP@
|
||||
VERSION = @VERSION@
|
||||
abs_builddir = @abs_builddir@
|
||||
abs_srcdir = @abs_srcdir@
|
||||
abs_top_builddir = @abs_top_builddir@
|
||||
abs_top_srcdir = @abs_top_srcdir@
|
||||
ac_ct_CC = @ac_ct_CC@
|
||||
ac_ct_CXX = @ac_ct_CXX@
|
||||
ac_ct_F77 = @ac_ct_F77@
|
||||
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
|
||||
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
|
||||
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
|
||||
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
|
||||
am__include = @am__include@
|
||||
am__leading_dot = @am__leading_dot@
|
||||
am__quote = @am__quote@
|
||||
|
|
@ -185,6 +185,7 @@ build_alias = @build_alias@
|
|||
build_cpu = @build_cpu@
|
||||
build_os = @build_os@
|
||||
build_vendor = @build_vendor@
|
||||
builddir = @builddir@
|
||||
datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
docdir = @docdir@
|
||||
|
|
@ -212,10 +213,13 @@ program_transform_name = @program_transform_name@
|
|||
psdir = @psdir@
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
top_builddir = @top_builddir@
|
||||
top_srcdir = @top_srcdir@
|
||||
lib_LTLIBRARIES = libgdtoa.la
|
||||
libgdtoa_la_CPPFLAGS = -I$(includedir)
|
||||
libgdtoa_la_CPPFLAGS = -I$(srcdir)
|
||||
libgdtoa_la_SOURCES = \
|
||||
dmisc.c dtoa.c g_Qfmt.c g__fmt.c g_ddfmt.c g_dfmt.c g_ffmt.c \
|
||||
g_xLfmt.c g_xfmt.c gdtoa.c gethex.c gmisc.c hd_init.c hexnan.c \
|
||||
|
|
@ -271,7 +275,7 @@ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
|||
acconf.h: stamp-h1
|
||||
@if test ! -f $@; then \
|
||||
rm -f stamp-h1; \
|
||||
$(MAKE) stamp-h1; \
|
||||
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
||||
else :; fi
|
||||
|
||||
stamp-h1: $(srcdir)/acconf.h.in $(top_builddir)/config.status
|
||||
|
|
@ -286,7 +290,7 @@ distclean-hdr:
|
|||
-rm -f acconf.h stamp-h1
|
||||
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
|
||||
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
|
||||
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||
if test -f $$p; then \
|
||||
f=$(am__strip_dir) \
|
||||
|
|
@ -297,7 +301,7 @@ install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
|||
|
||||
uninstall-libLTLIBRARIES:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
||||
p=$(am__strip_dir) \
|
||||
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
|
||||
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
|
||||
|
|
@ -312,7 +316,7 @@ clean-libLTLIBRARIES:
|
|||
rm -f "$${dir}/so_locations"; \
|
||||
done
|
||||
libgdtoa.la: $(libgdtoa_la_OBJECTS) $(libgdtoa_la_DEPENDENCIES)
|
||||
$(LINK) -rpath $(libdir) $(libgdtoa_la_LDFLAGS) $(libgdtoa_la_OBJECTS) $(libgdtoa_la_LIBADD) $(LIBS)
|
||||
$(libgdtoa_la_LINK) -rpath $(libdir) $(libgdtoa_la_OBJECTS) $(libgdtoa_la_LIBADD) $(LIBS)
|
||||
|
||||
mostlyclean-compile:
|
||||
-rm -f *.$(OBJEXT)
|
||||
|
|
@ -365,326 +369,326 @@ distclean-compile:
|
|||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libgdtoa_la-ulp.Plo@am__quote@
|
||||
|
||||
.c.o:
|
||||
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
|
||||
|
||||
.c.obj:
|
||||
@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
|
||||
|
||||
.c.lo:
|
||||
@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
|
||||
|
||||
libgdtoa_la-dmisc.lo: dmisc.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-dmisc.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-dmisc.Tpo" -c -o libgdtoa_la-dmisc.lo `test -f 'dmisc.c' || echo '$(srcdir)/'`dmisc.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-dmisc.Tpo" "$(DEPDIR)/libgdtoa_la-dmisc.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-dmisc.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-dmisc.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-dmisc.Tpo -c -o libgdtoa_la-dmisc.lo `test -f 'dmisc.c' || echo '$(srcdir)/'`dmisc.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-dmisc.Tpo $(DEPDIR)/libgdtoa_la-dmisc.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dmisc.c' object='libgdtoa_la-dmisc.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-dmisc.lo `test -f 'dmisc.c' || echo '$(srcdir)/'`dmisc.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-dmisc.lo `test -f 'dmisc.c' || echo '$(srcdir)/'`dmisc.c
|
||||
|
||||
libgdtoa_la-dtoa.lo: dtoa.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-dtoa.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-dtoa.Tpo" -c -o libgdtoa_la-dtoa.lo `test -f 'dtoa.c' || echo '$(srcdir)/'`dtoa.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-dtoa.Tpo" "$(DEPDIR)/libgdtoa_la-dtoa.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-dtoa.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-dtoa.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-dtoa.Tpo -c -o libgdtoa_la-dtoa.lo `test -f 'dtoa.c' || echo '$(srcdir)/'`dtoa.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-dtoa.Tpo $(DEPDIR)/libgdtoa_la-dtoa.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='dtoa.c' object='libgdtoa_la-dtoa.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-dtoa.lo `test -f 'dtoa.c' || echo '$(srcdir)/'`dtoa.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-dtoa.lo `test -f 'dtoa.c' || echo '$(srcdir)/'`dtoa.c
|
||||
|
||||
libgdtoa_la-g_Qfmt.lo: g_Qfmt.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_Qfmt.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-g_Qfmt.Tpo" -c -o libgdtoa_la-g_Qfmt.lo `test -f 'g_Qfmt.c' || echo '$(srcdir)/'`g_Qfmt.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-g_Qfmt.Tpo" "$(DEPDIR)/libgdtoa_la-g_Qfmt.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-g_Qfmt.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_Qfmt.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-g_Qfmt.Tpo -c -o libgdtoa_la-g_Qfmt.lo `test -f 'g_Qfmt.c' || echo '$(srcdir)/'`g_Qfmt.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-g_Qfmt.Tpo $(DEPDIR)/libgdtoa_la-g_Qfmt.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g_Qfmt.c' object='libgdtoa_la-g_Qfmt.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_Qfmt.lo `test -f 'g_Qfmt.c' || echo '$(srcdir)/'`g_Qfmt.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_Qfmt.lo `test -f 'g_Qfmt.c' || echo '$(srcdir)/'`g_Qfmt.c
|
||||
|
||||
libgdtoa_la-g__fmt.lo: g__fmt.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g__fmt.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-g__fmt.Tpo" -c -o libgdtoa_la-g__fmt.lo `test -f 'g__fmt.c' || echo '$(srcdir)/'`g__fmt.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-g__fmt.Tpo" "$(DEPDIR)/libgdtoa_la-g__fmt.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-g__fmt.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g__fmt.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-g__fmt.Tpo -c -o libgdtoa_la-g__fmt.lo `test -f 'g__fmt.c' || echo '$(srcdir)/'`g__fmt.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-g__fmt.Tpo $(DEPDIR)/libgdtoa_la-g__fmt.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g__fmt.c' object='libgdtoa_la-g__fmt.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g__fmt.lo `test -f 'g__fmt.c' || echo '$(srcdir)/'`g__fmt.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g__fmt.lo `test -f 'g__fmt.c' || echo '$(srcdir)/'`g__fmt.c
|
||||
|
||||
libgdtoa_la-g_ddfmt.lo: g_ddfmt.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_ddfmt.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-g_ddfmt.Tpo" -c -o libgdtoa_la-g_ddfmt.lo `test -f 'g_ddfmt.c' || echo '$(srcdir)/'`g_ddfmt.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-g_ddfmt.Tpo" "$(DEPDIR)/libgdtoa_la-g_ddfmt.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-g_ddfmt.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_ddfmt.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-g_ddfmt.Tpo -c -o libgdtoa_la-g_ddfmt.lo `test -f 'g_ddfmt.c' || echo '$(srcdir)/'`g_ddfmt.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-g_ddfmt.Tpo $(DEPDIR)/libgdtoa_la-g_ddfmt.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g_ddfmt.c' object='libgdtoa_la-g_ddfmt.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_ddfmt.lo `test -f 'g_ddfmt.c' || echo '$(srcdir)/'`g_ddfmt.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_ddfmt.lo `test -f 'g_ddfmt.c' || echo '$(srcdir)/'`g_ddfmt.c
|
||||
|
||||
libgdtoa_la-g_dfmt.lo: g_dfmt.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_dfmt.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-g_dfmt.Tpo" -c -o libgdtoa_la-g_dfmt.lo `test -f 'g_dfmt.c' || echo '$(srcdir)/'`g_dfmt.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-g_dfmt.Tpo" "$(DEPDIR)/libgdtoa_la-g_dfmt.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-g_dfmt.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_dfmt.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-g_dfmt.Tpo -c -o libgdtoa_la-g_dfmt.lo `test -f 'g_dfmt.c' || echo '$(srcdir)/'`g_dfmt.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-g_dfmt.Tpo $(DEPDIR)/libgdtoa_la-g_dfmt.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g_dfmt.c' object='libgdtoa_la-g_dfmt.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_dfmt.lo `test -f 'g_dfmt.c' || echo '$(srcdir)/'`g_dfmt.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_dfmt.lo `test -f 'g_dfmt.c' || echo '$(srcdir)/'`g_dfmt.c
|
||||
|
||||
libgdtoa_la-g_ffmt.lo: g_ffmt.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_ffmt.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-g_ffmt.Tpo" -c -o libgdtoa_la-g_ffmt.lo `test -f 'g_ffmt.c' || echo '$(srcdir)/'`g_ffmt.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-g_ffmt.Tpo" "$(DEPDIR)/libgdtoa_la-g_ffmt.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-g_ffmt.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_ffmt.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-g_ffmt.Tpo -c -o libgdtoa_la-g_ffmt.lo `test -f 'g_ffmt.c' || echo '$(srcdir)/'`g_ffmt.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-g_ffmt.Tpo $(DEPDIR)/libgdtoa_la-g_ffmt.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g_ffmt.c' object='libgdtoa_la-g_ffmt.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_ffmt.lo `test -f 'g_ffmt.c' || echo '$(srcdir)/'`g_ffmt.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_ffmt.lo `test -f 'g_ffmt.c' || echo '$(srcdir)/'`g_ffmt.c
|
||||
|
||||
libgdtoa_la-g_xLfmt.lo: g_xLfmt.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_xLfmt.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-g_xLfmt.Tpo" -c -o libgdtoa_la-g_xLfmt.lo `test -f 'g_xLfmt.c' || echo '$(srcdir)/'`g_xLfmt.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-g_xLfmt.Tpo" "$(DEPDIR)/libgdtoa_la-g_xLfmt.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-g_xLfmt.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_xLfmt.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-g_xLfmt.Tpo -c -o libgdtoa_la-g_xLfmt.lo `test -f 'g_xLfmt.c' || echo '$(srcdir)/'`g_xLfmt.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-g_xLfmt.Tpo $(DEPDIR)/libgdtoa_la-g_xLfmt.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g_xLfmt.c' object='libgdtoa_la-g_xLfmt.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_xLfmt.lo `test -f 'g_xLfmt.c' || echo '$(srcdir)/'`g_xLfmt.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_xLfmt.lo `test -f 'g_xLfmt.c' || echo '$(srcdir)/'`g_xLfmt.c
|
||||
|
||||
libgdtoa_la-g_xfmt.lo: g_xfmt.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_xfmt.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-g_xfmt.Tpo" -c -o libgdtoa_la-g_xfmt.lo `test -f 'g_xfmt.c' || echo '$(srcdir)/'`g_xfmt.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-g_xfmt.Tpo" "$(DEPDIR)/libgdtoa_la-g_xfmt.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-g_xfmt.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-g_xfmt.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-g_xfmt.Tpo -c -o libgdtoa_la-g_xfmt.lo `test -f 'g_xfmt.c' || echo '$(srcdir)/'`g_xfmt.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-g_xfmt.Tpo $(DEPDIR)/libgdtoa_la-g_xfmt.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='g_xfmt.c' object='libgdtoa_la-g_xfmt.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_xfmt.lo `test -f 'g_xfmt.c' || echo '$(srcdir)/'`g_xfmt.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-g_xfmt.lo `test -f 'g_xfmt.c' || echo '$(srcdir)/'`g_xfmt.c
|
||||
|
||||
libgdtoa_la-gdtoa.lo: gdtoa.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-gdtoa.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-gdtoa.Tpo" -c -o libgdtoa_la-gdtoa.lo `test -f 'gdtoa.c' || echo '$(srcdir)/'`gdtoa.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-gdtoa.Tpo" "$(DEPDIR)/libgdtoa_la-gdtoa.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-gdtoa.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-gdtoa.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-gdtoa.Tpo -c -o libgdtoa_la-gdtoa.lo `test -f 'gdtoa.c' || echo '$(srcdir)/'`gdtoa.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-gdtoa.Tpo $(DEPDIR)/libgdtoa_la-gdtoa.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gdtoa.c' object='libgdtoa_la-gdtoa.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-gdtoa.lo `test -f 'gdtoa.c' || echo '$(srcdir)/'`gdtoa.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-gdtoa.lo `test -f 'gdtoa.c' || echo '$(srcdir)/'`gdtoa.c
|
||||
|
||||
libgdtoa_la-gethex.lo: gethex.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-gethex.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-gethex.Tpo" -c -o libgdtoa_la-gethex.lo `test -f 'gethex.c' || echo '$(srcdir)/'`gethex.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-gethex.Tpo" "$(DEPDIR)/libgdtoa_la-gethex.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-gethex.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-gethex.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-gethex.Tpo -c -o libgdtoa_la-gethex.lo `test -f 'gethex.c' || echo '$(srcdir)/'`gethex.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-gethex.Tpo $(DEPDIR)/libgdtoa_la-gethex.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gethex.c' object='libgdtoa_la-gethex.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-gethex.lo `test -f 'gethex.c' || echo '$(srcdir)/'`gethex.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-gethex.lo `test -f 'gethex.c' || echo '$(srcdir)/'`gethex.c
|
||||
|
||||
libgdtoa_la-gmisc.lo: gmisc.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-gmisc.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-gmisc.Tpo" -c -o libgdtoa_la-gmisc.lo `test -f 'gmisc.c' || echo '$(srcdir)/'`gmisc.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-gmisc.Tpo" "$(DEPDIR)/libgdtoa_la-gmisc.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-gmisc.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-gmisc.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-gmisc.Tpo -c -o libgdtoa_la-gmisc.lo `test -f 'gmisc.c' || echo '$(srcdir)/'`gmisc.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-gmisc.Tpo $(DEPDIR)/libgdtoa_la-gmisc.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gmisc.c' object='libgdtoa_la-gmisc.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-gmisc.lo `test -f 'gmisc.c' || echo '$(srcdir)/'`gmisc.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-gmisc.lo `test -f 'gmisc.c' || echo '$(srcdir)/'`gmisc.c
|
||||
|
||||
libgdtoa_la-hd_init.lo: hd_init.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-hd_init.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-hd_init.Tpo" -c -o libgdtoa_la-hd_init.lo `test -f 'hd_init.c' || echo '$(srcdir)/'`hd_init.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-hd_init.Tpo" "$(DEPDIR)/libgdtoa_la-hd_init.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-hd_init.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-hd_init.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-hd_init.Tpo -c -o libgdtoa_la-hd_init.lo `test -f 'hd_init.c' || echo '$(srcdir)/'`hd_init.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-hd_init.Tpo $(DEPDIR)/libgdtoa_la-hd_init.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hd_init.c' object='libgdtoa_la-hd_init.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-hd_init.lo `test -f 'hd_init.c' || echo '$(srcdir)/'`hd_init.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-hd_init.lo `test -f 'hd_init.c' || echo '$(srcdir)/'`hd_init.c
|
||||
|
||||
libgdtoa_la-hexnan.lo: hexnan.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-hexnan.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-hexnan.Tpo" -c -o libgdtoa_la-hexnan.lo `test -f 'hexnan.c' || echo '$(srcdir)/'`hexnan.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-hexnan.Tpo" "$(DEPDIR)/libgdtoa_la-hexnan.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-hexnan.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-hexnan.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-hexnan.Tpo -c -o libgdtoa_la-hexnan.lo `test -f 'hexnan.c' || echo '$(srcdir)/'`hexnan.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-hexnan.Tpo $(DEPDIR)/libgdtoa_la-hexnan.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='hexnan.c' object='libgdtoa_la-hexnan.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-hexnan.lo `test -f 'hexnan.c' || echo '$(srcdir)/'`hexnan.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-hexnan.lo `test -f 'hexnan.c' || echo '$(srcdir)/'`hexnan.c
|
||||
|
||||
libgdtoa_la-misc.lo: misc.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-misc.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-misc.Tpo" -c -o libgdtoa_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-misc.Tpo" "$(DEPDIR)/libgdtoa_la-misc.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-misc.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-misc.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-misc.Tpo -c -o libgdtoa_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-misc.Tpo $(DEPDIR)/libgdtoa_la-misc.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='misc.c' object='libgdtoa_la-misc.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-misc.lo `test -f 'misc.c' || echo '$(srcdir)/'`misc.c
|
||||
|
||||
libgdtoa_la-smisc.lo: smisc.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-smisc.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-smisc.Tpo" -c -o libgdtoa_la-smisc.lo `test -f 'smisc.c' || echo '$(srcdir)/'`smisc.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-smisc.Tpo" "$(DEPDIR)/libgdtoa_la-smisc.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-smisc.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-smisc.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-smisc.Tpo -c -o libgdtoa_la-smisc.lo `test -f 'smisc.c' || echo '$(srcdir)/'`smisc.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-smisc.Tpo $(DEPDIR)/libgdtoa_la-smisc.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='smisc.c' object='libgdtoa_la-smisc.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-smisc.lo `test -f 'smisc.c' || echo '$(srcdir)/'`smisc.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-smisc.lo `test -f 'smisc.c' || echo '$(srcdir)/'`smisc.c
|
||||
|
||||
libgdtoa_la-strtoIQ.lo: strtoIQ.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIQ.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtoIQ.Tpo" -c -o libgdtoa_la-strtoIQ.lo `test -f 'strtoIQ.c' || echo '$(srcdir)/'`strtoIQ.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtoIQ.Tpo" "$(DEPDIR)/libgdtoa_la-strtoIQ.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtoIQ.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIQ.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtoIQ.Tpo -c -o libgdtoa_la-strtoIQ.lo `test -f 'strtoIQ.c' || echo '$(srcdir)/'`strtoIQ.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtoIQ.Tpo $(DEPDIR)/libgdtoa_la-strtoIQ.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtoIQ.c' object='libgdtoa_la-strtoIQ.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIQ.lo `test -f 'strtoIQ.c' || echo '$(srcdir)/'`strtoIQ.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIQ.lo `test -f 'strtoIQ.c' || echo '$(srcdir)/'`strtoIQ.c
|
||||
|
||||
libgdtoa_la-strtoId.lo: strtoId.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoId.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtoId.Tpo" -c -o libgdtoa_la-strtoId.lo `test -f 'strtoId.c' || echo '$(srcdir)/'`strtoId.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtoId.Tpo" "$(DEPDIR)/libgdtoa_la-strtoId.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtoId.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoId.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtoId.Tpo -c -o libgdtoa_la-strtoId.lo `test -f 'strtoId.c' || echo '$(srcdir)/'`strtoId.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtoId.Tpo $(DEPDIR)/libgdtoa_la-strtoId.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtoId.c' object='libgdtoa_la-strtoId.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoId.lo `test -f 'strtoId.c' || echo '$(srcdir)/'`strtoId.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoId.lo `test -f 'strtoId.c' || echo '$(srcdir)/'`strtoId.c
|
||||
|
||||
libgdtoa_la-strtoIdd.lo: strtoIdd.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIdd.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtoIdd.Tpo" -c -o libgdtoa_la-strtoIdd.lo `test -f 'strtoIdd.c' || echo '$(srcdir)/'`strtoIdd.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtoIdd.Tpo" "$(DEPDIR)/libgdtoa_la-strtoIdd.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtoIdd.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIdd.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtoIdd.Tpo -c -o libgdtoa_la-strtoIdd.lo `test -f 'strtoIdd.c' || echo '$(srcdir)/'`strtoIdd.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtoIdd.Tpo $(DEPDIR)/libgdtoa_la-strtoIdd.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtoIdd.c' object='libgdtoa_la-strtoIdd.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIdd.lo `test -f 'strtoIdd.c' || echo '$(srcdir)/'`strtoIdd.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIdd.lo `test -f 'strtoIdd.c' || echo '$(srcdir)/'`strtoIdd.c
|
||||
|
||||
libgdtoa_la-strtoIf.lo: strtoIf.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIf.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtoIf.Tpo" -c -o libgdtoa_la-strtoIf.lo `test -f 'strtoIf.c' || echo '$(srcdir)/'`strtoIf.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtoIf.Tpo" "$(DEPDIR)/libgdtoa_la-strtoIf.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtoIf.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIf.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtoIf.Tpo -c -o libgdtoa_la-strtoIf.lo `test -f 'strtoIf.c' || echo '$(srcdir)/'`strtoIf.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtoIf.Tpo $(DEPDIR)/libgdtoa_la-strtoIf.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtoIf.c' object='libgdtoa_la-strtoIf.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIf.lo `test -f 'strtoIf.c' || echo '$(srcdir)/'`strtoIf.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIf.lo `test -f 'strtoIf.c' || echo '$(srcdir)/'`strtoIf.c
|
||||
|
||||
libgdtoa_la-strtoIg.lo: strtoIg.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIg.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtoIg.Tpo" -c -o libgdtoa_la-strtoIg.lo `test -f 'strtoIg.c' || echo '$(srcdir)/'`strtoIg.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtoIg.Tpo" "$(DEPDIR)/libgdtoa_la-strtoIg.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtoIg.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIg.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtoIg.Tpo -c -o libgdtoa_la-strtoIg.lo `test -f 'strtoIg.c' || echo '$(srcdir)/'`strtoIg.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtoIg.Tpo $(DEPDIR)/libgdtoa_la-strtoIg.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtoIg.c' object='libgdtoa_la-strtoIg.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIg.lo `test -f 'strtoIg.c' || echo '$(srcdir)/'`strtoIg.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIg.lo `test -f 'strtoIg.c' || echo '$(srcdir)/'`strtoIg.c
|
||||
|
||||
libgdtoa_la-strtoIx.lo: strtoIx.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIx.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtoIx.Tpo" -c -o libgdtoa_la-strtoIx.lo `test -f 'strtoIx.c' || echo '$(srcdir)/'`strtoIx.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtoIx.Tpo" "$(DEPDIR)/libgdtoa_la-strtoIx.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtoIx.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIx.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtoIx.Tpo -c -o libgdtoa_la-strtoIx.lo `test -f 'strtoIx.c' || echo '$(srcdir)/'`strtoIx.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtoIx.Tpo $(DEPDIR)/libgdtoa_la-strtoIx.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtoIx.c' object='libgdtoa_la-strtoIx.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIx.lo `test -f 'strtoIx.c' || echo '$(srcdir)/'`strtoIx.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIx.lo `test -f 'strtoIx.c' || echo '$(srcdir)/'`strtoIx.c
|
||||
|
||||
libgdtoa_la-strtoIxL.lo: strtoIxL.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIxL.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtoIxL.Tpo" -c -o libgdtoa_la-strtoIxL.lo `test -f 'strtoIxL.c' || echo '$(srcdir)/'`strtoIxL.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtoIxL.Tpo" "$(DEPDIR)/libgdtoa_la-strtoIxL.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtoIxL.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtoIxL.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtoIxL.Tpo -c -o libgdtoa_la-strtoIxL.lo `test -f 'strtoIxL.c' || echo '$(srcdir)/'`strtoIxL.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtoIxL.Tpo $(DEPDIR)/libgdtoa_la-strtoIxL.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtoIxL.c' object='libgdtoa_la-strtoIxL.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIxL.lo `test -f 'strtoIxL.c' || echo '$(srcdir)/'`strtoIxL.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtoIxL.lo `test -f 'strtoIxL.c' || echo '$(srcdir)/'`strtoIxL.c
|
||||
|
||||
libgdtoa_la-strtod.lo: strtod.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtod.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtod.Tpo" -c -o libgdtoa_la-strtod.lo `test -f 'strtod.c' || echo '$(srcdir)/'`strtod.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtod.Tpo" "$(DEPDIR)/libgdtoa_la-strtod.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtod.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtod.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtod.Tpo -c -o libgdtoa_la-strtod.lo `test -f 'strtod.c' || echo '$(srcdir)/'`strtod.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtod.Tpo $(DEPDIR)/libgdtoa_la-strtod.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtod.c' object='libgdtoa_la-strtod.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtod.lo `test -f 'strtod.c' || echo '$(srcdir)/'`strtod.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtod.lo `test -f 'strtod.c' || echo '$(srcdir)/'`strtod.c
|
||||
|
||||
libgdtoa_la-strtodI.lo: strtodI.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtodI.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtodI.Tpo" -c -o libgdtoa_la-strtodI.lo `test -f 'strtodI.c' || echo '$(srcdir)/'`strtodI.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtodI.Tpo" "$(DEPDIR)/libgdtoa_la-strtodI.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtodI.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtodI.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtodI.Tpo -c -o libgdtoa_la-strtodI.lo `test -f 'strtodI.c' || echo '$(srcdir)/'`strtodI.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtodI.Tpo $(DEPDIR)/libgdtoa_la-strtodI.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtodI.c' object='libgdtoa_la-strtodI.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtodI.lo `test -f 'strtodI.c' || echo '$(srcdir)/'`strtodI.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtodI.lo `test -f 'strtodI.c' || echo '$(srcdir)/'`strtodI.c
|
||||
|
||||
libgdtoa_la-strtodg.lo: strtodg.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtodg.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtodg.Tpo" -c -o libgdtoa_la-strtodg.lo `test -f 'strtodg.c' || echo '$(srcdir)/'`strtodg.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtodg.Tpo" "$(DEPDIR)/libgdtoa_la-strtodg.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtodg.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtodg.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtodg.Tpo -c -o libgdtoa_la-strtodg.lo `test -f 'strtodg.c' || echo '$(srcdir)/'`strtodg.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtodg.Tpo $(DEPDIR)/libgdtoa_la-strtodg.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtodg.c' object='libgdtoa_la-strtodg.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtodg.lo `test -f 'strtodg.c' || echo '$(srcdir)/'`strtodg.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtodg.lo `test -f 'strtodg.c' || echo '$(srcdir)/'`strtodg.c
|
||||
|
||||
libgdtoa_la-strtof.lo: strtof.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtof.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtof.Tpo" -c -o libgdtoa_la-strtof.lo `test -f 'strtof.c' || echo '$(srcdir)/'`strtof.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtof.Tpo" "$(DEPDIR)/libgdtoa_la-strtof.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtof.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtof.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtof.Tpo -c -o libgdtoa_la-strtof.lo `test -f 'strtof.c' || echo '$(srcdir)/'`strtof.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtof.Tpo $(DEPDIR)/libgdtoa_la-strtof.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtof.c' object='libgdtoa_la-strtof.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtof.lo `test -f 'strtof.c' || echo '$(srcdir)/'`strtof.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtof.lo `test -f 'strtof.c' || echo '$(srcdir)/'`strtof.c
|
||||
|
||||
libgdtoa_la-strtopQ.lo: strtopQ.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopQ.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtopQ.Tpo" -c -o libgdtoa_la-strtopQ.lo `test -f 'strtopQ.c' || echo '$(srcdir)/'`strtopQ.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtopQ.Tpo" "$(DEPDIR)/libgdtoa_la-strtopQ.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtopQ.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopQ.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtopQ.Tpo -c -o libgdtoa_la-strtopQ.lo `test -f 'strtopQ.c' || echo '$(srcdir)/'`strtopQ.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtopQ.Tpo $(DEPDIR)/libgdtoa_la-strtopQ.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtopQ.c' object='libgdtoa_la-strtopQ.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopQ.lo `test -f 'strtopQ.c' || echo '$(srcdir)/'`strtopQ.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopQ.lo `test -f 'strtopQ.c' || echo '$(srcdir)/'`strtopQ.c
|
||||
|
||||
libgdtoa_la-strtopd.lo: strtopd.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopd.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtopd.Tpo" -c -o libgdtoa_la-strtopd.lo `test -f 'strtopd.c' || echo '$(srcdir)/'`strtopd.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtopd.Tpo" "$(DEPDIR)/libgdtoa_la-strtopd.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtopd.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopd.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtopd.Tpo -c -o libgdtoa_la-strtopd.lo `test -f 'strtopd.c' || echo '$(srcdir)/'`strtopd.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtopd.Tpo $(DEPDIR)/libgdtoa_la-strtopd.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtopd.c' object='libgdtoa_la-strtopd.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopd.lo `test -f 'strtopd.c' || echo '$(srcdir)/'`strtopd.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopd.lo `test -f 'strtopd.c' || echo '$(srcdir)/'`strtopd.c
|
||||
|
||||
libgdtoa_la-strtopdd.lo: strtopdd.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopdd.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtopdd.Tpo" -c -o libgdtoa_la-strtopdd.lo `test -f 'strtopdd.c' || echo '$(srcdir)/'`strtopdd.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtopdd.Tpo" "$(DEPDIR)/libgdtoa_la-strtopdd.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtopdd.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopdd.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtopdd.Tpo -c -o libgdtoa_la-strtopdd.lo `test -f 'strtopdd.c' || echo '$(srcdir)/'`strtopdd.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtopdd.Tpo $(DEPDIR)/libgdtoa_la-strtopdd.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtopdd.c' object='libgdtoa_la-strtopdd.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopdd.lo `test -f 'strtopdd.c' || echo '$(srcdir)/'`strtopdd.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopdd.lo `test -f 'strtopdd.c' || echo '$(srcdir)/'`strtopdd.c
|
||||
|
||||
libgdtoa_la-strtopf.lo: strtopf.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopf.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtopf.Tpo" -c -o libgdtoa_la-strtopf.lo `test -f 'strtopf.c' || echo '$(srcdir)/'`strtopf.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtopf.Tpo" "$(DEPDIR)/libgdtoa_la-strtopf.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtopf.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopf.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtopf.Tpo -c -o libgdtoa_la-strtopf.lo `test -f 'strtopf.c' || echo '$(srcdir)/'`strtopf.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtopf.Tpo $(DEPDIR)/libgdtoa_la-strtopf.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtopf.c' object='libgdtoa_la-strtopf.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopf.lo `test -f 'strtopf.c' || echo '$(srcdir)/'`strtopf.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopf.lo `test -f 'strtopf.c' || echo '$(srcdir)/'`strtopf.c
|
||||
|
||||
libgdtoa_la-strtopx.lo: strtopx.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopx.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtopx.Tpo" -c -o libgdtoa_la-strtopx.lo `test -f 'strtopx.c' || echo '$(srcdir)/'`strtopx.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtopx.Tpo" "$(DEPDIR)/libgdtoa_la-strtopx.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtopx.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopx.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtopx.Tpo -c -o libgdtoa_la-strtopx.lo `test -f 'strtopx.c' || echo '$(srcdir)/'`strtopx.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtopx.Tpo $(DEPDIR)/libgdtoa_la-strtopx.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtopx.c' object='libgdtoa_la-strtopx.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopx.lo `test -f 'strtopx.c' || echo '$(srcdir)/'`strtopx.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopx.lo `test -f 'strtopx.c' || echo '$(srcdir)/'`strtopx.c
|
||||
|
||||
libgdtoa_la-strtopxL.lo: strtopxL.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopxL.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtopxL.Tpo" -c -o libgdtoa_la-strtopxL.lo `test -f 'strtopxL.c' || echo '$(srcdir)/'`strtopxL.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtopxL.Tpo" "$(DEPDIR)/libgdtoa_la-strtopxL.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtopxL.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtopxL.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtopxL.Tpo -c -o libgdtoa_la-strtopxL.lo `test -f 'strtopxL.c' || echo '$(srcdir)/'`strtopxL.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtopxL.Tpo $(DEPDIR)/libgdtoa_la-strtopxL.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtopxL.c' object='libgdtoa_la-strtopxL.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopxL.lo `test -f 'strtopxL.c' || echo '$(srcdir)/'`strtopxL.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtopxL.lo `test -f 'strtopxL.c' || echo '$(srcdir)/'`strtopxL.c
|
||||
|
||||
libgdtoa_la-strtorQ.lo: strtorQ.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorQ.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtorQ.Tpo" -c -o libgdtoa_la-strtorQ.lo `test -f 'strtorQ.c' || echo '$(srcdir)/'`strtorQ.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtorQ.Tpo" "$(DEPDIR)/libgdtoa_la-strtorQ.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtorQ.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorQ.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtorQ.Tpo -c -o libgdtoa_la-strtorQ.lo `test -f 'strtorQ.c' || echo '$(srcdir)/'`strtorQ.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtorQ.Tpo $(DEPDIR)/libgdtoa_la-strtorQ.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtorQ.c' object='libgdtoa_la-strtorQ.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorQ.lo `test -f 'strtorQ.c' || echo '$(srcdir)/'`strtorQ.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorQ.lo `test -f 'strtorQ.c' || echo '$(srcdir)/'`strtorQ.c
|
||||
|
||||
libgdtoa_la-strtord.lo: strtord.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtord.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtord.Tpo" -c -o libgdtoa_la-strtord.lo `test -f 'strtord.c' || echo '$(srcdir)/'`strtord.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtord.Tpo" "$(DEPDIR)/libgdtoa_la-strtord.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtord.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtord.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtord.Tpo -c -o libgdtoa_la-strtord.lo `test -f 'strtord.c' || echo '$(srcdir)/'`strtord.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtord.Tpo $(DEPDIR)/libgdtoa_la-strtord.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtord.c' object='libgdtoa_la-strtord.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtord.lo `test -f 'strtord.c' || echo '$(srcdir)/'`strtord.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtord.lo `test -f 'strtord.c' || echo '$(srcdir)/'`strtord.c
|
||||
|
||||
libgdtoa_la-strtordd.lo: strtordd.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtordd.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtordd.Tpo" -c -o libgdtoa_la-strtordd.lo `test -f 'strtordd.c' || echo '$(srcdir)/'`strtordd.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtordd.Tpo" "$(DEPDIR)/libgdtoa_la-strtordd.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtordd.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtordd.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtordd.Tpo -c -o libgdtoa_la-strtordd.lo `test -f 'strtordd.c' || echo '$(srcdir)/'`strtordd.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtordd.Tpo $(DEPDIR)/libgdtoa_la-strtordd.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtordd.c' object='libgdtoa_la-strtordd.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtordd.lo `test -f 'strtordd.c' || echo '$(srcdir)/'`strtordd.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtordd.lo `test -f 'strtordd.c' || echo '$(srcdir)/'`strtordd.c
|
||||
|
||||
libgdtoa_la-strtorf.lo: strtorf.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorf.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtorf.Tpo" -c -o libgdtoa_la-strtorf.lo `test -f 'strtorf.c' || echo '$(srcdir)/'`strtorf.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtorf.Tpo" "$(DEPDIR)/libgdtoa_la-strtorf.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtorf.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorf.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtorf.Tpo -c -o libgdtoa_la-strtorf.lo `test -f 'strtorf.c' || echo '$(srcdir)/'`strtorf.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtorf.Tpo $(DEPDIR)/libgdtoa_la-strtorf.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtorf.c' object='libgdtoa_la-strtorf.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorf.lo `test -f 'strtorf.c' || echo '$(srcdir)/'`strtorf.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorf.lo `test -f 'strtorf.c' || echo '$(srcdir)/'`strtorf.c
|
||||
|
||||
libgdtoa_la-strtorx.lo: strtorx.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorx.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtorx.Tpo" -c -o libgdtoa_la-strtorx.lo `test -f 'strtorx.c' || echo '$(srcdir)/'`strtorx.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtorx.Tpo" "$(DEPDIR)/libgdtoa_la-strtorx.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtorx.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorx.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtorx.Tpo -c -o libgdtoa_la-strtorx.lo `test -f 'strtorx.c' || echo '$(srcdir)/'`strtorx.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtorx.Tpo $(DEPDIR)/libgdtoa_la-strtorx.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtorx.c' object='libgdtoa_la-strtorx.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorx.lo `test -f 'strtorx.c' || echo '$(srcdir)/'`strtorx.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorx.lo `test -f 'strtorx.c' || echo '$(srcdir)/'`strtorx.c
|
||||
|
||||
libgdtoa_la-strtorxL.lo: strtorxL.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorxL.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-strtorxL.Tpo" -c -o libgdtoa_la-strtorxL.lo `test -f 'strtorxL.c' || echo '$(srcdir)/'`strtorxL.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-strtorxL.Tpo" "$(DEPDIR)/libgdtoa_la-strtorxL.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-strtorxL.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-strtorxL.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-strtorxL.Tpo -c -o libgdtoa_la-strtorxL.lo `test -f 'strtorxL.c' || echo '$(srcdir)/'`strtorxL.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-strtorxL.Tpo $(DEPDIR)/libgdtoa_la-strtorxL.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='strtorxL.c' object='libgdtoa_la-strtorxL.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorxL.lo `test -f 'strtorxL.c' || echo '$(srcdir)/'`strtorxL.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-strtorxL.lo `test -f 'strtorxL.c' || echo '$(srcdir)/'`strtorxL.c
|
||||
|
||||
libgdtoa_la-sum.lo: sum.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-sum.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-sum.Tpo" -c -o libgdtoa_la-sum.lo `test -f 'sum.c' || echo '$(srcdir)/'`sum.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-sum.Tpo" "$(DEPDIR)/libgdtoa_la-sum.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-sum.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-sum.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-sum.Tpo -c -o libgdtoa_la-sum.lo `test -f 'sum.c' || echo '$(srcdir)/'`sum.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-sum.Tpo $(DEPDIR)/libgdtoa_la-sum.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='sum.c' object='libgdtoa_la-sum.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-sum.lo `test -f 'sum.c' || echo '$(srcdir)/'`sum.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-sum.lo `test -f 'sum.c' || echo '$(srcdir)/'`sum.c
|
||||
|
||||
libgdtoa_la-ulp.lo: ulp.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-ulp.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-ulp.Tpo" -c -o libgdtoa_la-ulp.lo `test -f 'ulp.c' || echo '$(srcdir)/'`ulp.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-ulp.Tpo" "$(DEPDIR)/libgdtoa_la-ulp.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-ulp.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-ulp.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-ulp.Tpo -c -o libgdtoa_la-ulp.lo `test -f 'ulp.c' || echo '$(srcdir)/'`ulp.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-ulp.Tpo $(DEPDIR)/libgdtoa_la-ulp.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='ulp.c' object='libgdtoa_la-ulp.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-ulp.lo `test -f 'ulp.c' || echo '$(srcdir)/'`ulp.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-ulp.lo `test -f 'ulp.c' || echo '$(srcdir)/'`ulp.c
|
||||
|
||||
libgdtoa_la-arithchk.lo: arithchk.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-arithchk.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-arithchk.Tpo" -c -o libgdtoa_la-arithchk.lo `test -f 'arithchk.c' || echo '$(srcdir)/'`arithchk.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-arithchk.Tpo" "$(DEPDIR)/libgdtoa_la-arithchk.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-arithchk.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-arithchk.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-arithchk.Tpo -c -o libgdtoa_la-arithchk.lo `test -f 'arithchk.c' || echo '$(srcdir)/'`arithchk.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-arithchk.Tpo $(DEPDIR)/libgdtoa_la-arithchk.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arithchk.c' object='libgdtoa_la-arithchk.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-arithchk.lo `test -f 'arithchk.c' || echo '$(srcdir)/'`arithchk.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-arithchk.lo `test -f 'arithchk.c' || echo '$(srcdir)/'`arithchk.c
|
||||
|
||||
libgdtoa_la-qnan.lo: qnan.c
|
||||
@am__fastdepCC_TRUE@ if $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-qnan.lo -MD -MP -MF "$(DEPDIR)/libgdtoa_la-qnan.Tpo" -c -o libgdtoa_la-qnan.lo `test -f 'qnan.c' || echo '$(srcdir)/'`qnan.c; \
|
||||
@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/libgdtoa_la-qnan.Tpo" "$(DEPDIR)/libgdtoa_la-qnan.Plo"; else rm -f "$(DEPDIR)/libgdtoa_la-qnan.Tpo"; exit 1; fi
|
||||
@am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT libgdtoa_la-qnan.lo -MD -MP -MF $(DEPDIR)/libgdtoa_la-qnan.Tpo -c -o libgdtoa_la-qnan.lo `test -f 'qnan.c' || echo '$(srcdir)/'`qnan.c
|
||||
@am__fastdepCC_TRUE@ mv -f $(DEPDIR)/libgdtoa_la-qnan.Tpo $(DEPDIR)/libgdtoa_la-qnan.Plo
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='qnan.c' object='libgdtoa_la-qnan.lo' libtool=yes @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-qnan.lo `test -f 'qnan.c' || echo '$(srcdir)/'`qnan.c
|
||||
@am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libgdtoa_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o libgdtoa_la-qnan.lo `test -f 'qnan.c' || echo '$(srcdir)/'`qnan.c
|
||||
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
|
@ -694,10 +698,9 @@ clean-libtool:
|
|||
|
||||
distclean-libtool:
|
||||
-rm -f libtool
|
||||
uninstall-info-am:
|
||||
install-pkgincludeHEADERS: $(pkginclude_HEADERS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(pkgincludedir)" || $(mkdir_p) "$(DESTDIR)$(pkgincludedir)"
|
||||
test -z "$(pkgincludedir)" || $(MKDIR_P) "$(DESTDIR)$(pkgincludedir)"
|
||||
@list='$(pkginclude_HEADERS)'; for p in $$list; do \
|
||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||
f=$(am__strip_dir) \
|
||||
|
|
@ -763,24 +766,22 @@ distclean-tags:
|
|||
|
||||
distdir: $(DISTFILES)
|
||||
$(am__remove_distdir)
|
||||
mkdir $(distdir)
|
||||
$(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; \
|
||||
test -d $(distdir) || mkdir $(distdir)
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
list='$(DISTFILES)'; \
|
||||
dist_files=`for file in $$list; do echo $$file; done | \
|
||||
sed -e "s|^$$srcdirstrip/||;t" \
|
||||
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
||||
case $$dist_files in \
|
||||
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
||||
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
||||
sort -u` ;; \
|
||||
esac; \
|
||||
for file in $$dist_files; do \
|
||||
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 \
|
||||
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
||||
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
||||
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
||||
fi; \
|
||||
|
|
@ -794,7 +795,7 @@ distdir: $(DISTFILES)
|
|||
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
||||
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
||||
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
||||
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
||||
|| chmod -R a+r $(distdir)
|
||||
dist-gzip: distdir
|
||||
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
||||
|
|
@ -869,7 +870,7 @@ distcheck: dist
|
|||
$(am__remove_distdir)
|
||||
@(echo "$(distdir) archives ready for distribution: "; \
|
||||
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
||||
sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
|
||||
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
||||
distuninstallcheck:
|
||||
@cd $(distuninstallcheck_dir) \
|
||||
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
||||
|
|
@ -893,7 +894,7 @@ check: check-am
|
|||
all-am: Makefile $(LTLIBRARIES) $(HEADERS) acconf.h
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgincludedir)"; do \
|
||||
test -z "$$dir" || $(mkdir_p) "$$dir"; \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: install-am
|
||||
install-exec: install-exec-am
|
||||
|
|
@ -945,12 +946,20 @@ info-am:
|
|||
|
||||
install-data-am: install-pkgincludeHEADERS
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
install-exec-am: install-libLTLIBRARIES
|
||||
|
||||
install-html: install-html-am
|
||||
|
||||
install-info: install-info-am
|
||||
|
||||
install-man:
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
install-ps: install-ps-am
|
||||
|
||||
installcheck-am:
|
||||
|
||||
maintainer-clean: maintainer-clean-am
|
||||
|
|
@ -973,8 +982,9 @@ ps: ps-am
|
|||
|
||||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
|
||||
uninstall-pkgincludeHEADERS
|
||||
uninstall-am: uninstall-libLTLIBRARIES uninstall-pkgincludeHEADERS
|
||||
|
||||
.MAKE: install-am install-strip
|
||||
|
||||
.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \
|
||||
clean-generic clean-libLTLIBRARIES clean-libtool ctags dist \
|
||||
|
|
@ -983,29 +993,29 @@ uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
|
|||
distclean-hdr distclean-libtool distclean-tags distcleancheck \
|
||||
distdir distuninstallcheck dvi dvi-am html html-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-exec install-exec-am install-info install-info-am \
|
||||
install-libLTLIBRARIES install-man install-pkgincludeHEADERS \
|
||||
install-dvi install-dvi-am install-exec install-exec-am \
|
||||
install-html install-html-am install-info install-info-am \
|
||||
install-libLTLIBRARIES install-man install-pdf install-pdf-am \
|
||||
install-pkgincludeHEADERS install-ps install-ps-am \
|
||||
install-strip 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-info-am uninstall-libLTLIBRARIES \
|
||||
uninstall-pkgincludeHEADERS
|
||||
uninstall-libLTLIBRARIES uninstall-pkgincludeHEADERS
|
||||
|
||||
|
||||
$(libgdtoa_la_SOURCES): arith.h gd_qnan.h
|
||||
|
||||
arith.h: arithchk.c
|
||||
mkdir -p $(includedir)
|
||||
$(CC) $(CFLAGS) -o $(prefix)/arithchk $< || \
|
||||
$(CC) -DNO_LONG_LONG $(CFLAGS) -o $(prefix)/arithchk $<
|
||||
$(prefix)/arithchk > $(includedir)/$@
|
||||
rm -f $(prefix)/arithchk
|
||||
$(CC) $(CFLAGS) -o $(srcdir)/arithchk $< || \
|
||||
$(CC) -DNO_LONG_LONG $(CFLAGS) -o $(srcdir)/arithchk $<
|
||||
$(srcdir)/arithchk > $(srcdir)/$@
|
||||
rm -f $(srcdir)/arithchk
|
||||
|
||||
gd_qnan.h: qnan.c arith.h
|
||||
$(CC) $(CFLAGS) -o $(prefix)/qnan -I$(includedir) $<
|
||||
$(prefix)/qnan > $(includedir)/$@
|
||||
rm -f $(prefix)/qnan
|
||||
$(CC) $(CFLAGS) -o $(srcdir)/qnan -I$(srcdir) $<
|
||||
$(srcdir)/qnan > $(srcdir)/$@
|
||||
rm -f $(srcdir)/qnan
|
||||
# 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:
|
||||
|
|
|
|||
174
gdtoa/aclocal.m4
vendored
174
gdtoa/aclocal.m4
vendored
|
|
@ -1,7 +1,7 @@
|
|||
# generated automatically by aclocal 1.9.6 -*- Autoconf -*-
|
||||
# generated automatically by aclocal 1.10 -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005 Free Software Foundation, Inc.
|
||||
# 2005, 2006 Free Software Foundation, Inc.
|
||||
# This file 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.
|
||||
|
|
@ -11,6 +11,11 @@
|
|||
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
# PARTICULAR PURPOSE.
|
||||
|
||||
m4_if(m4_PACKAGE_VERSION, [2.61],,
|
||||
[m4_fatal([this file was generated for autoconf 2.61.
|
||||
You have another version of autoconf. If you want to use that,
|
||||
you should regenerate the build system entirely.], [63])])
|
||||
|
||||
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
|
||||
|
||||
# serial 48 AC_PROG_LIBTOOL
|
||||
|
|
@ -6388,7 +6393,7 @@ SED=$lt_cv_path_SED
|
|||
AC_MSG_RESULT([$SED])
|
||||
])
|
||||
|
||||
# Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
|
|
@ -6398,14 +6403,29 @@ AC_MSG_RESULT([$SED])
|
|||
# ----------------------------
|
||||
# Automake X.Y traces this macro to ensure aclocal.m4 has been
|
||||
# generated from the m4 files accompanying Automake X.Y.
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"])
|
||||
# (This private macro should not be called outside this file.)
|
||||
AC_DEFUN([AM_AUTOMAKE_VERSION],
|
||||
[am__api_version='1.10'
|
||||
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
|
||||
dnl require some minimum version. Point them to the right macro.
|
||||
m4_if([$1], [1.10], [],
|
||||
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
|
||||
])
|
||||
|
||||
# _AM_AUTOCONF_VERSION(VERSION)
|
||||
# -----------------------------
|
||||
# aclocal traces this macro to find the Autoconf version.
|
||||
# This is a private macro too. Using m4_define simplifies
|
||||
# the logic in aclocal, which can simply ignore this definition.
|
||||
m4_define([_AM_AUTOCONF_VERSION], [])
|
||||
|
||||
# AM_SET_CURRENT_AUTOMAKE_VERSION
|
||||
# -------------------------------
|
||||
# Call AM_AUTOMAKE_VERSION so it can be traced.
|
||||
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
|
||||
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
|
||||
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
|
||||
[AM_AUTOMAKE_VERSION([1.9.6])])
|
||||
[AM_AUTOMAKE_VERSION([1.10])dnl
|
||||
_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)])
|
||||
|
||||
# AM_AUX_DIR_EXPAND -*- Autoconf -*-
|
||||
|
||||
|
|
@ -6462,14 +6482,14 @@ am_aux_dir=`cd $ac_aux_dir && pwd`
|
|||
|
||||
# AM_CONDITIONAL -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005
|
||||
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 7
|
||||
# serial 8
|
||||
|
||||
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
|
||||
# -------------------------------------
|
||||
|
|
@ -6478,8 +6498,10 @@ AC_DEFUN([AM_CONDITIONAL],
|
|||
[AC_PREREQ(2.52)dnl
|
||||
ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
|
||||
[$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
|
||||
AC_SUBST([$1_TRUE])
|
||||
AC_SUBST([$1_FALSE])
|
||||
AC_SUBST([$1_TRUE])dnl
|
||||
AC_SUBST([$1_FALSE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
|
||||
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
|
||||
if $2; then
|
||||
$1_TRUE=
|
||||
$1_FALSE='#'
|
||||
|
|
@ -6493,15 +6515,14 @@ AC_CONFIG_COMMANDS_PRE(
|
|||
Usually this means the macro was only invoked conditionally.]])
|
||||
fi])])
|
||||
|
||||
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 8
|
||||
# serial 9
|
||||
|
||||
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
|
||||
# written in clear, in which case automake, when reading aclocal.m4,
|
||||
|
|
@ -6529,6 +6550,7 @@ AC_REQUIRE([AM_DEP_TRACK])dnl
|
|||
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
|
||||
[$1], CXX, [depcc="$CXX" am_compiler_list=],
|
||||
[$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
|
||||
[$1], UPC, [depcc="$UPC" am_compiler_list=],
|
||||
[$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
|
||||
[depcc="$$1" am_compiler_list=])
|
||||
|
||||
|
|
@ -6594,6 +6616,7 @@ AC_CACHE_CHECK([dependency style of $depcc],
|
|||
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
||||
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
||||
>/dev/null 2>conftest.err &&
|
||||
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
||||
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
||||
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
||||
|
|
@ -6646,7 +6669,8 @@ if test "x$enable_dependency_tracking" != xno; then
|
|||
AMDEPBACKSLASH='\'
|
||||
fi
|
||||
AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
|
||||
AC_SUBST([AMDEPBACKSLASH])
|
||||
AC_SUBST([AMDEPBACKSLASH])dnl
|
||||
_AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
|
||||
])
|
||||
|
||||
# Generate code to set up dependency tracking. -*- Autoconf -*-
|
||||
|
|
@ -6671,8 +6695,9 @@ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||
# some people rename them; so instead we look at the file content.
|
||||
# Grep'ing the first line is not enough: some people post-process
|
||||
# each Makefile.in and add a new line on top of each file to say so.
|
||||
# So let's grep whole file.
|
||||
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
||||
# Grep'ing the whole file is not good either: AIX grep has a line
|
||||
# limit of 2048, but all sed's we know have understand at least 4000.
|
||||
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
|
||||
dirpart=`AS_DIRNAME("$mf")`
|
||||
else
|
||||
continue
|
||||
|
|
@ -6719,8 +6744,8 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||
|
||||
# Do all the work for Automake. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
||||
# 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
|
|
@ -6743,16 +6768,20 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
|
|||
# arguments mandatory, and then we can depend on a new Autoconf
|
||||
# release and drop the old call support.
|
||||
AC_DEFUN([AM_INIT_AUTOMAKE],
|
||||
[AC_PREREQ([2.58])dnl
|
||||
[AC_PREREQ([2.60])dnl
|
||||
dnl Autoconf wants to disallow AM_ names. We explicitly allow
|
||||
dnl the ones we care about.
|
||||
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
|
||||
AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
|
||||
AC_REQUIRE([AC_PROG_INSTALL])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
||||
test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
||||
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
||||
# is not polluted with repeated "-I."
|
||||
AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
|
||||
# test to see if srcdir already configured
|
||||
if test -f $srcdir/config.status; then
|
||||
AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
|
||||
fi
|
||||
fi
|
||||
|
||||
# test whether we have cygpath
|
||||
|
|
@ -6772,6 +6801,9 @@ m4_ifval([$2],
|
|||
AC_SUBST([PACKAGE], [$1])dnl
|
||||
AC_SUBST([VERSION], [$2])],
|
||||
[_AM_SET_OPTIONS([$1])dnl
|
||||
dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
|
||||
m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
|
||||
[m4_fatal([AC_INIT should be called with package and version arguments])])dnl
|
||||
AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
|
||||
AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
|
||||
|
||||
|
|
@ -6807,6 +6839,10 @@ AC_PROVIDE_IFELSE([AC_PROG_CXX],
|
|||
[_AM_DEPENDENCIES(CXX)],
|
||||
[define([AC_PROG_CXX],
|
||||
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
|
||||
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
|
||||
[_AM_DEPENDENCIES(OBJC)],
|
||||
[define([AC_PROG_OBJC],
|
||||
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
|
||||
])
|
||||
])
|
||||
|
||||
|
|
@ -6842,7 +6878,7 @@ echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count])
|
|||
# Define $install_sh.
|
||||
AC_DEFUN([AM_PROG_INSTALL_SH],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
||||
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
|
||||
AC_SUBST(install_sh)])
|
||||
|
||||
# Copyright (C) 2003, 2005 Free Software Foundation, Inc.
|
||||
|
|
@ -6920,14 +6956,14 @@ rm -f confinc confmf
|
|||
|
||||
# Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005
|
||||
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
|
||||
# Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# serial 4
|
||||
# serial 5
|
||||
|
||||
# AM_MISSING_PROG(NAME, PROGRAM)
|
||||
# ------------------------------
|
||||
|
|
@ -6943,6 +6979,7 @@ AC_SUBST($1)])
|
|||
# If it does, set am_missing_run to use it, otherwise, to nothing.
|
||||
AC_DEFUN([AM_MISSING_HAS_RUN],
|
||||
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
|
||||
AC_REQUIRE_AUX_FILE([missing])dnl
|
||||
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
||||
# Use eval to expand $SHELL
|
||||
if eval "$MISSING --run true"; then
|
||||
|
|
@ -6953,7 +6990,7 @@ else
|
|||
fi
|
||||
])
|
||||
|
||||
# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
|
||||
# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file is free software; the Free Software Foundation
|
||||
# gives unlimited permission to copy and/or distribute it,
|
||||
|
|
@ -6961,60 +6998,23 @@ fi
|
|||
|
||||
# AM_PROG_MKDIR_P
|
||||
# ---------------
|
||||
# Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise.
|
||||
#
|
||||
# Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories
|
||||
# created by `make install' are always world readable, even if the
|
||||
# installer happens to have an overly restrictive umask (e.g. 077).
|
||||
# This was a mistake. There are at least two reasons why we must not
|
||||
# use `-m 0755':
|
||||
# - it causes special bits like SGID to be ignored,
|
||||
# - it may be too restrictive (some setups expect 775 directories).
|
||||
#
|
||||
# Do not use -m 0755 and let people choose whatever they expect by
|
||||
# setting umask.
|
||||
#
|
||||
# We cannot accept any implementation of `mkdir' that recognizes `-p'.
|
||||
# Some implementations (such as Solaris 8's) are not thread-safe: if a
|
||||
# parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c'
|
||||
# concurrently, both version can detect that a/ is missing, but only
|
||||
# one can create it and the other will error out. Consequently we
|
||||
# restrict ourselves to GNU make (using the --version option ensures
|
||||
# this.)
|
||||
# Check for `mkdir -p'.
|
||||
AC_DEFUN([AM_PROG_MKDIR_P],
|
||||
[if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
||||
# We used to keeping the `.' as first argument, in order to
|
||||
# allow $(mkdir_p) to be used without argument. As in
|
||||
# $(mkdir_p) $(somedir)
|
||||
# where $(somedir) is conditionally defined. However this is wrong
|
||||
# for two reasons:
|
||||
# 1. if the package is installed by a user who cannot write `.'
|
||||
# make install will fail,
|
||||
# 2. the above comment should most certainly read
|
||||
# $(mkdir_p) $(DESTDIR)$(somedir)
|
||||
# so it does not work when $(somedir) is undefined and
|
||||
# $(DESTDIR) is not.
|
||||
# To support the latter case, we have to write
|
||||
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
||||
# so the `.' trick is pointless.
|
||||
mkdir_p='mkdir -p --'
|
||||
else
|
||||
# On NextStep and OpenStep, the `mkdir' command does not
|
||||
# recognize any option. It will interpret all options as
|
||||
# directories to create, and then abort because `.' already
|
||||
# exists.
|
||||
for d in ./-p ./--version;
|
||||
do
|
||||
test -d $d && rmdir $d
|
||||
done
|
||||
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
||||
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
||||
mkdir_p='$(mkinstalldirs)'
|
||||
else
|
||||
mkdir_p='$(install_sh) -d'
|
||||
fi
|
||||
fi
|
||||
AC_SUBST([mkdir_p])])
|
||||
[AC_PREREQ([2.60])dnl
|
||||
AC_REQUIRE([AC_PROG_MKDIR_P])dnl
|
||||
dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
|
||||
dnl while keeping a definition of mkdir_p for backward compatibility.
|
||||
dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
|
||||
dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
|
||||
dnl Makefile.ins that do not define MKDIR_P, so we do our own
|
||||
dnl adjustment using top_builddir (which is defined more often than
|
||||
dnl MKDIR_P).
|
||||
AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
|
||||
case $mkdir_p in
|
||||
[[\\/$]]* | ?:[[\\/]]*) ;;
|
||||
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
||||
esac
|
||||
])
|
||||
|
||||
# Helper functions for option handling. -*- Autoconf -*-
|
||||
|
||||
|
|
@ -7126,9 +7126,21 @@ dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
|
|||
if test "$cross_compiling" != no; then
|
||||
AC_CHECK_TOOL([STRIP], [strip], :)
|
||||
fi
|
||||
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
||||
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
||||
AC_SUBST([INSTALL_STRIP_PROGRAM])])
|
||||
|
||||
# Copyright (C) 2006 Free Software Foundation, Inc.
|
||||
#
|
||||
# This file 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.
|
||||
|
||||
# _AM_SUBST_NOTMAKE(VARIABLE)
|
||||
# ---------------------------
|
||||
# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in.
|
||||
# This macro is traced by Automake.
|
||||
AC_DEFUN([_AM_SUBST_NOTMAKE])
|
||||
|
||||
# Check how to create a tarball. -*- Autoconf -*-
|
||||
|
||||
# Copyright (C) 2004, 2005 Free Software Foundation, Inc.
|
||||
|
|
|
|||
1431
gdtoa/configure
vendored
1431
gdtoa/configure
vendored
File diff suppressed because it is too large
Load diff
342
install-sh
342
install-sh
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
# install - install a program, script, or datafile
|
||||
|
||||
scriptversion=2005-05-14.22
|
||||
scriptversion=2006-10-14.15
|
||||
|
||||
# This originates from X11R5 (mit/util/scripts/install.sh), which was
|
||||
# later released in X11R6 (xc/config/util/install.sh) with the
|
||||
|
|
@ -39,15 +39,24 @@ scriptversion=2005-05-14.22
|
|||
# when there is no Makefile.
|
||||
#
|
||||
# This script is compatible with the BSD install script, but was written
|
||||
# from scratch. It can only install one file at a time, a restriction
|
||||
# shared with many OS's install programs.
|
||||
# from scratch.
|
||||
|
||||
nl='
|
||||
'
|
||||
IFS=" "" $nl"
|
||||
|
||||
# set DOITPROG to echo to test this script
|
||||
|
||||
# Don't use :- since 4.3BSD and earlier shells don't like it.
|
||||
doit="${DOITPROG-}"
|
||||
if test -z "$doit"; then
|
||||
doit_exec=exec
|
||||
else
|
||||
doit_exec=$doit
|
||||
fi
|
||||
|
||||
# put in absolute paths if you don't have them in your path; or use env. vars.
|
||||
# Put in absolute file names if you don't have them in your path;
|
||||
# or use environment vars.
|
||||
|
||||
mvprog="${MVPROG-mv}"
|
||||
cpprog="${CPPROG-cp}"
|
||||
|
|
@ -58,7 +67,13 @@ stripprog="${STRIPPROG-strip}"
|
|||
rmprog="${RMPROG-rm}"
|
||||
mkdirprog="${MKDIRPROG-mkdir}"
|
||||
|
||||
chmodcmd="$chmodprog 0755"
|
||||
posix_glob=
|
||||
posix_mkdir=
|
||||
|
||||
# Desired mode of installed file.
|
||||
mode=0755
|
||||
|
||||
chmodcmd=$chmodprog
|
||||
chowncmd=
|
||||
chgrpcmd=
|
||||
stripcmd=
|
||||
|
|
@ -95,7 +110,7 @@ Environment variables override the default commands:
|
|||
CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
|
||||
"
|
||||
|
||||
while test -n "$1"; do
|
||||
while test $# -ne 0; do
|
||||
case $1 in
|
||||
-c) shift
|
||||
continue;;
|
||||
|
|
@ -111,9 +126,15 @@ while test -n "$1"; do
|
|||
|
||||
--help) echo "$usage"; exit $?;;
|
||||
|
||||
-m) chmodcmd="$chmodprog $2"
|
||||
-m) mode=$2
|
||||
shift
|
||||
shift
|
||||
case $mode in
|
||||
*' '* | *' '* | *'
|
||||
'* | *'*'* | *'?'* | *'['*)
|
||||
echo "$0: invalid mode: $mode" >&2
|
||||
exit 1;;
|
||||
esac
|
||||
continue;;
|
||||
|
||||
-o) chowncmd="$chownprog $2"
|
||||
|
|
@ -136,25 +157,33 @@ while test -n "$1"; do
|
|||
|
||||
--version) echo "$0 $scriptversion"; exit $?;;
|
||||
|
||||
*) # When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
test -n "$dir_arg$dstarg" && break
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dstarg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dstarg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dstarg=$arg
|
||||
done
|
||||
--) shift
|
||||
break;;
|
||||
|
||||
-*) echo "$0: invalid option: $1" >&2
|
||||
exit 1;;
|
||||
|
||||
*) break;;
|
||||
esac
|
||||
done
|
||||
|
||||
if test -z "$1"; then
|
||||
if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
|
||||
# When -d is used, all remaining arguments are directories to create.
|
||||
# When -t is used, the destination is already specified.
|
||||
# Otherwise, the last argument is the destination. Remove it from $@.
|
||||
for arg
|
||||
do
|
||||
if test -n "$dstarg"; then
|
||||
# $@ is not empty: it contains at least $arg.
|
||||
set fnord "$@" "$dstarg"
|
||||
shift # fnord
|
||||
fi
|
||||
shift # arg
|
||||
dstarg=$arg
|
||||
done
|
||||
fi
|
||||
|
||||
if test $# -eq 0; then
|
||||
if test -z "$dir_arg"; then
|
||||
echo "$0: no input file specified." >&2
|
||||
exit 1
|
||||
|
|
@ -164,6 +193,33 @@ if test -z "$1"; then
|
|||
exit 0
|
||||
fi
|
||||
|
||||
if test -z "$dir_arg"; then
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Set umask so as not to create temps with too-generous modes.
|
||||
# However, 'strip' requires both read and write access to temps.
|
||||
case $mode in
|
||||
# Optimize common cases.
|
||||
*644) cp_umask=133;;
|
||||
*755) cp_umask=22;;
|
||||
|
||||
*[0-7])
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw='% 200'
|
||||
fi
|
||||
cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
|
||||
*)
|
||||
if test -z "$stripcmd"; then
|
||||
u_plus_rw=
|
||||
else
|
||||
u_plus_rw=,u+rw
|
||||
fi
|
||||
cp_umask=$mode$u_plus_rw;;
|
||||
esac
|
||||
fi
|
||||
|
||||
for src
|
||||
do
|
||||
# Protect names starting with `-'.
|
||||
|
|
@ -173,15 +229,11 @@ do
|
|||
|
||||
if test -n "$dir_arg"; then
|
||||
dst=$src
|
||||
src=
|
||||
|
||||
if test -d "$dst"; then
|
||||
mkdircmd=:
|
||||
chmodcmd=
|
||||
else
|
||||
mkdircmd=$mkdirprog
|
||||
fi
|
||||
dstdir=$dst
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
else
|
||||
|
||||
# Waiting for this to be detected by the "$cpprog $src $dsttmp" command
|
||||
# might cause directories to be created, which would be especially bad
|
||||
# if $src (and thus $dsttmp) contains '*'.
|
||||
|
|
@ -208,53 +260,188 @@ do
|
|||
echo "$0: $dstarg: Is a directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
dst=$dst/`basename "$src"`
|
||||
dstdir=$dst
|
||||
dst=$dstdir/`basename "$src"`
|
||||
dstdir_status=0
|
||||
else
|
||||
# Prefer dirname, but fall back on a substitute if dirname fails.
|
||||
dstdir=`
|
||||
(dirname "$dst") 2>/dev/null ||
|
||||
expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
||||
X"$dst" : 'X\(//\)[^/]' \| \
|
||||
X"$dst" : 'X\(//\)$' \| \
|
||||
X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
|
||||
echo X"$dst" |
|
||||
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)[^/].*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\/\)$/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
/^X\(\/\).*/{
|
||||
s//\1/
|
||||
q
|
||||
}
|
||||
s/.*/./; q'
|
||||
`
|
||||
|
||||
test -d "$dstdir"
|
||||
dstdir_status=$?
|
||||
fi
|
||||
fi
|
||||
|
||||
# This sed command emulates the dirname command.
|
||||
dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'`
|
||||
obsolete_mkdir_used=false
|
||||
|
||||
# Make sure that the destination directory exists.
|
||||
if test $dstdir_status != 0; then
|
||||
case $posix_mkdir in
|
||||
'')
|
||||
# Create intermediate dirs using mode 755 as modified by the umask.
|
||||
# This is like FreeBSD 'install' as of 1997-10-28.
|
||||
umask=`umask`
|
||||
case $stripcmd.$umask in
|
||||
# Optimize common cases.
|
||||
*[2367][2367]) mkdir_umask=$umask;;
|
||||
.*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
|
||||
|
||||
# Skip lots of stat calls in the usual case.
|
||||
if test ! -d "$dstdir"; then
|
||||
defaultIFS='
|
||||
'
|
||||
IFS="${IFS-$defaultIFS}"
|
||||
*[0-7])
|
||||
mkdir_umask=`expr $umask + 22 \
|
||||
- $umask % 100 % 40 + $umask % 20 \
|
||||
- $umask % 10 % 4 + $umask % 2
|
||||
`;;
|
||||
*) mkdir_umask=$umask,go-w;;
|
||||
esac
|
||||
|
||||
oIFS=$IFS
|
||||
# Some sh's can't handle IFS=/ for some reason.
|
||||
IFS='%'
|
||||
set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'`
|
||||
shift
|
||||
IFS=$oIFS
|
||||
# With -d, create the new directory with the user-specified mode.
|
||||
# Otherwise, rely on $mkdir_umask.
|
||||
if test -n "$dir_arg"; then
|
||||
mkdir_mode=-m$mode
|
||||
else
|
||||
mkdir_mode=
|
||||
fi
|
||||
|
||||
pathcomp=
|
||||
posix_mkdir=false
|
||||
case $umask in
|
||||
*[123567][0-7][0-7])
|
||||
# POSIX mkdir -p sets u+wx bits regardless of umask, which
|
||||
# is incompatible with FreeBSD 'install' when (umask & 300) != 0.
|
||||
;;
|
||||
*)
|
||||
tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
|
||||
trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
|
||||
|
||||
while test $# -ne 0 ; do
|
||||
pathcomp=$pathcomp$1
|
||||
if (umask $mkdir_umask &&
|
||||
exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
|
||||
then
|
||||
if test -z "$dir_arg" || {
|
||||
# Check for POSIX incompatibilities with -m.
|
||||
# HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
|
||||
# other-writeable bit of parent directory when it shouldn't.
|
||||
# FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
|
||||
ls_ld_tmpdir=`ls -ld "$tmpdir"`
|
||||
case $ls_ld_tmpdir in
|
||||
d????-?r-*) different_mode=700;;
|
||||
d????-?--*) different_mode=755;;
|
||||
*) false;;
|
||||
esac &&
|
||||
$mkdirprog -m$different_mode -p -- "$tmpdir" && {
|
||||
ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
|
||||
test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
|
||||
}
|
||||
}
|
||||
then posix_mkdir=:
|
||||
fi
|
||||
rmdir "$tmpdir/d" "$tmpdir"
|
||||
else
|
||||
# Remove any dirs left behind by ancient mkdir implementations.
|
||||
rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
|
||||
fi
|
||||
trap '' 0;;
|
||||
esac;;
|
||||
esac
|
||||
|
||||
if
|
||||
$posix_mkdir && (
|
||||
umask $mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
|
||||
)
|
||||
then :
|
||||
else
|
||||
|
||||
# The umask is ridiculous, or mkdir does not conform to POSIX,
|
||||
# or it failed possibly due to a race condition. Create the
|
||||
# directory the slow way, step by step, checking for races as we go.
|
||||
|
||||
case $dstdir in
|
||||
/*) prefix=/ ;;
|
||||
-*) prefix=./ ;;
|
||||
*) prefix= ;;
|
||||
esac
|
||||
|
||||
case $posix_glob in
|
||||
'')
|
||||
if (set -f) 2>/dev/null; then
|
||||
posix_glob=true
|
||||
else
|
||||
posix_glob=false
|
||||
fi ;;
|
||||
esac
|
||||
|
||||
oIFS=$IFS
|
||||
IFS=/
|
||||
$posix_glob && set -f
|
||||
set fnord $dstdir
|
||||
shift
|
||||
if test ! -d "$pathcomp"; then
|
||||
$mkdirprog "$pathcomp"
|
||||
# mkdir can fail with a `File exist' error in case several
|
||||
# install-sh are creating the directory concurrently. This
|
||||
# is OK.
|
||||
test -d "$pathcomp" || exit
|
||||
$posix_glob && set +f
|
||||
IFS=$oIFS
|
||||
|
||||
prefixes=
|
||||
|
||||
for d
|
||||
do
|
||||
test -z "$d" && continue
|
||||
|
||||
prefix=$prefix$d
|
||||
if test -d "$prefix"; then
|
||||
prefixes=
|
||||
else
|
||||
if $posix_mkdir; then
|
||||
(umask=$mkdir_umask &&
|
||||
$doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
|
||||
# Don't fail if two instances are running concurrently.
|
||||
test -d "$prefix" || exit 1
|
||||
else
|
||||
case $prefix in
|
||||
*\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
|
||||
*) qprefix=$prefix;;
|
||||
esac
|
||||
prefixes="$prefixes '$qprefix'"
|
||||
fi
|
||||
fi
|
||||
prefix=$prefix/
|
||||
done
|
||||
|
||||
if test -n "$prefixes"; then
|
||||
# Don't fail if two instances are running concurrently.
|
||||
(umask $mkdir_umask &&
|
||||
eval "\$doit_exec \$mkdirprog $prefixes") ||
|
||||
test -d "$dstdir" || exit 1
|
||||
obsolete_mkdir_used=true
|
||||
fi
|
||||
pathcomp=$pathcomp/
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
if test -n "$dir_arg"; then
|
||||
$doit $mkdircmd "$dst" \
|
||||
&& { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \
|
||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \
|
||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; }
|
||||
|
||||
{ test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
|
||||
{ test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
|
||||
{ test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
|
||||
test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
|
||||
else
|
||||
dstfile=`basename "$dst"`
|
||||
|
||||
# Make a couple of temp file names in the proper directory.
|
||||
dsttmp=$dstdir/_inst.$$_
|
||||
|
|
@ -262,10 +449,9 @@ do
|
|||
|
||||
# Trap to clean up those temp files at exit.
|
||||
trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
|
||||
trap '(exit $?); exit' 1 2 13 15
|
||||
|
||||
# Copy the file name to the temp name.
|
||||
$doit $cpprog "$src" "$dsttmp" &&
|
||||
(umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
|
||||
|
||||
# and set any options; do chmod last to preserve setuid bits.
|
||||
#
|
||||
|
|
@ -276,10 +462,10 @@ do
|
|||
{ test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
|
||||
&& { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
|
||||
&& { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } &&
|
||||
&& { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
{ $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \
|
||||
{ $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
|
||||
|| {
|
||||
# The rename failed, perhaps because mv can't rename something else
|
||||
# to itself, or perhaps because mv is so ancient that it does not
|
||||
|
|
@ -291,11 +477,12 @@ do
|
|||
# reasons. In this case, the final cleanup might fail but the new
|
||||
# file should still install successfully.
|
||||
{
|
||||
if test -f "$dstdir/$dstfile"; then
|
||||
$doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \
|
||||
|| $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \
|
||||
if test -f "$dst"; then
|
||||
$doit $rmcmd -f "$dst" 2>/dev/null \
|
||||
|| { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
|
||||
&& { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
|
||||
|| {
|
||||
echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2
|
||||
echo "$0: cannot unlink or rename $dst" >&2
|
||||
(exit 1); exit 1
|
||||
}
|
||||
else
|
||||
|
|
@ -304,16 +491,13 @@ do
|
|||
} &&
|
||||
|
||||
# Now rename the file to the real destination.
|
||||
$doit $mvcmd "$dsttmp" "$dstdir/$dstfile"
|
||||
$doit $mvcmd "$dsttmp" "$dst"
|
||||
}
|
||||
}
|
||||
fi || { (exit 1); exit 1; }
|
||||
done
|
||||
} || exit 1
|
||||
|
||||
# The final little trick to "correctly" pass the exit status to the exit trap.
|
||||
{
|
||||
(exit 0); exit 0
|
||||
}
|
||||
trap '' 0
|
||||
fi
|
||||
done
|
||||
|
||||
# Local variables:
|
||||
# eval: (add-hook 'write-file-hooks 'time-stamp)
|
||||
|
|
|
|||
61
missing
61
missing
|
|
@ -1,9 +1,9 @@
|
|||
#! /bin/sh
|
||||
# Common stub for a few missing GNU programs while installing.
|
||||
|
||||
scriptversion=2005-06-08.21
|
||||
scriptversion=2006-05-10.23
|
||||
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
|
||||
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
|
||||
# Free Software Foundation, Inc.
|
||||
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
|
||||
|
||||
|
|
@ -33,6 +33,8 @@ if test $# -eq 0; then
|
|||
fi
|
||||
|
||||
run=:
|
||||
sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
|
||||
sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
|
||||
|
||||
# In the cases where this matters, `missing' is being run in the
|
||||
# srcdir already.
|
||||
|
|
@ -44,7 +46,7 @@ fi
|
|||
|
||||
msg="missing on your system"
|
||||
|
||||
case "$1" in
|
||||
case $1 in
|
||||
--run)
|
||||
# Try to run requested program, and just exit if it succeeds.
|
||||
run=
|
||||
|
|
@ -77,6 +79,7 @@ Supported PROGRAM values:
|
|||
aclocal touch file \`aclocal.m4'
|
||||
autoconf touch file \`configure'
|
||||
autoheader touch file \`config.h.in'
|
||||
autom4te touch the output file, or create a stub one
|
||||
automake touch all \`Makefile.in' files
|
||||
bison create \`y.tab.[ch]', if possible, from existing .[ch]
|
||||
flex create \`lex.yy.c', if possible, from existing .c
|
||||
|
|
@ -106,7 +109,7 @@ esac
|
|||
# Now exit if we have it, but it failed. Also exit now if we
|
||||
# don't have it and --version was passed (most likely to detect
|
||||
# the program).
|
||||
case "$1" in
|
||||
case $1 in
|
||||
lex|yacc)
|
||||
# Not GNU programs, they don't have --version.
|
||||
;;
|
||||
|
|
@ -135,7 +138,7 @@ esac
|
|||
|
||||
# If it does not exist, or fails to run (possibly an outdated version),
|
||||
# try to emulate it.
|
||||
case "$1" in
|
||||
case $1 in
|
||||
aclocal*)
|
||||
echo 1>&2 "\
|
||||
WARNING: \`$1' is $msg. You should only need it if
|
||||
|
|
@ -164,7 +167,7 @@ WARNING: \`$1' is $msg. You should only need it if
|
|||
test -z "$files" && files="config.h"
|
||||
touch_files=
|
||||
for f in $files; do
|
||||
case "$f" in
|
||||
case $f in
|
||||
*:*) touch_files="$touch_files "`echo "$f" |
|
||||
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
|
||||
*) touch_files="$touch_files $f.in";;
|
||||
|
|
@ -192,8 +195,8 @@ WARNING: \`$1' is needed, but is $msg.
|
|||
You can get \`$1' as part of \`Autoconf' from any GNU
|
||||
archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
|
||||
test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
|
|
@ -214,25 +217,25 @@ WARNING: \`$1' $msg. You should only need it if
|
|||
in order for those modifications to take effect. You can get
|
||||
\`Bison' from any GNU archive site."
|
||||
rm -f y.tab.c y.tab.h
|
||||
if [ $# -ne 1 ]; then
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
case $LASTARG in
|
||||
*.y)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.c
|
||||
fi
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" y.tab.h
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f y.tab.h ]; then
|
||||
if test ! -f y.tab.h; then
|
||||
echo >y.tab.h
|
||||
fi
|
||||
if [ ! -f y.tab.c ]; then
|
||||
if test ! -f y.tab.c; then
|
||||
echo 'main() { return 0; }' >y.tab.c
|
||||
fi
|
||||
;;
|
||||
|
|
@ -244,18 +247,18 @@ WARNING: \`$1' is $msg. You should only need it if
|
|||
in order for those modifications to take effect. You can get
|
||||
\`Flex' from any GNU archive site."
|
||||
rm -f lex.yy.c
|
||||
if [ $# -ne 1 ]; then
|
||||
if test $# -ne 1; then
|
||||
eval LASTARG="\${$#}"
|
||||
case "$LASTARG" in
|
||||
case $LASTARG in
|
||||
*.l)
|
||||
SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
|
||||
if [ -f "$SRCFILE" ]; then
|
||||
if test -f "$SRCFILE"; then
|
||||
cp "$SRCFILE" lex.yy.c
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
if [ ! -f lex.yy.c ]; then
|
||||
if test ! -f lex.yy.c; then
|
||||
echo 'main() { return 0; }' >lex.yy.c
|
||||
fi
|
||||
;;
|
||||
|
|
@ -267,11 +270,9 @@ WARNING: \`$1' is $msg. You should only need it if
|
|||
\`Help2man' package in order for those modifications to take
|
||||
effect. You can get \`Help2man' from any GNU archive site."
|
||||
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
if test -z "$file"; then
|
||||
file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
|
||||
fi
|
||||
if [ -f "$file" ]; then
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -f "$file"; then
|
||||
touch $file
|
||||
else
|
||||
test -z "$file" || exec >$file
|
||||
|
|
@ -289,11 +290,17 @@ WARNING: \`$1' is $msg. You should only need it if
|
|||
DU, IRIX). You might want to install the \`Texinfo' package or
|
||||
the \`GNU make' package. Grab either from any GNU archive site."
|
||||
# The file to touch is that specified with -o ...
|
||||
file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
|
||||
file=`echo "$*" | sed -n "$sed_output"`
|
||||
test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
|
||||
if test -z "$file"; then
|
||||
# ... or it is the one specified with @setfilename ...
|
||||
infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
|
||||
file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
|
||||
file=`sed -n '
|
||||
/^@setfilename/{
|
||||
s/.* \([^ ]*\) *$/\1/
|
||||
p
|
||||
q
|
||||
}' $infile`
|
||||
# ... or it is derived from the source name (dir/f.texi becomes f.info)
|
||||
test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
|
||||
fi
|
||||
|
|
@ -317,13 +324,13 @@ WARNING: \`$1' is $msg. You should only need it if
|
|||
fi
|
||||
firstarg="$1"
|
||||
if shift; then
|
||||
case "$firstarg" in
|
||||
case $firstarg in
|
||||
*o*)
|
||||
firstarg=`echo "$firstarg" | sed s/o//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
;;
|
||||
esac
|
||||
case "$firstarg" in
|
||||
case $firstarg in
|
||||
*h*)
|
||||
firstarg=`echo "$firstarg" | sed s/h//`
|
||||
tar "$firstarg" "$@" && exit 0
|
||||
|
|
|
|||
|
|
@ -24,6 +24,9 @@ void BasicAmountTestCase::testConstructors()
|
|||
amount_t x11(x8);
|
||||
|
||||
assertEqual(amount_t(0L), x0);
|
||||
assertEqual(amount_t(), x0);
|
||||
assertEqual(amount_t("0"), x0);
|
||||
assertEqual(amount_t("0.0"), x0);
|
||||
assertEqual(x2, x1);
|
||||
assertEqual(x5, x1);
|
||||
assertEqual(x7, x1);
|
||||
|
|
@ -70,6 +73,16 @@ void BasicAmountTestCase::testNegation()
|
|||
x10.negate();
|
||||
|
||||
assertEqual(x3, x10);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
CPPUNIT_ASSERT(x7.valid());
|
||||
CPPUNIT_ASSERT(x8.valid());
|
||||
CPPUNIT_ASSERT(x9.valid());
|
||||
CPPUNIT_ASSERT(x10.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testAssignment()
|
||||
|
|
@ -117,6 +130,18 @@ void BasicAmountTestCase::testAssignment()
|
|||
assertEqual(x10, x3);
|
||||
assertEqual(amount_t(1L), x4);
|
||||
assertEqual(x10, x9);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
CPPUNIT_ASSERT(x7.valid());
|
||||
CPPUNIT_ASSERT(x8.valid());
|
||||
CPPUNIT_ASSERT(x9.valid());
|
||||
CPPUNIT_ASSERT(x10.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testEquality()
|
||||
|
|
@ -134,6 +159,13 @@ void BasicAmountTestCase::testEquality()
|
|||
CPPUNIT_ASSERT(x1 == x4);
|
||||
CPPUNIT_ASSERT(x4 == x5);
|
||||
CPPUNIT_ASSERT(x4 == x6);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testIntegerAddition()
|
||||
|
|
@ -159,6 +191,12 @@ void BasicAmountTestCase::testIntegerAddition()
|
|||
amount_t x4("123456789123456789123456789");
|
||||
|
||||
assertEqual(amount_t("246913578246913578246913578"), x4 + x4);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(y3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testFractionalAddition()
|
||||
|
|
@ -180,6 +218,10 @@ void BasicAmountTestCase::testFractionalAddition()
|
|||
amount_t x2("123456789123456789.123456789123456789");
|
||||
|
||||
assertEqual(amount_t("246913578246913578.246913578246913578"), x2 + x2);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testIntegerSubtraction()
|
||||
|
|
@ -207,6 +249,13 @@ void BasicAmountTestCase::testIntegerSubtraction()
|
|||
|
||||
assertEqual(amount_t("123456789115218063137220803"), x4 - y4);
|
||||
assertEqual(amount_t("-123456789115218063137220803"), y4 - x4);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(y3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(y4.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testFractionalSubtraction()
|
||||
|
|
@ -229,6 +278,11 @@ void BasicAmountTestCase::testFractionalSubtraction()
|
|||
|
||||
assertEqual(amount_t("123446916777474329.874482549545456789"), x2 - y2);
|
||||
assertEqual(amount_t("-123446916777474329.874482549545456789"), y2 - x2);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(y2.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testIntegerMultiplication()
|
||||
|
|
@ -265,6 +319,12 @@ void BasicAmountTestCase::testIntegerMultiplication()
|
|||
|
||||
assertEqual(amount_t("15241578780673678546105778281054720515622620750190521"),
|
||||
x4 * x4);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(y3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testFractionalMultiplication()
|
||||
|
|
@ -298,6 +358,10 @@ void BasicAmountTestCase::testFractionalMultiplication()
|
|||
|
||||
assertEqual(amount_t("15241578780673678546105778311537878.046486820281054720515622620750190521"),
|
||||
x2 * x2);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testIntegerDivision()
|
||||
|
|
@ -330,6 +394,11 @@ void BasicAmountTestCase::testIntegerDivision()
|
|||
|
||||
assertEqual(amount_t(1L), x4 / x4);
|
||||
assertEqual(amount_t("2204585520061728377204585.517857"), x4 / y4);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(y4.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testFractionalDivision()
|
||||
|
|
@ -365,6 +434,11 @@ void BasicAmountTestCase::testFractionalDivision()
|
|||
assertEqual(amount_t(1.0), x4 / x4);
|
||||
assertEqual(amount_t("21739560323910.7554497273748437197344556164"),
|
||||
x4 / y4);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(y4.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testIntegerConversion()
|
||||
|
|
@ -376,6 +450,8 @@ void BasicAmountTestCase::testIntegerConversion()
|
|||
assertEqual(123456.0, double(x1));
|
||||
assertEqual(std::string("123456"), x1.to_string());
|
||||
assertEqual(std::string("123456"), x1.quantity_string());
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testFractionalConversion()
|
||||
|
|
@ -387,6 +463,8 @@ void BasicAmountTestCase::testFractionalConversion()
|
|||
assertEqual(1234.56, double(x1));
|
||||
assertEqual(std::string("1234.56"), x1.to_string());
|
||||
assertEqual(std::string("1234.56"), x1.quantity_string());
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testFractionalRound()
|
||||
|
|
@ -430,6 +508,17 @@ void BasicAmountTestCase::testFractionalRound()
|
|||
assertEqual(amount_t("-9876.54"), x4.round(2));
|
||||
assertEqual(amount_t("-9876.5"), x4.round(1));
|
||||
assertEqual(amount_t("-9877"), x4.round(0));
|
||||
|
||||
amount_t x5("0.0000000000000000000000000000000000001");
|
||||
|
||||
assertEqual(amount_t("0.0000000000000000000000000000000000001"),
|
||||
x5.round(37));
|
||||
assertEqual(amount_t(), x5.round(36));
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testTruth()
|
||||
|
|
@ -452,6 +541,10 @@ void BasicAmountTestCase::testTruth()
|
|||
CPPUNIT_ASSERT(true);
|
||||
else
|
||||
CPPUNIT_ASSERT(false);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testForZero()
|
||||
|
|
@ -465,6 +558,9 @@ void BasicAmountTestCase::testForZero()
|
|||
CPPUNIT_ASSERT(x0.realzero());
|
||||
CPPUNIT_ASSERT(! x1.zero());
|
||||
CPPUNIT_ASSERT(! x1.realzero());
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testComparisons()
|
||||
|
|
@ -489,6 +585,14 @@ void BasicAmountTestCase::testComparisons()
|
|||
CPPUNIT_ASSERT(x3 >= x5);
|
||||
CPPUNIT_ASSERT(x3 < x1);
|
||||
CPPUNIT_ASSERT(x3 < x4);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testSign()
|
||||
|
|
@ -504,6 +608,12 @@ void BasicAmountTestCase::testSign()
|
|||
CPPUNIT_ASSERT(x2.sign() < 0);
|
||||
CPPUNIT_ASSERT(x3.sign() > 0);
|
||||
CPPUNIT_ASSERT(x4.sign() < 0);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testAbs()
|
||||
|
|
@ -523,6 +633,10 @@ void BasicAmountTestCase::testAbs()
|
|||
assertEqual(amount_t(), x0);
|
||||
assertEqual(amount_t(1234L), x1);
|
||||
assertEqual(amount_t(1234L), x2);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void BasicAmountTestCase::testPrinting()
|
||||
|
|
@ -544,4 +658,7 @@ void BasicAmountTestCase::testPrinting()
|
|||
assertEqual(std::string("982340823.380238098235098235098235098"),
|
||||
bufstr.str());
|
||||
}
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _BASICAMOUNTTEST_H
|
||||
#define _BASICAMOUNTTEST_H
|
||||
#ifndef _BASICAMOUNT_H
|
||||
#define _BASICAMOUNT_H
|
||||
|
||||
#include "UnitTests.h"
|
||||
|
||||
|
|
@ -65,4 +65,4 @@ private:
|
|||
void operator=(const BasicAmountTestCase ©);
|
||||
};
|
||||
|
||||
#endif /* _BASICAMOUNTTEST_H */
|
||||
#endif /* _BASICAMOUNT_H */
|
||||
|
|
|
|||
552
tests/corelib/numerics/CommodityAmount.cc
Normal file
552
tests/corelib/numerics/CommodityAmount.cc
Normal file
|
|
@ -0,0 +1,552 @@
|
|||
#include "CommodityAmount.h"
|
||||
#include "ledger.h"
|
||||
|
||||
using namespace ledger;
|
||||
|
||||
CPPUNIT_TEST_SUITE_NAMED_REGISTRATION(CommodityAmountTestCase, "numerics");
|
||||
|
||||
inline amount_t internalAmount(const std::string& value) {
|
||||
amount_t temp;
|
||||
temp.parse(value, AMOUNT_PARSE_NO_MIGRATE);
|
||||
return temp;
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::setUp() {}
|
||||
void CommodityAmountTestCase::tearDown() {}
|
||||
|
||||
void CommodityAmountTestCase::testConstructors()
|
||||
{
|
||||
amount_t x1("$123.45");
|
||||
amount_t x2("-$123.45");
|
||||
amount_t x3("$-123.45");
|
||||
amount_t x4("DM 123.45");
|
||||
amount_t x5("-DM 123.45");
|
||||
amount_t x6("DM -123.45");
|
||||
amount_t x7("123.45 euro");
|
||||
amount_t x8("-123.45 euro");
|
||||
amount_t x9("123.45€");
|
||||
amount_t x10("-123.45€");
|
||||
|
||||
assertEqual(amount_t("$123.45"), x1);
|
||||
assertEqual(amount_t("-$123.45"), x2);
|
||||
assertEqual(amount_t("$-123.45"), x3);
|
||||
assertEqual(amount_t("DM 123.45"), x4);
|
||||
assertEqual(amount_t("-DM 123.45"), x5);
|
||||
assertEqual(amount_t("DM -123.45"), x6);
|
||||
assertEqual(amount_t("123.45 euro"), x7);
|
||||
assertEqual(amount_t("-123.45 euro"), x8);
|
||||
assertEqual(amount_t("123.45€"), x9);
|
||||
assertEqual(amount_t("-123.45€"), x10);
|
||||
|
||||
assertEqual(std::string("$123.45"), x1.to_string());
|
||||
assertEqual(std::string("$-123.45"), x2.to_string());
|
||||
assertEqual(std::string("$-123.45"), x3.to_string());
|
||||
assertEqual(std::string("DM 123.45"), x4.to_string());
|
||||
assertEqual(std::string("DM -123.45"), x5.to_string());
|
||||
assertEqual(std::string("DM -123.45"), x6.to_string());
|
||||
assertEqual(std::string("123.45 euro"), x7.to_string());
|
||||
assertEqual(std::string("-123.45 euro"), x8.to_string());
|
||||
assertEqual(std::string("123.45€"), x9.to_string());
|
||||
assertEqual(std::string("-123.45€"), x10.to_string());
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
CPPUNIT_ASSERT(x7.valid());
|
||||
CPPUNIT_ASSERT(x8.valid());
|
||||
CPPUNIT_ASSERT(x9.valid());
|
||||
CPPUNIT_ASSERT(x10.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testNegation()
|
||||
{
|
||||
amount_t x1("$123.45");
|
||||
amount_t x2("-$123.45");
|
||||
amount_t x3("$-123.45");
|
||||
amount_t x4("DM 123.45");
|
||||
amount_t x5("-DM 123.45");
|
||||
amount_t x6("DM -123.45");
|
||||
amount_t x7("123.45 euro");
|
||||
amount_t x8("-123.45 euro");
|
||||
amount_t x9("123.45€");
|
||||
amount_t x10("-123.45€");
|
||||
|
||||
assertEqual(amount_t("$-123.45"), - x1);
|
||||
assertEqual(amount_t("$123.45"), - x2);
|
||||
assertEqual(amount_t("$123.45"), - x3);
|
||||
assertEqual(amount_t("DM -123.45"), - x4);
|
||||
assertEqual(amount_t("DM 123.45"), - x5);
|
||||
assertEqual(amount_t("DM 123.45"), - x6);
|
||||
assertEqual(amount_t("-123.45 euro"), - x7);
|
||||
assertEqual(amount_t("123.45 euro"), - x8);
|
||||
assertEqual(amount_t("-123.45€"), - x9);
|
||||
assertEqual(amount_t("123.45€"), - x10);
|
||||
|
||||
assertEqual(std::string("$-123.45"), (- x1).to_string());
|
||||
assertEqual(std::string("$123.45"), (- x2).to_string());
|
||||
assertEqual(std::string("$123.45"), (- x3).to_string());
|
||||
assertEqual(std::string("DM -123.45"), (- x4).to_string());
|
||||
assertEqual(std::string("DM 123.45"), (- x5).to_string());
|
||||
assertEqual(std::string("DM 123.45"), (- x6).to_string());
|
||||
assertEqual(std::string("-123.45 euro"), (- x7).to_string());
|
||||
assertEqual(std::string("123.45 euro"), (- x8).to_string());
|
||||
assertEqual(std::string("-123.45€"), (- x9).to_string());
|
||||
assertEqual(std::string("123.45€"), (- x10).to_string());
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
CPPUNIT_ASSERT(x7.valid());
|
||||
CPPUNIT_ASSERT(x8.valid());
|
||||
CPPUNIT_ASSERT(x9.valid());
|
||||
CPPUNIT_ASSERT(x10.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testAssignment()
|
||||
{
|
||||
amount_t x1 = "$123.45";
|
||||
amount_t x2 = "-$123.45";
|
||||
amount_t x3 = "$-123.45";
|
||||
amount_t x4 = "DM 123.45";
|
||||
amount_t x5 = "-DM 123.45";
|
||||
amount_t x6 = "DM -123.45";
|
||||
amount_t x7 = "123.45 euro";
|
||||
amount_t x8 = "-123.45 euro";
|
||||
amount_t x9 = "123.45€";
|
||||
amount_t x10 = "-123.45€";
|
||||
|
||||
assertEqual(amount_t("$123.45"), x1);
|
||||
assertEqual(amount_t("-$123.45"), x2);
|
||||
assertEqual(amount_t("$-123.45"), x3);
|
||||
assertEqual(amount_t("DM 123.45"), x4);
|
||||
assertEqual(amount_t("-DM 123.45"), x5);
|
||||
assertEqual(amount_t("DM -123.45"), x6);
|
||||
assertEqual(amount_t("123.45 euro"), x7);
|
||||
assertEqual(amount_t("-123.45 euro"), x8);
|
||||
assertEqual(amount_t("123.45€"), x9);
|
||||
assertEqual(amount_t("-123.45€"), x10);
|
||||
|
||||
assertEqual(std::string("$123.45"), x1.to_string());
|
||||
assertEqual(std::string("$-123.45"), x2.to_string());
|
||||
assertEqual(std::string("$-123.45"), x3.to_string());
|
||||
assertEqual(std::string("DM 123.45"), x4.to_string());
|
||||
assertEqual(std::string("DM -123.45"), x5.to_string());
|
||||
assertEqual(std::string("DM -123.45"), x6.to_string());
|
||||
assertEqual(std::string("123.45 euro"), x7.to_string());
|
||||
assertEqual(std::string("-123.45 euro"), x8.to_string());
|
||||
assertEqual(std::string("123.45€"), x9.to_string());
|
||||
assertEqual(std::string("-123.45€"), x10.to_string());
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
CPPUNIT_ASSERT(x7.valid());
|
||||
CPPUNIT_ASSERT(x8.valid());
|
||||
CPPUNIT_ASSERT(x9.valid());
|
||||
CPPUNIT_ASSERT(x10.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testEquality()
|
||||
{
|
||||
amount_t x1 = "$123.45";
|
||||
amount_t x2 = "-$123.45";
|
||||
amount_t x3 = "$-123.45";
|
||||
amount_t x4 = "DM 123.45";
|
||||
amount_t x5 = "-DM 123.45";
|
||||
amount_t x6 = "DM -123.45";
|
||||
amount_t x7 = "123.45 euro";
|
||||
amount_t x8 = "-123.45 euro";
|
||||
amount_t x9 = "123.45€";
|
||||
amount_t x10 = "-123.45€";
|
||||
|
||||
CPPUNIT_ASSERT(x1 != x2);
|
||||
CPPUNIT_ASSERT(x1 != x4);
|
||||
CPPUNIT_ASSERT(x1 != x7);
|
||||
CPPUNIT_ASSERT(x1 != x9);
|
||||
CPPUNIT_ASSERT(x2 == x3);
|
||||
CPPUNIT_ASSERT(x4 != x5);
|
||||
CPPUNIT_ASSERT(x5 == x6);
|
||||
CPPUNIT_ASSERT(x7 == - x8);
|
||||
CPPUNIT_ASSERT(x9 == - x10);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
CPPUNIT_ASSERT(x7.valid());
|
||||
CPPUNIT_ASSERT(x8.valid());
|
||||
CPPUNIT_ASSERT(x9.valid());
|
||||
CPPUNIT_ASSERT(x10.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testAddition()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x1(123.123);
|
||||
amount_t y1(456.456);
|
||||
|
||||
assertEqual(amount_t(579.579), x1 + y1);
|
||||
assertEqual(amount_t(579.579), x1 + 456.456);
|
||||
assertEqual(amount_t(579.579), 456.456 + x1);
|
||||
|
||||
x1 += amount_t(456.456);
|
||||
assertEqual(amount_t(579.579), x1);
|
||||
x1 += 456.456;
|
||||
assertEqual(amount_t(1036.035), x1);
|
||||
x1 += 456L;
|
||||
assertEqual(amount_t(1492.035), x1);
|
||||
|
||||
amount_t x2("123456789123456789.123456789123456789");
|
||||
|
||||
assertEqual(amount_t("246913578246913578.246913578246913578"), x2 + x2);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testSubtraction()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x1(123.123);
|
||||
amount_t y1(456.456);
|
||||
|
||||
assertEqual(amount_t(-333.333), x1 - y1);
|
||||
assertEqual(amount_t(333.333), y1 - x1);
|
||||
|
||||
x1 -= amount_t(456.456);
|
||||
assertEqual(amount_t(-333.333), x1);
|
||||
x1 -= 456.456;
|
||||
assertEqual(amount_t(-789.789), x1);
|
||||
x1 -= 456L;
|
||||
assertEqual(amount_t(-1245.789), x1);
|
||||
|
||||
amount_t x2("123456789123456789.123456789123456789");
|
||||
amount_t y2("9872345982459.248974239578");
|
||||
|
||||
assertEqual(amount_t("123446916777474329.874482549545456789"), x2 - y2);
|
||||
assertEqual(amount_t("-123446916777474329.874482549545456789"), y2 - x2);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(y2.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testMultiplication()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x1(123.123);
|
||||
amount_t y1(456.456);
|
||||
|
||||
assertEqual(amount_t(0L), x1 * 0L);
|
||||
assertEqual(amount_t(0L), amount_t(0L) * x1);
|
||||
assertEqual(amount_t(0L), 0L * x1);
|
||||
assertEqual(x1, x1 * 1L);
|
||||
assertEqual(x1, amount_t(1L) * x1);
|
||||
assertEqual(x1, 1L * x1);
|
||||
assertEqual(- x1, x1 * -1L);
|
||||
assertEqual(- x1, amount_t(-1L) * x1);
|
||||
assertEqual(- x1, -1L * x1);
|
||||
assertEqual(amount_t("56200.232088"), x1 * y1);
|
||||
assertEqual(amount_t("56200.232088"), y1 * x1);
|
||||
assertEqual(amount_t("56200.232088"), x1 * 456.456);
|
||||
assertEqual(amount_t("56200.232088"), amount_t(456.456) * x1);
|
||||
assertEqual(amount_t("56200.232088"), 456.456 * x1);
|
||||
|
||||
x1 *= amount_t(123.123);
|
||||
assertEqual(amount_t("15159.273129"), x1);
|
||||
x1 *= 123.123;
|
||||
assertEqual(amount_t("1866455.185461867"), x1);
|
||||
x1 *= 123L;
|
||||
assertEqual(amount_t("229573987.811809641"), x1);
|
||||
|
||||
amount_t x2("123456789123456789.123456789123456789");
|
||||
|
||||
assertEqual(amount_t("15241578780673678546105778311537878.046486820281054720515622620750190521"),
|
||||
x2 * x2);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testDivision()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x1(123.123);
|
||||
amount_t y1(456.456);
|
||||
|
||||
assertThrow(x1 / 0L, amount_error *);
|
||||
assertEqual(amount_t("0.008121"), amount_t(1.0) / x1);
|
||||
assertEqual(amount_t("0.008121"), 1.0 / x1);
|
||||
assertEqual(x1, x1 / 1.0);
|
||||
assertEqual(amount_t("0.008121"), amount_t(1.0) / x1);
|
||||
assertEqual(amount_t("0.008121"), 1.0 / x1);
|
||||
assertEqual(- x1, x1 / -1.0);
|
||||
assertEqual(- amount_t("0.008121"), amount_t(-1.0) / x1);
|
||||
assertEqual(- amount_t("0.008121"), -1.0 / x1);
|
||||
assertEqual(amount_t("0.269736842105"), x1 / y1);
|
||||
assertEqual(amount_t("3.707317073170"), y1 / x1);
|
||||
assertEqual(amount_t("0.269736842105"), x1 / 456.456);
|
||||
assertEqual(amount_t("3.707317073170"), amount_t(456.456) / x1);
|
||||
assertEqual(amount_t("3.707317073170"), 456.456 / x1);
|
||||
|
||||
x1 /= amount_t(456.456);
|
||||
assertEqual(amount_t("0.269736842105"), x1);
|
||||
x1 /= 456.456;
|
||||
assertEqual(amount_t("0.0005909372252856792330476541"), x1);
|
||||
x1 /= 456L;
|
||||
assertEqual(amount_t("0.00000129591496773175270405187302631578947368421052631578947368421"), x1);
|
||||
|
||||
amount_t x4("1234567891234567.89123456789");
|
||||
amount_t y4("56.789");
|
||||
|
||||
assertEqual(amount_t(1.0), x4 / x4);
|
||||
assertEqual(amount_t("21739560323910.7554497273748437197344556164"),
|
||||
x4 / y4);
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(y1.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(y4.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testConversion()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x1(1234.56);
|
||||
|
||||
assertEqual(true, bool(x1));
|
||||
assertEqual(1234L, long(x1));
|
||||
assertEqual(1234.56, double(x1));
|
||||
assertEqual(std::string("1234.56"), x1.to_string());
|
||||
assertEqual(std::string("1234.56"), x1.quantity_string());
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testRound()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x1("1234.567890");
|
||||
|
||||
assertEqual(amount_t("1234.56789"), x1.round(6));
|
||||
assertEqual(amount_t("1234.56789"), x1.round(5));
|
||||
assertEqual(amount_t("1234.5679"), x1.round(4));
|
||||
assertEqual(amount_t("1234.568"), x1.round(3));
|
||||
assertEqual(amount_t("1234.57"), x1.round(2));
|
||||
assertEqual(amount_t("1234.6"), x1.round(1));
|
||||
assertEqual(amount_t("1235"), x1.round(0));
|
||||
|
||||
amount_t x2("9876.543210");
|
||||
|
||||
assertEqual(amount_t("9876.543210"), x2.round(6));
|
||||
assertEqual(amount_t("9876.54321"), x2.round(5));
|
||||
assertEqual(amount_t("9876.5432"), x2.round(4));
|
||||
assertEqual(amount_t("9876.543"), x2.round(3));
|
||||
assertEqual(amount_t("9876.54"), x2.round(2));
|
||||
assertEqual(amount_t("9876.5"), x2.round(1));
|
||||
assertEqual(amount_t("9877"), x2.round(0));
|
||||
|
||||
amount_t x3("-1234.567890");
|
||||
|
||||
assertEqual(amount_t("-1234.56789"), x3.round(6));
|
||||
assertEqual(amount_t("-1234.56789"), x3.round(5));
|
||||
assertEqual(amount_t("-1234.5679"), x3.round(4));
|
||||
assertEqual(amount_t("-1234.568"), x3.round(3));
|
||||
assertEqual(amount_t("-1234.57"), x3.round(2));
|
||||
assertEqual(amount_t("-1234.6"), x3.round(1));
|
||||
assertEqual(amount_t("-1235"), x3.round(0));
|
||||
|
||||
amount_t x4("-9876.543210");
|
||||
|
||||
assertEqual(amount_t("-9876.543210"), x4.round(6));
|
||||
assertEqual(amount_t("-9876.54321"), x4.round(5));
|
||||
assertEqual(amount_t("-9876.5432"), x4.round(4));
|
||||
assertEqual(amount_t("-9876.543"), x4.round(3));
|
||||
assertEqual(amount_t("-9876.54"), x4.round(2));
|
||||
assertEqual(amount_t("-9876.5"), x4.round(1));
|
||||
assertEqual(amount_t("-9877"), x4.round(0));
|
||||
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testDisplayRound()
|
||||
{
|
||||
amount_t x1("$0.85");
|
||||
|
||||
x1 *= 0.19;
|
||||
|
||||
CPPUNIT_ASSERT(amount_t("$0.16") != x1);
|
||||
assertEqual(internalAmount("$0.1615"), x1);
|
||||
assertEqual(std::string("$0.16"), x1.to_string());
|
||||
|
||||
x1 *= 7L;
|
||||
|
||||
CPPUNIT_ASSERT(amount_t("$1.13") != x1);
|
||||
assertEqual(internalAmount("$1.1305"), x1);
|
||||
assertEqual(std::string("$1.13"), x1.to_string());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testTruth()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x0;
|
||||
amount_t x1("1234");
|
||||
amount_t x2("1234.56");
|
||||
|
||||
if (x0)
|
||||
CPPUNIT_ASSERT(false);
|
||||
else
|
||||
CPPUNIT_ASSERT(true);
|
||||
|
||||
if (x1)
|
||||
CPPUNIT_ASSERT(true);
|
||||
else
|
||||
CPPUNIT_ASSERT(false);
|
||||
|
||||
if (x2)
|
||||
CPPUNIT_ASSERT(true);
|
||||
else
|
||||
CPPUNIT_ASSERT(false);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testForZero()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x0;
|
||||
amount_t x1("0.000000000000000000001");
|
||||
|
||||
CPPUNIT_ASSERT(! x0);
|
||||
CPPUNIT_ASSERT(x1);
|
||||
CPPUNIT_ASSERT(x0.zero());
|
||||
CPPUNIT_ASSERT(x0.realzero());
|
||||
CPPUNIT_ASSERT(! x1.zero());
|
||||
CPPUNIT_ASSERT(! x1.realzero());
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testComparisons()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x0;
|
||||
amount_t x1(-123L);
|
||||
amount_t x2(123L);
|
||||
amount_t x3(-123.45);
|
||||
amount_t x4(123.45);
|
||||
amount_t x5("-123.45");
|
||||
amount_t x6("123.45");
|
||||
|
||||
CPPUNIT_ASSERT(x0 > x1);
|
||||
CPPUNIT_ASSERT(x0 < x2);
|
||||
CPPUNIT_ASSERT(x0 > x3);
|
||||
CPPUNIT_ASSERT(x0 < x4);
|
||||
CPPUNIT_ASSERT(x0 > x5);
|
||||
CPPUNIT_ASSERT(x0 < x6);
|
||||
|
||||
CPPUNIT_ASSERT(x1 > x3);
|
||||
CPPUNIT_ASSERT(x3 <= x5);
|
||||
CPPUNIT_ASSERT(x3 >= x5);
|
||||
CPPUNIT_ASSERT(x3 < x1);
|
||||
CPPUNIT_ASSERT(x3 < x4);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
CPPUNIT_ASSERT(x5.valid());
|
||||
CPPUNIT_ASSERT(x6.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testSign()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x0;
|
||||
amount_t x1("0.0000000000000000000000000000000000001");
|
||||
amount_t x2("-0.0000000000000000000000000000000000001");
|
||||
amount_t x3("1");
|
||||
amount_t x4("-1");
|
||||
|
||||
CPPUNIT_ASSERT(! x0.sign());
|
||||
CPPUNIT_ASSERT(x1.sign() > 0);
|
||||
CPPUNIT_ASSERT(x2.sign() < 0);
|
||||
CPPUNIT_ASSERT(x3.sign() > 0);
|
||||
CPPUNIT_ASSERT(x4.sign() < 0);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
CPPUNIT_ASSERT(x3.valid());
|
||||
CPPUNIT_ASSERT(x4.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testAbs()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x0;
|
||||
amount_t x1(-1234L);
|
||||
amount_t x2(1234L);
|
||||
|
||||
assertEqual(amount_t(), abs(x0));
|
||||
assertEqual(amount_t(1234L), abs(x1));
|
||||
assertEqual(amount_t(1234L), abs(x2));
|
||||
|
||||
x0.abs();
|
||||
x1.abs();
|
||||
x2.abs();
|
||||
|
||||
assertEqual(amount_t(), x0);
|
||||
assertEqual(amount_t(1234L), x1);
|
||||
assertEqual(amount_t(1234L), x2);
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
CPPUNIT_ASSERT(x2.valid());
|
||||
}
|
||||
|
||||
void CommodityAmountTestCase::testPrinting()
|
||||
{
|
||||
// jww (2007-04-16): tbd
|
||||
amount_t x0;
|
||||
amount_t x1("982340823.380238098235098235098235098");
|
||||
|
||||
{
|
||||
std::ostringstream bufstr;
|
||||
bufstr << x0;
|
||||
|
||||
assertEqual(std::string("0"), bufstr.str());
|
||||
}
|
||||
|
||||
{
|
||||
std::ostringstream bufstr;
|
||||
bufstr << x1;
|
||||
|
||||
assertEqual(std::string("982340823.380238098235098235098235098"),
|
||||
bufstr.str());
|
||||
}
|
||||
|
||||
CPPUNIT_ASSERT(x0.valid());
|
||||
CPPUNIT_ASSERT(x1.valid());
|
||||
}
|
||||
60
tests/corelib/numerics/CommodityAmount.h
Normal file
60
tests/corelib/numerics/CommodityAmount.h
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
#ifndef _COMMODITYAMOUNT_H
|
||||
#define _COMMODITYAMOUNT_H
|
||||
|
||||
#include "UnitTests.h"
|
||||
|
||||
class CommodityAmountTestCase : public CPPUNIT_NS::TestCase
|
||||
{
|
||||
CPPUNIT_TEST_SUITE(CommodityAmountTestCase);
|
||||
|
||||
CPPUNIT_TEST(testConstructors);
|
||||
CPPUNIT_TEST(testNegation);
|
||||
CPPUNIT_TEST(testAssignment);
|
||||
CPPUNIT_TEST(testEquality);
|
||||
CPPUNIT_TEST(testAddition);
|
||||
CPPUNIT_TEST(testSubtraction);
|
||||
CPPUNIT_TEST(testMultiplication);
|
||||
CPPUNIT_TEST(testDivision);
|
||||
CPPUNIT_TEST(testConversion);
|
||||
CPPUNIT_TEST(testRound);
|
||||
CPPUNIT_TEST(testDisplayRound);
|
||||
CPPUNIT_TEST(testTruth);
|
||||
CPPUNIT_TEST(testForZero);
|
||||
CPPUNIT_TEST(testComparisons);
|
||||
CPPUNIT_TEST(testSign);
|
||||
CPPUNIT_TEST(testAbs);
|
||||
CPPUNIT_TEST(testPrinting);
|
||||
|
||||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
public:
|
||||
CommodityAmountTestCase() {}
|
||||
virtual ~CommodityAmountTestCase() {}
|
||||
|
||||
virtual void setUp();
|
||||
virtual void tearDown();
|
||||
|
||||
void testConstructors();
|
||||
void testNegation();
|
||||
void testAssignment();
|
||||
void testEquality();
|
||||
void testAddition();
|
||||
void testSubtraction();
|
||||
void testMultiplication();
|
||||
void testDivision();
|
||||
void testConversion();
|
||||
void testRound();
|
||||
void testDisplayRound();
|
||||
void testTruth();
|
||||
void testForZero();
|
||||
void testComparisons();
|
||||
void testSign();
|
||||
void testAbs();
|
||||
void testPrinting();
|
||||
|
||||
private:
|
||||
CommodityAmountTestCase(const CommodityAmountTestCase ©);
|
||||
void operator=(const CommodityAmountTestCase ©);
|
||||
};
|
||||
|
||||
#endif /* _COMMODITYAMOUNT_H */
|
||||
463
tests/python/corelib/numerics/CommodityAmount.py
Normal file
463
tests/python/corelib/numerics/CommodityAmount.py
Normal file
|
|
@ -0,0 +1,463 @@
|
|||
import unittest
|
||||
import exceptions
|
||||
|
||||
from ledger import amount
|
||||
|
||||
|
||||
class BasicAmountTestCase(unittest.TestCase):
|
||||
def testConstructors(self):
|
||||
x0 = amount()
|
||||
x1 = amount(123456)
|
||||
x2 = amount(123456L)
|
||||
x3 = amount(123.456)
|
||||
x4 = amount(True)
|
||||
x5 = amount("123456")
|
||||
x6 = amount("123.456")
|
||||
x9 = amount(x3)
|
||||
x10 = amount(x6)
|
||||
|
||||
self.assertEqual(amount(0), x0)
|
||||
self.assertEqual(x2, x1)
|
||||
self.assertEqual(x5, x1)
|
||||
self.assertEqual(x6, x3)
|
||||
self.assertEqual(x10, x3)
|
||||
self.assertEqual(amount(1), x4)
|
||||
self.assertEqual(x10, x9)
|
||||
|
||||
self.assertTrue(x0.valid())
|
||||
self.assertTrue(x1.valid())
|
||||
self.assertTrue(x2.valid())
|
||||
self.assertTrue(x3.valid())
|
||||
self.assertTrue(x4.valid())
|
||||
self.assertTrue(x5.valid())
|
||||
self.assertTrue(x6.valid())
|
||||
self.assertTrue(x9.valid())
|
||||
self.assertTrue(x10.valid())
|
||||
|
||||
def testNegation(self):
|
||||
x0 = amount()
|
||||
x1 = amount(-123456)
|
||||
x3 = amount(-123.456)
|
||||
x5 = amount("-123456")
|
||||
x6 = amount("-123.456")
|
||||
x9 = amount(- x3)
|
||||
|
||||
self.assertEqual(amount(0), x0)
|
||||
self.assertEqual(x5, x1)
|
||||
self.assertEqual(x6, x3)
|
||||
self.assertEqual(- x6, x9)
|
||||
self.assertEqual(x3.negated(), x9)
|
||||
|
||||
x10 = amount(x9)
|
||||
x10.negate()
|
||||
|
||||
self.assertEqual(x3, x10)
|
||||
|
||||
def testAssignment(self):
|
||||
x0 = amount()
|
||||
x1 = amount(123456)
|
||||
x2 = amount(123456L)
|
||||
x3 = amount(123.456)
|
||||
x4 = amount(True)
|
||||
x5 = amount("123456")
|
||||
x6 = amount("123.456")
|
||||
x9 = x3
|
||||
x10 = amount(x6)
|
||||
|
||||
self.assertEqual(amount(0), x0)
|
||||
self.assertEqual(x2, x1)
|
||||
self.assertEqual(x5, x1)
|
||||
self.assertEqual(x6, x3)
|
||||
self.assertEqual(x10, x3)
|
||||
self.assertEqual(amount(1), x4)
|
||||
self.assertEqual(x10, x9)
|
||||
|
||||
x0 = amount()
|
||||
x1 = amount(123456)
|
||||
x2 = amount(123456L)
|
||||
x3 = amount(123.456)
|
||||
x4 = amount(True)
|
||||
x5 = amount("123456")
|
||||
x6 = amount("123.456")
|
||||
x9 = x3
|
||||
x10 = amount(x6)
|
||||
|
||||
self.assertEqual(amount(0), x0)
|
||||
self.assertEqual(x2, x1)
|
||||
self.assertEqual(x5, x1)
|
||||
self.assertEqual(x6, x3)
|
||||
self.assertEqual(x10, x3)
|
||||
self.assertEqual(amount(1), x4)
|
||||
self.assertEqual(x10, x9)
|
||||
|
||||
def testEquality(self):
|
||||
x1 = amount(123456)
|
||||
x2 = amount(456789)
|
||||
x3 = amount(333333)
|
||||
x4 = amount(123456.0)
|
||||
x5 = amount("123456.0")
|
||||
|
||||
self.assertTrue(x1 == 123456)
|
||||
self.assertTrue(x1 != x2)
|
||||
self.assertTrue(x1 == (x2 - x3))
|
||||
self.assertTrue(x1 == x4)
|
||||
self.assertTrue(x4 == x5)
|
||||
|
||||
def testIntegerAddition(self):
|
||||
x1 = amount(123)
|
||||
y1 = amount(456)
|
||||
|
||||
self.assertEqual(amount(579), x1 + y1)
|
||||
self.assertEqual(amount(579), x1 + 456)
|
||||
self.assertEqual(amount(579), 456 + x1)
|
||||
|
||||
x1 += amount(456)
|
||||
self.assertEqual(amount(579), x1)
|
||||
x1 += 456
|
||||
self.assertEqual(amount(1035), x1)
|
||||
|
||||
x3 = amount(True)
|
||||
y3 = amount(True)
|
||||
|
||||
self.assertEqual(amount(2), x3 + y3)
|
||||
self.assertEqual(amount(2), x3 + True)
|
||||
|
||||
x4 = amount("123456789123456789123456789")
|
||||
|
||||
self.assertEqual(amount("246913578246913578246913578"), x4 + x4)
|
||||
|
||||
def testFractionalAddition(self):
|
||||
x1 = amount(123.123)
|
||||
y1 = amount(456.456)
|
||||
|
||||
self.assertEqual(amount(579.579), x1 + y1)
|
||||
self.assertEqual(amount(579.579), x1 + 456.456)
|
||||
self.assertEqual(amount(579.579), 456.456 + x1)
|
||||
|
||||
x1 += amount(456.456)
|
||||
self.assertEqual(amount(579.579), x1)
|
||||
x1 += 456.456
|
||||
self.assertEqual(amount(1036.035), x1)
|
||||
x1 += 456
|
||||
self.assertEqual(amount(1492.035), x1)
|
||||
|
||||
x2 = amount("123456789123456789.123456789123456789")
|
||||
|
||||
self.assertEqual(amount("246913578246913578.246913578246913578"), x2 + x2)
|
||||
|
||||
def testIntegerSubtraction(self):
|
||||
x1 = amount(123)
|
||||
y1 = amount(456)
|
||||
|
||||
self.assertEqual(amount(333), y1 - x1)
|
||||
self.assertEqual(amount(-333), x1 - y1)
|
||||
self.assertEqual(amount(23), x1 - 100)
|
||||
self.assertEqual(amount(-23), 100 - x1)
|
||||
|
||||
x1 -= amount(456)
|
||||
self.assertEqual(amount(-333), x1)
|
||||
x1 -= 456
|
||||
self.assertEqual(amount(-789), x1)
|
||||
|
||||
x3 = amount(True)
|
||||
y3 = amount(True)
|
||||
|
||||
self.assertEqual(amount(False), x3 - y3)
|
||||
|
||||
x4 = amount("123456789123456789123456789")
|
||||
y4 = amount("8238725986235986")
|
||||
|
||||
self.assertEqual(amount("123456789115218063137220803"), x4 - y4)
|
||||
self.assertEqual(amount("-123456789115218063137220803"), y4 - x4)
|
||||
|
||||
def testFractionalSubtraction(self):
|
||||
x1 = amount(123.123)
|
||||
y1 = amount(456.456)
|
||||
|
||||
self.assertEqual(amount(-333.333), x1 - y1)
|
||||
self.assertEqual(amount(333.333), y1 - x1)
|
||||
|
||||
x1 -= amount(456.456)
|
||||
self.assertEqual(amount(-333.333), x1)
|
||||
x1 -= 456.456
|
||||
self.assertEqual(amount(-789.789), x1)
|
||||
x1 -= 456
|
||||
self.assertEqual(amount(-1245.789), x1)
|
||||
|
||||
x2 = amount("123456789123456789.123456789123456789")
|
||||
y2 = amount("9872345982459.248974239578")
|
||||
|
||||
self.assertEqual(amount("123446916777474329.874482549545456789"), x2 - y2)
|
||||
self.assertEqual(amount("-123446916777474329.874482549545456789"), y2 - x2)
|
||||
|
||||
def testIntegerMultiplication(self):
|
||||
x1 = amount(123)
|
||||
y1 = amount(456)
|
||||
|
||||
self.assertEqual(amount(0), x1 * 0)
|
||||
self.assertEqual(amount(0), amount(0) * x1)
|
||||
self.assertEqual(amount(0), 0 * x1)
|
||||
self.assertEqual(x1, x1 * 1)
|
||||
self.assertEqual(x1, amount(1) * x1)
|
||||
self.assertEqual(x1, 1 * x1)
|
||||
self.assertEqual(- x1, x1 * -1)
|
||||
self.assertEqual(- x1, amount(-1) * x1)
|
||||
self.assertEqual(- x1, -1 * x1)
|
||||
self.assertEqual(amount(56088), x1 * y1)
|
||||
self.assertEqual(amount(56088), y1 * x1)
|
||||
self.assertEqual(amount(56088), x1 * 456)
|
||||
self.assertEqual(amount(56088), amount(456) * x1)
|
||||
self.assertEqual(amount(56088), 456 * x1)
|
||||
|
||||
x1 *= amount(123)
|
||||
self.assertEqual(amount(15129), x1)
|
||||
x1 *= 123
|
||||
self.assertEqual(amount(1860867), x1)
|
||||
|
||||
x3 = amount(True)
|
||||
y3 = amount(True)
|
||||
|
||||
self.assertEqual(amount(True), x3 * y3)
|
||||
|
||||
x4 = amount("123456789123456789123456789")
|
||||
|
||||
self.assertEqual(amount("15241578780673678546105778281054720515622620750190521"),
|
||||
x4 * x4)
|
||||
|
||||
def testFractionalMultiplication(self):
|
||||
x1 = amount(123.123)
|
||||
y1 = amount(456.456)
|
||||
|
||||
self.assertEqual(amount(0), x1 * 0)
|
||||
self.assertEqual(amount(0), amount(0) * x1)
|
||||
self.assertEqual(amount(0), 0 * x1)
|
||||
self.assertEqual(x1, x1 * 1)
|
||||
self.assertEqual(x1, amount(1) * x1)
|
||||
self.assertEqual(x1, 1 * x1)
|
||||
self.assertEqual(- x1, x1 * -1)
|
||||
self.assertEqual(- x1, amount(-1) * x1)
|
||||
self.assertEqual(- x1, -1 * x1)
|
||||
self.assertEqual(amount("56200.232088"), x1 * y1)
|
||||
self.assertEqual(amount("56200.232088"), y1 * x1)
|
||||
self.assertEqual(amount("56200.232088"), x1 * 456.456)
|
||||
self.assertEqual(amount("56200.232088"), amount(456.456) * x1)
|
||||
self.assertEqual(amount("56200.232088"), 456.456 * x1)
|
||||
|
||||
x1 *= amount(123.123)
|
||||
self.assertEqual(amount("15159.273129"), x1)
|
||||
x1 *= 123.123
|
||||
self.assertEqual(amount("1866455.185461867"), x1)
|
||||
x1 *= 123
|
||||
self.assertEqual(amount("229573987.811809641"), x1)
|
||||
|
||||
x2 = amount("123456789123456789.123456789123456789")
|
||||
|
||||
self.assertEqual(amount("15241578780673678546105778311537878.046486820281054720515622620750190521"),
|
||||
x2 * x2)
|
||||
|
||||
def divideByZero(self, amt):
|
||||
return amt / 0
|
||||
|
||||
def testIntegerDivision(self):
|
||||
x1 = amount(123)
|
||||
y1 = amount(456)
|
||||
|
||||
self.assertRaises(exceptions.ArithmeticError, self.divideByZero, x1)
|
||||
self.assertEqual(amount(0), amount(0) / x1)
|
||||
self.assertEqual(amount(0), 0 / x1)
|
||||
self.assertEqual(x1, x1 / 1)
|
||||
self.assertEqual(amount("0.008130"), amount(1) / x1)
|
||||
self.assertEqual(amount("0.008130"), 1 / x1)
|
||||
self.assertEqual(- x1, x1 / -1)
|
||||
self.assertEqual(- amount("0.008130"), amount(-1) / x1)
|
||||
self.assertEqual(- amount("0.008130"), -1 / x1)
|
||||
self.assertEqual(amount("0.269736"), x1 / y1)
|
||||
self.assertEqual(amount("3.707317"), y1 / x1)
|
||||
self.assertEqual(amount("0.269736"), x1 / 456)
|
||||
self.assertEqual(amount("3.707317"), amount(456) / x1)
|
||||
self.assertEqual(amount("3.707317"), 456 / x1)
|
||||
|
||||
x1 /= amount(456)
|
||||
self.assertEqual(amount("0.269736"), x1)
|
||||
x1 /= 456
|
||||
self.assertEqual(amount("0.000591526315789473"), x1)
|
||||
|
||||
x4 = amount("123456789123456789123456789")
|
||||
y4 = amount("56")
|
||||
|
||||
self.assertEqual(amount(1), x4 / x4)
|
||||
self.assertEqual(amount("2204585520061728377204585.517857"), x4 / y4)
|
||||
|
||||
def testFractionalDivision(self):
|
||||
x1 = amount(123.123)
|
||||
y1 = amount(456.456)
|
||||
|
||||
self.assertRaises(exceptions.ArithmeticError, self.divideByZero, x1)
|
||||
self.assertEqual(amount("0.008121"), amount(1.0) / x1)
|
||||
self.assertEqual(amount("0.008121"), 1.0 / x1)
|
||||
self.assertEqual(x1, x1 / 1.0)
|
||||
self.assertEqual(amount("0.008121"), amount(1.0) / x1)
|
||||
self.assertEqual(amount("0.008121"), 1.0 / x1)
|
||||
self.assertEqual(- x1, x1 / -1.0)
|
||||
self.assertEqual(- amount("0.008121"), amount(-1.0) / x1)
|
||||
self.assertEqual(- amount("0.008121"), -1.0 / x1)
|
||||
self.assertEqual(amount("0.269736842105"), x1 / y1)
|
||||
self.assertEqual(amount("3.707317073170"), y1 / x1)
|
||||
self.assertEqual(amount("0.269736842105"), x1 / 456.456)
|
||||
self.assertEqual(amount("3.707317073170"), amount(456.456) / x1)
|
||||
self.assertEqual(amount("3.707317073170"), 456.456 / x1)
|
||||
|
||||
x1 /= amount(456.456)
|
||||
self.assertEqual(amount("0.269736842105"), x1)
|
||||
x1 /= 456.456
|
||||
self.assertEqual(amount("0.0005909372252856792330476541"), x1)
|
||||
x1 /= 456
|
||||
self.assertEqual(amount("0.00000129591496773175270405187302631578947368421052631578947368421"), x1)
|
||||
|
||||
x4 = amount("1234567891234567.89123456789")
|
||||
y4 = amount("56.789")
|
||||
|
||||
self.assertEqual(amount(1.0), x4 / x4)
|
||||
self.assertEqual(amount("21739560323910.7554497273748437197344556164"),
|
||||
x4 / y4)
|
||||
|
||||
def testIntegerConversion(self):
|
||||
x1 = amount(123456)
|
||||
|
||||
self.assertEqual(True, bool(x1))
|
||||
self.assertEqual(123456, int(x1))
|
||||
self.assertEqual(123456.0, float(x1))
|
||||
self.assertEqual("123456", x1.to_string())
|
||||
self.assertEqual("123456", x1.quantity_string())
|
||||
|
||||
def testFractionalConversion(self):
|
||||
x1 = amount(1234.56)
|
||||
|
||||
self.assertEqual(True, not (not x1))
|
||||
self.assertEqual(1234, int(x1))
|
||||
self.assertEqual(1234.56, float(x1))
|
||||
self.assertEqual("1234.56", x1.to_string())
|
||||
self.assertEqual("1234.56", x1.quantity_string())
|
||||
|
||||
def testFractionalRound(self):
|
||||
x1 = amount("1234.567890")
|
||||
|
||||
self.assertEqual(amount("1234.56789"), x1.round(6))
|
||||
self.assertEqual(amount("1234.56789"), x1.round(5))
|
||||
self.assertEqual(amount("1234.5679"), x1.round(4))
|
||||
self.assertEqual(amount("1234.568"), x1.round(3))
|
||||
self.assertEqual(amount("1234.57"), x1.round(2))
|
||||
self.assertEqual(amount("1234.6"), x1.round(1))
|
||||
self.assertEqual(amount("1235"), x1.round(0))
|
||||
|
||||
x2 = amount("9876.543210")
|
||||
|
||||
self.assertEqual(amount("9876.543210"), x2.round(6))
|
||||
self.assertEqual(amount("9876.54321"), x2.round(5))
|
||||
self.assertEqual(amount("9876.5432"), x2.round(4))
|
||||
self.assertEqual(amount("9876.543"), x2.round(3))
|
||||
self.assertEqual(amount("9876.54"), x2.round(2))
|
||||
self.assertEqual(amount("9876.5"), x2.round(1))
|
||||
self.assertEqual(amount("9877"), x2.round(0))
|
||||
|
||||
x3 = amount("-1234.567890")
|
||||
|
||||
self.assertEqual(amount("-1234.56789"), x3.round(6))
|
||||
self.assertEqual(amount("-1234.56789"), x3.round(5))
|
||||
self.assertEqual(amount("-1234.5679"), x3.round(4))
|
||||
self.assertEqual(amount("-1234.568"), x3.round(3))
|
||||
self.assertEqual(amount("-1234.57"), x3.round(2))
|
||||
self.assertEqual(amount("-1234.6"), x3.round(1))
|
||||
self.assertEqual(amount("-1235"), x3.round(0))
|
||||
|
||||
x4 = amount("-9876.543210")
|
||||
|
||||
self.assertEqual(amount("-9876.543210"), x4.round(6))
|
||||
self.assertEqual(amount("-9876.54321"), x4.round(5))
|
||||
self.assertEqual(amount("-9876.5432"), x4.round(4))
|
||||
self.assertEqual(amount("-9876.543"), x4.round(3))
|
||||
self.assertEqual(amount("-9876.54"), x4.round(2))
|
||||
self.assertEqual(amount("-9876.5"), x4.round(1))
|
||||
self.assertEqual(amount("-9877"), x4.round(0))
|
||||
|
||||
def testTruth(self):
|
||||
x0 = amount()
|
||||
x1 = amount("1234")
|
||||
x2 = amount("1234.56")
|
||||
|
||||
self.assertTrue(not x0)
|
||||
self.assertTrue(x1 )
|
||||
self.assertTrue(x2)
|
||||
|
||||
def testForZero(self):
|
||||
x0 = amount()
|
||||
x1 = amount("0.000000000000000000001")
|
||||
|
||||
self.assertTrue(not x0)
|
||||
self.assertTrue(x1)
|
||||
self.assertTrue(x0.zero())
|
||||
self.assertTrue(x0.realzero())
|
||||
self.assertTrue(not x1.zero())
|
||||
self.assertTrue(not x1.realzero())
|
||||
|
||||
def testComparisons(self):
|
||||
x0 = amount()
|
||||
x1 = amount(-123)
|
||||
x2 = amount(123)
|
||||
x3 = amount(-123.45)
|
||||
x4 = amount(123.45)
|
||||
x5 = amount("-123.45")
|
||||
x6 = amount("123.45")
|
||||
|
||||
self.assertTrue(x0 > x1)
|
||||
self.assertTrue(x0 < x2)
|
||||
self.assertTrue(x0 > x3)
|
||||
self.assertTrue(x0 < x4)
|
||||
self.assertTrue(x0 > x5)
|
||||
self.assertTrue(x0 < x6)
|
||||
|
||||
self.assertTrue(x1 > x3)
|
||||
self.assertTrue(x3 <= x5)
|
||||
self.assertTrue(x3 >= x5)
|
||||
self.assertTrue(x3 < x1)
|
||||
self.assertTrue(x3 < x4)
|
||||
|
||||
def testSign(self):
|
||||
x0 = amount()
|
||||
x1 = amount("0.0000000000000000000000000000000000001")
|
||||
x2 = amount("-0.0000000000000000000000000000000000001")
|
||||
x3 = amount("1")
|
||||
x4 = amount("-1")
|
||||
|
||||
self.assertTrue(not x0.sign())
|
||||
self.assertTrue(x1.sign() > 0)
|
||||
self.assertTrue(x2.sign() < 0)
|
||||
self.assertTrue(x3.sign() > 0)
|
||||
self.assertTrue(x4.sign() < 0)
|
||||
|
||||
def testAbs(self):
|
||||
x0 = amount()
|
||||
x1 = amount(-1234)
|
||||
x2 = amount(1234)
|
||||
|
||||
self.assertEqual(amount(), abs(x0))
|
||||
self.assertEqual(amount(1234), abs(x1))
|
||||
self.assertEqual(amount(1234), abs(x2))
|
||||
|
||||
x0.abs()
|
||||
x1.abs()
|
||||
x2.abs()
|
||||
|
||||
self.assertEqual(amount(), x0)
|
||||
self.assertEqual(amount(1234), x1)
|
||||
self.assertEqual(amount(1234), x2)
|
||||
|
||||
def testPrinting(self):
|
||||
pass
|
||||
|
||||
|
||||
def suite():
|
||||
return unittest.TestLoader().loadTestsFromTestCase(BasicAmountTestCase)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
Loading…
Add table
Reference in a new issue