1 ## Makefile for the math subdirectory of the GNU C++ Standard library.
3 ## Copyright (C) 1997, 1998, 1999, 2000 Cygnus Solutions
5 ## This file is part of the libstdc++ version 3 distribution.
6 ## Process this file with automake to produce Makefile.in.
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)
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.
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,
24 AUTOMAKE_OPTIONS = 1.3 cygnus
26 noinst_LTLIBRARIES = libmath.la
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 \
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\
40 $(EXTRA_LONG_DOUBLE_yes)
44 $(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE))
46 libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
48 libmath_la_SOURCES = \
49 signbit.c signbitf.c cabs.c cabsf.c
51 LINK = $(LIBTOOL) --mode=link "$(CCLD)" $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
53 TOPLEVEL_INCLUDES = -I$(includedir)
54 INCLUDES = -I../include $(TOPLEVEL_INCLUDES)