1 ## Proxy Makefile.am to build MPFR for TeX Live.
3 ## Copyright (C) 2014 Taco Hoekwater <taco@metatex.org>
4 ## Copyright (C) 2014 Peter Breitenlohner <tex-live@tug.org>
6 ## This file is free software; the copyright holder
7 ## gives unlimited permission to copy and/or distribute it,
8 ## with or without modifications, as long as this notice is preserved.
10 ## We want to re-distribute the whole MPFR source tree.
12 EXTRA_DIST = $(MPFR_TREE)
14 ## Changes applied to the original source tree
16 EXTRA_DIST += $(MPFR_TREE)-PATCHES
18 # in case of an SVN repository
20 rm -rf `find $(distdir) -name .svn -o -name .deps -o -name .dirstamp -o -name '*.$(OBJEXT)'`
24 AM_CPPFLAGS = -I$(srcdir)/$(MPFR_TREE)/src $(GMP_INCLUDES)
25 AM_CFLAGS = # $(WARNING_CFLAGS)
27 noinst_LIBRARIES = libmpfr.a
28 $(libmpfr_a_OBJECTS): $(GMP_DEPEND)
29 nodist_libmpfr_a_SOURCES = \
30 @MPFR_TREE@/src/abort_prec_max.c \
31 @MPFR_TREE@/src/add.c \
32 @MPFR_TREE@/src/add1.c \
33 @MPFR_TREE@/src/add1sp.c \
34 @MPFR_TREE@/src/add_d.c \
35 @MPFR_TREE@/src/add_ui.c \
36 @MPFR_TREE@/src/agm.c \
37 @MPFR_TREE@/src/atan.c \
38 @MPFR_TREE@/src/atan2.c \
39 @MPFR_TREE@/src/cache.c \
40 @MPFR_TREE@/src/clear.c \
41 @MPFR_TREE@/src/clears.c \
42 @MPFR_TREE@/src/cmp.c \
43 @MPFR_TREE@/src/cmp2.c \
44 @MPFR_TREE@/src/cmp_abs.c \
45 @MPFR_TREE@/src/cmp_si.c \
46 @MPFR_TREE@/src/cmp_ui.c \
47 @MPFR_TREE@/src/comparisons.c \
48 @MPFR_TREE@/src/const_catalan.c \
49 @MPFR_TREE@/src/const_euler.c \
50 @MPFR_TREE@/src/const_log2.c \
51 @MPFR_TREE@/src/const_pi.c \
52 @MPFR_TREE@/src/constant.c \
53 @MPFR_TREE@/src/cos.c \
54 @MPFR_TREE@/src/div.c \
55 @MPFR_TREE@/src/div_2si.c \
56 @MPFR_TREE@/src/div_2ui.c \
57 @MPFR_TREE@/src/div_ui.c \
58 @MPFR_TREE@/src/exceptions.c \
59 @MPFR_TREE@/src/exp.c \
60 @MPFR_TREE@/src/exp2.c \
61 @MPFR_TREE@/src/exp3.c \
62 @MPFR_TREE@/src/exp_2.c \
63 @MPFR_TREE@/src/extract.c \
64 @MPFR_TREE@/src/fits_sint.c \
65 @MPFR_TREE@/src/fits_slong.c \
66 @MPFR_TREE@/src/free_cache.c \
67 @MPFR_TREE@/src/get_d.c \
68 @MPFR_TREE@/src/get_si.c \
69 @MPFR_TREE@/src/get_str.c \
70 @MPFR_TREE@/src/get_z.c \
71 @MPFR_TREE@/src/get_z_exp.c \
72 @MPFR_TREE@/src/gmp_op.c \
73 @MPFR_TREE@/src/init.c \
74 @MPFR_TREE@/src/init2.c \
75 @MPFR_TREE@/src/inits2.c \
76 @MPFR_TREE@/src/isinteger.c \
77 @MPFR_TREE@/src/isnum.c \
78 @MPFR_TREE@/src/isqrt.c \
79 @MPFR_TREE@/src/log.c \
80 @MPFR_TREE@/src/mpn_exp.c \
81 @MPFR_TREE@/src/mpfr-gmp.c \
82 @MPFR_TREE@/src/mul.c \
83 @MPFR_TREE@/src/mul_2si.c \
84 @MPFR_TREE@/src/mul_2ui.c \
85 @MPFR_TREE@/src/mul_ui.c \
86 @MPFR_TREE@/src/mulders.c \
87 @MPFR_TREE@/src/neg.c \
88 @MPFR_TREE@/src/next.c \
89 @MPFR_TREE@/src/powerof2.c \
90 @MPFR_TREE@/src/rem1.c \
91 @MPFR_TREE@/src/rint.c \
92 @MPFR_TREE@/src/round_near_x.c \
93 @MPFR_TREE@/src/round_p.c \
94 @MPFR_TREE@/src/round_prec.c \
95 @MPFR_TREE@/src/scale2.c \
96 @MPFR_TREE@/src/set.c \
97 @MPFR_TREE@/src/set_d.c \
98 @MPFR_TREE@/src/set_dfl_prec.c \
99 @MPFR_TREE@/src/set_f.c \
100 @MPFR_TREE@/src/set_prec.c \
101 @MPFR_TREE@/src/set_q.c \
102 @MPFR_TREE@/src/set_rnd.c \
103 @MPFR_TREE@/src/set_si_2exp.c \
104 @MPFR_TREE@/src/set_str.c \
105 @MPFR_TREE@/src/set_ui_2exp.c \
106 @MPFR_TREE@/src/set_z.c \
107 @MPFR_TREE@/src/set_z_exp.c \
108 @MPFR_TREE@/src/set_zero.c \
109 @MPFR_TREE@/src/setmax.c \
110 @MPFR_TREE@/src/setmin.c \
111 @MPFR_TREE@/src/sgn.c \
112 @MPFR_TREE@/src/sin.c \
113 @MPFR_TREE@/src/sin_cos.c \
114 @MPFR_TREE@/src/sqr.c \
115 @MPFR_TREE@/src/sqrt.c \
116 @MPFR_TREE@/src/sqrt_ui.c \
117 @MPFR_TREE@/src/strtofr.c \
118 @MPFR_TREE@/src/sub.c \
119 @MPFR_TREE@/src/sub1.c \
120 @MPFR_TREE@/src/sub1sp.c \
121 @MPFR_TREE@/src/sub_ui.c \
122 @MPFR_TREE@/src/swap.c \
123 @MPFR_TREE@/src/ui_div.c \
124 @MPFR_TREE@/src/ui_sub.c \
125 @MPFR_TREE@/src/version.c
128 @MPFR_TREE@/src/acos.c \
129 @MPFR_TREE@/src/acosh.c \
130 @MPFR_TREE@/src/ai.c \
131 @MPFR_TREE@/src/asin.c \
132 @MPFR_TREE@/src/asinh.c \
133 @MPFR_TREE@/src/atanh.c \
134 @MPFR_TREE@/src/bernoulli.c \
135 @MPFR_TREE@/src/buildopt.c \
136 @MPFR_TREE@/src/cbrt.c \
137 @MPFR_TREE@/src/check.c \
138 @MPFR_TREE@/src/cmp_d.c \
139 @MPFR_TREE@/src/cmp_ld.c \
140 @MPFR_TREE@/src/copysign.c \
141 @MPFR_TREE@/src/cosh.c \
142 @MPFR_TREE@/src/cot.c \
143 @MPFR_TREE@/src/coth.c \
144 @MPFR_TREE@/src/csc.c \
145 @MPFR_TREE@/src/csch.c \
146 @MPFR_TREE@/src/d_div.c \
147 @MPFR_TREE@/src/d_sub.c \
148 @MPFR_TREE@/src/digamma.c \
149 @MPFR_TREE@/src/dim.c \
150 @MPFR_TREE@/src/div_2exp.c \
151 @MPFR_TREE@/src/div_d.c \
152 @MPFR_TREE@/src/dump.c \
153 @MPFR_TREE@/src/eint.c \
154 @MPFR_TREE@/src/eq.c \
155 @MPFR_TREE@/src/erf.c \
156 @MPFR_TREE@/src/erfc.c \
157 @MPFR_TREE@/src/exp10.c \
158 @MPFR_TREE@/src/expm1.c \
159 @MPFR_TREE@/src/factorial.c \
160 @MPFR_TREE@/src/fits_intmax.c \
161 @MPFR_TREE@/src/fits_sshort.c \
162 @MPFR_TREE@/src/fits_uint.c \
163 @MPFR_TREE@/src/fits_uintmax.c \
164 @MPFR_TREE@/src/fits_ulong.c \
165 @MPFR_TREE@/src/fits_ushort.c \
166 @MPFR_TREE@/src/fma.c \
167 @MPFR_TREE@/src/fms.c \
168 @MPFR_TREE@/src/frac.c \
169 @MPFR_TREE@/src/frexp.c \
170 @MPFR_TREE@/src/gamma.c \
171 @MPFR_TREE@/src/gammaonethird.c \
172 @MPFR_TREE@/src/get_d64.c \
173 @MPFR_TREE@/src/get_exp.c \
174 @MPFR_TREE@/src/get_f.c \
175 @MPFR_TREE@/src/get_flt.c \
176 @MPFR_TREE@/src/get_ld.c \
177 @MPFR_TREE@/src/get_patches.c \
178 @MPFR_TREE@/src/get_sj.c \
179 @MPFR_TREE@/src/get_ui.c \
180 @MPFR_TREE@/src/get_uj.c \
181 @MPFR_TREE@/src/grandom.c \
182 @MPFR_TREE@/src/hypot.c \
183 @MPFR_TREE@/src/inits.c \
184 @MPFR_TREE@/src/inp_str.c \
185 @MPFR_TREE@/src/int_ceil_log2.c \
186 @MPFR_TREE@/src/isinf.c \
187 @MPFR_TREE@/src/isnan.c \
188 @MPFR_TREE@/src/isregular.c \
189 @MPFR_TREE@/src/iszero.c \
190 @MPFR_TREE@/src/jn.c \
191 @MPFR_TREE@/src/li2.c \
192 @MPFR_TREE@/src/lngamma.c \
193 @MPFR_TREE@/src/log10.c \
194 @MPFR_TREE@/src/log1p.c \
195 @MPFR_TREE@/src/log2.c \
196 @MPFR_TREE@/src/logging.c \
197 @MPFR_TREE@/src/min_prec.c \
198 @MPFR_TREE@/src/minmax.c \
199 @MPFR_TREE@/src/modf.c \
200 @MPFR_TREE@/src/mp_clz_tab.c \
201 @MPFR_TREE@/src/mul_2exp.c \
202 @MPFR_TREE@/src/mul_d.c \
203 @MPFR_TREE@/src/out_str.c \
204 @MPFR_TREE@/src/pow.c \
205 @MPFR_TREE@/src/pow_si.c \
206 @MPFR_TREE@/src/pow_ui.c \
207 @MPFR_TREE@/src/pow_z.c \
208 @MPFR_TREE@/src/print_raw.c \
209 @MPFR_TREE@/src/print_rnd_mode.c \
210 @MPFR_TREE@/src/printf.c \
211 @MPFR_TREE@/src/rec_sqrt.c \
212 @MPFR_TREE@/src/reldiff.c \
213 @MPFR_TREE@/src/root.c \
214 @MPFR_TREE@/src/sec.c \
215 @MPFR_TREE@/src/sech.c \
216 @MPFR_TREE@/src/set_d64.c \
217 @MPFR_TREE@/src/set_exp.c \
218 @MPFR_TREE@/src/set_flt.c \
219 @MPFR_TREE@/src/set_inf.c \
220 @MPFR_TREE@/src/set_ld.c \
221 @MPFR_TREE@/src/set_nan.c \
222 @MPFR_TREE@/src/set_prc_raw.c \
223 @MPFR_TREE@/src/set_si.c \
224 @MPFR_TREE@/src/set_sj.c \
225 @MPFR_TREE@/src/set_str_raw.c \
226 @MPFR_TREE@/src/set_ui.c \
227 @MPFR_TREE@/src/set_uj.c \
228 @MPFR_TREE@/src/setsign.c \
229 @MPFR_TREE@/src/si_op.c \
230 @MPFR_TREE@/src/signbit.c \
231 @MPFR_TREE@/src/sinh.c \
232 @MPFR_TREE@/src/sinh_cosh.c \
233 @MPFR_TREE@/src/stack_interface.c \
234 @MPFR_TREE@/src/sub_d.c \
235 @MPFR_TREE@/src/subnormal.c \
236 @MPFR_TREE@/src/sum.c \
237 @MPFR_TREE@/src/tan.c \
238 @MPFR_TREE@/src/tanh.c \
239 @MPFR_TREE@/src/uceil_exp2.c \
240 @MPFR_TREE@/src/uceil_log2.c \
241 @MPFR_TREE@/src/ufloor_log2.c \
242 @MPFR_TREE@/src/ui_pow.c \
243 @MPFR_TREE@/src/ui_pow_ui.c \
244 @MPFR_TREE@/src/urandom.c \
245 @MPFR_TREE@/src/urandomb.c \
246 @MPFR_TREE@/src/vasprintf.c \
247 @MPFR_TREE@/src/volatile.c \
248 @MPFR_TREE@/src/yn.c \
249 @MPFR_TREE@/src/zeta.c \
250 @MPFR_TREE@/src/zeta_ui.c
253 check_PROGRAMS = mpfrtest
254 dist_check_SCRIPTS = mpfr.test
258 mpfrtest_SOURCES = mpfrtest.c
260 mpfrtest_CPPFLAGS = -Iinclude $(GMP_INCLUDES)
262 LDADD = libmpfr.a $(GMP_LIBS)
268 reconfig_prereq = $(GMP_DEPEND)
271 include $(srcdir)/../../am/reconfig.am
278 include $(srcdir)/../../am/rebuild.am