Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/mpc/lib/libmpc build files for mpc 1.0.1.



details:   https://anonhg.NetBSD.org/src/rev/56cabc48be5d
branches:  trunk
changeset: 791687:56cabc48be5d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Nov 28 10:57:30 2013 +0000

description:
build files for mpc 1.0.1.

diffstat:

 external/lgpl3/mpc/lib/libmpc/Makefile |  107 ++++++++++++++++++++++++++++
 external/lgpl3/mpc/lib/libmpc/config.h |  124 +++++++++++++++++++++++++++++++++
 2 files changed, 231 insertions(+), 0 deletions(-)

diffs (239 lines):

diff -r 39893dfd62eb -r 56cabc48be5d external/lgpl3/mpc/lib/libmpc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl3/mpc/lib/libmpc/Makefile    Thu Nov 28 10:57:30 2013 +0000
@@ -0,0 +1,107 @@
+#      $NetBSD: Makefile,v 1.1 2013/11/28 10:57:30 mrg Exp $
+
+.include <bsd.init.mk>
+
+# We don't install mpc, just provide it for GCC.
+LIBISPRIVATE?= yes
+
+.if ${LIBISPRIVATE} != "yes"
+INCS=         mpc.h mpc-log.h
+INCSDIR=      /usr/include
+.endif
+
+LIB=   mpc
+
+LIBDPLIBS+= gmp ${.CURDIR}/../../../../lgpl3/gmp/lib/libgmp
+LIBDPLIBS+= mpfr ${.CURDIR}/../../../../lgpl3/mpfr/lib/libmpfr
+
+SRCS=  \
+       abs.c \
+       acos.c \
+       acosh.c \
+       add.c \
+       add_fr.c \
+       add_si.c \
+       add_ui.c \
+       arg.c \
+       asin.c \
+       asinh.c \
+       atan.c \
+       atanh.c \
+       clear.c \
+       cmp.c \
+       cmp_si_si.c \
+       conj.c \
+       cos.c \
+       cosh.c \
+       div_2si.c \
+       div_2ui.c \
+       div.c \
+       div_fr.c \
+       div_ui.c \
+       exp.c \
+       fma.c \
+       fr_div.c \
+       fr_sub.c \
+       get_prec2.c \
+       get_prec.c \
+       get_version.c \
+       get_x.c \
+       imag.c \
+       init2.c \
+       init3.c \
+       inp_str.c \
+       log.c \
+       log10.c \
+       mem.c \
+       mul_2si.c \
+       mul_2ui.c \
+       mul.c \
+       mul_fr.c \
+       mul_i.c \
+       mul_si.c \
+       mul_ui.c \
+       neg.c \
+       norm.c \
+       out_str.c \
+       pow.c \
+       pow_fr.c \
+       pow_ld.c \
+       pow_d.c \
+       pow_si.c \
+       pow_ui.c \
+       pow_z.c \
+       proj.c \
+       real.c \
+       urandom.c \
+       set.c \
+       set_prec.c \
+       set_str.c \
+       set_x.c \
+       set_x_x.c \
+       sin.c \
+       sin_cos.c \
+       sinh.c \
+       sqr.c \
+       sqrt.c \
+       strtoc.c \
+       sub.c \
+       sub_fr.c \
+       sub_ui.c \
+       swap.c \
+       tan.c \
+       tanh.c \
+       uceil_log2.c \
+       ui_div.c \
+       ui_ui_sub.c
+
+CPPFLAGS+=     -I${.CURDIR}
+
+# Find <mpfr.h> and <gmp.h>
+GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[4-7]/arm/}
+CPPFLAGS+=     -I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}
+CPPFLAGS+=     -I${NETBSDSRCDIR}/external/lgpl3/mpfr/dist
+
+.include <bsd.lib.mk>
+
+.PATH: ${.CURDIR}/../../dist/src
diff -r 39893dfd62eb -r 56cabc48be5d external/lgpl3/mpc/lib/libmpc/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl3/mpc/lib/libmpc/config.h    Thu Nov 28 10:57:30 2013 +0000
@@ -0,0 +1,124 @@
+/* config.h.  Generated from config.h.in by configure.  */
+/* config.h.in.  Generated from configure.ac by autoheader.  */
+
+/* complex.h present and usable */
+#define HAVE_COMPLEX_H 1
+
+/* Define to 1 if you have the <dlfcn.h> header file. */
+#define HAVE_DLFCN_H 1
+
+/* Define to 1 if you have the `dup' function. */
+#define HAVE_DUP 1
+
+/* Define to 1 if you have the `dup2' function. */
+#define HAVE_DUP2 1
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define to 1 if the system has the type `intptr_t'. */
+/* #undef HAVE_INTPTR_T */
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Library dl present */
+/* #undef HAVE_LIBDL */
+
+/* Define to 1 if you have the <limits.h> header file. */
+#define HAVE_LIMITS_H 1
+
+/* Define to 1 if you have the `localeconv' function. */
+#define HAVE_LOCALECONV 1
+
+/* Define to 1 if you have the <locale.h> header file. */
+#define HAVE_LOCALE_H 1
+
+/* Define to 1 if you have the <memory.h> header file. */
+#define HAVE_MEMORY_H 1
+
+/* Define to 1 if you have the `setlocale' function. */
+#define HAVE_SETLOCALE 1
+
+/* Define to 1 if you have the <stdint.h> header file. */
+#define HAVE_STDINT_H 1
+
+/* Define to 1 if you have the <stdlib.h> header file. */
+#define HAVE_STDLIB_H 1
+
+/* Define to 1 if you have the <strings.h> header file. */
+#define HAVE_STRINGS_H 1
+
+/* Define to 1 if you have the <string.h> header file. */
+#define HAVE_STRING_H 1
+
+/* Define to 1 if you have the <sys/stat.h> header file. */
+#define HAVE_SYS_STAT_H 1
+
+/* Define to 1 if you have the <sys/time.h> header file. */
+#define HAVE_SYS_TIME_H 1
+
+/* Define to 1 if you have the <sys/types.h> header file. */
+#define HAVE_SYS_TYPES_H 1
+
+/* Define to 1 if you have the <unistd.h> header file. */
+#define HAVE_UNISTD_H 1
+
+/* Define to the sub-directory in which libtool stores uninstalled libraries.
+   */
+#define LT_OBJDIR ".libs/"
+
+/* C compiler */
+#define MPC_CC "gcc"
+
+/* Gcc yes or no */
+#define MPC_GCC "yes"
+
+/* Version of gcc */
+#define MPC_GCC_VERSION "4.5.3"
+
+/* Do not check mpc_out_str on stdout */
+/* #undef MPC_NO_STREAM_REDIRECTION */
+
+/* Use valgrind for make check */
+/* #undef MPC_USE_VALGRIND */
+
+/* Name of package */
+#define PACKAGE "mpc"
+
+/* Define to the address where bug reports for this package should be sent. */
+#define PACKAGE_BUGREPORT "mpc-discuss%lists.gforge.inria.fr@localhost"
+
+/* Define to the full name of this package. */
+#define PACKAGE_NAME "mpc"
+
+/* Define to the full name and version of this package. */
+#define PACKAGE_STRING "mpc 1.0.1"
+
+/* Define to the one symbol short name of this package. */
+#define PACKAGE_TARNAME "mpc"
+
+/* Define to the home page for this package. */
+#define PACKAGE_URL ""
+
+/* Define to the version of this package. */
+#define PACKAGE_VERSION "1.0.1"
+
+/* Define to 1 if you have the ANSI C header files. */
+#define STDC_HEADERS 1
+
+/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
+#define TIME_WITH_SYS_TIME 1
+
+/* Version number of package */
+#define VERSION "1.0.1"
+
+/* Define to empty if `const' does not conform to ANSI C. */
+/* #undef const */
+
+/* Define to the type of a signed integer type wide enough to hold a pointer,
+   if such a type exists, and if the system does not define it. */
+/* #undef intptr_t */
+
+/* Define to `unsigned int' if <sys/types.h> does not define. */
+/* #undef size_t */



Home | Main Index | Thread Index | Old Index