OSDN Git Service

* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT): Check
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / libmath / Makefile.am
1 ## Makefile for the math subdirectory of the GNU C++ Standard library.
2 ##
3 ## Copyright (C) 1997, 1998, 1999, 2000 Cygnus Solutions
4 ##
5 ## This file is part of the libstdc++ version 3 distribution.
6 ## Process this file with automake to produce Makefile.in.
7
8 ## This file is part of the GNU ISO C++ Library.  This library is free
9 ## software; you can redistribute it and/or modify it under the
10 ## terms of the GNU General Public License as published by the
11 ## Free Software Foundation; either version 2, or (at your option)
12 ## any later version.
13
14 ## This library is distributed in the hope that it will be useful,
15 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
16 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 ## GNU General Public License for more details.
18
19 ## You should have received a copy of the GNU General Public License along
20 ## with this library; see the file COPYING.  If not, write to the Free
21 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307,
22 ## USA.
23
24 AUTOMAKE_OPTIONS = 1.3 cygnus
25
26 noinst_LTLIBRARIES = libmath.la
27
28 EXTRA_LONG_DOUBLE_yes = \
29         ccosl.c cexpl.c c_logl.c clog10l.c cpowl.c csinhl.c \
30         csqrtl.c ctanhl.c ctanl.c cargl.c hypotl.c \
31         signbitl.c cabsl.c 
32
33 EXTRA_DIST = \
34         ccos.c ccosf.c ccosh.c ccoshf.c ccoshl.c \
35         cexp.c cexpf.c c_log.c c_logf.c  clog10.c clog10f.c \
36         cpow.c cpowf.c csin.c csinf.c csinh.c csinhf.c \
37         csinl.c csqrt.c csqrtf.c  ctan.c ctanf.c ctanh.c \
38         ctanhf.c  carg.c cargf.c hypot.c hypotf.c\
39         atan2f.c expf.c \
40         $(EXTRA_LONG_DOUBLE_yes) 
41
42 libmath_la_LIBADD = \
43         @LIBMATHOBJS@ \
44         $(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE)) 
45
46 libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
47
48 libmath_la_SOURCES = \
49         signbit.c signbitf.c
50
51 LINK = $(LIBTOOL) --mode=link "$(CCLD)" $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
52
53 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
54 GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
55 C_INCLUDE_DIR = @C_INCLUDE_DIR@
56 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
57 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
58 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
59 LIBIO_INCLUDES = @LIBIO_INCLUDES@
60 CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
61
62 INCLUDES = \
63         -I$(GLIBCPP_INCLUDE_DIR) -I$(top_builddir)/include  \
64         $(TOPLEVEL_INCLUDES) 
65
66
67
68
69
70
71
72
73