Source-Changes-HG archive

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

[src/trunk]: src/tools tools build framework for gmp, mpfr and mpc. from chuq.



details:   https://anonhg.NetBSD.org/src/rev/995810777419
branches:  trunk
changeset: 766272:995810777419
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Jun 20 05:56:45 2011 +0000

description:
tools build framework for gmp, mpfr and mpc.  from chuq.

diffstat:

 tools/gmp/Makefile  |  14 ++++++++++++++
 tools/mpc/Makefile  |  11 +++++++++++
 tools/mpfr/Makefile |  10 ++++++++++
 3 files changed, 35 insertions(+), 0 deletions(-)

diffs (47 lines):

diff -r 6d15af356774 -r 995810777419 tools/gmp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/gmp/Makefile        Mon Jun 20 05:56:45 2011 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: Makefile,v 1.1 2011/06/20 05:56:46 mrg Exp $
+#
+
+GNUHOSTDIST=   ${.CURDIR}/../../external/lgpl3/gmp/dist
+
+CONFIGURE_ARGS+=--disable-shared
+
+.include "${.CURDIR}/../Makefile.gnuhost"
+
+# Don't override CFLAGS and CXXFLAGS, it breaks ABI detection.
+# PATH needs special treating since "make" tries to expand $PATH
+# when variable is used.
+CONFIGURE_ENV:=        ${CONFIGURE_ENV:NPATH=*:NCFLAGS=*:NCXXFLAGS=*} \
+               PATH="${TOOLDIR:Q}/bin:$$$$PATH"
diff -r 6d15af356774 -r 995810777419 tools/mpc/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/mpc/Makefile        Mon Jun 20 05:56:45 2011 +0000
@@ -0,0 +1,11 @@
+#      $NetBSD: Makefile,v 1.1 2011/06/20 05:56:46 mrg Exp $
+#
+
+GNUHOSTDIST=   ${.CURDIR}/../../external/lgpl2/mpc/dist
+
+CONFIGURE_ARGS+=       --with-gmp=${TOOLDIR:Q} \
+                       --with-mpfr=${TOOLDIR:Q}
+
+CONFIGURE_ARGS+=--disable-shared
+
+.include "${.CURDIR}/../Makefile.gnuhost"
diff -r 6d15af356774 -r 995810777419 tools/mpfr/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/mpfr/Makefile       Mon Jun 20 05:56:45 2011 +0000
@@ -0,0 +1,10 @@
+#      $NetBSD: Makefile,v 1.1 2011/06/20 05:56:45 mrg Exp $
+#
+
+GNUHOSTDIST=   ${.CURDIR}/../../external/lgpl3/mpfr/dist
+
+CONFIGURE_ARGS+=       --with-gmp=${TOOLDIR:Q}
+
+CONFIGURE_ARGS+=--disable-shared
+
+.include "${.CURDIR}/../Makefile.gnuhost"



Home | Main Index | Thread Index | Old Index