Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external build stuff for mpc, mpfr and gmp. mpfr is mine, t...
details: https://anonhg.NetBSD.org/src/rev/74cd8300b10f
branches: trunk
changeset: 766356:74cd8300b10f
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Jun 21 04:23:56 2011 +0000
description:
build stuff for mpc, mpfr and gmp. mpfr is mine, the others are from chuq.
XXX: i don't think gmp works yet. it wants multiple files with the same
basename but in different subdirs to link into one library...
diffstat:
external/lgpl2/mpc/lib/libmpc/Makefile | 86 +
external/lgpl2/mpc/lib/libmpc/config.h | 118 +
external/lgpl2/mpc/lib/libmpc/shlib_version | 6 +
external/lgpl3/gmp/lib/libgmp/Makefile | 512 ++++
external/lgpl3/gmp/lib/libgmp/arch/x86_64/config.h | 587 +++++
external/lgpl3/gmp/lib/libgmp/arch/x86_64/gmp.h | 2280 ++++++++++++++++++++
external/lgpl3/gmp/lib/libgmp/arch/x86_64/mp.h | 164 +
external/lgpl3/gmp/lib/libgmp/shlib_version | 6 +
external/lgpl3/mpfr/lib/libmpfr/Makefile | 234 ++
external/lgpl3/mpfr/lib/libmpfr/shlib_version | 6 +
10 files changed, 3999 insertions(+), 0 deletions(-)
diffs (truncated from 4039 to 300 lines):
diff -r 1f21d34c3000 -r 74cd8300b10f external/lgpl2/mpc/lib/libmpc/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl2/mpc/lib/libmpc/Makefile Tue Jun 21 04:23:56 2011 +0000
@@ -0,0 +1,86 @@
+# $NetBSD: Makefile,v 1.1 2011/06/21 04:23:56 mrg Exp $
+
+.include <bsd.init.mk>
+
+LIB= mpc
+
+SRCS= \
+ abs.c \
+ acos.c \
+ acosh.c \
+ add.c \
+ add_fr.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.c \
+ div_2exp.c \
+ div_fr.c \
+ div_ui.c \
+ exp.c \
+ fr_div.c \
+ fr_sub.c \
+ get_prec.c \
+ get_prec2.c \
+ get_str.c \
+ get_version.c \
+ imag.c \
+ init2.c \
+ init3.c \
+ inp_str.c \
+ log.c \
+ mem.c \
+ mul.c \
+ mul_2exp.c \
+ mul_fr.c \
+ mul_i.c \
+ mul_si.c \
+ mul_ui.c \
+ neg.c \
+ norm.c \
+ out_str.c \
+ pow.c \
+ pow_d.c \
+ pow_fr.c \
+ pow_ld.c \
+ pow_si.c \
+ pow_ui.c \
+ pow_z.c \
+ proj.c \
+ real.c \
+ set.c \
+ set_prec.c \
+ set_str.c \
+ set_x.c \
+ set_x_x.c \
+ sin.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 \
+ urandom.c
+
+INCS= mpc.h mpc-log.h
+INCSDIR= /usr/include
+
+CPPFLAGS+= -I${.CURDIR}
+
+.include <bsd.lib.mk>
diff -r 1f21d34c3000 -r 74cd8300b10f external/lgpl2/mpc/lib/libmpc/config.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl2/mpc/lib/libmpc/config.h Tue Jun 21 04:23:56 2011 +0000
@@ -0,0 +1,118 @@
+/* config.h. Generated from config.h.in by configure. */
+/* config.h.in. Generated from configure.ac by autoheader. */
+
+/* Define to 1 if you have the <complex.h> header file. */
+#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 `fileno' function. */
+#define HAVE_FILENO 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 `m' library (-lm). */
+#define HAVE_LIBM 1
+
+/* 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/"
+
+/* Do not check mpc_out_str on stdout */
+/* #undef NO_STREAM_REDIRECTION */
+
+/* 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 0.9"
+
+/* 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 "0.9"
+
+/* Define to 1 if you have the ANSI C header files. */
+/* #undef STDC_HEADERS */
+
+/* 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 "0.9"
+
+/* 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 */
diff -r 1f21d34c3000 -r 74cd8300b10f external/lgpl2/mpc/lib/libmpc/shlib_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl2/mpc/lib/libmpc/shlib_version Tue Jun 21 04:23:56 2011 +0000
@@ -0,0 +1,6 @@
+# $NetBSD: shlib_version,v 1.1 2011/06/21 04:23:56 mrg Exp $
+# Remember to update distrib/sets/lists/base/shl.* when changing
+#
+
+major=2
+minor=0
diff -r 1f21d34c3000 -r 74cd8300b10f external/lgpl3/gmp/lib/libgmp/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/lgpl3/gmp/lib/libgmp/Makefile Tue Jun 21 04:23:56 2011 +0000
@@ -0,0 +1,512 @@
+# $NetBSD: Makefile,v 1.1 2011/06/21 04:23:56 mrg Exp $
+
+.include <bsd.init.mk>
+
+LIB= gmp
+
+SRCS= \
+ assert.c \
+ compat.c \
+ errno.c \
+ extract-dbl.c \
+ invalid.c \
+ memory.c \
+ mp_bpl.c \
+ mp_clz_tab.c \
+ mp_dv_tab.c \
+ mp_minv_tab.c \
+ mp_get_fns.c \
+ mp_set_fns.c \
+ rand.c \
+ randclr.c \
+ randdef.c \
+ randiset.c \
+ randlc2s.c \
+ randlc2x.c \
+ randmt.c \
+ randmts.c \
+ rands.c \
+ randsd.c \
+ randsdui.c \
+ randbui.c \
+ randmui.c \
+ version.c \
+ nextprime.c \
+ tal-reent.c \
+ init.c \
+ init2.c \
+ inits.c \
+ set.c \
+ set_ui.c \
+ set_si.c \
+ set_str.c \
+ set_d.c \
+ set_z.c \
+ iset.c \
+ iset_ui.c \
+ iset_si.c \
+ iset_str.c \
+ iset_d.c \
+ clear.c \
+ clears.c \
+ get_str.c \
+ dump.c \
+ size.c \
+ eq.c \
+ reldiff.c \
+ sqrt.c \
+ random2.c \
+ inp_str.c \
+ out_str.c \
+ add.c \
+ add_ui.c \
+ sub.c \
+ sub_ui.c \
+ ui_sub.c \
+ mul.c \
+ mul_ui.c \
+ div.c \
+ div_ui.c \
+ cmp.c \
+ cmp_d.c \
+ cmp_ui.c \
+ cmp_si.c \
+ mul_2exp.c \
Home |
Main Index |
Thread Index |
Old Index