OSDN Git Service

* libmath/stubs.c: Fix thinko.
[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 mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
27
28 noinst_LTLIBRARIES = libmath.la
29
30 EXTRA_LONG_DOUBLE_yes = \
31         hypotl.c signbitl.c
32
33 EXTRA_DIST = \
34         hypot.c hypotf.c atan2f.c expf.c \
35         $(EXTRA_LONG_DOUBLE_yes) 
36
37 libmath_la_LIBADD = \
38         @LIBMATHOBJS@ \
39         $(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE)) 
40
41 libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
42
43 libmath_la_SOURCES = signbit.c signbitf.c stubs.c
44
45 LINK = $(LIBTOOL) --mode=link "$(CCLD)" $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
46
47 # Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
48 GLIBCPP_INCLUDE_DIR = @GLIBCPP_INCLUDE_DIR@
49 C_INCLUDE_DIR = @C_INCLUDE_DIR@
50 TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
51 LIBMATH_INCLUDES = @LIBMATH_INCLUDES@
52 LIBSUPCXX_INCLUDES = @LIBSUPCXX_INCLUDES@
53 LIBIO_INCLUDES = @LIBIO_INCLUDES@
54 CSHADOW_INCLUDES = @CSHADOW_INCLUDES@
55
56 INCLUDES = \
57         -I$(GLIBCPP_INCLUDE_DIR) -I$(top_builddir)/include  \
58         $(TOPLEVEL_INCLUDES) 
59