CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: christos Date: Sun Apr 25 23:55:55 UTC 2021 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: Handle mipsn64 To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.21 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.22 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.21 Sat Sep 26 03:50:41 2020 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Sun Apr 25 19:55:55 2021 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2020/09/26 07:50:41 mrg Exp $ +# $NetBSD: Makefile,v 1.22 2021/04/25 23:55:55 christos Exp $ .include @@ -297,14 +297,14 @@ CPPFLAGS+= -I${MPFRDIST}/src CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 .endif -.if ${MACHINE_ARCH} == "mips64el" +.if !empty(MACHINE_ARCH:Mmips*64el) CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_QUAD_LITTLE=1 .endif .if ${MACHINE_ARCH} == "sparc64" || \ ${MACHINE_ARCH} == "powerpc" || \ ${MACHINE_ARCH} == "powerpc64" || \ -${MACHINE_ARCH} == "mips64eb" +!empty(MACHINE_ARCH:Mmips*64eb) CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_QUAD_BIG=1 .endif
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: mrg Date: Sat Sep 26 07:50:41 UTC 2020 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: updates for mpfr 4.0.1. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.20 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.21 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.20 Fri May 15 14:44:05 2020 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Sat Sep 26 07:50:41 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2020/05/15 14:44:05 joerg Exp $ +# $NetBSD: Makefile,v 1.21 2020/09/26 07:50:41 mrg Exp $ .include @@ -10,6 +10,8 @@ INCS= mpf2mpfr.h mpfr.h INCSDIR= /usr/include .endif +MPFRDIST= ${.CURDIR}/../../dist + # XXX get_d.c triggers lint div zero errors (which is valid?) MKLINT=no @@ -43,7 +45,8 @@ SRCS= \ clears.c \ cmp.c \ cmp2.c \ - cmp_abs.c \ + cmpabs.c \ + cmpabs_ui.c \ cmp_d.c \ cmp_ld.c \ cmp_si.c \ @@ -71,6 +74,7 @@ SRCS= \ div_2ui.c \ div_d.c \ div_ui.c \ + dot.c \ dump.c \ eint.c \ eq.c \ @@ -104,6 +108,7 @@ SRCS= \ gamma_inc.c \ gammaonethird.c \ get_d.c \ + get_d128.c \ get_d64.c \ get_exp.c \ get_f.c \ @@ -156,6 +161,7 @@ SRCS= \ mul_d.c \ mul_ui.c \ mulders.c \ + nbits_ulong.c \ neg.c \ next.c \ nrandom.c \ @@ -185,6 +191,7 @@ SRCS= \ sech.c \ set.c \ set_d.c \ + set_d128.c \ set_d64.c \ set_dfl_prec.c \ set_exp.c \ @@ -234,6 +241,7 @@ SRCS= \ swap.c \ tan.c \ tanh.c \ + total_order.c \ ubf.c \ uceil_exp2.c \ uceil_log2.c \ @@ -280,7 +288,7 @@ CPPFLAGS+= -I. \ # Find .include "../../../gmp/Makefile.arch" CPPFLAGS+= -I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH} -CPPFLAGS+= -I${.CURDIR}/../../dist/src +CPPFLAGS+= -I${MPFRDIST}/src # IEEE FP support. No VAX here. .if ${MACHINE_ARCH} == "x86_64" || \ @@ -322,6 +330,14 @@ mparam.h: mparam_h.in ${SRCS}: mparam.h CLEANFILES+= mparam.h +GET_PATCHES_SH= ${MPFRDIST}/tools/get_patches.sh +PATCHES= ${MPFRDIST}/PATCHES + +get_patches.c: ${GET_PATCHES_SH} ${PATCHES} + ${GET_PATCHES_SH} ${PATCHES} > $@.tmp && mv $@.tmp $@ + +CLEANFILES+= get_patches.c.tmp get_patches.c + .PATH: ${.CURDIR}/../../dist/src .if !empty(MACHINE_ARCH:M*arm*)
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: joerg Date: Fri May 15 14:44:05 UTC 2020 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: Ignore warnings for tautological compares for clang. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.19 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.20 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.19 Sat Jun 1 08:29:16 2019 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Fri May 15 14:44:05 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2019/06/01 08:29:16 mrg Exp $ +# $NetBSD: Makefile,v 1.20 2020/05/15 14:44:05 joerg Exp $ .include @@ -310,6 +310,7 @@ CPPFLAGS+= -DHAVE_DOUBLE_IEEE_BIG_ENDIAN CPPFLAGS+= -DHAVE_LITTLE_ENDIAN=1 .endif +CWARNFLAGS.clang+= -Wno-error=tautological-constant-out-of-range-compare WITHOUT_MAN= yes
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: gdt Date: Thu Dec 19 01:10:19 UTC 2013 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: rm -f an .objdir file before copying to it. To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.15 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.16 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.15 Thu Nov 28 12:36:55 2013 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Thu Dec 19 01:10:19 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2013/11/28 12:36:55 mrg Exp $ +# $NetBSD: Makefile,v 1.16 2013/12/19 01:10:19 gdt Exp $ .include bsd.init.mk @@ -511,7 +511,7 @@ WITHOUT_MAN= yes .include bsd.lib.mk mparam.h: mparam_h.in - cp ${.ALLSRC} ${.TARGET} + rm -f ${.TARGET} cp ${.ALLSRC} ${.TARGET} ${SRCS}: mparam.h CLEANFILES+= mparam.h
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: mrg Date: Thu Nov 28 12:36:55 UTC 2013 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Removed Files: src/external/lgpl3/mpfr/lib/libmpfr: shlib_version Log Message: build fixes for MPFR 3.1.2. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/external/lgpl3/mpfr/lib/libmpfr/Makefile cvs rdiff -u -r1.1 -r0 src/external/lgpl3/mpfr/lib/libmpfr/shlib_version Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.14 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.15 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.14 Tue Aug 20 00:20:55 2013 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Thu Nov 28 12:36:55 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2013/08/20 00:20:55 matt Exp $ +# $NetBSD: Makefile,v 1.15 2013/11/28 12:36:55 mrg Exp $ .include bsd.init.mk @@ -94,6 +94,7 @@ SRCS= \ fms.c \ frac.c \ free_cache.c \ + frexp.c \ gamma.c \ gammaonethird.c \ get_d.c \ @@ -111,6 +112,7 @@ SRCS= \ get_z.c \ get_z_exp.c \ gmp_op.c \ + grandom.c \ hypot.c \ init.c \ init2.c \ @@ -478,6 +480,7 @@ CPPFLAGS+= -I. \ # Find gmp.h GMP_MACHINE_ARCH=${MACHINE_ARCH:S/earmv4/arm/:C/armv[5-7]/arm/} CPPFLAGS+= -I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH} +CPPFLAGS+= -I${.CURDIR}/../../dist/src # XXX # XXX XXX check mips* @@ -513,7 +516,7 @@ mparam.h: mparam_h.in ${SRCS}: mparam.h CLEANFILES+= mparam.h -.PATH: ${.CURDIR}/../../dist +.PATH: ${.CURDIR}/../../dist/src .if !empty(MACHINE_ARCH:M*arm*) COPTS += -marm
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: matt Date: Mon Aug 5 01:46:57 UTC 2013 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: Use GMP_MACHINE_ARCH which is MACHINE_ARCH with arm substituted for armv[467]. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.10 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.11 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.10 Fri Aug 10 16:10:29 2012 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Mon Aug 5 01:46:57 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2012/08/10 16:10:29 joerg Exp $ +# $NetBSD: Makefile,v 1.11 2013/08/05 01:46:57 matt Exp $ .include bsd.init.mk @@ -476,7 +476,8 @@ CPPFLAGS+= -I. \ -DHAVE_ATTRIBUTE_MODE=1 # Find gmp.h -CPPFLAGS+= -I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${MACHINE_ARCH} +GMP_MACHINE_ARCH=${MACHINE_ARCH:C/armv[467]/arm/} +CPPFLAGS+= -I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH} # XXX # XXX XXX check mips*
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: tron Date: Mon Jul 18 17:01:04 UTC 2011 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: Disable SSP warnings (not SSP itself) for this library as their are too many source files with functions that use variable sized arrays. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.6 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.7 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.6 Wed Jul 6 19:52:06 2011 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Mon Jul 18 17:01:04 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2011/07/06 19:52:06 drochner Exp $ +# $NetBSD: Makefile,v 1.7 2011/07/18 17:01:04 tron Exp $ .include bsd.init.mk @@ -513,3 +513,9 @@ .if ${LIBMPFR_MACHINE_ARCH} == vax COPTS.set_ld.c+= -Wno-error .endif + +# Don't warn about functions which cannot be stack smash protected as +# there are a lot of them. +.if defined(HAVE_GCC) || defined(HAVE_PCC) +COPTS += -Wno-stack-protector +.endif
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: mrg Date: Mon Jul 4 12:38:29 UTC 2011 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: support LIBMPFR_MACHINE_ARCH, for compat. expand the list of platforms here significantly. XXX: someone who knows FP well across our platforms should have a look XXX: at this list and fix any errors / omissions i've made. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.4 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.5 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.4 Sat Jul 2 14:08:45 2011 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Mon Jul 4 12:38:29 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/07/02 14:08:45 mrg Exp $ +# $NetBSD: Makefile,v 1.5 2011/07/04 12:38:29 mrg Exp $ .include bsd.init.mk @@ -470,12 +470,29 @@ -DHAVE_CEIL=1 \ -DHAVE_ATTRIBUTE_MODE=1 +LIBMPFR_MACHINE_ARCH?= ${MACHINE_ARCH} + +# XXX +# XXX XXX check mips* # XXX XXX do something more, more ports!! -.if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386 +# XXX +# XXX missing: arm* sparc sh3* m68k/m68000 (powerpc64/ia64) + +# IEEE FP support. No VAX here. +.if ${LIBMPFR_MACHINE_ARCH} == x86_64 || \ +${LIBMPFR_MACHINE_ARCH} == i386 +${LIBMPFR_MACHINE_ARCH} == mipsel CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 .endif -.if ${MACHINE_ARCH} == sparc64 +.if ${LIBMPFR_MACHINE_ARCH} == mips64el +CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_QUAD_LITTLE=1 +.endif + +.if ${LIBMPFR_MACHINE_ARCH} == sparc64 || \ +${LIBMPFR_MACHINE_ARCH} == powerpc || \ +${LIBMPFR_MACHINE_ARCH} == powerpc64 || \ +${LIBMPFR_MACHINE_ARCH} == mips64eb CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_QUAD_BIG=1 .endif @@ -490,6 +507,6 @@ .PATH: ${.CURDIR}/../../dist -.if ${MACHINE_ARCH} == vax +.if ${LIBMPFR_MACHINE_ARCH} == vax COPTS.set_ld.c+= -Wno-error .endif
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: mrg Date: Sat Jul 2 14:08:45 UTC 2011 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: make this build on vax. XXX: need to check this for platforms besides x86 and sparc64 to see XXX: if HAVE_LDOUBLE_IEEE_EXT_LITTLE or friends should be defined. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.3 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.4 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.3 Fri Jul 1 01:30:16 2011 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Sat Jul 2 14:08:45 2011 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2011/07/01 01:30:16 mrg Exp $ +# $NetBSD: Makefile,v 1.4 2011/07/02 14:08:45 mrg Exp $ .include bsd.init.mk @@ -470,6 +470,7 @@ -DHAVE_CEIL=1 \ -DHAVE_ATTRIBUTE_MODE=1 +# XXX XXX do something more, more ports!! .if ${MACHINE_ARCH} == x86_64 || ${MACHINE_ARCH} == i386 CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 .endif @@ -488,3 +489,7 @@ ${SRCS}: mparam.h .PATH: ${.CURDIR}/../../dist + +.if ${MACHINE_ARCH} == vax +COPTS.set_ld.c+= -Wno-error +.endif
CVS commit: src/external/lgpl3/mpfr/lib/libmpfr
Module Name:src Committed By: mrg Date: Thu Jun 23 04:38:36 UTC 2011 Modified Files: src/external/lgpl3/mpfr/lib/libmpfr: Makefile Log Message: fix this to actually build and seem to work. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/external/lgpl3/mpfr/lib/libmpfr/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/external/lgpl3/mpfr/lib/libmpfr/Makefile diff -u src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.1 src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.2 --- src/external/lgpl3/mpfr/lib/libmpfr/Makefile:1.1 Tue Jun 21 04:23:56 2011 +++ src/external/lgpl3/mpfr/lib/libmpfr/Makefile Thu Jun 23 04:38:36 2011 @@ -1,7 +1,10 @@ -# $NetBSD: Makefile,v 1.1 2011/06/21 04:23:56 mrg Exp $ +# $NetBSD: Makefile,v 1.2 2011/06/23 04:38:36 mrg Exp $ .include bsd.init.mk +# XXX get_d.c triggers lint div zero errors (which is valid?) +MKLINT=no + LIB= mpfr SRCS= \ @@ -220,15 +223,265 @@ zeta.c \ zeta_ui.c +SRCS+= \ + exceptions.c \ + extract.c \ + uceil_exp2.c \ + uceil_log2.c \ + ufloor_log2.c \ + add.c \ + add1.c \ + add_ui.c \ + agm.c \ + clear.c \ + cmp.c \ + cmp_abs.c \ + cmp_si.c \ + cmp_ui.c \ + comparisons.c \ + div_2exp.c \ + div_2si.c \ + div_2ui.c \ + div.c \ + div_ui.c \ + dump.c \ + eq.c \ + exp10.c \ + exp2.c \ + exp3.c \ + exp.c \ + frac.c \ + get_d.c \ + get_exp.c \ + get_str.c \ + init.c \ + inp_str.c \ + isinteger.c \ + isinf.c \ + isnan.c \ + isnum.c \ + const_log2.c \ + log.c \ + modf.c \ + mul_2exp.c \ + mul_2si.c \ + mul_2ui.c \ + mul.c \ + mul_ui.c \ + neg.c \ + next.c \ + out_str.c \ + printf.c \ + vasprintf.c \ + const_pi.c \ + pow.c \ + pow_si.c \ + pow_ui.c \ + print_raw.c \ + print_rnd_mode.c \ + reldiff.c \ + round_prec.c \ + set.c \ + setmax.c \ + setmin.c \ + set_d.c \ + set_dfl_prec.c \ + set_exp.c \ + set_rnd.c \ + set_f.c \ + set_prc_raw.c \ + set_prec.c \ + set_q.c \ + set_si.c \ + set_str.c \ + set_str_raw.c \ + set_ui.c \ + set_z.c \ + sqrt.c \ + sqrt_ui.c \ + sub.c \ + sub1.c \ + sub_ui.c \ + rint.c \ + ui_div.c \ + ui_sub.c \ + urandom.c \ + urandomb.c \ + get_z_exp.c \ + swap.c \ + factorial.c \ + cosh.c \ + sinh.c \ + tanh.c \ + sinh_cosh.c \ + acosh.c \ + asinh.c \ + atanh.c \ + atan.c \ + cmp2.c \ + exp_2.c \ + asin.c \ + const_euler.c \ + cos.c \ + sin.c \ + tan.c \ + fma.c \ + fms.c \ + hypot.c \ + log1p.c \ + expm1.c \ + log2.c \ + log10.c \ + ui_pow.c \ + ui_pow_ui.c \ + minmax.c \ + dim.c \ + signbit.c \ + copysign.c \ + setsign.c \ + gmp_op.c \ + init2.c \ + acos.c \ + sin_cos.c \ + set_nan.c \ + set_inf.c \ + set_zero.c \ + powerof2.c \ + gamma.c \ + set_ld.c \ + get_ld.c \ + cbrt.c \ + volatile.c \ + fits_sshort.c \ + fits_sint.c \ + fits_slong.c \ + fits_ushort.c \ + fits_uint.c \ + fits_ulong.c \ + fits_uintmax.c \ + fits_intmax.c \ + get_si.c \ + get_ui.c \ + zeta.c \ + cmp_d.c \ + erf.c \ + inits.c \ + inits2.c \ + clears.c \ + sgn.c \ + check.c \ + sub1sp.c \ + version.c \ + mpn_exp.c \ + mpfr-gmp.c \ + mp_clz_tab.c \ + sum.c \ + add1sp.c \ + free_cache.c \ + si_op.c \ + cmp_ld.c \ + set_ui_2exp.c \ + set_si_2exp.c \ + set_uj.c \ + set_sj.c \ + get_sj.c \ + get_uj.c \ + get_z.c \ + iszero.c \ + cache.c \ + sqr.c \ + int_ceil_log2.c \ + isqrt.c \ + strtofr.c \ + pow_z.c \ + logging.c \ + mulders.c \ + get_f.c \ + round_p.c \ + erfc.c \ + atan2.c \ + subnormal.c \ + const_catalan.c \ + root.c \ + sec.c \ + csc.c \ + cot.c \ + eint.c \ + sech.c \ + csch.c \ + coth.c \ + round_near_x.c \ + constant.c \ + abort_prec_max.c \ + stack_interface.c \ + lngamma.c \ + zeta_ui.c \ + set_d64.c \ + get_d64.c \ + jn.c \ + yn.c \ + rem1.c \ + get_patches.c \ + add_d.c \ + sub_d.c \ + d_sub.c \ + mul_d.c \ + div_d.c \ + d_div.c \ + li2.c \ + rec_sqrt.c \ + min_prec.c \ + buildopt.c \ + digamma.c \ + bernoulli.c \ + isregular.c \ + set_flt.c \ + get_flt.c \ + scale2.c \ + set_z_exp.c \ + ai.c \ + gammaonethird.c + INCS= mpf2mpfr.h mpfr.h INCSDIR= /usr/include -#INFO= mpfr.info +INFO= mpfr.info + +CPPFLAGS+= -I. \ + -DHAVE_INTTYPES_H=1 \ + -DHAVE_STDINT_H=1 \ + -DTIME_WITH_SYS_TIME=1 \ + -DHAVE_LOCALE_H=1 \ + -DHAVE_WCHAR_H=1 \ + -DHAVE_STDARG=1 \ + -DHAVE_SYS_TIME_H=1 \ + -DHAVE_STDINT_H=1 \ + -DHAVE_VA_COPY=1 \ + -DHAVE_SETLOCALE=1 \ + -DHAVE_GETTIMEOFDAY=1 \ + -DHAVE_LONG_LONG=1 \ + -DHAVE_INTMAX_T=1 \ + -DMPFR_HAVE_INTMAX_MAX=1 \ + -DMPFR_HAVE_FESETROUND=1 \ + -DHAVE_DENORMS=1 \ + -DHAVE_ROUND=1 \ + -DHAVE_TRUNC=1 \ + -DHAVE_FLOOR=1 \ + -DHAVE_CEIL=1 \ + -DHAVE_ATTRIBUTE_MODE=1 + +.if ${MACHINE_ARCH} == x86_64 +CPPFLAGS+= -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 +.endif -CPPFLAGS+= ? WITHOUT_MAN= yes .include bsd.lib.mk +mparam.h: mparam_h.in + cp ${.ALLSRC} ${.TARGET} + +${SRCS}: mparam.h + .PATH: ${.CURDIR}/../../dist