source: trunk/third/gmp/Makefile.in @ 22254

Revision 22254, 44.4 KB checked in by ghudson, 19 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r22253, which included commits to RCS files with non-trunk default branches.
Line 
1# Makefile.in generated automatically by automake 1.5 from Makefile.am.
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14@SET_MAKE@
15
16# Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004
17# Free Software Foundation, Inc.
18#
19# This file is part of the GNU MP Library.
20#
21# The GNU MP Library is free software; you can redistribute it and/or modify
22# it under the terms of the GNU Lesser General Public License as published by
23# the Free Software Foundation; either version 2.1 of the License, or (at your
24# option) any later version.
25#
26# The GNU MP Library is distributed in the hope that it will be useful, but
27# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
28# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
29# License for more details.
30#
31# You should have received a copy of the GNU Lesser General Public License
32# along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
33# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
34# MA 02111-1307, USA.
35
36# Libtool -version-info for libgmp.la and libmp.la.  See "Versioning" in the
37# libtool manual.
38#
39# 1. No interfaces changed, only implementations (good): Increment REVISION.
40#
41# 2. Interfaces added, none removed (good): Increment CURRENT, increment
42#    AGE, set REVISION to 0.
43#
44# 3. Interfaces removed (BAD, breaks upward compatibility): Increment
45#    CURRENT, set AGE and REVISION to 0.
46#
47# Do this separately for libgmp and libmp, and only for releases.
48#
49#         GMP      -version-info
50#       release   libgmp  libgmpxx libmp
51#        2.0.x      -        -       -
52#        3.0      3:0:0      -     3:0:0
53#        3.0.1    3:1:0      -     3:0:0
54#        3.1      4:0:1      -     4:0:1
55#        3.1.1    4:1:1      -     4:1:1
56#        4.0      5:0:2    3:0:0   4:2:1
57#        4.0.1    5:1:2    3:1:0   4:3:1
58#        4.1      6:0:3    3:2:0   4:4:1
59#        4.1.1    6:1:3    3:3:0   4:5:1
60#        4.1.2    6:2:3    3:4:0   4:6:1
61#        4.1.3    6:3:3    3:5:0   4:7:1
62#
63# Starting at 3:0:0 is a slight abuse of the versioning system, but it
64# ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
65# packages of gmp 2.  Pretend gmp 2 was 2:0:0, so the interface changes for
66# gmp 3 mean 3:0:0 is right.
67
68SHELL = @SHELL@
69
70srcdir = @srcdir@
71top_srcdir = @top_srcdir@
72VPATH = @srcdir@
73prefix = @prefix@
74exec_prefix = @exec_prefix@
75
76bindir = @bindir@
77sbindir = @sbindir@
78libexecdir = @libexecdir@
79datadir = @datadir@
80sysconfdir = @sysconfdir@
81sharedstatedir = @sharedstatedir@
82localstatedir = @localstatedir@
83libdir = @libdir@
84infodir = @infodir@
85mandir = @mandir@
86includedir = @includedir@
87oldincludedir = /usr/include
88pkgdatadir = $(datadir)/@PACKAGE@
89pkglibdir = $(libdir)/@PACKAGE@
90pkgincludedir = $(includedir)/@PACKAGE@
91top_builddir = .
92
93ACLOCAL = @ACLOCAL@
94AUTOCONF = @AUTOCONF@
95AUTOMAKE = @AUTOMAKE@
96AUTOHEADER = @AUTOHEADER@
97
98INSTALL = @INSTALL@
99INSTALL_PROGRAM = @INSTALL_PROGRAM@
100INSTALL_DATA = @INSTALL_DATA@
101INSTALL_SCRIPT = @INSTALL_SCRIPT@
102INSTALL_HEADER = $(INSTALL_DATA)
103transform = @program_transform_name@
104NORMAL_INSTALL = :
105PRE_INSTALL = :
106POST_INSTALL = :
107NORMAL_UNINSTALL = :
108PRE_UNINSTALL = :
109POST_UNINSTALL = :
110host_alias = @host_alias@
111host_triplet = @host@
112AMTAR = @AMTAR@
113AR = @AR@
114AS = @AS@
115AWK = @AWK@
116BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@
117CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
118CC = @CC@
119CCAS = @CCAS@
120CPP = @CPP@
121CXX = @CXX@
122CXXCPP = @CXXCPP@
123DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
124DEPDIR = @DEPDIR@
125DLLTOOL = @DLLTOOL@
126ECHO = @ECHO@
127EXEEXT = @EXEEXT@
128GCJ = @GCJ@
129GCJFLAGS = @GCJFLAGS@
130GMP_LDFLAGS = @GMP_LDFLAGS@
131GMP_NAIL_BITS = @GMP_NAIL_BITS@
132HAVE_DECL_OPTARG = @HAVE_DECL_OPTARG@
133HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
134HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
135HAVE_MPFR_01 = @HAVE_MPFR_01@
136HAVE_STACK_T_01 = @HAVE_STACK_T_01@
137INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
138LEX = @LEX@
139LIBGMP_DLL = @LIBGMP_DLL@
140LIBM = @LIBM@
141LIBREADLINE = @LIBREADLINE@
142LIBTOOL = @LIBTOOL@
143LN_S = @LN_S@
144M4 = @M4@
145MAINT = @MAINT@
146MPFR_CFLAGS = @MPFR_CFLAGS@
147MPFR_LIBS = @MPFR_LIBS@
148OBJDUMP = @OBJDUMP@
149OBJEXT = @OBJEXT@
150PACKAGE = @PACKAGE@
151RANLIB = @RANLIB@
152RC = @RC@
153REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@
154REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@
155SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
156STRIP = @STRIP@
157TAL_OBJECT = @TAL_OBJECT@
158TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
159U = @U@
160VERSION = @VERSION@
161WITH_READLINE_01 = @WITH_READLINE_01@
162YACC = @YACC@
163am__include = @am__include@
164am__quote = @am__quote@
165gmp_srclinks = @gmp_srclinks@
166install_sh = @install_sh@
167mpn_objects = @mpn_objects@
168mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
169mpn_objs_in_libmp = @mpn_objs_in_libmp@
170
171LIBGMP_LT_CURRENT = 6
172LIBGMP_LT_REVISION = 3
173LIBGMP_LT_AGE = 3
174
175LIBGMPXX_LT_CURRENT = 3
176LIBGMPXX_LT_REVISION = 5
177LIBGMPXX_LT_AGE = 0
178
179LIBMP_LT_CURRENT = 4
180LIBMP_LT_REVISION = 7
181LIBMP_LT_AGE = 1
182
183AUTOMAKE_OPTIONS = gnu no-dependencies ansi2knr
184ACLOCAL_AMFLAGS = -I mpfr
185
186# FIXME: This is a workaround for automake not allowing info_TEXINFOS to be
187# conditionalized.  We want mpfr/mpfr.info only installed under
188# --enable-mpfr, but it and the rest of mpfr always included in a "make
189# dist".
190@MAINTAINER_MODE_TRUE@@WANT_MPFR_FALSE@MPFR_DIR = mpfr
191@WANT_MPFR_TRUE@MPFR_DIR = mpfr
192
193# "tests" ahead of "mpfr" ensures tests/t-constants is run before the
194# mpfr/tests programs.
195#
196SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd $(MPFR_DIR) demos tune
197
198@WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h
199@WANT_CXX_TRUE@@WANT_MPFR_TRUE@MPFRXX_HEADERS_OPTION = mpfrxx.h
200
201# gmp.h and mp.h are architecture dependent, mainly since they encode the
202# limb size used in libgmp.  For that reason they belong under $exec_prefix
203# not $prefix, strictly speaking.
204#
205# $exec_prefix/include is not in the default include path for gcc built to
206# the same $prefix and $exec_prefix, which might mean gmp.h is not found,
207# but anyone knowledgable enough to be playing with exec_prefix will be able
208# to address that.
209#
210includeexecdir = $(exec_prefix)/include
211include_HEADERS = $(GMPXX_HEADERS_OPTION) $(MPFRXX_HEADERS_OPTION)
212nodist_includeexec_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION)
213lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
214
215EXTRA_DIST = doc macos \
216  configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf libmp.sym \
217  gmpxx.h mpfrxx.h mpfr/README
218
219
220DISTCLEANFILES = $(nodist_include_HEADERS) config.m4 configure.lineno @gmp_srclinks@
221
222# Generated by current texinfo.tex when processing gmp.texi.
223# FIXME: Maybe this should be added to automake.
224MOSTLYCLEANFILES = gmp.tmp
225
226# Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
227INCLUDES = -D__GMP_WITHIN_GMP
228
229MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/set$U.lo mpf/set_ui$U.lo     \
230  mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo mpf/set_z$U.lo            \
231  mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo mpf/iset_str$U.lo         \
232  mpf/iset_d$U.lo mpf/clear$U.lo mpf/get_str$U.lo mpf/dump$U.lo             \
233  mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo mpf/sqrt$U.lo mpf/random2$U.lo \
234  mpf/inp_str$U.lo mpf/out_str$U.lo mpf/add$U.lo mpf/add_ui$U.lo            \
235  mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo mpf/mul$U.lo mpf/mul_ui$U.lo \
236  mpf/div$U.lo mpf/div_ui$U.lo                                              \
237  mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo               \
238  mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo             \
239  mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo   \
240  mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo               \
241  mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo                         \
242  mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo                         \
243  mpf/urandomb$U.lo mpf/swap$U.lo                                           \
244  mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo               \
245  mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo               \
246  mpf/get_si$U.lo mpf/get_ui$U.lo                                           \
247  mpf/int_p$U.lo
248
249
250MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo                 \
251  mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo  \
252  mpz/bin_ui$U.lo mpz/bin_uiui$U.lo                                     \
253  mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo                                    \
254  mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo                                  \
255  mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo                   \
256  mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo                           \
257  mpz/clear$U.lo mpz/clrbit$U.lo                                        \
258  mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo           \
259  mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo                  \
260  mpz/com$U.lo                                                          \
261  mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo                     \
262  mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo                   \
263  mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo    \
264  mpz/export$U.lo mpz/fac_ui$U.lo mpz/fdiv_q$U.lo                       \
265  mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo               \
266  mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo                                    \
267  mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo  \
268  mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo           \
269  mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo                 \
270  mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo    \
271  mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo    \
272  mpz/hamdist$U.lo                                                      \
273  mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inp_raw$U.lo         \
274  mpz/inp_str$U.lo mpz/invert$U.lo                                      \
275  mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo           \
276  mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo    \
277  mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo                       \
278  mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo   \
279  mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo      \
280  mpz/mul_si$U.lo mpz/mul_ui$U.lo                                       \
281  mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo                     \
282  mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo   \
283  mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_ui$U.lo      \
284  mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo                    \
285  mpz/realloc$U.lo mpz/realloc2$U.lo                                    \
286  mpz/remove$U.lo mpz/root$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo        \
287  mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo             \
288  mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo       \
289  mpz/setbit$U.lo                                                       \
290  mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo                       \
291  mpz/sqrtrem$U.lo mpz/sub$U.lo mpz/sub_ui$U.lo mpz/swap$U.lo           \
292  mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo                 \
293  mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo               \
294  mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo               \
295  mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo  \
296  mpz/urandomm$U.lo mpz/xor$U.lo
297
298
299MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo                                \
300  mpq/canonicalize$U.lo mpq/clear$U.lo                                  \
301  mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo             \
302  mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo     \
303  mpq/init$U.lo mpq/inp_str$U.lo mpq/inv$U.lo                           \
304  mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo           \
305  mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo                        \
306  mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo                      \
307  mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo                          \
308  mpq/set_f$U.lo mpq/swap$U.lo
309
310
311MPN_OBJECTS = @mpn_objs_in_libgmp@
312
313PRINTF_OBJECTS = \
314  @REPL_VSNPRINTF_PRINTF_OBJ@                                           \
315  printf/asprintf$U.lo printf/asprntffuns$U.lo                          \
316  printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo            \
317  printf/fprintf$U.lo                                                   \
318  printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo    \
319  printf/printf$U.lo printf/printffuns$U.lo                             \
320  printf/snprintf$U.lo printf/snprntffuns$U.lo                          \
321  printf/sprintf$U.lo printf/sprintffuns$U.lo                           \
322  printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo        \
323  printf/vsnprintf$U.lo printf/vsprintf$U.lo
324
325
326SCANF_OBJECTS = \
327  scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo     \
328  scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo      \
329  scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo
330
331
332# no $U for C++ files
333CXX_OBJECTS = \
334  cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo                  \
335  cxx/osdoprnti.lo cxx/osfuns.lo                                        \
336  cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo
337
338
339MPBSD_OBJECTS = mpbsd/add$U.lo mpbsd/tdiv_qr$U.lo mpbsd/set$U.lo        \
340  mpbsd/powm$U.lo mpbsd/sub$U.lo mpbsd/cmp$U.lo mpbsd/mfree$U.lo        \
341  mpbsd/mtox$U.lo mpbsd/realloc$U.lo mpbsd/gcd$U.lo mpbsd/itom$U.lo     \
342  mpbsd/min$U.lo mpbsd/mul$U.lo mpbsd/mout$U.lo mpbsd/rpow$U.lo         \
343  mpbsd/sdiv$U.lo mpbsd/sqrtrem$U.lo mpbsd/xtom$U.lo
344
345
346
347# In the current libtool it doesn't work to build libgmp.la from convenience
348# libraries like mpz/libmpz.la.  Or rather it works, but it ends up putting
349# PIC objects into libgmp.a when shared and static are both built.
350#
351# For now the big lists of objects above are used.  Something like mpz/*.lo
352# would probably work, but might risk missing something out or getting
353# something extra.  The source files for each .lo are listed in the
354# Makefile.am's in the subdirectories.
355#
356# Currently, unlike libmp below, we're not using -export-symbols, since the
357# tune and speed programs, and perhaps some of the test programs, want to
358# access undocumented symbols.
359libgmp_la_SOURCES = gmp-impl.h longlong.h                               \
360  assert.c compat.c errno.c extract-dbl.c insert-dbl.c memory.c         \
361  mp_bpl.c mp_clz_tab.c mp_minv_tab.c mp_set_fns.c                      \
362  rand.c randclr.c randdef.c randlc.c randlc2s.c randlc2x.c randraw.c   \
363  rands.c randsd.c randsdui.c version.c
364
365libgmp_la_DEPENDENCIES = @TAL_OBJECT@ \
366  $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPN_OBJECTS) $(MPQ_OBJECTS) \
367  $(PRINTF_OBJECTS)  $(SCANF_OBJECTS)
368
369libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES)
370libgmp_la_LDFLAGS = $(GMP_LDFLAGS) \
371  -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
372
373
374
375# We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
376# use $(CXXLINK) rather than the plain C $(LINK).  cxx/osfuns.cc is an
377# arbitrary choice for that.
378@WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la
379libgmpxx_la_SOURCES = dummy.cc
380libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la
381libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES)
382libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) \
383  -version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)
384
385
386
387# The selected mpz objects here support mpz/powm.c (built as mpbsd/powm.lo)
388# and can probably be removed when that switches to an mpn implementation.
389# (Apart from mpz/n_pow_ui$U.lo, which supports mpbsd/rpow.c)
390@WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = mp.h
391@WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = libmp.la
392libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c      \
393  mp_minv_tab.c mp_set_fns.c
394
395MPN_OBJS_IN_LIBMP = @mpn_objs_in_libmp@
396libmp_la_DEPENDENCIES = $(srcdir)/libmp.sym                             \
397  @TAL_OBJECT@ $(MPBSD_OBJECTS) $(MPN_OBJS_IN_LIBMP)                    \
398  mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo mpz/mul$U.lo             \
399  mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo mpz/sub$U.lo          \
400  mpz/tdiv_q$U.lo
401
402libmp_la_LIBADD = $(libmp_la_DEPENDENCIES)
403libmp_la_LDFLAGS = $(GMP_LDFLAGS) \
404  -version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE) \
405  -export-symbols $(srcdir)/libmp.sym
406
407
408# Optional objects, listed in a dummy library to generate ansi2knr rules and
409# get them in "make dist".
410#
411EXTRA_LTLIBRARIES = libdummy.la
412libdummy_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c
413
414info_TEXINFOS = gmp.texi
415gmp_TEXINFOS = fdl.texi
416subdir = .
417ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
418mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
419CONFIG_HEADER = config.h
420CONFIG_CLEAN_FILES = gmp.h mp.h
421LTLIBRARIES = $(lib_LTLIBRARIES)
422
423libdummy_la_LDFLAGS =
424libdummy_la_LIBADD =
425am_libdummy_la_OBJECTS = tal-debug$U.lo tal-notreent$U.lo tal-reent$U.lo
426libdummy_la_OBJECTS = $(am_libdummy_la_OBJECTS)
427am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo \
428        extract-dbl$U.lo insert-dbl$U.lo memory$U.lo mp_bpl$U.lo \
429        mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo rand$U.lo \
430        randclr$U.lo randdef$U.lo randlc$U.lo randlc2s$U.lo \
431        randlc2x$U.lo randraw$U.lo rands$U.lo randsd$U.lo randsdui$U.lo \
432        version$U.lo
433libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
434am_libgmpxx_la_OBJECTS = dummy.lo
435libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS)
436am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \
437        mp_clz_tab$U.lo mp_minv_tab$U.lo mp_set_fns$U.lo
438libmp_la_OBJECTS = $(am_libmp_la_OBJECTS)
439
440DEFS = @DEFS@
441DEFAULT_INCLUDES =  -I. -I$(srcdir) -I.
442CPPFLAGS = @CPPFLAGS@
443LDFLAGS = @LDFLAGS@
444LIBS = @LIBS@
445depcomp =
446COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
447        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
448LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
449        $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
450CCLD = $(CC)
451LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
452        $(AM_LDFLAGS) $(LDFLAGS) -o $@
453CFLAGS = @CFLAGS@
454CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
455        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
456LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \
457        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
458        $(AM_CXXFLAGS) $(CXXFLAGS)
459CXXLD = $(CXX)
460CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
461        $(AM_LDFLAGS) $(LDFLAGS) -o $@
462CXXFLAGS = @CXXFLAGS@
463DIST_SOURCES = $(libdummy_la_SOURCES) $(libgmp_la_SOURCES) \
464        $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
465INFO_DEPS = gmp.info
466DVIS = gmp.dvi
467TEXINFOS = gmp.texi
468HEADERS = $(include_HEADERS) $(nodist_includeexec_HEADERS)
469
470
471RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
472        uninstall-info-recursive all-recursive install-data-recursive \
473        install-exec-recursive installdirs-recursive install-recursive \
474        uninstall-recursive check-recursive installcheck-recursive
475DIST_COMMON = README $(gmp_TEXINFOS) $(include_HEADERS) ./stamp-h1.in \
476        AUTHORS COPYING COPYING.LIB ChangeLog INSTALL Makefile.am \
477        Makefile.in NEWS acconfig.h acinclude.m4 aclocal.m4 ansi2knr.1 \
478        ansi2knr.c config.guess config.in config.sub configure \
479        configure.in gmp-h.in install-sh ltmain.sh mdate-sh missing \
480        mkinstalldirs mp-h.in stamp-vti texinfo.tex version.texi
481DIST_SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd mpfr demos \
482        tune
483SOURCES = $(libdummy_la_SOURCES) $(libgmp_la_SOURCES) $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
484
485all: config.h
486        $(MAKE) $(AM_MAKEFLAGS) all-recursive
487
488.SUFFIXES:
489.SUFFIXES: .c .cc .dvi .info .lo .o .obj .ps .texi
490
491mostlyclean-libtool:
492        -rm -f *.lo
493
494clean-libtool:
495        -rm -rf .libs _libs
496
497distclean-libtool:
498        -rm -f libtool
499$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
500        cd $(top_srcdir) && \
501          $(AUTOMAKE) --gnu  Makefile
502Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
503        cd $(top_builddir) && \
504          CONFIG_HEADERS= CONFIG_LINKS= \
505          CONFIG_FILES=$@ $(SHELL) ./config.status
506
507$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
508        $(SHELL) ./config.status --recheck
509$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
510        cd $(srcdir) && $(AUTOCONF)
511
512$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 mpfr/acinclude.m4
513        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
514config.h: stamp-h1
515        @if test ! -f $@; then \
516                rm -f stamp-h1; \
517                $(MAKE) stamp-h1; \
518        else :; fi
519stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
520        @rm -f stamp-h1 stamp-h1T
521        @echo timestamp > stamp-h1T 2> /dev/null
522        cd $(top_builddir) \
523          && CONFIG_FILES= CONFIG_HEADERS=config.h:config.in \
524             $(SHELL) ./config.status
525        @mv stamp-h1T stamp-h1
526$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/./stamp-h1.in
527        @if test ! -f $@; then \
528                rm -f $(srcdir)/./stamp-h1.in; \
529                $(MAKE) $(srcdir)/./stamp-h1.in; \
530        else :; fi
531$(srcdir)/./stamp-h1.in: $(top_srcdir)/configure.in $(ACLOCAL_M4) $(top_srcdir)/acconfig.h
532        @rm -f $(srcdir)/./stamp-h1.in $(srcdir)/./stamp-h1.inT
533        @echo timestamp > $(srcdir)/./stamp-h1.inT 2> /dev/null
534        cd $(top_srcdir) && $(AUTOHEADER)
535        @mv $(srcdir)/./stamp-h1.inT $(srcdir)/./stamp-h1.in
536
537distclean-hdr:
538        -rm -f config.h
539gmp.h: $(top_builddir)/config.status gmp-h.in
540        cd $(top_builddir) && CONFIG_FILES=$@:gmp-h.in CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
541mp.h: $(top_builddir)/config.status mp-h.in
542        cd $(top_builddir) && CONFIG_FILES=$@:mp-h.in CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
543install-libLTLIBRARIES: $(lib_LTLIBRARIES)
544        @$(NORMAL_INSTALL)
545        $(mkinstalldirs) $(DESTDIR)$(libdir)
546        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
547          if test -f $$p; then \
548            echo " $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p"; \
549            $(LIBTOOL) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$p; \
550          else :; fi; \
551        done
552
553uninstall-libLTLIBRARIES:
554        @$(NORMAL_UNINSTALL)
555        @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
556          echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \
557          $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \
558        done
559
560clean-libLTLIBRARIES:
561        -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
562libdummy.la: $(libdummy_la_OBJECTS) $(libdummy_la_DEPENDENCIES)
563        $(LINK)  $(libdummy_la_LDFLAGS) $(libdummy_la_OBJECTS) $(libdummy_la_LIBADD) $(LIBS)
564libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES)
565        $(LINK) -rpath $(libdir) $(libgmp_la_LDFLAGS) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
566libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES)
567        $(CXXLINK) -rpath $(libdir) $(libgmpxx_la_LDFLAGS) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS)
568libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES)
569        $(LINK) -rpath $(libdir) $(libmp_la_LDFLAGS) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS)
570
571mostlyclean-compile:
572        -rm -f *.$(OBJEXT) core *.core
573
574distclean-compile:
575        -rm -f *.tab.c
576
577ANSI2KNR = @ANSI2KNR@
578ansi2knr: ansi2knr.$(OBJEXT)
579        $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
580ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
581
582clean-krextra:
583        -rm -f ansi2knr
584
585mostlyclean-kr:
586        -test "$U" = "" || rm -f *_.c
587
588.c.o:
589        $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
590
591.c.obj:
592        $(COMPILE) -c `cygpath -w $<`
593
594.c.lo:
595        $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
596assert_.c: assert.c $(ANSI2KNR)
597        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/assert.c; then echo $(srcdir)/assert.c; else echo assert.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > assert_.c || rm -f assert_.c
598compat_.c: compat.c $(ANSI2KNR)
599        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/compat.c; then echo $(srcdir)/compat.c; else echo compat.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > compat_.c || rm -f compat_.c
600errno_.c: errno.c $(ANSI2KNR)
601        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/errno.c; then echo $(srcdir)/errno.c; else echo errno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > errno_.c || rm -f errno_.c
602extract-dbl_.c: extract-dbl.c $(ANSI2KNR)
603        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/extract-dbl.c; then echo $(srcdir)/extract-dbl.c; else echo extract-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > extract-dbl_.c || rm -f extract-dbl_.c
604insert-dbl_.c: insert-dbl.c $(ANSI2KNR)
605        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/insert-dbl.c; then echo $(srcdir)/insert-dbl.c; else echo insert-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > insert-dbl_.c || rm -f insert-dbl_.c
606memory_.c: memory.c $(ANSI2KNR)
607        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memory.c; then echo $(srcdir)/memory.c; else echo memory.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memory_.c || rm -f memory_.c
608mp_bpl_.c: mp_bpl.c $(ANSI2KNR)
609        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_bpl.c; then echo $(srcdir)/mp_bpl.c; else echo mp_bpl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_bpl_.c || rm -f mp_bpl_.c
610mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR)
611        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_clz_tab.c; then echo $(srcdir)/mp_clz_tab.c; else echo mp_clz_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_clz_tab_.c || rm -f mp_clz_tab_.c
612mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR)
613        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_minv_tab.c; then echo $(srcdir)/mp_minv_tab.c; else echo mp_minv_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_minv_tab_.c || rm -f mp_minv_tab_.c
614mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR)
615        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_set_fns.c; then echo $(srcdir)/mp_set_fns.c; else echo mp_set_fns.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mp_set_fns_.c || rm -f mp_set_fns_.c
616rand_.c: rand.c $(ANSI2KNR)
617        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rand.c; then echo $(srcdir)/rand.c; else echo rand.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rand_.c || rm -f rand_.c
618randclr_.c: randclr.c $(ANSI2KNR)
619        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randclr.c; then echo $(srcdir)/randclr.c; else echo randclr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randclr_.c || rm -f randclr_.c
620randdef_.c: randdef.c $(ANSI2KNR)
621        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randdef.c; then echo $(srcdir)/randdef.c; else echo randdef.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randdef_.c || rm -f randdef_.c
622randlc_.c: randlc.c $(ANSI2KNR)
623        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc.c; then echo $(srcdir)/randlc.c; else echo randlc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc_.c || rm -f randlc_.c
624randlc2s_.c: randlc2s.c $(ANSI2KNR)
625        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2s.c; then echo $(srcdir)/randlc2s.c; else echo randlc2s.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc2s_.c || rm -f randlc2s_.c
626randlc2x_.c: randlc2x.c $(ANSI2KNR)
627        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2x.c; then echo $(srcdir)/randlc2x.c; else echo randlc2x.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randlc2x_.c || rm -f randlc2x_.c
628randraw_.c: randraw.c $(ANSI2KNR)
629        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randraw.c; then echo $(srcdir)/randraw.c; else echo randraw.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randraw_.c || rm -f randraw_.c
630rands_.c: rands.c $(ANSI2KNR)
631        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rands.c; then echo $(srcdir)/rands.c; else echo rands.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > rands_.c || rm -f rands_.c
632randsd_.c: randsd.c $(ANSI2KNR)
633        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsd.c; then echo $(srcdir)/randsd.c; else echo randsd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsd_.c || rm -f randsd_.c
634randsdui_.c: randsdui.c $(ANSI2KNR)
635        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsdui.c; then echo $(srcdir)/randsdui.c; else echo randsdui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > randsdui_.c || rm -f randsdui_.c
636tal-debug_.c: tal-debug.c $(ANSI2KNR)
637        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-debug.c; then echo $(srcdir)/tal-debug.c; else echo tal-debug.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-debug_.c || rm -f tal-debug_.c
638tal-notreent_.c: tal-notreent.c $(ANSI2KNR)
639        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-notreent.c; then echo $(srcdir)/tal-notreent.c; else echo tal-notreent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-notreent_.c || rm -f tal-notreent_.c
640tal-reent_.c: tal-reent.c $(ANSI2KNR)
641        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-reent.c; then echo $(srcdir)/tal-reent.c; else echo tal-reent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tal-reent_.c || rm -f tal-reent_.c
642version_.c: version.c $(ANSI2KNR)
643        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/version.c; then echo $(srcdir)/version.c; else echo version.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > version_.c || rm -f version_.c
644assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \
645errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \
646insert-dbl_.$(OBJEXT) insert-dbl_.lo memory_.$(OBJEXT) memory_.lo \
647mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \
648mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo mp_set_fns_.$(OBJEXT) \
649mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo randclr_.$(OBJEXT) randclr_.lo \
650randdef_.$(OBJEXT) randdef_.lo randlc_.$(OBJEXT) randlc_.lo \
651randlc2s_.$(OBJEXT) randlc2s_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \
652randraw_.$(OBJEXT) randraw_.lo rands_.$(OBJEXT) rands_.lo \
653randsd_.$(OBJEXT) randsd_.lo randsdui_.$(OBJEXT) randsdui_.lo \
654tal-debug_.$(OBJEXT) tal-debug_.lo tal-notreent_.$(OBJEXT) \
655tal-notreent_.lo tal-reent_.$(OBJEXT) tal-reent_.lo version_.$(OBJEXT) \
656version_.lo : $(ANSI2KNR)
657
658.cc.o:
659        $(CXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
660
661.cc.obj:
662        $(CXXCOMPILE) -c -o $@ `cygpath -w $<`
663
664.cc.lo:
665        $(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
666
667$(srcdir)/version.texi: @MAINTAINER_MODE_TRUE@ $(srcdir)/stamp-vti
668        @:
669$(srcdir)/stamp-vti: gmp.texi $(top_srcdir)/configure.in
670        @(set `$(SHELL) $(srcdir)/mdate-sh $(srcdir)/gmp.texi`; \
671        echo "@set UPDATED $$1 $$2 $$3"; \
672        echo "@set UPDATED-MONTH $$2 $$3"; \
673        echo "@set EDITION $(VERSION)"; \
674        echo "@set VERSION $(VERSION)") > vti.tmp
675        @cmp -s vti.tmp $(srcdir)/version.texi \
676          || (echo "Updating $(srcdir)/version.texi"; \
677              cp vti.tmp $(srcdir)/version.texi)
678        -@rm -f vti.tmp
679        @cp $(srcdir)/version.texi $@
680
681mostlyclean-vti:
682        -rm -f vti.tmp
683
684maintainer-clean-vti:
685@MAINTAINER_MODE_TRUE@  -rm -f $(srcdir)/stamp-vti $(srcdir)/version.texi
686
687gmp.info: gmp.texi $(srcdir)/version.texi $(gmp_TEXINFOS)
688gmp.dvi: gmp.texi $(srcdir)/version.texi $(gmp_TEXINFOS)
689
690.texi.info:
691        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
692        cd $(srcdir) \
693          && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
694               `echo $< | sed 's,.*/,,'`
695
696.texi.dvi:
697        TEXINPUTS=$(srcdir):$$TEXINPUTS \
698        MAKEINFO='$(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) -I $(srcdir)' \
699        $(TEXI2DVI) $<
700
701.texi:
702        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
703        cd $(srcdir) \
704          && $(MAKEINFO) $(AM_MAKEINFOFLAGS) $(MAKEINFOFLAGS) \
705               `echo $< | sed 's,.*/,,'`
706
707MAKEINFO = @MAKEINFO@
708TEXI2DVI = texi2dvi
709DVIPS = dvips
710.dvi.ps:
711        $(DVIPS) $< -o $@
712
713uninstall-info-am:
714        $(PRE_UNINSTALL)
715        @if (install-info --version && \
716             install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
717          list='$(INFO_DEPS)'; \
718          for file in $$list; do \
719            echo " install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file"; \
720            install-info --info-dir=$(DESTDIR)$(infodir) --remove $(DESTDIR)$(infodir)/$$file; \
721          done; \
722        else :; fi
723        @$(NORMAL_UNINSTALL)
724        @list='$(INFO_DEPS)'; \
725        for file in $$list; do \
726          (if cd $(DESTDIR)$(infodir); then \
727             echo " rm -f $$file $$file-[0-9] $$file-[0-9][0-9])"; \
728             rm -f $$file $$file-[0-9] $$file-[0-9][0-9]; \
729           else :; fi); \
730        done
731
732dist-info: $(INFO_DEPS)
733        list='$(INFO_DEPS)'; \
734        for base in $$list; do \
735          d=$(srcdir); \
736          for file in `CDPATH=: && cd $$d && eval echo $$base*`; do \
737            test -f $(distdir)/$$file \
738            || cp -p $$d/$$file $(distdir)/$$file; \
739          done; \
740        done
741
742mostlyclean-aminfo:
743        -rm -f gmp.aux gmp.cp gmp.cps gmp.dvi gmp.fn gmp.fns gmp.ky gmp.log gmp.pg \
744          gmp.ps gmp.toc gmp.tp gmp.vr gmp.vrs
745
746maintainer-clean-aminfo:
747        cd $(srcdir) && \
748        for i in $(INFO_DEPS); do \
749          rm -f $$i; \
750          if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
751            rm -f $$i-[0-9]*; \
752          fi; \
753        done
754install-includeHEADERS: $(include_HEADERS)
755        @$(NORMAL_INSTALL)
756        $(mkinstalldirs) $(DESTDIR)$(includedir)
757        @list='$(include_HEADERS)'; for p in $$list; do \
758          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
759          f="`echo $$p | sed -e 's|^.*/||'`"; \
760          echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
761          $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includedir)/$$f; \
762        done
763
764uninstall-includeHEADERS:
765        @$(NORMAL_UNINSTALL)
766        @list='$(include_HEADERS)'; for p in $$list; do \
767          f="`echo $$p | sed -e 's|^.*/||'`"; \
768          echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
769          rm -f $(DESTDIR)$(includedir)/$$f; \
770        done
771install-nodist_includeexecHEADERS: $(nodist_includeexec_HEADERS)
772        @$(NORMAL_INSTALL)
773        $(mkinstalldirs) $(DESTDIR)$(includeexecdir)
774        @list='$(nodist_includeexec_HEADERS)'; for p in $$list; do \
775          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
776          f="`echo $$p | sed -e 's|^.*/||'`"; \
777          echo " $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includeexecdir)/$$f"; \
778          $(INSTALL_HEADER) $$d$$p $(DESTDIR)$(includeexecdir)/$$f; \
779        done
780
781uninstall-nodist_includeexecHEADERS:
782        @$(NORMAL_UNINSTALL)
783        @list='$(nodist_includeexec_HEADERS)'; for p in $$list; do \
784          f="`echo $$p | sed -e 's|^.*/||'`"; \
785          echo " rm -f $(DESTDIR)$(includeexecdir)/$$f"; \
786          rm -f $(DESTDIR)$(includeexecdir)/$$f; \
787        done
788
789# This directory's subdirectories are mostly independent; you can cd
790# into them and run `make' without going through this Makefile.
791# To change the values of `make' variables: instead of editing Makefiles,
792# (1) if the variable is set in `config.status', edit `config.status'
793#     (which will cause the Makefiles to be regenerated when you run `make');
794# (2) otherwise, pass the desired values on the `make' command line.
795$(RECURSIVE_TARGETS):
796        @set fnord $(MAKEFLAGS); amf=$$2; \
797        dot_seen=no; \
798        target=`echo $@ | sed s/-recursive//`; \
799        list='$(SUBDIRS)'; for subdir in $$list; do \
800          echo "Making $$target in $$subdir"; \
801          if test "$$subdir" = "."; then \
802            dot_seen=yes; \
803            local_target="$$target-am"; \
804          else \
805            local_target="$$target"; \
806          fi; \
807          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
808           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
809        done; \
810        if test "$$dot_seen" = "no"; then \
811          $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
812        fi; test -z "$$fail"
813
814mostlyclean-recursive clean-recursive distclean-recursive \
815maintainer-clean-recursive:
816        @set fnord $(MAKEFLAGS); amf=$$2; \
817        dot_seen=no; \
818        case "$@" in \
819          distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
820          *) list='$(SUBDIRS)' ;; \
821        esac; \
822        rev=''; for subdir in $$list; do \
823          if test "$$subdir" = "."; then :; else \
824            rev="$$subdir $$rev"; \
825          fi; \
826        done; \
827        rev="$$rev ."; \
828        target=`echo $@ | sed s/-recursive//`; \
829        for subdir in $$rev; do \
830          echo "Making $$target in $$subdir"; \
831          if test "$$subdir" = "."; then \
832            local_target="$$target-am"; \
833          else \
834            local_target="$$target"; \
835          fi; \
836          (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
837           || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
838        done && test -z "$$fail"
839tags-recursive:
840        list='$(SUBDIRS)'; for subdir in $$list; do \
841          test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
842        done
843
844tags: TAGS
845
846ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
847        list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
848        unique=`for i in $$list; do \
849            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
850          done | \
851          $(AWK) '    { files[$$0] = 1; } \
852               END { for (i in files) print i; }'`; \
853        mkid -fID $$unique $(LISP)
854
855TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
856                $(TAGS_FILES) $(LISP)
857        tags=; \
858        here=`pwd`; \
859        list='$(SUBDIRS)'; for subdir in $$list; do \
860          if test "$$subdir" = .; then :; else \
861            test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
862          fi; \
863        done; \
864        list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
865        unique=`for i in $$list; do \
866            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
867          done | \
868          $(AWK) '    { files[$$0] = 1; } \
869               END { for (i in files) print i; }'`; \
870        test -z "$(ETAGS_ARGS)config.in$$unique$(LISP)$$tags" \
871          || etags $(ETAGS_ARGS) $$tags config.in $$unique $(LISP)
872
873GTAGS:
874        here=`CDPATH=: && cd $(top_builddir) && pwd` \
875          && cd $(top_srcdir) \
876          && gtags -i $(GTAGS_ARGS) $$here
877
878distclean-tags:
879        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
880
881DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
882
883top_distdir = .
884# Avoid unsightly `./'.
885distdir = $(PACKAGE)-$(VERSION)
886
887GZIP_ENV = --best
888
889distdir: $(DISTFILES)
890        -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
891        mkdir $(distdir)
892        $(mkinstalldirs) $(distdir)/. $(distdir)/demos $(distdir)/demos/calc $(distdir)/demos/expr $(distdir)/mpfr
893        @for file in $(DISTFILES); do \
894          if test -f $$file; then d=.; else d=$(srcdir); fi; \
895          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
896          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
897            $(mkinstalldirs) "$(distdir)/$$dir"; \
898          fi; \
899          if test -d $$d/$$file; then \
900            cp -pR $$d/$$file $(distdir) \
901            || exit 1; \
902          else \
903            test -f $(distdir)/$$file \
904            || cp -p $$d/$$file $(distdir)/$$file \
905            || exit 1; \
906          fi; \
907        done
908        for subdir in $(DIST_SUBDIRS); do \
909          if test "$$subdir" = .; then :; else \
910            test -d $(distdir)/$$subdir \
911            || mkdir $(distdir)/$$subdir \
912            || exit 1; \
913            (cd $$subdir && \
914              $(MAKE) $(AM_MAKEFLAGS) \
915                top_distdir="$(top_distdir)" \
916                distdir=../$(distdir)/$$subdir \
917                distdir) \
918              || exit 1; \
919          fi; \
920        done
921        $(MAKE) $(AM_MAKEFLAGS) \
922          top_distdir="${top_distdir}" distdir="$(distdir)" \
923          dist-info dist-hook
924        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
925          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
926          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
927          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
928        || chmod -R a+r $(distdir)
929dist: distdir
930        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
931        -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
932
933# This target untars the dist file and tries a VPATH configuration.  Then
934# it guarantees that the distribution is self-contained by making another
935# tarfile.
936distcheck: dist
937        -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
938        GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
939        chmod -R a-w $(distdir); chmod a+w $(distdir)
940        mkdir $(distdir)/=build
941        mkdir $(distdir)/=inst
942        chmod a-w $(distdir)
943        dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
944          && cd $(distdir)/=build \
945          && ../configure --srcdir=.. --prefix=$$dc_install_base \
946          && $(MAKE) $(AM_MAKEFLAGS) \
947          && $(MAKE) $(AM_MAKEFLAGS) dvi \
948          && $(MAKE) $(AM_MAKEFLAGS) check \
949          && $(MAKE) $(AM_MAKEFLAGS) install \
950          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
951          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
952          && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
953             || (echo "Error: files left after uninstall" 1>&2; \
954                 exit 1) ) \
955          && $(MAKE) $(AM_MAKEFLAGS) dist \
956          && $(MAKE) $(AM_MAKEFLAGS) distclean \
957          && rm -f $(distdir).tar.gz \
958          && (test `find . -type f -print | wc -l` -eq 0 \
959             || (echo "Error: files left after distclean" 1>&2; \
960                 exit 1) )
961        -chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
962        @echo "$(distdir).tar.gz is ready for distribution" | \
963          sed 'h;s/./=/g;p;x;p;x'
964check-am: all-am
965check: check-recursive
966all-am: Makefile $(INFO_DEPS) $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) \
967                config.h
968installdirs: installdirs-recursive
969installdirs-am:
970        $(mkinstalldirs) $(DESTDIR)$(libdir) $(DESTDIR)$(infodir) $(DESTDIR)$(includedir) $(DESTDIR)$(includeexecdir)
971
972install: install-recursive
973install-exec: install-exec-recursive
974install-data: install-data-recursive
975uninstall: uninstall-recursive
976
977install-am: all-am
978        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
979
980installcheck: installcheck-recursive
981install-strip:
982        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
983          `test -z '$(STRIP)' || \
984            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
985mostlyclean-generic:
986        -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
987
988clean-generic:
989
990distclean-generic:
991        -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
992        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
993
994maintainer-clean-generic:
995        @echo "This command is intended for maintainers to use"
996        @echo "it deletes files that may require special tools to rebuild."
997clean: clean-recursive
998
999clean-am: clean-generic clean-krextra clean-libLTLIBRARIES clean-libtool \
1000        mostlyclean-am
1001
1002dist-all: distdir
1003        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1004        -chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
1005distclean: distclean-recursive
1006        -rm -f config.status config.cache config.log
1007distclean-am: clean-am distclean-compile distclean-generic distclean-hdr \
1008        distclean-libtool distclean-tags
1009
1010dvi: dvi-recursive
1011
1012dvi-am: $(DVIS)
1013
1014info: info-recursive
1015
1016info-am: $(INFO_DEPS)
1017
1018install-data-am: install-includeHEADERS install-info-am
1019
1020install-exec-am: install-libLTLIBRARIES \
1021        install-nodist_includeexecHEADERS
1022
1023install-info: install-info-recursive
1024
1025install-info-am: $(INFO_DEPS)
1026        @$(NORMAL_INSTALL)
1027        $(mkinstalldirs) $(DESTDIR)$(infodir)
1028        @list='$(INFO_DEPS)'; \
1029        for file in $$list; do \
1030          d=$(srcdir); \
1031          for ifile in `CDPATH=: && cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
1032            if test -f $$d/$$ifile; then \
1033              echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
1034              $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
1035            else : ; fi; \
1036          done; \
1037        done
1038        @$(POST_INSTALL)
1039        @if (install-info --version && \
1040             install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
1041          list='$(INFO_DEPS)'; \
1042          for file in $$list; do \
1043            echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
1044            install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
1045          done; \
1046        else : ; fi
1047install-man:
1048
1049installcheck-am:
1050
1051maintainer-clean: maintainer-clean-recursive
1052
1053maintainer-clean-am: distclean-am maintainer-clean-aminfo \
1054        maintainer-clean-generic maintainer-clean-vti
1055
1056mostlyclean: mostlyclean-recursive
1057
1058mostlyclean-am: mostlyclean-aminfo mostlyclean-compile \
1059        mostlyclean-generic mostlyclean-kr mostlyclean-libtool \
1060        mostlyclean-vti
1061
1062uninstall-am: uninstall-includeHEADERS uninstall-info-am \
1063        uninstall-libLTLIBRARIES uninstall-nodist_includeexecHEADERS
1064
1065uninstall-info: uninstall-info-recursive
1066
1067.PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-am clean \
1068        clean-generic clean-krextra clean-libLTLIBRARIES clean-libtool \
1069        clean-recursive dist dist-all dist-info distcheck distclean \
1070        distclean-compile distclean-generic distclean-hdr \
1071        distclean-libtool distclean-recursive distclean-tags distdir \
1072        dvi dvi-am dvi-recursive info info-am info-recursive install \
1073        install-am install-data install-data-am install-data-recursive \
1074        install-exec install-exec-am install-exec-recursive \
1075        install-includeHEADERS install-info install-info-am \
1076        install-info-recursive install-libLTLIBRARIES install-man \
1077        install-nodist_includeexecHEADERS install-recursive \
1078        install-strip installcheck installcheck-am installdirs \
1079        installdirs-am installdirs-recursive maintainer-clean \
1080        maintainer-clean-aminfo maintainer-clean-generic \
1081        maintainer-clean-recursive maintainer-clean-vti mostlyclean \
1082        mostlyclean-aminfo mostlyclean-compile mostlyclean-generic \
1083        mostlyclean-kr mostlyclean-libtool mostlyclean-recursive \
1084        mostlyclean-vti tags tags-recursive uninstall uninstall-am \
1085        uninstall-includeHEADERS uninstall-info-am \
1086        uninstall-info-recursive uninstall-libLTLIBRARIES \
1087        uninstall-nodist_includeexecHEADERS uninstall-recursive
1088
1089
1090# Avoid: CVS - cvs directories
1091#        *~  - emacs backups
1092#        .#* - cvs merge originals
1093#
1094# *~ and .#* only occur when a whole directory without it's own Makefile.am
1095# is distributed, like "doc" or the mpn cpu subdirectories.
1096#
1097dist-hook:
1098        -find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \
1099                | xargs rm -rf
1100# Tell versions [3.59,3.63) of GNU make to not export all variables.
1101# Otherwise a system limit (for SysV at least) may be exceeded.
1102.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.