mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-25 08:08:59 +08:00
b4b2a48720
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check for cabs, cabsf, and cabsl, too. * aclocal.m4: Regenerated. * config.h.in: Likewise. * configure: Likewise. * libmath/Makefile.am (libmath_la_SOURCES): Remove cabs.c and cabsf.c. * libmath/Makefile.in: Regenerated. * libmath/complex-stub.h (cabs): Don't declare if the system already provides this function. (cabsf): Likewise. (cabsl): Likewise. * src/complex.cc (abs): Directly use `hypot' since we can't call cabs on IRIX. From-SVN: r37145
74 lines
2.2 KiB
Makefile
74 lines
2.2 KiB
Makefile
## Makefile for the math subdirectory of the GNU C++ Standard library.
|
|
##
|
|
## Copyright (C) 1997, 1998, 1999, 2000 Cygnus Solutions
|
|
##
|
|
## This file is part of the libstdc++ version 3 distribution.
|
|
## Process this file with automake to produce Makefile.in.
|
|
|
|
## This file is part of the GNU ISO C++ Library. This library is free
|
|
## software; you can redistribute it and/or modify it under the
|
|
## terms of the GNU General Public License as published by the
|
|
## Free Software Foundation; either version 2, or (at your option)
|
|
## any later version.
|
|
|
|
## This library is distributed in the hope that it will be useful,
|
|
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
## GNU General Public License for more details.
|
|
|
|
## You should have received a copy of the GNU General Public License along
|
|
## with this library; see the file COPYING. If not, write to the Free
|
|
## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
## USA.
|
|
|
|
AUTOMAKE_OPTIONS = 1.3 cygnus
|
|
|
|
noinst_LTLIBRARIES = libmath.la
|
|
|
|
EXTRA_LONG_DOUBLE_yes = \
|
|
ccosl.c cexpl.c c_logl.c clog10l.c cpowl.c csinhl.c \
|
|
csqrtl.c ctanhl.c ctanl.c cargl.c hypotl.c \
|
|
signbitl.c cabsl.c
|
|
|
|
EXTRA_DIST = \
|
|
ccos.c ccosf.c ccosh.c ccoshf.c ccoshl.c \
|
|
cexp.c cexpf.c c_log.c c_logf.c clog10.c clog10f.c \
|
|
cpow.c cpowf.c csin.c csinf.c csinh.c csinhf.c \
|
|
csinl.c csqrt.c csqrtf.c ctan.c ctanf.c ctanh.c \
|
|
ctanhf.c carg.c cargf.c hypot.c hypotf.c\
|
|
atan2f.c expf.c \
|
|
$(EXTRA_LONG_DOUBLE_yes)
|
|
|
|
libmath_la_LIBADD = \
|
|
@LIBMATHOBJS@ \
|
|
$(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE))
|
|
|
|
libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
|
|
|
|
libmath_la_SOURCES = \
|
|
signbit.c signbitf.c
|
|
|
|
LINK = $(LIBTOOL) --mode=link "$(CCLD)" $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
|
|
|
# Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
|
|
GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
|
|
C_INCLUDE_DIR = @C_INCLUDE_DIR@
|
|
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
|
|
LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
|
|
LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
|
|
LIBIO_INCLUDES = @LIBIO_INCLUDES@
|
|
CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
|
|
|
|
INCLUDES = \
|
|
-I$(GLIBCPP_INCLUDE_DIR) -I$(top_builddir)/include \
|
|
$(TOPLEVEL_INCLUDES)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|