1# Makefile.in generated by automake 1.15 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17# Copyright 1991, 1993, 1994, 1996, 1997, 1999-2004, 2006-2009, 2011-2016,
18# 2018, 2020 Free Software Foundation, Inc.
19#
20#  This file is part of the GNU MP Library.
21#
22#  The GNU MP Library is free software; you can redistribute it and/or modify
23#  it under the terms of either:
24#
25#    * the GNU Lesser General Public License as published by the Free
26#      Software Foundation; either version 3 of the License, or (at your
27#      option) any later version.
28#
29#  or
30#
31#    * the GNU General Public License as published by the Free Software
32#      Foundation; either version 2 of the License, or (at your option) any
33#      later version.
34#
35#  or both in parallel, as here.
36#
37#  The GNU MP Library is distributed in the hope that it will be useful, but
38#  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
39#  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
40#  for more details.
41#
42#  You should have received copies of the GNU General Public License and the
43#  GNU Lesser General Public License along with the GNU MP Library.  If not,
44#  see https://www.gnu.org/licenses/.
45
46# The following options are the same as AM_INIT_AUTOMAKE in configure.in,
47# except no $(top_builddir) on ansi2knr.  That directory is wanted for the
48# Makefiles in subdirectories, but here we must omit it so automake gives
49# the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
50#
51# AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
52
53# Libtool -version-info for libgmp.la and libmp.la.  See "Versioning" in the
54# libtool manual.
55#
56#	CURRENT:REVISION:AGE
57#
58# 1. No interfaces changed, only implementations (good): Increment REVISION.
59#
60# 2. Interfaces added, none removed (good): Increment CURRENT, increment
61#    AGE, set REVISION to 0.
62#
63# 3. Interfaces removed (BAD, breaks upward compatibility): Increment
64#    CURRENT, set AGE and REVISION to 0.
65#
66# Do this separately for libgmp, libgmpxx and libmp, and only for releases.
67#
68#	  GMP	   -version-info
69#       release   libgmp  libgmpxx libmp
70#        2.0.x      -        -       -
71#        3.0      3:0:0      -     3:0:0
72#        3.0.1    3:1:0      -     3:0:0
73#        3.1      4:0:1      -     4:0:1
74#        3.1.1    4:1:1      -     4:1:1
75#        4.0      5:0:2    3:0:0   4:2:1
76#        4.0.1    5:1:2    3:1:0   4:3:1
77#        4.1      6:0:3    3:2:0   4:4:1
78#        4.1.1    6:1:3    3:3:0   4:5:1
79#        4.1.2    6:2:3    3:4:0   4:6:1
80#        4.1.3    6:3:3    3:5:0   4:7:1
81#        4.1.4    6:3:3    3:5:0   4:7:1	WRONG, same as 4.1.3!
82#        4.2      6:0:3    3:2:0   4:4:1	REALLY WRONG, same as 4.1!
83#        4.2.1    7:1:4    4:1:1   4:10:1	WRONG for libgmpxx
84#        4.2.2    7:2:4    4:2:0   4:11:1
85#        4.2.3    7:3:4    4:3:0   4:12:1
86#        4.2.4    7:4:4    4:4:0   4:13:1
87#        4.3.0    8:0:5    5:0:1   4:14:1
88#        4.3.1    8:1:5    5:1:1   4:15:1	WRONG Really used same as 4.3.0
89#        4.3.2    8:2:5    5:2:1   4:16:1
90#        5.0.0    9:0:6    6:0:2   4:20:1	Should have been 10:0:0
91#        5.0.1   10:1:0    6:1:2   4:21:1
92#        5.0.2   10:2:0    6:2:2   4:22:1
93#        5.0.3   10:3:0    6:3:2   4:23:1
94#        5.0.4   10:4:0    6:4:2   4:24:1
95#        5.0.5   10:5:0    6:5:2   4:25:1
96#        5.1.0   11:0:1    7:0:3     -
97#        5.1.1   11:1:1    7:1:3     -
98#        5.1.2   11:2:1    7:2:3     -
99#        6.0.0   12:0:2    8:0:4     -
100#        6.1.0   13:0:3    9:0:5     -
101#        6.1.1   13:1:3    9:1:5     -
102#        6.1.2   13:2:3    9:2:5     -
103#        6.2.0   14:0:4   10:0:6     -
104#        6.2.1   14:1:4   10:1:6     -
105#
106# Starting at 3:0:0 is a slight abuse of the versioning system, but it
107# ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
108# packages of gmp 2.  Pretend gmp 2 was 2:0:0, so the interface changes for
109# gmp 3 mean 3:0:0 is right.
110#
111# We interpret "implementation changed" in item "1." above as meaning any
112# release, ie. the REVISION is incremented every time (if nothing else).
113# Even if we thought the code generated will be identical on all systems,
114# it's still good to get the shared library filename (like
115# libgmpxx.so.3.0.4) incrementing, to make it clear which GMP it's from.
116
117
118
119VPATH = @srcdir@
120am__is_gnu_make = { \
121  if test -z '$(MAKELEVEL)'; then \
122    false; \
123  elif test -n '$(MAKE_HOST)'; then \
124    true; \
125  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
126    true; \
127  else \
128    false; \
129  fi; \
130}
131am__make_running_with_option = \
132  case $${target_option-} in \
133      ?) ;; \
134      *) echo "am__make_running_with_option: internal error: invalid" \
135              "target option '$${target_option-}' specified" >&2; \
136         exit 1;; \
137  esac; \
138  has_opt=no; \
139  sane_makeflags=$$MAKEFLAGS; \
140  if $(am__is_gnu_make); then \
141    sane_makeflags=$$MFLAGS; \
142  else \
143    case $$MAKEFLAGS in \
144      *\\[\ \	]*) \
145        bs=\\; \
146        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
147          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
148    esac; \
149  fi; \
150  skip_next=no; \
151  strip_trailopt () \
152  { \
153    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
154  }; \
155  for flg in $$sane_makeflags; do \
156    test $$skip_next = yes && { skip_next=no; continue; }; \
157    case $$flg in \
158      *=*|--*) continue;; \
159        -*I) strip_trailopt 'I'; skip_next=yes;; \
160      -*I?*) strip_trailopt 'I';; \
161        -*O) strip_trailopt 'O'; skip_next=yes;; \
162      -*O?*) strip_trailopt 'O';; \
163        -*l) strip_trailopt 'l'; skip_next=yes;; \
164      -*l?*) strip_trailopt 'l';; \
165      -[dEDm]) skip_next=yes;; \
166      -[JT]) skip_next=yes;; \
167    esac; \
168    case $$flg in \
169      *$$target_option*) has_opt=yes; break;; \
170    esac; \
171  done; \
172  test $$has_opt = yes
173am__make_dryrun = (target_option=n; $(am__make_running_with_option))
174am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
175pkgdatadir = $(datadir)/@PACKAGE@
176pkgincludedir = $(includedir)/@PACKAGE@
177pkglibdir = $(libdir)/@PACKAGE@
178pkglibexecdir = $(libexecdir)/@PACKAGE@
179am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
180install_sh_DATA = $(install_sh) -c -m 644
181install_sh_PROGRAM = $(install_sh) -c
182install_sh_SCRIPT = $(install_sh) -c
183INSTALL_HEADER = $(INSTALL_DATA)
184transform = $(program_transform_name)
185NORMAL_INSTALL = :
186PRE_INSTALL = :
187POST_INSTALL = :
188NORMAL_UNINSTALL = :
189PRE_UNINSTALL = :
190POST_UNINSTALL = :
191build_triplet = @build@
192host_triplet = @host@
193@WANT_CXX_TRUE@am__append_1 = gmpxx.pc
194subdir = .
195ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
196am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
197	$(top_srcdir)/configure.ac
198am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
199	$(ACLOCAL_M4)
200DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
201	$(am__configure_deps) $(am__include_HEADERS_DIST) \
202	$(am__DIST_COMMON)
203am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
204 configure.lineno config.status.lineno
205mkinstalldirs = $(install_sh) -d
206CONFIG_HEADER = config.h
207CONFIG_CLEAN_FILES = gmp.h gmp.pc gmpxx.pc gmp-mparam.h
208CONFIG_CLEAN_VPATH_FILES =
209am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
210am__vpath_adj = case $$p in \
211    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
212    *) f=$$p;; \
213  esac;
214am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
215am__install_max = 40
216am__nobase_strip_setup = \
217  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
218am__nobase_strip = \
219  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
220am__nobase_list = $(am__nobase_strip_setup); \
221  for p in $$list; do echo "$$p $$p"; done | \
222  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
223  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
224    if (++n[$$2] == $(am__install_max)) \
225      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
226    END { for (dir in files) print dir, files[dir] }'
227am__base_list = \
228  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
229  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
230am__uninstall_files_from_dir = { \
231  test -z "$$files" \
232    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
233    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
234         $(am__cd) "$$dir" && rm -f $$files; }; \
235  }
236am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" \
237	"$(DESTDIR)$(includedir)" "$(DESTDIR)$(includeexecdir)"
238LTLIBRARIES = $(lib_LTLIBRARIES)
239am__DEPENDENCIES_1 = $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
240	$(MPN_OBJECTS) $(PRINTF_OBJECTS) $(SCANF_OBJECTS) \
241	$(RANDOM_OBJECTS)
242am_libgmp_la_OBJECTS = assert.lo compat.lo errno.lo extract-dbl.lo \
243	invalid.lo memory.lo mp_bpl.lo mp_clz_tab.lo mp_dv_tab.lo \
244	mp_minv_tab.lo mp_get_fns.lo mp_set_fns.lo version.lo \
245	nextprime.lo primesieve.lo
246libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
247AM_V_lt = $(am__v_lt_@AM_V@)
248am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
249am__v_lt_0 = --silent
250am__v_lt_1 = 
251libgmp_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
252	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
253	$(libgmp_la_LDFLAGS) $(LDFLAGS) -o $@
254am__dirstamp = $(am__leading_dot)dirstamp
255am_libgmpxx_la_OBJECTS = cxx/dummy.lo
256libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS)
257libgmpxx_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
258	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
259	$(CXXFLAGS) $(libgmpxx_la_LDFLAGS) $(LDFLAGS) -o $@
260@WANT_CXX_TRUE@am_libgmpxx_la_rpath = -rpath $(libdir)
261AM_V_P = $(am__v_P_@AM_V@)
262am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
263am__v_P_0 = false
264am__v_P_1 = :
265AM_V_GEN = $(am__v_GEN_@AM_V@)
266am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
267am__v_GEN_0 = @echo "  GEN     " $@;
268am__v_GEN_1 = 
269AM_V_at = $(am__v_at_@AM_V@)
270am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
271am__v_at_0 = @
272am__v_at_1 = 
273DEFAULT_INCLUDES = -I.@am__isrc@
274depcomp =
275am__depfiles_maybe =
276COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
277	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
278LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
279	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
280	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
281	$(AM_CFLAGS) $(CFLAGS)
282AM_V_CC = $(am__v_CC_@AM_V@)
283am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
284am__v_CC_0 = @echo "  CC      " $@;
285am__v_CC_1 = 
286CCLD = $(CC)
287LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
288	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
289	$(AM_LDFLAGS) $(LDFLAGS) -o $@
290AM_V_CCLD = $(am__v_CCLD_@AM_V@)
291am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
292am__v_CCLD_0 = @echo "  CCLD    " $@;
293am__v_CCLD_1 = 
294CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
295	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
296LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
297	$(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
298	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
299	$(AM_CXXFLAGS) $(CXXFLAGS)
300AM_V_CXX = $(am__v_CXX_@AM_V@)
301am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
302am__v_CXX_0 = @echo "  CXX     " $@;
303am__v_CXX_1 = 
304CXXLD = $(CXX)
305CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
306	$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
307	$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
308AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
309am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
310am__v_CXXLD_0 = @echo "  CXXLD   " $@;
311am__v_CXXLD_1 = 
312SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
313	$(libgmpxx_la_SOURCES)
314DIST_SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
315	$(libgmpxx_la_SOURCES)
316RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
317	ctags-recursive dvi-recursive html-recursive info-recursive \
318	install-data-recursive install-dvi-recursive \
319	install-exec-recursive install-html-recursive \
320	install-info-recursive install-pdf-recursive \
321	install-ps-recursive install-recursive installcheck-recursive \
322	installdirs-recursive pdf-recursive ps-recursive \
323	tags-recursive uninstall-recursive
324am__can_run_installinfo = \
325  case $$AM_UPDATE_INFO_DIR in \
326    n|no|NO) false;; \
327    *) (install-info --version) >/dev/null 2>&1;; \
328  esac
329DATA = $(pkgconfig_DATA)
330am__include_HEADERS_DIST = gmpxx.h
331HEADERS = $(include_HEADERS) $(nodist_includeexec_HEADERS)
332RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
333  distclean-recursive maintainer-clean-recursive
334am__recursive_targets = \
335  $(RECURSIVE_TARGETS) \
336  $(RECURSIVE_CLEAN_TARGETS) \
337  $(am__extra_recursive_targets)
338AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
339	cscope distdir dist dist-all distcheck
340am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
341	$(LISP)config.in
342# Read a list of newline-separated strings from the standard input,
343# and print each of them once, without duplicates.  Input order is
344# *not* preserved.
345am__uniquify_input = $(AWK) '\
346  BEGIN { nonempty = 0; } \
347  { items[$$0] = 1; nonempty = 1; } \
348  END { if (nonempty) { for (i in items) print i; }; } \
349'
350# Make sure the list of sources is unique.  This is necessary because,
351# e.g., the same source file might be shared among _SOURCES variables
352# for different programs/libraries.
353am__define_uniq_tagged_files = \
354  list='$(am__tagged_files)'; \
355  unique=`for i in $$list; do \
356    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
357  done | $(am__uniquify_input)`
358ETAGS = etags
359CTAGS = ctags
360CSCOPE = cscope
361DIST_SUBDIRS = $(SUBDIRS)
362am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.in \
363	$(srcdir)/gmp-h.in $(srcdir)/gmp.pc.in $(srcdir)/gmpxx.pc.in \
364	AUTHORS COPYING ChangeLog INSTALL NEWS README compile \
365	config.guess config.sub install-sh ltmain.sh missing
366DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
367distdir = $(PACKAGE)-$(VERSION)
368top_distdir = $(distdir)
369am__remove_distdir = \
370  if test -d "$(distdir)"; then \
371    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
372      && rm -rf "$(distdir)" \
373      || { sleep 5 && rm -rf "$(distdir)"; }; \
374  else :; fi
375am__post_remove_distdir = $(am__remove_distdir)
376am__relativize = \
377  dir0=`pwd`; \
378  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
379  sed_rest='s,^[^/]*/*,,'; \
380  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
381  sed_butlast='s,/*[^/]*$$,,'; \
382  while test -n "$$dir1"; do \
383    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
384    if test "$$first" != "."; then \
385      if test "$$first" = ".."; then \
386        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
387        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
388      else \
389        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
390        if test "$$first2" = "$$first"; then \
391          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
392        else \
393          dir2="../$$dir2"; \
394        fi; \
395        dir0="$$dir0"/"$$first"; \
396      fi; \
397    fi; \
398    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
399  done; \
400  reldir="$$dir2"
401DIST_ARCHIVES = $(distdir).tar.gz
402GZIP_ENV = --best
403DIST_TARGETS = dist-gzip
404distuninstallcheck_listfiles = find . -type f -print
405am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
406  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
407distcleancheck_listfiles = find . -type f -print
408ABI = @ABI@
409ACLOCAL = @ACLOCAL@
410AMTAR = @AMTAR@
411AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
412AR = @AR@
413AS = @AS@
414ASMFLAGS = @ASMFLAGS@
415AUTOCONF = @AUTOCONF@
416AUTOHEADER = @AUTOHEADER@
417AUTOMAKE = @AUTOMAKE@
418AWK = @AWK@
419CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
420CC = @CC@
421CCAS = @CCAS@
422CC_FOR_BUILD = @CC_FOR_BUILD@
423CFLAGS = @CFLAGS@
424CPP = @CPP@
425CPPFLAGS = @CPPFLAGS@
426CPP_FOR_BUILD = @CPP_FOR_BUILD@
427CXX = @CXX@
428CXXCPP = @CXXCPP@
429CXXFLAGS = @CXXFLAGS@
430CYGPATH_W = @CYGPATH_W@
431DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
432DEFS = @DEFS@
433DLLTOOL = @DLLTOOL@
434DSYMUTIL = @DSYMUTIL@
435DUMPBIN = @DUMPBIN@
436ECHO_C = @ECHO_C@
437ECHO_N = @ECHO_N@
438ECHO_T = @ECHO_T@
439EGREP = @EGREP@
440EXEEXT = @EXEEXT@
441EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
442FGREP = @FGREP@
443GMP_LDFLAGS = @GMP_LDFLAGS@
444GMP_LIMB_BITS = @GMP_LIMB_BITS@
445GMP_NAIL_BITS = @GMP_NAIL_BITS@
446GREP = @GREP@
447HAVE_CLOCK_01 = @HAVE_CLOCK_01@
448HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
449HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
450HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
451HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
452HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
453HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
454HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
455HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
456HAVE_STACK_T_01 = @HAVE_STACK_T_01@
457HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
458INSTALL = @INSTALL@
459INSTALL_DATA = @INSTALL_DATA@
460INSTALL_PROGRAM = @INSTALL_PROGRAM@
461INSTALL_SCRIPT = @INSTALL_SCRIPT@
462INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
463LD = @LD@
464LDFLAGS = @LDFLAGS@
465LEX = @LEX@
466LEXLIB = @LEXLIB@
467LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
468LIBCURSES = @LIBCURSES@
469LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
470LIBGMP_DLL = @LIBGMP_DLL@
471LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
472LIBM = @LIBM@
473LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
474LIBOBJS = @LIBOBJS@
475LIBREADLINE = @LIBREADLINE@
476LIBS = @LIBS@
477LIBTOOL = @LIBTOOL@
478LIPO = @LIPO@
479LN_S = @LN_S@
480LTLIBOBJS = @LTLIBOBJS@
481LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
482M4 = @M4@
483MAINT = @MAINT@
484MAKEINFO = @MAKEINFO@
485MANIFEST_TOOL = @MANIFEST_TOOL@
486MKDIR_P = @MKDIR_P@
487NM = @NM@
488NMEDIT = @NMEDIT@
489OBJDUMP = @OBJDUMP@
490OBJEXT = @OBJEXT@
491OTOOL = @OTOOL@
492OTOOL64 = @OTOOL64@
493PACKAGE = @PACKAGE@
494PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
495PACKAGE_NAME = @PACKAGE_NAME@
496PACKAGE_STRING = @PACKAGE_STRING@
497PACKAGE_TARNAME = @PACKAGE_TARNAME@
498PACKAGE_URL = @PACKAGE_URL@
499PACKAGE_VERSION = @PACKAGE_VERSION@
500PATH_SEPARATOR = @PATH_SEPARATOR@
501RANLIB = @RANLIB@
502SED = @SED@
503SET_MAKE = @SET_MAKE@
504SHELL = @SHELL@
505SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
506STRIP = @STRIP@
507TAL_OBJECT = @TAL_OBJECT@
508TUNE_LIBS = @TUNE_LIBS@
509TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
510U_FOR_BUILD = @U_FOR_BUILD@
511VERSION = @VERSION@
512WITH_READLINE_01 = @WITH_READLINE_01@
513YACC = @YACC@
514YFLAGS = @YFLAGS@
515abs_builddir = @abs_builddir@
516abs_srcdir = @abs_srcdir@
517abs_top_builddir = @abs_top_builddir@
518abs_top_srcdir = @abs_top_srcdir@
519ac_ct_AR = @ac_ct_AR@
520ac_ct_CC = @ac_ct_CC@
521ac_ct_CXX = @ac_ct_CXX@
522ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
523am__leading_dot = @am__leading_dot@
524am__tar = @am__tar@
525am__untar = @am__untar@
526bindir = @bindir@
527build = @build@
528build_alias = @build_alias@
529build_cpu = @build_cpu@
530build_os = @build_os@
531build_vendor = @build_vendor@
532builddir = @builddir@
533datadir = @datadir@
534datarootdir = @datarootdir@
535docdir = @docdir@
536dvidir = @dvidir@
537exec_prefix = @exec_prefix@
538gmp_srclinks = @gmp_srclinks@
539host = @host@
540host_alias = @host_alias@
541host_cpu = @host_cpu@
542host_os = @host_os@
543host_vendor = @host_vendor@
544htmldir = @htmldir@
545includedir = @includedir@
546infodir = @infodir@
547install_sh = @install_sh@
548libdir = @libdir@
549libexecdir = @libexecdir@
550localedir = @localedir@
551localstatedir = @localstatedir@
552mandir = @mandir@
553mkdir_p = @mkdir_p@
554mpn_objects = @mpn_objects@
555mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
556oldincludedir = @oldincludedir@
557pdfdir = @pdfdir@
558prefix = @prefix@
559program_transform_name = @program_transform_name@
560psdir = @psdir@
561sbindir = @sbindir@
562sharedstatedir = @sharedstatedir@
563srcdir = @srcdir@
564sysconfdir = @sysconfdir@
565target_alias = @target_alias@
566top_build_prefix = @top_build_prefix@
567top_builddir = @top_builddir@
568top_srcdir = @top_srcdir@
569LIBGMP_LT_CURRENT = 14
570LIBGMP_LT_REVISION = 1
571LIBGMP_LT_AGE = 4
572LIBGMPXX_LT_CURRENT = 10
573LIBGMPXX_LT_REVISION = 1
574LIBGMPXX_LT_AGE = 6
575SUBDIRS = tests mpn mpz mpq mpf printf scanf rand cxx demos tune doc
576
577# Put asl.h here for now.
578
579# The "test -f" support for srcdir!=builddir is similar to the automake .c.o
580# etc rules, but with each foo.c explicitly, since $< is not portable
581# outside an inference rule.
582#
583# A quoted 'foo.c' is used with the "test -f"'s to avoid Sun make rewriting
584# it as part of its VPATH support.  See the autoconf manual "Limitations of
585# Make".
586#
587# Generated .h files which are used by gmp-impl.h are BUILT_SOURCES since
588# they must exist before anything can be compiled.
589#
590# Other generated .h files are also BUILT_SOURCES so as to get all the
591# build-system stuff over and done with at the start.  Also, dependencies on
592# the .h files are not properly expressed for the various objects that use
593# them.
594
595# Distribute mini-gmp. Test sources copied by dist-hook.
596EXTRA_DIST = configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf \
597	COPYING.LESSERv3 COPYINGv2 COPYINGv3 asl.h gmpxx.h bootstrap.c \
598	gen-fac.c gen-fib.c gen-bases.c gen-trialdivtab.c \
599	gen-jacobitab.c gen-psqr.c mini-gmp/README mini-gmp/mini-gmp.c \
600	mini-gmp/mini-gmp.h mini-gmp/ChangeLog mini-gmp/mini-mpq.c \
601	mini-gmp/mini-mpq.h mini-gmp/tests/Makefile \
602	mini-gmp/tests/run-tests
603pkgconfigdir = $(libdir)/pkgconfig
604pkgconfig_DATA = gmp.pc $(am__append_1)
605@WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h
606
607# gmp.h is architecture dependent, mainly since it encodes the limb size used
608# in libgmp.  For that reason it belongs under $exec_prefix not $prefix,
609# strictly speaking.
610#
611# $exec_prefix/include is not in the default include path for gcc built to
612# the same $prefix and $exec_prefix, which might mean gmp.h is not found,
613# but anyone knowledgeable enough to be playing with exec_prefix will be able
614# to address that.
615#
616includeexecdir = $(exec_prefix)/include
617include_HEADERS = $(GMPXX_HEADERS_OPTION)
618nodist_includeexec_HEADERS = gmp.h
619lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION)
620BUILT_SOURCES = gmp.h fac_table.h fib_table.h mpn/fib_table.c \
621	mp_bases.h mpn/mp_bases.c trialdivtab.h mpn/jacobitab.h \
622	mpn/perfsqr.h
623DISTCLEANFILES = $(BUILT_SOURCES) config.m4 @gmp_srclinks@ \
624	gen-fac$(EXEEXT_FOR_BUILD) gen-fib$(EXEEXT_FOR_BUILD) \
625	gen-bases$(EXEEXT_FOR_BUILD) \
626	gen-trialdivtab$(EXEEXT_FOR_BUILD) \
627	gen-jacobitab$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)
628
629# Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
630AM_CPPFLAGS = -D__GMP_WITHIN_GMP
631MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/inits$U.lo mpf/set$U.lo	    \
632  mpf/set_ui$U.lo mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo	    \
633  mpf/set_z$U.lo mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo	    \
634  mpf/iset_str$U.lo mpf/iset_d$U.lo mpf/clear$U.lo mpf/clears$U.lo	    \
635  mpf/get_str$U.lo mpf/dump$U.lo mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo \
636  mpf/sqrt$U.lo mpf/random2$U.lo mpf/inp_str$U.lo mpf/out_str$U.lo	    \
637  mpf/add$U.lo mpf/add_ui$U.lo mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo \
638  mpf/mul$U.lo mpf/mul_ui$U.lo mpf/div$U.lo mpf/div_ui$U.lo mpf/cmp_z$U.lo  \
639  mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo		    \
640  mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo		    \
641  mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo   \
642  mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo               \
643  mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo                         \
644  mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo			    \
645  mpf/urandomb$U.lo mpf/swap$U.lo					    \
646  mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo		    \
647  mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo		    \
648  mpf/get_si$U.lo mpf/get_ui$U.lo					    \
649  mpf/int_p$U.lo
650
651MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo			\
652  mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo	\
653  mpz/bin_ui$U.lo mpz/bin_uiui$U.lo					\
654  mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo					\
655  mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo					\
656  mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo			\
657  mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo				\
658  mpz/clear$U.lo mpz/clears$U.lo mpz/clrbit$U.lo			\
659  mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo		\
660  mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo			\
661  mpz/com$U.lo mpz/combit$U.lo						\
662  mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo			\
663  mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo			\
664  mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo	\
665  mpz/export$U.lo mpz/mfac_uiui$U.lo					\
666  mpz/2fac_ui$U.lo mpz/fac_ui$U.lo mpz/oddfac_1$U.lo mpz/prodlimbs$U.lo	\
667  mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo		\
668  mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo mpz/fdiv_q$U.lo			\
669  mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo	\
670  mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo		\
671  mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo			\
672  mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo	\
673  mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo	\
674  mpz/hamdist$U.lo							\
675  mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inits$U.lo		\
676  mpz/inp_raw$U.lo mpz/inp_str$U.lo mpz/invert$U.lo			\
677  mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo		\
678  mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo	\
679  mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo			\
680  mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/limbs_finish$U.lo			\
681  mpz/limbs_modify$U.lo mpz/limbs_read$U.lo mpz/limbs_write$U.lo	\
682  mpz/lucmod$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo		\
683  mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo	\
684  mpz/mul_si$U.lo mpz/mul_ui$U.lo					\
685  mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo			\
686  mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo	\
687  mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_sec$U.lo	\
688  mpz/powm_ui$U.lo mpz/primorial_ui$U.lo				\
689  mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo			\
690  mpz/realloc$U.lo mpz/realloc2$U.lo mpz/remove$U.lo mpz/roinit_n$U.lo  \
691  mpz/root$U.lo mpz/rootrem$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo	\
692  mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo		\
693  mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo	\
694  mpz/setbit$U.lo							\
695  mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo			\
696  mpz/sqrtrem$U.lo mpz/stronglucas$U.lo mpz/sub$U.lo			\
697  mpz/sub_ui$U.lo mpz/swap$U.lo						\
698  mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo			\
699  mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo		\
700  mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo		\
701  mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo	\
702  mpz/urandomm$U.lo mpz/xor$U.lo
703
704MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo				\
705  mpq/canonicalize$U.lo mpq/clear$U.lo mpq/clears$U.lo			\
706  mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo		\
707  mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo	\
708  mpq/init$U.lo mpq/inits$U.lo mpq/inp_str$U.lo mpq/inv$U.lo		\
709  mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo		\
710  mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo			\
711  mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo			\
712  mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo				\
713  mpq/set_f$U.lo mpq/swap$U.lo
714
715MPN_OBJECTS = mpn/fib_table$U.lo mpn/mp_bases$U.lo
716PRINTF_OBJECTS = \
717  printf/asprintf$U.lo printf/asprntffuns$U.lo				\
718  printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo		\
719  printf/fprintf$U.lo							\
720  printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo	\
721  printf/printf$U.lo printf/printffuns$U.lo				\
722  printf/snprintf$U.lo printf/snprntffuns$U.lo				\
723  printf/sprintf$U.lo printf/sprintffuns$U.lo				\
724  printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo	\
725  printf/vsnprintf$U.lo printf/vsprintf$U.lo				\
726  printf/repl-vsnprintf$U.lo
727
728SCANF_OBJECTS = \
729  scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo	\
730  scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo	\
731  scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo
732
733RANDOM_OBJECTS = \
734  rand/rand$U.lo rand/randclr$U.lo rand/randdef$U.lo rand/randiset$U.lo	\
735  rand/randlc2s$U.lo rand/randlc2x$U.lo rand/randmt$U.lo		\
736  rand/randmts$U.lo rand/rands$U.lo rand/randsd$U.lo rand/randsdui$U.lo	\
737  rand/randbui$U.lo rand/randmui$U.lo
738
739
740# no $U for C++ files
741CXX_OBJECTS = \
742  cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo	\
743  cxx/limits.lo cxx/osdoprnti.lo cxx/osfuns.lo				\
744  cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo
745
746
747# In libtool 1.5 it doesn't work to build libgmp.la from the convenience
748# libraries like mpz/libmpz.la.  Or rather it works, but it ends up putting
749# PIC objects into libgmp.a if shared and static are both built.  (The PIC
750# objects go into mpz/.libs/libmpz.a, and thence into .libs/libgmp.a.)
751#
752# For now the big lists of objects above are used.  Something like mpz/*.lo
753# would probably work, but might risk missing something out or getting
754# something extra.  The source files for each .lo are listed in the
755# Makefile.am's in the subdirectories.
756#
757# Currently, for libgmp, unlike libmp below, we're not using
758# -export-symbols, since the tune and speed programs, and perhaps some of
759# the test programs, want to access undocumented symbols.
760libgmp_la_SOURCES = gmp-impl.h longlong.h				\
761  assert.c compat.c errno.c extract-dbl.c invalid.c memory.c		\
762  mp_bpl.c mp_clz_tab.c mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c \
763  version.c nextprime.c primesieve.c
764
765EXTRA_libgmp_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c
766libgmp_la_DEPENDENCIES = @TAL_OBJECT@		\
767  $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS)	\
768  $(MPN_OBJECTS) @mpn_objs_in_libgmp@		\
769  $(PRINTF_OBJECTS)  $(SCANF_OBJECTS) $(RANDOM_OBJECTS)
770
771libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES)
772libgmp_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMP_LDFLAGS) \
773  -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
774
775
776# We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
777# use $(CXXLINK) rather than the plain C $(LINK).  cxx/dummy.cc is that
778# file.
779@WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la
780libgmpxx_la_SOURCES = cxx/dummy.cc
781libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la
782libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES)
783libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMPXX_LDFLAGS) \
784  -version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)
785
786all: $(BUILT_SOURCES) config.h
787	$(MAKE) $(AM_MAKEFLAGS) all-recursive
788
789.SUFFIXES:
790.SUFFIXES: .c .cc .lo .o .obj
791am--refresh: Makefile
792	@:
793$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
794	@for dep in $?; do \
795	  case '$(am__configure_deps)' in \
796	    *$$dep*) \
797	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps'; \
798	      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps \
799		&& exit 0; \
800	      exit 1;; \
801	  esac; \
802	done; \
803	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps Makefile'; \
804	$(am__cd) $(top_srcdir) && \
805	  $(AUTOMAKE) --gnu --ignore-deps Makefile
806Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
807	@case '$?' in \
808	  *config.status*) \
809	    echo ' $(SHELL) ./config.status'; \
810	    $(SHELL) ./config.status;; \
811	  *) \
812	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
813	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
814	esac;
815
816$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
817	$(SHELL) ./config.status --recheck
818
819$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
820	$(am__cd) $(srcdir) && $(AUTOCONF)
821$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
822	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
823$(am__aclocal_m4_deps):
824
825config.h: stamp-h1
826	@test -f $@ || rm -f stamp-h1
827	@test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1
828
829stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
830	@rm -f stamp-h1
831	cd $(top_builddir) && $(SHELL) ./config.status config.h
832$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 
833	($(am__cd) $(top_srcdir) && $(AUTOHEADER))
834	rm -f stamp-h1
835	touch $@
836
837distclean-hdr:
838	-rm -f config.h stamp-h1
839gmp.h: $(top_builddir)/config.status $(srcdir)/gmp-h.in
840	cd $(top_builddir) && $(SHELL) ./config.status $@
841gmp.pc: $(top_builddir)/config.status $(srcdir)/gmp.pc.in
842	cd $(top_builddir) && $(SHELL) ./config.status $@
843gmpxx.pc: $(top_builddir)/config.status $(srcdir)/gmpxx.pc.in
844	cd $(top_builddir) && $(SHELL) ./config.status $@
845
846install-libLTLIBRARIES: $(lib_LTLIBRARIES)
847	@$(NORMAL_INSTALL)
848	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
849	list2=; for p in $$list; do \
850	  if test -f $$p; then \
851	    list2="$$list2 $$p"; \
852	  else :; fi; \
853	done; \
854	test -z "$$list2" || { \
855	  echo " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
856	  $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \
857	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
858	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
859	}
860
861uninstall-libLTLIBRARIES:
862	@$(NORMAL_UNINSTALL)
863	@list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
864	for p in $$list; do \
865	  $(am__strip_dir) \
866	  echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
867	  $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
868	done
869
870clean-libLTLIBRARIES:
871	-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
872	@list='$(lib_LTLIBRARIES)'; \
873	locs=`for p in $$list; do echo $$p; done | \
874	      sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \
875	      sort -u`; \
876	test -z "$$locs" || { \
877	  echo rm -f $${locs}; \
878	  rm -f $${locs}; \
879	}
880
881libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES) $(EXTRA_libgmp_la_DEPENDENCIES) 
882	$(AM_V_CCLD)$(libgmp_la_LINK) -rpath $(libdir) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
883cxx/$(am__dirstamp):
884	@$(MKDIR_P) cxx
885	@: > cxx/$(am__dirstamp)
886cxx/dummy.lo: cxx/$(am__dirstamp)
887
888libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES) $(EXTRA_libgmpxx_la_DEPENDENCIES) 
889	$(AM_V_CXXLD)$(libgmpxx_la_LINK) $(am_libgmpxx_la_rpath) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS)
890
891mostlyclean-compile:
892	-rm -f *.$(OBJEXT)
893	-rm -f cxx/*.$(OBJEXT)
894	-rm -f cxx/*.lo
895
896distclean-compile:
897	-rm -f *.tab.c
898
899.c.o:
900	$(AM_V_CC)$(COMPILE) -c -o $@ $<
901
902.c.obj:
903	$(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
904
905.c.lo:
906	$(AM_V_CC)$(LTCOMPILE) -c -o $@ $<
907
908.cc.o:
909	$(AM_V_CXX)$(CXXCOMPILE) -c -o $@ $<
910
911.cc.obj:
912	$(AM_V_CXX)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
913
914.cc.lo:
915	$(AM_V_CXX)$(LTCXXCOMPILE) -c -o $@ $<
916
917mostlyclean-libtool:
918	-rm -f *.lo
919
920clean-libtool:
921	-rm -rf .libs _libs
922	-rm -rf cxx/.libs cxx/_libs
923
924distclean-libtool:
925	-rm -f libtool config.lt
926install-pkgconfigDATA: $(pkgconfig_DATA)
927	@$(NORMAL_INSTALL)
928	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
929	if test -n "$$list"; then \
930	  echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \
931	  $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \
932	fi; \
933	for p in $$list; do \
934	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
935	  echo "$$d$$p"; \
936	done | $(am__base_list) | \
937	while read files; do \
938	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
939	  $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
940	done
941
942uninstall-pkgconfigDATA:
943	@$(NORMAL_UNINSTALL)
944	@list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
945	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
946	dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
947install-includeHEADERS: $(include_HEADERS)
948	@$(NORMAL_INSTALL)
949	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
950	if test -n "$$list"; then \
951	  echo " $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
952	  $(MKDIR_P) "$(DESTDIR)$(includedir)" || exit 1; \
953	fi; \
954	for p in $$list; do \
955	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
956	  echo "$$d$$p"; \
957	done | $(am__base_list) | \
958	while read files; do \
959	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
960	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
961	done
962
963uninstall-includeHEADERS:
964	@$(NORMAL_UNINSTALL)
965	@list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
966	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
967	dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
968install-nodist_includeexecHEADERS: $(nodist_includeexec_HEADERS)
969	@$(NORMAL_INSTALL)
970	@list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
971	if test -n "$$list"; then \
972	  echo " $(MKDIR_P) '$(DESTDIR)$(includeexecdir)'"; \
973	  $(MKDIR_P) "$(DESTDIR)$(includeexecdir)" || exit 1; \
974	fi; \
975	for p in $$list; do \
976	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
977	  echo "$$d$$p"; \
978	done | $(am__base_list) | \
979	while read files; do \
980	  echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includeexecdir)'"; \
981	  $(INSTALL_HEADER) $$files "$(DESTDIR)$(includeexecdir)" || exit $$?; \
982	done
983
984uninstall-nodist_includeexecHEADERS:
985	@$(NORMAL_UNINSTALL)
986	@list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
987	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
988	dir='$(DESTDIR)$(includeexecdir)'; $(am__uninstall_files_from_dir)
989
990# This directory's subdirectories are mostly independent; you can cd
991# into them and run 'make' without going through this Makefile.
992# To change the values of 'make' variables: instead of editing Makefiles,
993# (1) if the variable is set in 'config.status', edit 'config.status'
994#     (which will cause the Makefiles to be regenerated when you run 'make');
995# (2) otherwise, pass the desired values on the 'make' command line.
996$(am__recursive_targets):
997	@fail=; \
998	if $(am__make_keepgoing); then \
999	  failcom='fail=yes'; \
1000	else \
1001	  failcom='exit 1'; \
1002	fi; \
1003	dot_seen=no; \
1004	target=`echo $@ | sed s/-recursive//`; \
1005	case "$@" in \
1006	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
1007	  *) list='$(SUBDIRS)' ;; \
1008	esac; \
1009	for subdir in $$list; do \
1010	  echo "Making $$target in $$subdir"; \
1011	  if test "$$subdir" = "."; then \
1012	    dot_seen=yes; \
1013	    local_target="$$target-am"; \
1014	  else \
1015	    local_target="$$target"; \
1016	  fi; \
1017	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
1018	  || eval $$failcom; \
1019	done; \
1020	if test "$$dot_seen" = "no"; then \
1021	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
1022	fi; test -z "$$fail"
1023
1024ID: $(am__tagged_files)
1025	$(am__define_uniq_tagged_files); mkid -fID $$unique
1026tags: tags-recursive
1027TAGS: tags
1028
1029tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1030	set x; \
1031	here=`pwd`; \
1032	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1033	  include_option=--etags-include; \
1034	  empty_fix=.; \
1035	else \
1036	  include_option=--include; \
1037	  empty_fix=; \
1038	fi; \
1039	list='$(SUBDIRS)'; for subdir in $$list; do \
1040	  if test "$$subdir" = .; then :; else \
1041	    test ! -f $$subdir/TAGS || \
1042	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1043	  fi; \
1044	done; \
1045	$(am__define_uniq_tagged_files); \
1046	shift; \
1047	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1048	  test -n "$$unique" || unique=$$empty_fix; \
1049	  if test $$# -gt 0; then \
1050	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1051	      "$$@" $$unique; \
1052	  else \
1053	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1054	      $$unique; \
1055	  fi; \
1056	fi
1057ctags: ctags-recursive
1058
1059CTAGS: ctags
1060ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
1061	$(am__define_uniq_tagged_files); \
1062	test -z "$(CTAGS_ARGS)$$unique" \
1063	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1064	     $$unique
1065
1066GTAGS:
1067	here=`$(am__cd) $(top_builddir) && pwd` \
1068	  && $(am__cd) $(top_srcdir) \
1069	  && gtags -i $(GTAGS_ARGS) "$$here"
1070cscope: cscope.files
1071	test ! -s cscope.files \
1072	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
1073clean-cscope:
1074	-rm -f cscope.files
1075cscope.files: clean-cscope cscopelist
1076cscopelist: cscopelist-recursive
1077
1078cscopelist-am: $(am__tagged_files)
1079	list='$(am__tagged_files)'; \
1080	case "$(srcdir)" in \
1081	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
1082	  *) sdir=$(subdir)/$(srcdir) ;; \
1083	esac; \
1084	for i in $$list; do \
1085	  if test -f "$$i"; then \
1086	    echo "$(subdir)/$$i"; \
1087	  else \
1088	    echo "$$sdir/$$i"; \
1089	  fi; \
1090	done >> $(top_builddir)/cscope.files
1091
1092distclean-tags:
1093	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1094	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
1095
1096distdir: $(DISTFILES)
1097	$(am__remove_distdir)
1098	test -d "$(distdir)" || mkdir "$(distdir)"
1099	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1100	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1101	list='$(DISTFILES)'; \
1102	  dist_files=`for file in $$list; do echo $$file; done | \
1103	  sed -e "s|^$$srcdirstrip/||;t" \
1104	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1105	case $$dist_files in \
1106	  */*) $(MKDIR_P) `echo "$$dist_files" | \
1107			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1108			   sort -u` ;; \
1109	esac; \
1110	for file in $$dist_files; do \
1111	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1112	  if test -d $$d/$$file; then \
1113	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1114	    if test -d "$(distdir)/$$file"; then \
1115	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1116	    fi; \
1117	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1118	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1119	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1120	    fi; \
1121	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1122	  else \
1123	    test -f "$(distdir)/$$file" \
1124	    || cp -p $$d/$$file "$(distdir)/$$file" \
1125	    || exit 1; \
1126	  fi; \
1127	done
1128	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1129	  if test "$$subdir" = .; then :; else \
1130	    $(am__make_dryrun) \
1131	      || test -d "$(distdir)/$$subdir" \
1132	      || $(MKDIR_P) "$(distdir)/$$subdir" \
1133	      || exit 1; \
1134	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1135	    $(am__relativize); \
1136	    new_distdir=$$reldir; \
1137	    dir1=$$subdir; dir2="$(top_distdir)"; \
1138	    $(am__relativize); \
1139	    new_top_distdir=$$reldir; \
1140	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1141	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1142	    ($(am__cd) $$subdir && \
1143	      $(MAKE) $(AM_MAKEFLAGS) \
1144	        top_distdir="$$new_top_distdir" \
1145	        distdir="$$new_distdir" \
1146		am__remove_distdir=: \
1147		am__skip_length_check=: \
1148		am__skip_mode_fix=: \
1149	        distdir) \
1150	      || exit 1; \
1151	  fi; \
1152	done
1153	$(MAKE) $(AM_MAKEFLAGS) \
1154	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
1155	  dist-hook
1156	-test -n "$(am__skip_mode_fix)" \
1157	|| find "$(distdir)" -type d ! -perm -755 \
1158		-exec chmod u+rwx,go+rx {} \; -o \
1159	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1160	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1161	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1162	|| chmod -R a+r "$(distdir)"
1163dist-gzip: distdir
1164	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1165	$(am__post_remove_distdir)
1166
1167dist-bzip2: distdir
1168	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
1169	$(am__post_remove_distdir)
1170
1171dist-lzip: distdir
1172	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
1173	$(am__post_remove_distdir)
1174
1175dist-xz: distdir
1176	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
1177	$(am__post_remove_distdir)
1178
1179dist-tarZ: distdir
1180	@echo WARNING: "Support for distribution archives compressed with" \
1181		       "legacy program 'compress' is deprecated." >&2
1182	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1183	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1184	$(am__post_remove_distdir)
1185
1186dist-shar: distdir
1187	@echo WARNING: "Support for shar distribution archives is" \
1188	               "deprecated." >&2
1189	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
1190	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1191	$(am__post_remove_distdir)
1192
1193dist-zip: distdir
1194	-rm -f $(distdir).zip
1195	zip -rq $(distdir).zip $(distdir)
1196	$(am__post_remove_distdir)
1197
1198dist dist-all:
1199	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
1200	$(am__post_remove_distdir)
1201
1202# This target untars the dist file and tries a VPATH configuration.  Then
1203# it guarantees that the distribution is self-contained by making another
1204# tarfile.
1205distcheck: dist
1206	case '$(DIST_ARCHIVES)' in \
1207	*.tar.gz*) \
1208	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1209	*.tar.bz2*) \
1210	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1211	*.tar.lz*) \
1212	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
1213	*.tar.xz*) \
1214	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1215	*.tar.Z*) \
1216	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1217	*.shar.gz*) \
1218	  GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1219	*.zip*) \
1220	  unzip $(distdir).zip ;;\
1221	esac
1222	chmod -R a-w $(distdir)
1223	chmod u+w $(distdir)
1224	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
1225	chmod a-w $(distdir)
1226	test -d $(distdir)/_build || exit 0; \
1227	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1228	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1229	  && am__cwd=`pwd` \
1230	  && $(am__cd) $(distdir)/_build/sub \
1231	  && ../../configure \
1232	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
1233	    $(DISTCHECK_CONFIGURE_FLAGS) \
1234	    --srcdir=../.. --prefix="$$dc_install_base" \
1235	  && $(MAKE) $(AM_MAKEFLAGS) \
1236	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
1237	  && $(MAKE) $(AM_MAKEFLAGS) check \
1238	  && $(MAKE) $(AM_MAKEFLAGS) install \
1239	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1240	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1241	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1242	        distuninstallcheck \
1243	  && chmod -R a-w "$$dc_install_base" \
1244	  && ({ \
1245	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1246	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1247	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1248	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1249	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1250	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
1251	  && rm -rf "$$dc_destdir" \
1252	  && $(MAKE) $(AM_MAKEFLAGS) dist \
1253	  && rm -rf $(DIST_ARCHIVES) \
1254	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1255	  && cd "$$am__cwd" \
1256	  || exit 1
1257	$(am__post_remove_distdir)
1258	@(echo "$(distdir) archives ready for distribution: "; \
1259	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1260	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1261distuninstallcheck:
1262	@test -n '$(distuninstallcheck_dir)' || { \
1263	  echo 'ERROR: trying to run $@ with an empty' \
1264	       '$$(distuninstallcheck_dir)' >&2; \
1265	  exit 1; \
1266	}; \
1267	$(am__cd) '$(distuninstallcheck_dir)' || { \
1268	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1269	  exit 1; \
1270	}; \
1271	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
1272	   || { echo "ERROR: files left after uninstall:" ; \
1273	        if test -n "$(DESTDIR)"; then \
1274	          echo "  (check DESTDIR support)"; \
1275	        fi ; \
1276	        $(distuninstallcheck_listfiles) ; \
1277	        exit 1; } >&2
1278distcleancheck: distclean
1279	@if test '$(srcdir)' = . ; then \
1280	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1281	  exit 1 ; \
1282	fi
1283	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1284	  || { echo "ERROR: files left in build directory after distclean:" ; \
1285	       $(distcleancheck_listfiles) ; \
1286	       exit 1; } >&2
1287check-am: all-am
1288check: $(BUILT_SOURCES)
1289	$(MAKE) $(AM_MAKEFLAGS) check-recursive
1290all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) config.h
1291installdirs: installdirs-recursive
1292installdirs-am:
1293	for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includeexecdir)"; do \
1294	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1295	done
1296install: $(BUILT_SOURCES)
1297	$(MAKE) $(AM_MAKEFLAGS) install-recursive
1298install-exec: install-exec-recursive
1299install-data: install-data-recursive
1300uninstall: uninstall-recursive
1301
1302install-am: all-am
1303	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am
1304	@$(MAKE) $(AM_MAKEFLAGS) install-data-am
1305
1306installcheck: installcheck-recursive
1307install-strip:
1308	if test -z '$(STRIP)'; then \
1309	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1310	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1311	      install; \
1312	else \
1313	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1314	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1315	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1316	fi
1317mostlyclean-generic:
1318
1319clean-generic:
1320
1321distclean-generic:
1322	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1323	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1324	-rm -f cxx/$(am__dirstamp)
1325	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1326
1327maintainer-clean-generic:
1328	@echo "This command is intended for maintainers to use"
1329	@echo "it deletes files that may require special tools to rebuild."
1330	-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1331clean: clean-recursive
1332
1333clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \
1334	mostlyclean-am
1335
1336distclean: distclean-recursive
1337	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1338	-rm -f Makefile
1339distclean-am: clean-am distclean-compile distclean-generic \
1340	distclean-hdr distclean-libtool distclean-local distclean-tags
1341
1342dvi: dvi-recursive
1343
1344dvi-am:
1345
1346html: html-recursive
1347
1348html-am:
1349
1350info: info-recursive
1351
1352info-am:
1353
1354install-data-am: install-includeHEADERS install-pkgconfigDATA
1355	@$(NORMAL_INSTALL)
1356	$(MAKE) $(AM_MAKEFLAGS) install-data-hook
1357install-dvi: install-dvi-recursive
1358
1359install-dvi-am:
1360
1361install-exec-am: install-libLTLIBRARIES \
1362	install-nodist_includeexecHEADERS
1363
1364install-html: install-html-recursive
1365
1366install-html-am:
1367
1368install-info: install-info-recursive
1369
1370install-info-am:
1371
1372install-man:
1373
1374install-pdf: install-pdf-recursive
1375
1376install-pdf-am:
1377
1378install-ps: install-ps-recursive
1379
1380install-ps-am:
1381
1382installcheck-am:
1383
1384maintainer-clean: maintainer-clean-recursive
1385	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1386	-rm -rf $(top_srcdir)/autom4te.cache
1387	-rm -f Makefile
1388maintainer-clean-am: distclean-am maintainer-clean-generic
1389
1390mostlyclean: mostlyclean-recursive
1391
1392mostlyclean-am: mostlyclean-compile mostlyclean-generic \
1393	mostlyclean-libtool
1394
1395pdf: pdf-recursive
1396
1397pdf-am:
1398
1399ps: ps-recursive
1400
1401ps-am:
1402
1403uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1404	uninstall-nodist_includeexecHEADERS uninstall-pkgconfigDATA
1405
1406.MAKE: $(am__recursive_targets) all check install install-am \
1407	install-data-am install-strip
1408
1409.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1410	am--refresh check check-am clean clean-cscope clean-generic \
1411	clean-libLTLIBRARIES clean-libtool clean-local cscope \
1412	cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1413	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1414	dist-zip distcheck distclean distclean-compile \
1415	distclean-generic distclean-hdr distclean-libtool \
1416	distclean-local distclean-tags distcleancheck distdir \
1417	distuninstallcheck dvi dvi-am html html-am info info-am \
1418	install install-am install-data install-data-am \
1419	install-data-hook install-dvi install-dvi-am install-exec \
1420	install-exec-am install-html install-html-am \
1421	install-includeHEADERS install-info install-info-am \
1422	install-libLTLIBRARIES install-man \
1423	install-nodist_includeexecHEADERS install-pdf install-pdf-am \
1424	install-pkgconfigDATA install-ps install-ps-am install-strip \
1425	installcheck installcheck-am installdirs installdirs-am \
1426	maintainer-clean maintainer-clean-generic mostlyclean \
1427	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
1428	pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am \
1429	uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1430	uninstall-nodist_includeexecHEADERS uninstall-pkgconfigDATA
1431
1432.PRECIOUS: Makefile
1433
1434
1435install-data-hook:
1436	@echo ''
1437	@echo '+-------------------------------------------------------------+'
1438	@echo '| CAUTION:                                                    |'
1439	@echo '|                                                             |'
1440	@echo '| If you have not already run "make check", then we strongly  |'
1441	@echo '| recommend you do so.                                        |'
1442	@echo '|                                                             |'
1443	@echo '| GMP has been carefully tested by its authors, but compilers |'
1444	@echo '| are all too often released with serious bugs.  GMP tends to |'
1445	@echo '| explore interesting corners in compilers and has hit bugs   |'
1446	@echo '| on quite a few occasions.                                   |'
1447	@echo '|                                                             |'
1448	@echo '+-------------------------------------------------------------+'
1449	@echo ''
1450
1451fac_table.h: gen-fac$(EXEEXT_FOR_BUILD)
1452	./gen-fac $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >fac_table.h || (rm -f fac_table.h; exit 1)
1453
1454gen-fac$(EXEEXT_FOR_BUILD): gen-fac$(U_FOR_BUILD).c bootstrap.c
1455	$(CC_FOR_BUILD) $(CPPFLAGS) `test -f 'gen-fac$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fac$(U_FOR_BUILD).c -o gen-fac$(EXEEXT_FOR_BUILD)
1456
1457fib_table.h: gen-fib$(EXEEXT_FOR_BUILD)
1458	./gen-fib header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >fib_table.h || (rm -f fib_table.h; exit 1)
1459
1460mpn/fib_table.c: gen-fib$(EXEEXT_FOR_BUILD)
1461	./gen-fib table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
1462
1463gen-fib$(EXEEXT_FOR_BUILD): gen-fib$(U_FOR_BUILD).c bootstrap.c
1464	$(CC_FOR_BUILD) $(CPPFLAGS) `test -f 'gen-fib$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fib$(U_FOR_BUILD).c -o gen-fib$(EXEEXT_FOR_BUILD)
1465
1466mp_bases.h: gen-bases$(EXEEXT_FOR_BUILD)
1467	./gen-bases header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mp_bases.h || (rm -f mp_bases.h; exit 1)
1468
1469mpn/mp_bases.c: gen-bases$(EXEEXT_FOR_BUILD)
1470	./gen-bases table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
1471
1472gen-bases$(EXEEXT_FOR_BUILD): gen-bases$(U_FOR_BUILD).c bootstrap.c
1473	$(CC_FOR_BUILD) $(CPPFLAGS) `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)
1474
1475trialdivtab.h: gen-trialdivtab$(EXEEXT_FOR_BUILD)
1476	./gen-trialdivtab $(GMP_LIMB_BITS) 8000 >trialdivtab.h || (rm -f trialdivtab.h; exit 1)
1477
1478gen-trialdivtab$(EXEEXT_FOR_BUILD): gen-trialdivtab$(U_FOR_BUILD).c bootstrap.c
1479	$(CC_FOR_BUILD) $(CPPFLAGS) `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)
1480
1481mpn/jacobitab.h: gen-jacobitab$(EXEEXT_FOR_BUILD)
1482	./gen-jacobitab >mpn/jacobitab.h || (rm -f mpn/jacobitab.h; exit 1)
1483
1484gen-jacobitab$(EXEEXT_FOR_BUILD): gen-jacobitab$(U_FOR_BUILD).c
1485	$(CC_FOR_BUILD) $(CPPFLAGS) `test -f 'gen-jacobitab$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-jacobitab$(U_FOR_BUILD).c -o gen-jacobitab$(EXEEXT_FOR_BUILD)
1486
1487mpn/perfsqr.h: gen-psqr$(EXEEXT_FOR_BUILD)
1488	./gen-psqr $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
1489
1490gen-psqr$(EXEEXT_FOR_BUILD): gen-psqr$(U_FOR_BUILD).c bootstrap.c
1491	$(CC_FOR_BUILD) $(CPPFLAGS) `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)
1492
1493# Avoid: CVS - cvs directories
1494#        *~  - emacs backups
1495#        .#* - cvs merge originals
1496#
1497# *~ and .#* only occur when a whole directory without it's own Makefile.am
1498# is distributed, like "doc" or the mpn cpu subdirectories.
1499#
1500dist-hook:
1501	-find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \
1502		| xargs rm -rf
1503	cp "$(srcdir)"/mini-gmp/tests/*.[ch] "$(distdir)/mini-gmp/tests"
1504#	grep -F $(VERSION) $(srcdir)/Makefile.am \
1505#		| grep -q "^# *$(VERSION) *$(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) *$(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)"
1506#	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`"
1507
1508.PHONY: check-mini-gmp clean-mini-gmp
1509
1510check-mini-gmp:
1511	abs_srcdir="`cd $(srcdir) && pwd`" ; \
1512	$(MKDIR_P) mini-gmp/tests \
1513	&& cd mini-gmp/tests \
1514	&& TEST_SHLIB_DIR="${abs_top_builddir}/.libs" \
1515	   $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" \
1516		VPATH="$$abs_srcdir/mini-gmp/tests" \
1517		srcdir="$$abs_srcdir/mini-gmp/tests" \
1518		MINI_GMP_DIR="$$abs_srcdir/mini-gmp" \
1519		LDFLAGS="-L../../.libs" \
1520		LIBS="-lgmp -lm" \
1521		CC="$(CC)" CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -I../.." check
1522
1523clean-mini-gmp:
1524	if [ -d mini-gmp/tests ] ; then \
1525	  abs_srcdir="`cd $(srcdir) && pwd`" ; \
1526	  cd mini-gmp/tests \
1527	  && $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" clean ; \
1528	fi
1529
1530clean-local: clean-mini-gmp
1531distclean-local: clean-mini-gmp
1532
1533# Tell versions [3.59,3.63) of GNU make to not export all variables.
1534# Otherwise a system limit (for SysV at least) may be exceeded.
1535.NOEXPORT:
1536