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