1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
19 # 2006, 2007, 2008, 2009, 2011, 2012, 2013 Free Software Foundation, Inc.
21 # This file is part of the GNU MP Library.
23 # The GNU MP Library is free software; you can redistribute it and/or modify
24 # it under the terms of the GNU Lesser General Public License as published by
25 # the Free Software Foundation; either version 3 of the License, or (at your
26 # option) any later version.
28 # The GNU MP Library is distributed in the hope that it will be useful, but
29 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
31 # License for more details.
33 # You should have received a copy of the GNU Lesser General Public License
34 # along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
36 # The following options are the same as AM_INIT_AUTOMAKE in configure.in,
37 # except no $(top_builddir) on ansi2knr. That directory is wanted for the
38 # Makefiles in subdirectories, but here we must omit it so automake gives
39 # the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
41 # AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
43 # Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
46 # CURRENT:REVISION:AGE
48 # 1. No interfaces changed, only implementations (good): Increment REVISION.
50 # 2. Interfaces added, none removed (good): Increment CURRENT, increment
51 # AGE, set REVISION to 0.
53 # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
54 # CURRENT, set AGE and REVISION to 0.
56 # Do this separately for libgmp, libgmpxx and libmp, and only for releases.
59 # release libgmp libgmpxx libmp
65 # 4.0 5:0:2 3:0:0 4:2:1
66 # 4.0.1 5:1:2 3:1:0 4:3:1
67 # 4.1 6:0:3 3:2:0 4:4:1
68 # 4.1.1 6:1:3 3:3:0 4:5:1
69 # 4.1.2 6:2:3 3:4:0 4:6:1
70 # 4.1.3 6:3:3 3:5:0 4:7:1
71 # 4.1.4 6:3:3 3:5:0 4:7:1 WRONG, same as 4.1.3!
72 # 4.2 6:0:3 3:2:0 4:4:1 REALLY WRONG, same as 4.1!
73 # 4.2.1 7:1:4 4:1:1 4:10:1 WRONG for libgmpxx
74 # 4.2.2 7:2:4 4:2:0 4:11:1
75 # 4.2.3 7:3:4 4:3:0 4:12:1
76 # 4.2.4 7:4:4 4:4:0 4:13:1
77 # 4.3.0 8:0:5 5:0:1 4:14:1
78 # 4.3.1 8:1:5 5:1:1 4:15:1 WRONG Really used same as 4.3.0
79 # 4.3.2 8:2:5 5:2:1 4:16:1
80 # 5.0.0 9:0:6 6:0:2 4:20:1 Should have been 10:0:0
81 # 5.0.1 10:1:0 6:1:2 4:21:1
82 # 5.0.2 10:2:0 6:2:2 4:22:1
83 # 5.0.3 10:3:0 6:3:2 4:23:1
84 # 5.0.4 10:4:0 6:4:2 4:24:1
85 # 5.0.5 10:5:0 6:5:2 4:25:1
86 # 5.1.0 11:0:1 7:0:3 -
87 # 5.1.1 11:1:1 7:1:3 -
88 # 5.1.2 11:2:1 7:2:3 -
89 # 5.1.3 11:3:1 7:3:3 -
91 # Starting at 3:0:0 is a slight abuse of the versioning system, but it
92 # ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
93 # packages of gmp 2. Pretend gmp 2 was 2:0:0, so the interface changes for
94 # gmp 3 mean 3:0:0 is right.
96 # We interpret "implementation changed" in item "1." above as meaning any
97 # release, ie. the REVISION is incremented every time (if nothing else).
98 # Even if we thought the code generated will be identical on all systems,
99 # it's still good to get the shared library filename (like
100 # libgmpxx.so.3.0.4) incrementing, to make it clear which GMP it's from.
107 case $$MAKEFLAGS in \
109 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \
110 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \
112 for am__flg in $$MAKEFLAGS; do \
115 *n*) am__dry=yes; break;; \
119 test $$am__dry = yes; \
121 pkgdatadir = $(datadir)/@PACKAGE@
122 pkgincludedir = $(includedir)/@PACKAGE@
123 pkglibdir = $(libdir)/@PACKAGE@
124 pkglibexecdir = $(libexecdir)/@PACKAGE@
125 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
126 install_sh_DATA = $(install_sh) -c -m 644
127 install_sh_PROGRAM = $(install_sh) -c
128 install_sh_SCRIPT = $(install_sh) -c
129 INSTALL_HEADER = $(INSTALL_DATA)
130 transform = $(program_transform_name)
137 build_triplet = @build@
138 host_triplet = @host@
140 DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \
141 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
142 $(srcdir)/config.in $(srcdir)/gmp-h.in $(top_srcdir)/configure \
143 AUTHORS COPYING COPYING.LIB ChangeLog INSTALL NEWS \
144 config.guess config.sub install-sh ltmain.sh missing ylwrap
145 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
146 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
147 $(top_srcdir)/configure.ac
148 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
150 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
151 configure.lineno config.status.lineno
152 mkinstalldirs = $(install_sh) -d
153 CONFIG_HEADER = config.h
154 CONFIG_CLEAN_FILES = gmp.h gmp-mparam.h
155 CONFIG_CLEAN_VPATH_FILES =
156 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
157 am__vpath_adj = case $$p in \
158 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
161 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
163 am__nobase_strip_setup = \
164 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
166 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
167 am__nobase_list = $(am__nobase_strip_setup); \
168 for p in $$list; do echo "$$p $$p"; done | \
169 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
170 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
171 if (++n[$$2] == $(am__install_max)) \
172 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
173 END { for (dir in files) print dir, files[dir] }'
175 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
176 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
177 am__uninstall_files_from_dir = { \
179 || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
180 || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
181 $(am__cd) "$$dir" && rm -f $$files; }; \
183 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" \
184 "$(DESTDIR)$(includeexecdir)"
185 LTLIBRARIES = $(lib_LTLIBRARIES)
186 am__DEPENDENCIES_1 = $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
187 $(MPN_OBJECTS) $(PRINTF_OBJECTS) $(SCANF_OBJECTS) \
189 am_libgmp_la_OBJECTS = assert.lo compat.lo errno.lo extract-dbl.lo \
190 invalid.lo memory.lo mp_bpl.lo mp_clz_tab.lo mp_dv_tab.lo \
191 mp_minv_tab.lo mp_get_fns.lo mp_set_fns.lo version.lo \
192 nextprime.lo primesieve.lo
193 libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
194 libgmp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
195 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
196 $(libgmp_la_LDFLAGS) $(LDFLAGS) -o $@
197 am_libgmpxx_la_OBJECTS = dummy.lo
198 libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS)
199 libgmpxx_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
200 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
201 $(CXXFLAGS) $(libgmpxx_la_LDFLAGS) $(LDFLAGS) -o $@
202 @WANT_CXX_TRUE@am_libgmpxx_la_rpath = -rpath $(libdir)
203 DEFAULT_INCLUDES = -I.@am__isrc@
206 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
207 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
208 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
209 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
210 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
212 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
213 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
215 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
216 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
217 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
218 --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
219 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
221 CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
222 --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
224 SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
225 $(libgmpxx_la_SOURCES)
226 DIST_SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
227 $(libgmpxx_la_SOURCES)
228 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
229 html-recursive info-recursive install-data-recursive \
230 install-dvi-recursive install-exec-recursive \
231 install-html-recursive install-info-recursive \
232 install-pdf-recursive install-ps-recursive install-recursive \
233 installcheck-recursive installdirs-recursive pdf-recursive \
234 ps-recursive uninstall-recursive
235 am__can_run_installinfo = \
236 case $$AM_UPDATE_INFO_DIR in \
238 *) (install-info --version) >/dev/null 2>&1;; \
240 am__include_HEADERS_DIST = gmpxx.h
241 HEADERS = $(include_HEADERS) $(nodist_includeexec_HEADERS)
242 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
243 distclean-recursive maintainer-clean-recursive
244 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
245 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
246 distdir dist dist-all distcheck
249 DIST_SUBDIRS = $(SUBDIRS)
250 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
251 distdir = $(PACKAGE)-$(VERSION)
252 top_distdir = $(distdir)
253 am__remove_distdir = \
254 if test -d "$(distdir)"; then \
255 find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
256 && rm -rf "$(distdir)" \
257 || { sleep 5 && rm -rf "$(distdir)"; }; \
261 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
262 sed_rest='s,^[^/]*/*,,'; \
263 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
264 sed_butlast='s,/*[^/]*$$,,'; \
265 while test -n "$$dir1"; do \
266 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
267 if test "$$first" != "."; then \
268 if test "$$first" = ".."; then \
269 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
270 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
272 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
273 if test "$$first2" = "$$first"; then \
274 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
278 dir0="$$dir0"/"$$first"; \
281 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
284 DIST_ARCHIVES = $(distdir).tar.gz
286 distuninstallcheck_listfiles = find . -type f -print
287 am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
288 | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
289 distcleancheck_listfiles = find . -type f -print
295 ASMFLAGS = @ASMFLAGS@
296 AUTOCONF = @AUTOCONF@
297 AUTOHEADER = @AUTOHEADER@
298 AUTOMAKE = @AUTOMAKE@
300 CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
303 CC_FOR_BUILD = @CC_FOR_BUILD@
306 CPPFLAGS = @CPPFLAGS@
307 CPP_FOR_BUILD = @CPP_FOR_BUILD@
310 CXXFLAGS = @CXXFLAGS@
311 CYGPATH_W = @CYGPATH_W@
312 DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
315 DSYMUTIL = @DSYMUTIL@
322 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
324 GMP_LDFLAGS = @GMP_LDFLAGS@
325 GMP_LIMB_BITS = @GMP_LIMB_BITS@
326 GMP_NAIL_BITS = @GMP_NAIL_BITS@
328 HAVE_CLOCK_01 = @HAVE_CLOCK_01@
329 HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
330 HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
331 HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
332 HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
333 HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
334 HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
335 HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
336 HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
337 HAVE_STACK_T_01 = @HAVE_STACK_T_01@
338 HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
340 INSTALL_DATA = @INSTALL_DATA@
341 INSTALL_PROGRAM = @INSTALL_PROGRAM@
342 INSTALL_SCRIPT = @INSTALL_SCRIPT@
343 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
348 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
349 LIBCURSES = @LIBCURSES@
350 LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
351 LIBGMP_DLL = @LIBGMP_DLL@
352 LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
354 LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
356 LIBREADLINE = @LIBREADLINE@
361 LTLIBOBJS = @LTLIBOBJS@
364 MAKEINFO = @MAKEINFO@
365 MANIFEST_TOOL = @MANIFEST_TOOL@
374 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
375 PACKAGE_NAME = @PACKAGE_NAME@
376 PACKAGE_STRING = @PACKAGE_STRING@
377 PACKAGE_TARNAME = @PACKAGE_TARNAME@
378 PACKAGE_URL = @PACKAGE_URL@
379 PACKAGE_VERSION = @PACKAGE_VERSION@
380 PATH_SEPARATOR = @PATH_SEPARATOR@
383 SET_MAKE = @SET_MAKE@
385 SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
387 TAL_OBJECT = @TAL_OBJECT@
388 TUNE_LIBS = @TUNE_LIBS@
389 TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
390 U_FOR_BUILD = @U_FOR_BUILD@
392 WITH_READLINE_01 = @WITH_READLINE_01@
395 abs_builddir = @abs_builddir@
396 abs_srcdir = @abs_srcdir@
397 abs_top_builddir = @abs_top_builddir@
398 abs_top_srcdir = @abs_top_srcdir@
399 ac_ct_AR = @ac_ct_AR@
400 ac_ct_CC = @ac_ct_CC@
401 ac_ct_CXX = @ac_ct_CXX@
402 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
403 am__leading_dot = @am__leading_dot@
405 am__untar = @am__untar@
408 build_alias = @build_alias@
409 build_cpu = @build_cpu@
410 build_os = @build_os@
411 build_vendor = @build_vendor@
412 builddir = @builddir@
414 datarootdir = @datarootdir@
417 exec_prefix = @exec_prefix@
418 gmp_srclinks = @gmp_srclinks@
420 host_alias = @host_alias@
421 host_cpu = @host_cpu@
423 host_vendor = @host_vendor@
425 includedir = @includedir@
427 install_sh = @install_sh@
429 libexecdir = @libexecdir@
430 localedir = @localedir@
431 localstatedir = @localstatedir@
434 mpn_objects = @mpn_objects@
435 mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
436 oldincludedir = @oldincludedir@
439 program_transform_name = @program_transform_name@
442 sharedstatedir = @sharedstatedir@
444 sysconfdir = @sysconfdir@
445 target_alias = @target_alias@
446 top_build_prefix = @top_build_prefix@
447 top_builddir = @top_builddir@
448 top_srcdir = @top_srcdir@
449 LIBGMP_LT_CURRENT = 11
450 LIBGMP_LT_REVISION = 3
452 LIBGMPXX_LT_CURRENT = 7
453 LIBGMPXX_LT_REVISION = 3
455 SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune doc
457 # The "test -f" support for srcdir!=builddir is similar to the automake .c.o
458 # etc rules, but with each foo.c explicitly, since $< is not portable
459 # outside an inference rule.
461 # A quoted 'foo.c' is used with the "test -f"'s to avoid Sun make rewriting
462 # it as part of its VPATH support. See the autoconf manual "Limitations of
465 # Generated .h files which are used by gmp-impl.h are BUILT_SOURCES since
466 # they must exist before anything can be compiled.
468 # Other generated .h files are also BUILT_SOURCES so as to get all the
469 # build-system stuff over and done with at the start. Also, dependencies on
470 # the .h files are not properly expressed for the various objects that use
473 # Distribute mini-gmp. Test sources copied by dist-hook.
474 EXTRA_DIST = configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf \
475 gmpxx.h bootstrap.c gen-fac.c gen-fib.c gen-bases.c \
476 gen-trialdivtab.c gen-jacobitab.c gen-psqr.c mini-gmp/README \
477 mini-gmp/mini-gmp.c mini-gmp/mini-gmp.h \
478 mini-gmp/tests/Makefile mini-gmp/tests/run-tests
479 @WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h
481 # gmp.h and mp.h are architecture dependent, mainly since they encode the
482 # limb size used in libgmp. For that reason they belong under $exec_prefix
483 # not $prefix, strictly speaking.
485 # $exec_prefix/include is not in the default include path for gcc built to
486 # the same $prefix and $exec_prefix, which might mean gmp.h is not found,
487 # but anyone knowledgeable enough to be playing with exec_prefix will be able
490 includeexecdir = $(exec_prefix)/include
491 include_HEADERS = $(GMPXX_HEADERS_OPTION)
492 nodist_includeexec_HEADERS = gmp.h
493 lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION)
494 BUILT_SOURCES = gmp.h fac_table.h fib_table.h mpn/fib_table.c \
495 mp_bases.h mpn/mp_bases.c trialdivtab.h mpn/jacobitab.h \
497 DISTCLEANFILES = $(BUILT_SOURCES) config.m4 @gmp_srclinks@ \
498 gen-fac$(EXEEXT_FOR_BUILD) gen-fib$(EXEEXT_FOR_BUILD) \
499 gen-bases$(EXEEXT_FOR_BUILD) \
500 gen-trialdivtab$(EXEEXT_FOR_BUILD) \
501 gen-jacobitab$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)
503 # Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
504 INCLUDES = -D__GMP_WITHIN_GMP
505 MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/inits$U.lo mpf/set$U.lo \
506 mpf/set_ui$U.lo mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo \
507 mpf/set_z$U.lo mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo \
508 mpf/iset_str$U.lo mpf/iset_d$U.lo mpf/clear$U.lo mpf/clears$U.lo \
509 mpf/get_str$U.lo mpf/dump$U.lo mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo \
510 mpf/sqrt$U.lo mpf/random2$U.lo mpf/inp_str$U.lo mpf/out_str$U.lo \
511 mpf/add$U.lo mpf/add_ui$U.lo mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo \
512 mpf/mul$U.lo mpf/mul_ui$U.lo mpf/div$U.lo mpf/div_ui$U.lo \
513 mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo \
514 mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo \
515 mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo \
516 mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo \
517 mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo \
518 mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo \
519 mpf/urandomb$U.lo mpf/swap$U.lo \
520 mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo \
521 mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo \
522 mpf/get_si$U.lo mpf/get_ui$U.lo \
525 MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
526 mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo \
527 mpz/bin_ui$U.lo mpz/bin_uiui$U.lo \
528 mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo \
529 mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo \
530 mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo \
531 mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo \
532 mpz/clear$U.lo mpz/clears$U.lo mpz/clrbit$U.lo \
533 mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo \
534 mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo \
535 mpz/com$U.lo mpz/combit$U.lo \
536 mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo \
537 mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo \
538 mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo \
539 mpz/export$U.lo mpz/mfac_uiui$U.lo \
540 mpz/2fac_ui$U.lo mpz/fac_ui$U.lo mpz/oddfac_1$U.lo mpz/prodlimbs$U.lo \
541 mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo \
542 mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo mpz/fdiv_q$U.lo \
543 mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo \
544 mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo \
545 mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo \
546 mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo \
547 mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo \
549 mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inits$U.lo \
550 mpz/inp_raw$U.lo mpz/inp_str$U.lo mpz/invert$U.lo \
551 mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo \
552 mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo \
553 mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo \
554 mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo \
555 mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo \
556 mpz/mul_si$U.lo mpz/mul_ui$U.lo \
557 mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo \
558 mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo \
559 mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_sec$U.lo \
560 mpz/powm_ui$U.lo mpz/primorial_ui$U.lo \
561 mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo \
562 mpz/realloc$U.lo mpz/realloc2$U.lo mpz/remove$U.lo \
563 mpz/root$U.lo mpz/rootrem$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo \
564 mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo \
565 mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo \
567 mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo \
568 mpz/sqrtrem$U.lo mpz/sub$U.lo mpz/sub_ui$U.lo mpz/swap$U.lo \
569 mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo \
570 mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo \
571 mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo \
572 mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo \
573 mpz/urandomm$U.lo mpz/xor$U.lo
575 MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo \
576 mpq/canonicalize$U.lo mpq/clear$U.lo mpq/clears$U.lo \
577 mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo \
578 mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo \
579 mpq/init$U.lo mpq/inits$U.lo mpq/inp_str$U.lo mpq/inv$U.lo \
580 mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo \
581 mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo \
582 mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo \
583 mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo \
584 mpq/set_f$U.lo mpq/swap$U.lo
586 MPN_OBJECTS = mpn/fib_table$U.lo mpn/mp_bases$U.lo
588 printf/asprintf$U.lo printf/asprntffuns$U.lo \
589 printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo \
590 printf/fprintf$U.lo \
591 printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo \
592 printf/printf$U.lo printf/printffuns$U.lo \
593 printf/snprintf$U.lo printf/snprntffuns$U.lo \
594 printf/sprintf$U.lo printf/sprintffuns$U.lo \
595 printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo \
596 printf/vsnprintf$U.lo printf/vsprintf$U.lo \
597 printf/repl-vsnprintf$U.lo
600 scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo \
601 scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo \
602 scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo
605 rand/rand$U.lo rand/randclr$U.lo rand/randdef$U.lo rand/randiset$U.lo \
606 rand/randlc2s$U.lo rand/randlc2x$U.lo rand/randmt$U.lo \
607 rand/randmts$U.lo rand/rands$U.lo rand/randsd$U.lo rand/randsdui$U.lo \
608 rand/randbui$U.lo rand/randmui$U.lo
611 # no $U for C++ files
613 cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo \
614 cxx/limits.lo cxx/osdoprnti.lo cxx/osfuns.lo \
615 cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo
618 # In libtool 1.5 it doesn't work to build libgmp.la from the convenience
619 # libraries like mpz/libmpz.la. Or rather it works, but it ends up putting
620 # PIC objects into libgmp.a if shared and static are both built. (The PIC
621 # objects go into mpz/.libs/libmpz.a, and thence into .libs/libgmp.a.)
623 # For now the big lists of objects above are used. Something like mpz/*.lo
624 # would probably work, but might risk missing something out or getting
625 # something extra. The source files for each .lo are listed in the
626 # Makefile.am's in the subdirectories.
628 # Currently, for libgmp, unlike libmp below, we're not using
629 # -export-symbols, since the tune and speed programs, and perhaps some of
630 # the test programs, want to access undocumented symbols.
631 libgmp_la_SOURCES = gmp-impl.h longlong.h \
632 assert.c compat.c errno.c extract-dbl.c invalid.c memory.c \
633 mp_bpl.c mp_clz_tab.c mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c \
634 version.c nextprime.c primesieve.c
636 EXTRA_libgmp_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c
637 libgmp_la_DEPENDENCIES = @TAL_OBJECT@ \
638 $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
639 $(MPN_OBJECTS) @mpn_objs_in_libgmp@ \
640 $(PRINTF_OBJECTS) $(SCANF_OBJECTS) $(RANDOM_OBJECTS)
642 libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES)
643 libgmp_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMP_LDFLAGS) \
644 -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
647 # We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
648 # use $(CXXLINK) rather than the plain C $(LINK). cxx/dummy.cc is that
650 @WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la
651 libgmpxx_la_SOURCES = cxx/dummy.cc
652 libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la
653 libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES)
654 libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMPXX_LDFLAGS) \
655 -version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)
657 all: $(BUILT_SOURCES) config.h
658 $(MAKE) $(AM_MAKEFLAGS) all-recursive
661 .SUFFIXES: .c .cc .lo .o .obj
662 am--refresh: Makefile
664 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
666 case '$(am__configure_deps)' in \
668 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps'; \
669 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps \
674 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps Makefile'; \
675 $(am__cd) $(top_srcdir) && \
676 $(AUTOMAKE) --gnu --ignore-deps Makefile
678 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
681 echo ' $(SHELL) ./config.status'; \
682 $(SHELL) ./config.status;; \
684 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
685 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
688 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
689 $(SHELL) ./config.status --recheck
691 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
692 $(am__cd) $(srcdir) && $(AUTOCONF)
693 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
694 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
695 $(am__aclocal_m4_deps):
698 @if test ! -f $@; then rm -f stamp-h1; else :; fi
699 @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
701 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
703 cd $(top_builddir) && $(SHELL) ./config.status config.h
704 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
705 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
710 -rm -f config.h stamp-h1
711 gmp.h: $(top_builddir)/config.status $(srcdir)/gmp-h.in
712 cd $(top_builddir) && $(SHELL) ./config.status $@
713 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
715 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
716 list2=; for p in $$list; do \
717 if test -f $$p; then \
718 list2="$$list2 $$p"; \
721 test -z "$$list2" || { \
722 echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
723 $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
724 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
725 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
728 uninstall-libLTLIBRARIES:
730 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
731 for p in $$list; do \
733 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
734 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
737 clean-libLTLIBRARIES:
738 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
739 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
740 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
741 test "$$dir" != "$$p" || dir=.; \
742 echo "rm -f \"$${dir}/so_locations\""; \
743 rm -f "$${dir}/so_locations"; \
745 libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES) $(EXTRA_libgmp_la_DEPENDENCIES)
746 $(libgmp_la_LINK) -rpath $(libdir) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
747 libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES) $(EXTRA_libgmpxx_la_DEPENDENCIES)
748 $(libgmpxx_la_LINK) $(am_libgmpxx_la_rpath) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS)
760 $(COMPILE) -c `$(CYGPATH_W) '$<'`
763 $(LTCOMPILE) -c -o $@ $<
766 $(CXXCOMPILE) -c -o $@ $<
769 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
772 $(LTCXXCOMPILE) -c -o $@ $<
774 dummy.lo: cxx/dummy.cc
775 $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o dummy.lo `test -f 'cxx/dummy.cc' || echo '$(srcdir)/'`cxx/dummy.cc
784 -rm -f libtool config.lt
785 install-includeHEADERS: $(include_HEADERS)
787 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
788 if test -n "$$list"; then \
789 echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
790 $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
792 for p in $$list; do \
793 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
795 done | $(am__base_list) | \
796 while read files; do \
797 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
798 $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
801 uninstall-includeHEADERS:
803 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
804 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
805 dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
806 install-nodist_includeexecHEADERS: $(nodist_includeexec_HEADERS)
808 @list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
809 if test -n "$$list"; then \
810 echo " $(MKDIR_P) '$(DESTDIR)$(includeexecdir)'"; \
811 $(MKDIR_P) "$(DESTDIR)$(includeexecdir)" || exit 1; \
813 for p in $$list; do \
814 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
816 done | $(am__base_list) | \
817 while read files; do \
818 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includeexecdir)'"; \
819 $(INSTALL_HEADER) $$files "$(DESTDIR)$(includeexecdir)" || exit $$?; \
822 uninstall-nodist_includeexecHEADERS:
824 @list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
825 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
826 dir='$(DESTDIR)$(includeexecdir)'; $(am__uninstall_files_from_dir)
828 # This directory's subdirectories are mostly independent; you can cd
829 # into them and run `make' without going through this Makefile.
830 # To change the values of `make' variables: instead of editing Makefiles,
831 # (1) if the variable is set in `config.status', edit `config.status'
832 # (which will cause the Makefiles to be regenerated when you run `make');
833 # (2) otherwise, pass the desired values on the `make' command line.
834 $(RECURSIVE_TARGETS):
835 @fail= failcom='exit 1'; \
836 for f in x $$MAKEFLAGS; do \
839 *k*) failcom='fail=yes';; \
843 target=`echo $@ | sed s/-recursive//`; \
844 list='$(SUBDIRS)'; for subdir in $$list; do \
845 echo "Making $$target in $$subdir"; \
846 if test "$$subdir" = "."; then \
848 local_target="$$target-am"; \
850 local_target="$$target"; \
852 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
855 if test "$$dot_seen" = "no"; then \
856 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
859 $(RECURSIVE_CLEAN_TARGETS):
860 @fail= failcom='exit 1'; \
861 for f in x $$MAKEFLAGS; do \
864 *k*) failcom='fail=yes';; \
869 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
870 *) list='$(SUBDIRS)' ;; \
872 rev=''; for subdir in $$list; do \
873 if test "$$subdir" = "."; then :; else \
874 rev="$$subdir $$rev"; \
878 target=`echo $@ | sed s/-recursive//`; \
879 for subdir in $$rev; do \
880 echo "Making $$target in $$subdir"; \
881 if test "$$subdir" = "."; then \
882 local_target="$$target-am"; \
884 local_target="$$target"; \
886 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
888 done && test -z "$$fail"
890 list='$(SUBDIRS)'; for subdir in $$list; do \
891 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
894 list='$(SUBDIRS)'; for subdir in $$list; do \
895 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
898 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
899 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
900 unique=`for i in $$list; do \
901 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
903 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
904 END { if (nonempty) { for (i in files) print i; }; }'`; \
908 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
909 $(TAGS_FILES) $(LISP)
912 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
913 include_option=--etags-include; \
916 include_option=--include; \
919 list='$(SUBDIRS)'; for subdir in $$list; do \
920 if test "$$subdir" = .; then :; else \
921 test ! -f $$subdir/TAGS || \
922 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
925 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
926 unique=`for i in $$list; do \
927 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
929 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
930 END { if (nonempty) { for (i in files) print i; }; }'`; \
932 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
933 test -n "$$unique" || unique=$$empty_fix; \
934 if test $$# -gt 0; then \
935 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
938 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
943 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
944 $(TAGS_FILES) $(LISP)
945 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
946 unique=`for i in $$list; do \
947 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
949 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
950 END { if (nonempty) { for (i in files) print i; }; }'`; \
951 test -z "$(CTAGS_ARGS)$$unique" \
952 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
956 here=`$(am__cd) $(top_builddir) && pwd` \
957 && $(am__cd) $(top_srcdir) \
958 && gtags -i $(GTAGS_ARGS) "$$here"
961 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
963 distdir: $(DISTFILES)
964 $(am__remove_distdir)
965 test -d "$(distdir)" || mkdir "$(distdir)"
966 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
967 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
968 list='$(DISTFILES)'; \
969 dist_files=`for file in $$list; do echo $$file; done | \
970 sed -e "s|^$$srcdirstrip/||;t" \
971 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
972 case $$dist_files in \
973 */*) $(MKDIR_P) `echo "$$dist_files" | \
974 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
977 for file in $$dist_files; do \
978 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
979 if test -d $$d/$$file; then \
980 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
981 if test -d "$(distdir)/$$file"; then \
982 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
984 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
985 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
986 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
988 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
990 test -f "$(distdir)/$$file" \
991 || cp -p $$d/$$file "$(distdir)/$$file" \
995 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
996 if test "$$subdir" = .; then :; else \
998 || test -d "$(distdir)/$$subdir" \
999 || $(MKDIR_P) "$(distdir)/$$subdir" \
1001 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1002 $(am__relativize); \
1003 new_distdir=$$reldir; \
1004 dir1=$$subdir; dir2="$(top_distdir)"; \
1005 $(am__relativize); \
1006 new_top_distdir=$$reldir; \
1007 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1008 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1009 ($(am__cd) $$subdir && \
1010 $(MAKE) $(AM_MAKEFLAGS) \
1011 top_distdir="$$new_top_distdir" \
1012 distdir="$$new_distdir" \
1013 am__remove_distdir=: \
1014 am__skip_length_check=: \
1015 am__skip_mode_fix=: \
1020 $(MAKE) $(AM_MAKEFLAGS) \
1021 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1023 -test -n "$(am__skip_mode_fix)" \
1024 || find "$(distdir)" -type d ! -perm -755 \
1025 -exec chmod u+rwx,go+rx {} \; -o \
1026 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1027 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1028 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1029 || chmod -R a+r "$(distdir)"
1031 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1032 $(am__remove_distdir)
1035 tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1036 $(am__remove_distdir)
1039 tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1040 $(am__remove_distdir)
1043 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1044 $(am__remove_distdir)
1047 tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1048 $(am__remove_distdir)
1051 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1052 $(am__remove_distdir)
1055 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1056 $(am__remove_distdir)
1059 -rm -f $(distdir).zip
1060 zip -rq $(distdir).zip $(distdir)
1061 $(am__remove_distdir)
1063 dist dist-all: distdir
1064 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1065 $(am__remove_distdir)
1067 # This target untars the dist file and tries a VPATH configuration. Then
1068 # it guarantees that the distribution is self-contained by making another
1071 case '$(DIST_ARCHIVES)' in \
1073 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1075 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1077 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1079 lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1081 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1083 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1085 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1087 unzip $(distdir).zip ;;\
1089 chmod -R a-w $(distdir); chmod u+w $(distdir)
1090 mkdir $(distdir)/_build
1091 mkdir $(distdir)/_inst
1092 chmod a-w $(distdir)
1093 test -d $(distdir)/_build || exit 0; \
1094 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1095 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1097 && $(am__cd) $(distdir)/_build \
1098 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1099 $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1100 $(DISTCHECK_CONFIGURE_FLAGS) \
1101 && $(MAKE) $(AM_MAKEFLAGS) \
1102 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1103 && $(MAKE) $(AM_MAKEFLAGS) check \
1104 && $(MAKE) $(AM_MAKEFLAGS) install \
1105 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1106 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1107 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1108 distuninstallcheck \
1109 && chmod -R a-w "$$dc_install_base" \
1111 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1112 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1113 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1114 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1115 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1116 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1117 && rm -rf "$$dc_destdir" \
1118 && $(MAKE) $(AM_MAKEFLAGS) dist \
1119 && rm -rf $(DIST_ARCHIVES) \
1120 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1123 $(am__remove_distdir)
1124 @(echo "$(distdir) archives ready for distribution: "; \
1125 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1126 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1128 @test -n '$(distuninstallcheck_dir)' || { \
1129 echo 'ERROR: trying to run $@ with an empty' \
1130 '$$(distuninstallcheck_dir)' >&2; \
1133 $(am__cd) '$(distuninstallcheck_dir)' || { \
1134 echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1137 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1138 || { echo "ERROR: files left after uninstall:" ; \
1139 if test -n "$(DESTDIR)"; then \
1140 echo " (check DESTDIR support)"; \
1142 $(distuninstallcheck_listfiles) ; \
1144 distcleancheck: distclean
1145 @if test '$(srcdir)' = . ; then \
1146 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1149 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1150 || { echo "ERROR: files left in build directory after distclean:" ; \
1151 $(distcleancheck_listfiles) ; \
1154 check: $(BUILT_SOURCES)
1155 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1156 all-am: Makefile $(LTLIBRARIES) $(HEADERS) config.h
1157 installdirs: installdirs-recursive
1159 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includeexecdir)"; do \
1160 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1162 install: $(BUILT_SOURCES)
1163 $(MAKE) $(AM_MAKEFLAGS) install-recursive
1164 install-exec: install-exec-recursive
1165 install-data: install-data-recursive
1166 uninstall: uninstall-recursive
1169 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1171 installcheck: installcheck-recursive
1173 if test -z '$(STRIP)'; then \
1174 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1175 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1178 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1179 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1180 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1182 mostlyclean-generic:
1187 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1188 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1189 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1191 maintainer-clean-generic:
1192 @echo "This command is intended for maintainers to use"
1193 @echo "it deletes files that may require special tools to rebuild."
1194 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1195 clean: clean-recursive
1197 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \
1200 distclean: distclean-recursive
1201 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1203 distclean-am: clean-am distclean-compile distclean-generic \
1204 distclean-hdr distclean-libtool distclean-local distclean-tags
1210 html: html-recursive
1214 info: info-recursive
1218 install-data-am: install-includeHEADERS
1220 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1221 install-dvi: install-dvi-recursive
1225 install-exec-am: install-libLTLIBRARIES \
1226 install-nodist_includeexecHEADERS
1228 install-html: install-html-recursive
1232 install-info: install-info-recursive
1238 install-pdf: install-pdf-recursive
1242 install-ps: install-ps-recursive
1248 maintainer-clean: maintainer-clean-recursive
1249 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1250 -rm -rf $(top_srcdir)/autom4te.cache
1252 maintainer-clean-am: distclean-am maintainer-clean-generic
1254 mostlyclean: mostlyclean-recursive
1256 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1267 uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1268 uninstall-nodist_includeexecHEADERS
1270 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1271 ctags-recursive install install-am install-data-am \
1272 install-strip tags-recursive
1274 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1275 all all-am am--refresh check check-am clean clean-generic \
1276 clean-libLTLIBRARIES clean-libtool clean-local ctags \
1277 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
1278 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
1279 distcheck distclean distclean-compile distclean-generic \
1280 distclean-hdr distclean-libtool distclean-local distclean-tags \
1281 distcleancheck distdir distuninstallcheck dvi dvi-am html \
1282 html-am info info-am install install-am install-data \
1283 install-data-am install-data-hook install-dvi install-dvi-am \
1284 install-exec install-exec-am install-html install-html-am \
1285 install-includeHEADERS install-info install-info-am \
1286 install-libLTLIBRARIES install-man \
1287 install-nodist_includeexecHEADERS install-pdf install-pdf-am \
1288 install-ps install-ps-am install-strip installcheck \
1289 installcheck-am installdirs installdirs-am maintainer-clean \
1290 maintainer-clean-generic mostlyclean mostlyclean-compile \
1291 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1292 tags tags-recursive uninstall uninstall-am \
1293 uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1294 uninstall-nodist_includeexecHEADERS
1299 @echo '+-------------------------------------------------------------+'
1300 @echo '| CAUTION: |'
1302 @echo '| If you have not already run "make check", then we strongly |'
1303 @echo '| recommend you do so. |'
1305 @echo '| GMP has been carefully tested by its authors, but compilers |'
1306 @echo '| are all too often released with serious bugs. GMP tends to |'
1307 @echo '| explore interesting corners in compilers and has hit bugs |'
1308 @echo '| on quite a few occasions. |'
1310 @echo '+-------------------------------------------------------------+'
1313 fac_table.h: gen-fac$(EXEEXT_FOR_BUILD)
1314 ./gen-fac $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >fac_table.h || (rm -f fac_table.h; exit 1)
1316 gen-fac$(EXEEXT_FOR_BUILD): gen-fac$(U_FOR_BUILD).c bootstrap.c
1317 $(CC_FOR_BUILD) `test -f 'gen-fac$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fac$(U_FOR_BUILD).c -o gen-fac$(EXEEXT_FOR_BUILD)
1319 fib_table.h: gen-fib$(EXEEXT_FOR_BUILD)
1320 ./gen-fib header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >fib_table.h || (rm -f fib_table.h; exit 1)
1322 mpn/fib_table.c: gen-fib$(EXEEXT_FOR_BUILD)
1323 ./gen-fib table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
1325 gen-fib$(EXEEXT_FOR_BUILD): gen-fib$(U_FOR_BUILD).c bootstrap.c
1326 $(CC_FOR_BUILD) `test -f 'gen-fib$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fib$(U_FOR_BUILD).c -o gen-fib$(EXEEXT_FOR_BUILD)
1328 mp_bases.h: gen-bases$(EXEEXT_FOR_BUILD)
1329 ./gen-bases header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mp_bases.h || (rm -f mp_bases.h; exit 1)
1331 mpn/mp_bases.c: gen-bases$(EXEEXT_FOR_BUILD)
1332 ./gen-bases table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
1334 gen-bases$(EXEEXT_FOR_BUILD): gen-bases$(U_FOR_BUILD).c bootstrap.c
1335 $(CC_FOR_BUILD) `test -f 'gen-bases$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-bases$(U_FOR_BUILD).c -o gen-bases$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
1337 trialdivtab.h: gen-trialdivtab$(EXEEXT_FOR_BUILD)
1338 ./gen-trialdivtab $(GMP_LIMB_BITS) 8000 >trialdivtab.h || (rm -f trialdivtab.h; exit 1)
1340 gen-trialdivtab$(EXEEXT_FOR_BUILD): gen-trialdivtab$(U_FOR_BUILD).c bootstrap.c
1341 $(CC_FOR_BUILD) `test -f 'gen-trialdivtab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-trialdivtab$(U_FOR_BUILD).c -o gen-trialdivtab$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
1343 mpn/jacobitab.h: gen-jacobitab$(EXEEXT_FOR_BUILD)
1344 ./gen-jacobitab >mpn/jacobitab.h || (rm -f mpn/jacobitab.h; exit 1)
1346 gen-jacobitab$(EXEEXT_FOR_BUILD): gen-jacobitab$(U_FOR_BUILD).c
1347 $(CC_FOR_BUILD) `test -f 'gen-jacobitab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-jacobitab$(U_FOR_BUILD).c -o gen-jacobitab$(EXEEXT_FOR_BUILD)
1349 mpn/perfsqr.h: gen-psqr$(EXEEXT_FOR_BUILD)
1350 ./gen-psqr $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
1352 gen-psqr$(EXEEXT_FOR_BUILD): gen-psqr$(U_FOR_BUILD).c bootstrap.c
1353 $(CC_FOR_BUILD) `test -f 'gen-psqr$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-psqr$(U_FOR_BUILD).c -o gen-psqr$(EXEEXT_FOR_BUILD) $(LIBM_FOR_BUILD)
1355 # Avoid: CVS - cvs directories
1356 # *~ - emacs backups
1357 # .#* - cvs merge originals
1359 # *~ and .#* only occur when a whole directory without it's own Makefile.am
1360 # is distributed, like "doc" or the mpn cpu subdirectories.
1363 -find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \
1365 cp "$(srcdir)"/mini-gmp/tests/*.[ch] "$(distdir)/mini-gmp/tests"
1366 # grep -F $(VERSION) $(srcdir)/Makefile.am \
1367 # | grep -q "^# *$(VERSION) *$(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) *$(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)"
1368 # test -z "`sed -n 's/^# *[0-9]*\.[0-9]*\.[0-9]* *\([0-9]*:[0-9]*:[0-9]*\) *\([0-9]*:[0-9]*:[0-9]*\) *\([0-9]*:[0-9]*:[0-9]*\).*/A\1\nB\2\nC\3/p' $(srcdir)/Makefile.am | grep -v 'A6:3:3\|B3:5:0\|C4:7:1' | sort | uniq -d`"
1370 .PHONY: check-mini-gmp clean-mini-gmp
1373 abs_srcdir="`cd $(srcdir) && pwd`" ; \
1374 $(MKDIR_P) mini-gmp/tests \
1375 && cd mini-gmp/tests \
1376 && LD_LIBRARY_PATH="../../.libs:$$LD_LIBRARY_PATH" \
1377 DYLD_LIBRARY_PATH="../../.libs:$$DYLD_LIBRARY_PATH" \
1378 $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" \
1379 VPATH="$$abs_srcdir/mini-gmp/tests" \
1380 srcdir="$$abs_srcdir/mini-gmp/tests" \
1381 MINI_GMP_DIR="$$abs_srcdir/mini-gmp" \
1382 LDFLAGS="-L../../.libs" \
1384 CC="$(CC_FOR_BUILD)" EXTRA_CFLAGS="-g -I../.." check
1387 if [ -d mini-gmp/tests ] ; then \
1388 abs_srcdir="`cd $(srcdir) && pwd`" ; \
1390 && $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" clean ; \
1393 clean-local: clean-mini-gmp
1394 distclean-local: clean-mini-gmp
1396 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1397 # Otherwise a system limit (for SysV at least) may be exceeded.