## Makefile for the math subdirectory of the GNU C++ Standard library.
##
-## Copyright (C) 1997, 1998, 1999, 2000 Cygnus Solutions
+## Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
+## Free Software Foundation, Inc.
##
## This file is part of the libstdc++ version 3 distribution.
## Process this file with automake to produce Makefile.in.
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
+mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
-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)
+noinst_LTLIBRARIES = libmath.la
-libmath_la_LIBADD = \
- @LIBMATHOBJS@ \
- $(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE))
+libmath_la_LIBADD = @LIBMATHOBJS@
libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
-libmath_la_SOURCES = \
- signbit.c signbitf.c cabs.c cabsf.c
-
-LINK = $(LIBTOOL) --mode=link "$(CCLD)" $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
-
-INCLUDES = -I$(GLIBCPP_INCLUDES) $(TOPLEVEL_INCLUDES)
-
-
-
-
-
-
+libmath_la_SOURCES = stubs.c
+# Use common includes from acinclude.m4/GLIBCPP_EXPORT_INCLUDES
+TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
+INCLUDES = \
+ $(TOPLEVEL_INCLUDES)
+# Only compiling "C" sources in this directory.
+LIBTOOL = @LIBTOOL@ --tag CC