1# Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Free Software Foundation, Inc. 2# This Makefile.am is free software; the Free Software Foundation 3# gives unlimited permission to copy and/or distribute it, 4# with or without modifications, as long as this notice is preserved. 5 6# This program is distributed in the hope that it will be useful, 7# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 8# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 9# PARTICULAR PURPOSE. 10 11 12EXTRA_DIST = round_raw_generic.c jyn_asympt.c x86/core2/mparam.h \ 13 x86/mparam.h x86_64/core2/mparam.h x86_64/pentium4/mparam.h \ 14 ia64/mparam.h arm/mparam.h powerpc64/mparam.h sparc64/mparam.h \ 15 generic/mparam.h amd/athlon/mparam.h amd/k8/mparam.h \ 16 amd/amdfam10/mparam.h powerpc32/mparam.h hppa/mparam.h 17 18include_HEADERS = mpfr.h mpf2mpfr.h 19 20BUILT_SOURCES = mparam.h 21 22 23lib_LTLIBRARIES = libmpfr.la 24 25libmpfr_la_SOURCES = mpfr.h mpf2mpfr.h mpfr-gmp.h mpfr-impl.h mpfr-intmax.h \ 26mpfr-longlong.h mpfr-thread.h exceptions.c extract.c uceil_exp2.c \ 27uceil_log2.c ufloor_log2.c add.c add1.c add_ui.c agm.c clear.c cmp.c \ 28cmp_abs.c cmp_si.c cmp_ui.c comparisons.c div_2exp.c div_2si.c \ 29div_2ui.c div.c div_ui.c dump.c eq.c exp10.c exp2.c exp3.c exp.c \ 30frac.c frexp.c get_d.c get_exp.c get_str.c init.c inp_str.c isinteger.c \ 31isinf.c isnan.c isnum.c const_log2.c log.c modf.c mul_2exp.c mul_2si.c \ 32mul_2ui.c mul.c mul_ui.c neg.c next.c out_str.c printf.c vasprintf.c \ 33const_pi.c pow.c pow_si.c pow_ui.c print_raw.c print_rnd_mode.c \ 34reldiff.c round_prec.c set.c setmax.c setmin.c set_d.c set_dfl_prec.c \ 35set_exp.c set_rnd.c set_f.c set_prc_raw.c set_prec.c set_q.c set_si.c \ 36set_str.c set_str_raw.c set_ui.c set_z.c sqrt.c sqrt_ui.c sub.c sub1.c \ 37sub_ui.c rint.c ui_div.c ui_sub.c urandom.c urandomb.c get_z_exp.c \ 38swap.c factorial.c cosh.c sinh.c tanh.c sinh_cosh.c acosh.c asinh.c \ 39atanh.c atan.c cmp2.c exp_2.c asin.c const_euler.c cos.c sin.c tan.c \ 40fma.c fms.c hypot.c log1p.c expm1.c log2.c log10.c ui_pow.c \ 41ui_pow_ui.c minmax.c dim.c signbit.c copysign.c setsign.c gmp_op.c \ 42init2.c acos.c sin_cos.c set_nan.c set_inf.c set_zero.c powerof2.c \ 43gamma.c set_ld.c get_ld.c cbrt.c volatile.c fits_s.h fits_sshort.c \ 44fits_sint.c fits_slong.c fits_u.h fits_ushort.c fits_uint.c \ 45fits_ulong.c fits_uintmax.c fits_intmax.c get_si.c get_ui.c zeta.c \ 46cmp_d.c erf.c inits.c inits2.c clears.c sgn.c check.c sub1sp.c \ 47version.c mpn_exp.c mpfr-gmp.c mp_clz_tab.c sum.c add1sp.c \ 48free_cache.c si_op.c cmp_ld.c set_ui_2exp.c set_si_2exp.c set_uj.c \ 49set_sj.c get_sj.c get_uj.c get_z.c iszero.c cache.c sqr.c \ 50int_ceil_log2.c isqrt.c strtofr.c pow_z.c logging.c mulders.c get_f.c \ 51round_p.c erfc.c atan2.c subnormal.c const_catalan.c root.c \ 52gen_inverse.h sec.c csc.c cot.c eint.c sech.c csch.c coth.c \ 53round_near_x.c constant.c abort_prec_max.c stack_interface.c lngamma.c \ 54zeta_ui.c set_d64.c get_d64.c jn.c yn.c rem1.c get_patches.c add_d.c \ 55sub_d.c d_sub.c mul_d.c div_d.c d_div.c li2.c rec_sqrt.c min_prec.c \ 56buildopt.c digamma.c bernoulli.c isregular.c set_flt.c get_flt.c \ 57scale2.c set_z_exp.c ai.c gammaonethird.c ieee_floats.h \ 58grandom.c 59 60libmpfr_la_LIBADD = @LIBOBJS@ 61 62# Libtool -version-info CURRENT[:REVISION[:AGE]] for libmpfr.la 63# 64# 1. No interfaces changed, only implementations (good): 65# ==> Increment REVISION. 66# 2. Interfaces added, none removed (good): 67# ==> Increment CURRENT, increment AGE, set REVISION to 0. 68# 3. Interfaces removed or changed (BAD, breaks upward compatibility): 69# ==> Increment CURRENT, set AGE and REVISION to 0. 70# 71# MPFR -version-info 72# 2.1.x - 73# 2.2.x 1:x:0 74# 2.3.x 2:x:1 75# 2.4.x 3:x:2 76# 3.0.x 4:x:0 77# 3.1.x 5:x:1 78libmpfr_la_LDFLAGS = $(MPFR_LDFLAGS) $(LIBMPFR_LDFLAGS) -version-info 5:2:1 79 80# Important note: If for some reason, srcdir is read-only at build time 81# (and you use objdir != srcdir), then you need to rebuild get_patches.c 82# (with "make get_patches.c") just after patching the MPFR source. This 83# should not be a problem in practice, in particular because "make dist" 84# automatically rebuilds get_patches.c before generating the archives. 85$(srcdir)/get_patches.c: $(top_srcdir)/PATCHES $(top_srcdir)/tools/get_patches.sh 86 (cd $(top_srcdir) && ./tools/get_patches.sh) > $@ || rm -f $@ 87 88# Do not add get_patches.c to CLEANFILES so that this file doesn't 89# need to be (re)built as long as no patches are applied. Anyway the 90# update of this file should be regarded as part of the patch process, 91# and "make clean" shouldn't remove it, just like it doesn't remove 92# what has been changed by "patch". 93#CLEANFILES = get_patches.c 94