1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
19 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
21 # This file is part of the GNU MP Library.
23 # The GNU MP Library is free software; you can redistribute it and/or modify
24 # it under the terms of the GNU Lesser General Public License as published by
25 # the Free Software Foundation; either version 3 of the License, or (at your
26 # option) any later version.
28 # The GNU MP Library is distributed in the hope that it will be useful, but
29 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
30 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
31 # License for more details.
33 # You should have received a copy of the GNU Lesser General Public License
34 # along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40 pkglibdir = $(libdir)/@PACKAGE@
41 pkglibexecdir = $(libexecdir)/@PACKAGE@
42 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
43 install_sh_DATA = $(install_sh) -c -m 644
44 install_sh_PROGRAM = $(install_sh) -c
45 install_sh_SCRIPT = $(install_sh) -c
46 INSTALL_HEADER = $(INSTALL_DATA)
47 transform = $(program_transform_name)
54 build_triplet = @build@
58 DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \
59 $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
60 $(srcdir)/config.in $(srcdir)/gmp-h.in $(srcdir)/mp-h.in \
61 $(top_srcdir)/configure AUTHORS COPYING COPYING.LIB ChangeLog \
62 INSTALL NEWS ansi2knr.1 ansi2knr.c config.guess config.sub \
63 install-sh ltmain.sh missing ylwrap
64 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
66 $(top_srcdir)/configure.in
67 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
69 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
70 configure.lineno config.status.lineno
71 mkinstalldirs = $(install_sh) -d
72 CONFIG_HEADER = config.h
73 CONFIG_CLEAN_FILES = gmp.h mp.h gmp-mparam.h
74 CONFIG_CLEAN_VPATH_FILES =
75 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
76 am__vpath_adj = case $$p in \
77 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
80 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
82 am__nobase_strip_setup = \
83 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
85 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
86 am__nobase_list = $(am__nobase_strip_setup); \
87 for p in $$list; do echo "$$p $$p"; done | \
88 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
89 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
90 if (++n[$$2] == $(am__install_max)) \
91 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
92 END { for (dir in files) print dir, files[dir] }'
94 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
95 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
96 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" \
97 "$(DESTDIR)$(includeexecdir)"
98 LTLIBRARIES = $(lib_LTLIBRARIES)
99 am__DEPENDENCIES_1 = $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
100 $(MPN_OBJECTS) $(PRINTF_OBJECTS) $(SCANF_OBJECTS)
101 am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo \
102 extract-dbl$U.lo invalid$U.lo memory$U.lo mp_bpl$U.lo \
103 mp_clz_tab$U.lo mp_dv_tab$U.lo mp_minv_tab$U.lo \
104 mp_get_fns$U.lo mp_set_fns$U.lo rand$U.lo randclr$U.lo \
105 randdef$U.lo randiset$U.lo randlc2s$U.lo randlc2x$U.lo \
106 randmt$U.lo randmts$U.lo rands$U.lo randsd$U.lo randsdui$U.lo \
107 randbui$U.lo randmui$U.lo version$U.lo nextprime$U.lo
108 libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
109 libgmp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
110 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
111 $(libgmp_la_LDFLAGS) $(LDFLAGS) -o $@
112 am_libgmpxx_la_OBJECTS = dummy.lo
113 libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS)
114 libgmpxx_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
115 $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
116 $(CXXFLAGS) $(libgmpxx_la_LDFLAGS) $(LDFLAGS) -o $@
117 @WANT_CXX_TRUE@am_libgmpxx_la_rpath = -rpath $(libdir)
118 am__DEPENDENCIES_2 = $(srcdir)/libmp.sym $(MPBSD_OBJECTS) \
119 $(MPN_OBJECTS) mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo \
120 mpz/mul$U.lo mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo \
121 mpz/sub$U.lo mpz/tdiv_q$U.lo
122 am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \
123 mp_clz_tab$U.lo mp_dv_tab$U.lo mp_minv_tab$U.lo \
124 mp_get_fns$U.lo mp_set_fns$U.lo nextprime$U.lo
125 libmp_la_OBJECTS = $(am_libmp_la_OBJECTS)
126 libmp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
127 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libmp_la_LDFLAGS) \
129 @WANT_MPBSD_TRUE@am_libmp_la_rpath = -rpath $(libdir)
130 DEFAULT_INCLUDES = -I.@am__isrc@
133 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
134 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
135 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
136 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
137 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
139 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
140 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
142 CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
143 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
144 LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
145 --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
146 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
148 CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
149 --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
151 SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
152 $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
153 DIST_SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
154 $(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
155 RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
156 html-recursive info-recursive install-data-recursive \
157 install-dvi-recursive install-exec-recursive \
158 install-html-recursive install-info-recursive \
159 install-pdf-recursive install-ps-recursive install-recursive \
160 installcheck-recursive installdirs-recursive pdf-recursive \
161 ps-recursive uninstall-recursive
162 am__include_HEADERS_DIST = gmpxx.h
163 HEADERS = $(include_HEADERS) $(nodist_includeexec_HEADERS)
164 RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
165 distclean-recursive maintainer-clean-recursive
166 AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
167 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
168 distdir dist dist-all distcheck
171 DIST_SUBDIRS = $(SUBDIRS)
172 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
173 distdir = $(PACKAGE)-$(VERSION)
174 top_distdir = $(distdir)
175 am__remove_distdir = \
176 { test ! -d "$(distdir)" \
177 || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
178 && rm -fr "$(distdir)"; }; }
181 sed_first='s,^\([^/]*\)/.*$$,\1,'; \
182 sed_rest='s,^[^/]*/*,,'; \
183 sed_last='s,^.*/\([^/]*\)$$,\1,'; \
184 sed_butlast='s,/*[^/]*$$,,'; \
185 while test -n "$$dir1"; do \
186 first=`echo "$$dir1" | sed -e "$$sed_first"`; \
187 if test "$$first" != "."; then \
188 if test "$$first" = ".."; then \
189 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
190 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
192 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
193 if test "$$first2" = "$$first"; then \
194 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
198 dir0="$$dir0"/"$$first"; \
201 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
204 DIST_ARCHIVES = $(distdir).tar.gz
206 distuninstallcheck_listfiles = find . -type f -print
207 distcleancheck_listfiles = find . -type f -print
213 ASMFLAGS = @ASMFLAGS@
214 AUTOCONF = @AUTOCONF@
215 AUTOHEADER = @AUTOHEADER@
216 AUTOMAKE = @AUTOMAKE@
218 CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
221 CC_FOR_BUILD = @CC_FOR_BUILD@
224 CPPFLAGS = @CPPFLAGS@
225 CPP_FOR_BUILD = @CPP_FOR_BUILD@
228 CXXFLAGS = @CXXFLAGS@
229 CYGPATH_W = @CYGPATH_W@
230 DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
233 DSYMUTIL = @DSYMUTIL@
240 EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
244 GMP_LDFLAGS = @GMP_LDFLAGS@
245 GMP_LIMB_BITS = @GMP_LIMB_BITS@
246 GMP_NAIL_BITS = @GMP_NAIL_BITS@
248 HAVE_CLOCK_01 = @HAVE_CLOCK_01@
249 HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
250 HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
251 HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
252 HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
253 HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
254 HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
255 HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
256 HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
257 HAVE_STACK_T_01 = @HAVE_STACK_T_01@
258 HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
260 INSTALL_DATA = @INSTALL_DATA@
261 INSTALL_PROGRAM = @INSTALL_PROGRAM@
262 INSTALL_SCRIPT = @INSTALL_SCRIPT@
263 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
268 LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
269 LIBCURSES = @LIBCURSES@
270 LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
271 LIBGMP_DLL = @LIBGMP_DLL@
272 LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
274 LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
276 LIBREADLINE = @LIBREADLINE@
281 LTLIBOBJS = @LTLIBOBJS@
284 MAKEINFO = @MAKEINFO@
293 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
294 PACKAGE_NAME = @PACKAGE_NAME@
295 PACKAGE_STRING = @PACKAGE_STRING@
296 PACKAGE_TARNAME = @PACKAGE_TARNAME@
297 PACKAGE_URL = @PACKAGE_URL@
298 PACKAGE_VERSION = @PACKAGE_VERSION@
299 PATH_SEPARATOR = @PATH_SEPARATOR@
302 SET_MAKE = @SET_MAKE@
304 SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
306 TAL_OBJECT = @TAL_OBJECT@
307 TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
309 U_FOR_BUILD = @U_FOR_BUILD@
311 WITH_READLINE_01 = @WITH_READLINE_01@
314 abs_builddir = @abs_builddir@
315 abs_srcdir = @abs_srcdir@
316 abs_top_builddir = @abs_top_builddir@
317 abs_top_srcdir = @abs_top_srcdir@
318 ac_ct_CC = @ac_ct_CC@
319 ac_ct_CXX = @ac_ct_CXX@
320 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
321 ac_ct_F77 = @ac_ct_F77@
322 am__leading_dot = @am__leading_dot@
324 am__untar = @am__untar@
327 build_alias = @build_alias@
328 build_cpu = @build_cpu@
329 build_os = @build_os@
330 build_vendor = @build_vendor@
331 builddir = @builddir@
333 datarootdir = @datarootdir@
336 exec_prefix = @exec_prefix@
337 gmp_srclinks = @gmp_srclinks@
339 host_alias = @host_alias@
340 host_cpu = @host_cpu@
342 host_vendor = @host_vendor@
344 includedir = @includedir@
346 install_sh = @install_sh@
348 libexecdir = @libexecdir@
349 localedir = @localedir@
350 localstatedir = @localstatedir@
354 mpn_objects = @mpn_objects@
355 mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
356 mpn_objs_in_libmp = @mpn_objs_in_libmp@
357 oldincludedir = @oldincludedir@
360 program_transform_name = @program_transform_name@
363 sharedstatedir = @sharedstatedir@
365 sysconfdir = @sysconfdir@
366 target_alias = @target_alias@
367 top_build_prefix = @top_build_prefix@
368 top_builddir = @top_builddir@
369 top_srcdir = @top_srcdir@
371 # The following options are the same as AM_INIT_AUTOMAKE in configure.in,
372 # except no $(top_builddir) on ansi2knr. That directory is wanted for the
373 # Makefiles in subdirectories, but here we must omit it so automake gives
374 # the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
376 AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr
378 # Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
381 # CURRENT:REVISION:AGE
383 # 1. No interfaces changed, only implementations (good): Increment REVISION.
385 # 2. Interfaces added, none removed (good): Increment CURRENT, increment
386 # AGE, set REVISION to 0.
388 # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
389 # CURRENT, set AGE and REVISION to 0.
391 # Do this separately for libgmp, libgmpxx and libmp, and only for releases.
394 # release libgmp libgmpxx libmp
397 # 3.0.1 3:1:0 - 3:0:0
399 # 3.1.1 4:1:1 - 4:1:1
400 # 4.0 5:0:2 3:0:0 4:2:1
401 # 4.0.1 5:1:2 3:1:0 4:3:1
402 # 4.1 6:0:3 3:2:0 4:4:1
403 # 4.1.1 6:1:3 3:3:0 4:5:1
404 # 4.1.2 6:2:3 3:4:0 4:6:1
405 # 4.1.3 6:3:3 3:5:0 4:7:1
406 # 4.1.4 6:3:3 3:5:0 4:7:1 WRONG, same as 4.1.3!
407 # 4.2 6:0:3 3:2:0 4:4:1 REALLY WRONG, same as 4.1!
408 # 4.2.1 7:1:4 4:1:1 4:10:1 WRONG for libgmpxx
409 # 4.2.2 7:2:4 4:2:0 4:11:1
410 # 4.2.3 7:3:4 4:3:0 4:12:1
411 # 4.2.4 7:4:4 4:4:0 4:13:1
412 # 4.3.0 8:0:5 5:0:1 4:14:1
413 # 4.3.1 8:1:5 5:1:1 4:15:1 WRONG Really used same as 4.3.0
414 # 4.3.2 8:2:5 5:2:1 4:16:1
415 # 5.0.0 9:0:6 6:0:2 4:20:1 Should have been 10:0:0
416 # 5.0.1 10:1:0 6:1:2 4:21:1
418 # Starting at 3:0:0 is a slight abuse of the versioning system, but it
419 # ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
420 # packages of gmp 2. Pretend gmp 2 was 2:0:0, so the interface changes for
421 # gmp 3 mean 3:0:0 is right.
423 # We interpret "implementation changed" in item "1." above as meaning any
424 # release, ie. the REVISION is incremented every time (if nothing else).
425 # Even if we thought the code generated will be identical on all systems,
426 # it's still good to get the shared library filename (like
427 # libgmpxx.so.3.0.4) incrementing, to make it clear which GMP it's from.
428 LIBGMP_LT_CURRENT = 10
429 LIBGMP_LT_REVISION = 1
431 LIBGMPXX_LT_CURRENT = 6
432 LIBGMPXX_LT_REVISION = 1
435 LIBMP_LT_REVISION = 21
437 SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc
439 # The ansi2knr setups for the build programs are the same as the normal
440 # automake ansi2knr rules, but using $(CC_FOR_BUILD) instead of $(CC).
442 # The "test -f" support for srcdir!=builddir is similar to the automake .c.o
443 # etc rules, but with each foo.c explicitly, since $< is not portable
444 # outside an inference rule.
446 # A quoted 'foo.c' is used with the "test -f"'s to avoid Sun make rewriting
447 # it as part of its VPATH support. See the autoconf manual "Limitations of
450 # Generated .h files which are used by gmp-impl.h are BUILT_SOURCES since
451 # they must exist before anything can be compiled.
453 # Other generated .h files are also BUILT_SOURCES so as to get all the
454 # build-system stuff over and done with at the start. Also, dependencies on
455 # the .h files are not properly expressed for the various objects that use
457 EXTRA_DIST = configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf \
458 gmpxx.h libmp.sym dumbmp.c gen-fac_ui.c gen-fib.c gen-bases.c \
459 gen-trialdivtab.c gen-psqr.c
460 @WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h
462 # gmp.h and mp.h are architecture dependent, mainly since they encode the
463 # limb size used in libgmp. For that reason they belong under $exec_prefix
464 # not $prefix, strictly speaking.
466 # $exec_prefix/include is not in the default include path for gcc built to
467 # the same $prefix and $exec_prefix, which might mean gmp.h is not found,
468 # but anyone knowledgeable enough to be playing with exec_prefix will be able
471 includeexecdir = $(exec_prefix)/include
472 include_HEADERS = $(GMPXX_HEADERS_OPTION)
473 nodist_includeexec_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION)
474 lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
475 BUILT_SOURCES = gmp.h mp.h mpz/fac_ui.h fib_table.h mpn/fib_table.c \
476 mp_bases.h mpn/mp_bases.c trialdivtab.h mpn/perfsqr.h
477 DISTCLEANFILES = $(BUILT_SOURCES) config.m4 @gmp_srclinks@ \
478 gen-fac_ui$(EXEEXT_FOR_BUILD) gen-fib$(EXEEXT_FOR_BUILD) \
479 gen-bases$(EXEEXT_FOR_BUILD) \
480 gen-trialdivtab$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)
482 # Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
483 INCLUDES = -D__GMP_WITHIN_GMP
484 MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/inits$U.lo mpf/set$U.lo \
485 mpf/set_ui$U.lo mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo \
486 mpf/set_z$U.lo mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo \
487 mpf/iset_str$U.lo mpf/iset_d$U.lo mpf/clear$U.lo mpf/clears$U.lo \
488 mpf/get_str$U.lo mpf/dump$U.lo mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo \
489 mpf/sqrt$U.lo mpf/random2$U.lo mpf/inp_str$U.lo mpf/out_str$U.lo \
490 mpf/add$U.lo mpf/add_ui$U.lo mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo \
491 mpf/mul$U.lo mpf/mul_ui$U.lo mpf/div$U.lo mpf/div_ui$U.lo \
492 mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo \
493 mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo \
494 mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo \
495 mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo \
496 mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo \
497 mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo \
498 mpf/urandomb$U.lo mpf/swap$U.lo \
499 mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo \
500 mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo \
501 mpf/get_si$U.lo mpf/get_ui$U.lo \
504 MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
505 mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo \
506 mpz/bin_ui$U.lo mpz/bin_uiui$U.lo \
507 mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo \
508 mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo \
509 mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo \
510 mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo \
511 mpz/clear$U.lo mpz/clears$U.lo mpz/clrbit$U.lo \
512 mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo \
513 mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo \
514 mpz/com$U.lo mpz/combit$U.lo \
515 mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo \
516 mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo \
517 mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo \
518 mpz/export$U.lo mpz/fac_ui$U.lo mpz/fdiv_q$U.lo \
519 mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo \
520 mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo \
521 mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo \
522 mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo \
523 mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo \
524 mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo \
525 mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo \
527 mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inits$U.lo \
528 mpz/inp_raw$U.lo mpz/inp_str$U.lo mpz/invert$U.lo \
529 mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo \
530 mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo \
531 mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo \
532 mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo \
533 mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo \
534 mpz/mul_si$U.lo mpz/mul_ui$U.lo \
535 mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo \
536 mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo \
537 mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_sec$U.lo \
538 mpz/powm_ui$U.lo mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo \
539 mpz/realloc$U.lo mpz/realloc2$U.lo mpz/remove$U.lo \
540 mpz/root$U.lo mpz/rootrem$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo \
541 mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo \
542 mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo \
544 mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo \
545 mpz/sqrtrem$U.lo mpz/sub$U.lo mpz/sub_ui$U.lo mpz/swap$U.lo \
546 mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo \
547 mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo \
548 mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo \
549 mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo \
550 mpz/urandomm$U.lo mpz/xor$U.lo
552 MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo \
553 mpq/canonicalize$U.lo mpq/clear$U.lo mpq/clears$U.lo \
554 mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo \
555 mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo \
556 mpq/init$U.lo mpq/inits$U.lo mpq/inp_str$U.lo mpq/inv$U.lo \
557 mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo \
558 mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo \
559 mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo \
560 mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo \
561 mpq/set_f$U.lo mpq/swap$U.lo
563 MPN_OBJECTS = mpn/fib_table$U.lo mpn/mp_bases$U.lo
565 printf/asprintf$U.lo printf/asprntffuns$U.lo \
566 printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo \
567 printf/fprintf$U.lo \
568 printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo \
569 printf/printf$U.lo printf/printffuns$U.lo \
570 printf/snprintf$U.lo printf/snprntffuns$U.lo \
571 printf/sprintf$U.lo printf/sprintffuns$U.lo \
572 printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo \
573 printf/vsnprintf$U.lo printf/vsprintf$U.lo \
574 printf/repl-vsnprintf$U.lo
577 scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo \
578 scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo \
579 scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo
582 # no $U for C++ files
584 cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo \
585 cxx/osdoprnti.lo cxx/osfuns.lo \
586 cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo
588 MPBSD_OBJECTS = mpbsd/add$U.lo mpbsd/tdiv_qr$U.lo mpbsd/set$U.lo \
589 mpbsd/powm$U.lo mpbsd/sub$U.lo mpbsd/cmp$U.lo mpbsd/mfree$U.lo \
590 mpbsd/mtox$U.lo mpbsd/realloc$U.lo mpbsd/gcd$U.lo mpbsd/itom$U.lo \
591 mpbsd/min$U.lo mpbsd/mul$U.lo mpbsd/mout$U.lo mpbsd/rpow$U.lo \
592 mpbsd/sdiv$U.lo mpbsd/sqrtrem$U.lo mpbsd/xtom$U.lo
595 # In libtool 1.5 it doesn't work to build libgmp.la from the convenience
596 # libraries like mpz/libmpz.la. Or rather it works, but it ends up putting
597 # PIC objects into libgmp.a if shared and static are both built. (The PIC
598 # objects go into mpz/.libs/libmpz.a, and thence into .libs/libgmp.a.)
600 # For now the big lists of objects above are used. Something like mpz/*.lo
601 # would probably work, but might risk missing something out or getting
602 # something extra. The source files for each .lo are listed in the
603 # Makefile.am's in the subdirectories.
605 # Currently, for libgmp, unlike libmp below, we're not using
606 # -export-symbols, since the tune and speed programs, and perhaps some of
607 # the test programs, want to access undocumented symbols.
608 libgmp_la_SOURCES = gmp-impl.h longlong.h randmt.h \
609 assert.c compat.c errno.c extract-dbl.c invalid.c memory.c \
610 mp_bpl.c mp_clz_tab.c mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c \
611 rand.c randclr.c randdef.c randiset.c randlc2s.c randlc2x.c randmt.c \
612 randmts.c rands.c randsd.c randsdui.c randbui.c randmui.c version.c \
615 EXTRA_libgmp_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c
616 libgmp_la_DEPENDENCIES = @TAL_OBJECT@ \
617 $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
618 $(MPN_OBJECTS) @mpn_objs_in_libgmp@ \
619 $(PRINTF_OBJECTS) $(SCANF_OBJECTS)
621 libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES)
622 libgmp_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMP_LDFLAGS) \
623 -version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
626 # We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
627 # use $(CXXLINK) rather than the plain C $(LINK). cxx/dummy.cc is that
629 @WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la
630 libgmpxx_la_SOURCES = cxx/dummy.cc
631 libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la
632 libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES)
633 libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMPXX_LDFLAGS) \
634 -version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)
637 # The selected mpz objects here support mpz/powm.c (built as mpbsd/powm.lo)
638 # and can probably be removed when that switches to an mpn implementation.
639 # (Apart from mpz/n_pow_ui$U.lo, which supports mpbsd/rpow.c)
640 @WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = mp.h
641 @WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = libmp.la
642 libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c \
643 mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c nextprime.c
645 libmp_la_DEPENDENCIES = $(srcdir)/libmp.sym \
646 @TAL_OBJECT@ $(MPBSD_OBJECTS) $(MPN_OBJECTS) @mpn_objs_in_libmp@ \
647 mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo mpz/mul$U.lo \
648 mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo mpz/sub$U.lo \
651 libmp_la_LIBADD = $(libmp_la_DEPENDENCIES)
652 libmp_la_LDFLAGS = $(GMP_LDFLAGS) \
653 -version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE) \
654 -export-symbols $(srcdir)/libmp.sym
656 all: $(BUILT_SOURCES) config.h
657 $(MAKE) $(AM_MAKEFLAGS) all-recursive
660 .SUFFIXES: .c .cc .lo .o .obj
663 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
665 case '$(am__configure_deps)' in \
667 echo ' cd $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps'; \
668 $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps \
673 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps Makefile'; \
674 $(am__cd) $(top_srcdir) && \
675 $(AUTOMAKE) --gnu --ignore-deps Makefile
677 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
680 echo ' $(SHELL) ./config.status'; \
681 $(SHELL) ./config.status;; \
683 echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
684 cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
687 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
688 $(SHELL) ./config.status --recheck
690 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
691 $(am__cd) $(srcdir) && $(AUTOCONF)
692 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
693 $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
694 $(am__aclocal_m4_deps):
697 @if test ! -f $@; then \
699 $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
702 stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
704 cd $(top_builddir) && $(SHELL) ./config.status config.h
705 $(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
706 ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
711 -rm -f config.h stamp-h1
712 gmp.h: $(top_builddir)/config.status $(srcdir)/gmp-h.in
713 cd $(top_builddir) && $(SHELL) ./config.status $@
714 mp.h: $(top_builddir)/config.status $(srcdir)/mp-h.in
715 cd $(top_builddir) && $(SHELL) ./config.status $@
716 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
718 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
719 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
720 list2=; for p in $$list; do \
721 if test -f $$p; then \
722 list2="$$list2 $$p"; \
725 test -z "$$list2" || { \
726 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
727 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
730 uninstall-libLTLIBRARIES:
732 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
733 for p in $$list; do \
735 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
736 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
739 clean-libLTLIBRARIES:
740 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
741 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
742 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
743 test "$$dir" != "$$p" || dir=.; \
744 echo "rm -f \"$${dir}/so_locations\""; \
745 rm -f "$${dir}/so_locations"; \
747 libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES)
748 $(libgmp_la_LINK) -rpath $(libdir) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
749 libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES)
750 $(libgmpxx_la_LINK) $(am_libgmpxx_la_rpath) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS)
751 libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES)
752 $(libmp_la_LINK) $(am_libmp_la_rpath) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS)
759 ./ansi2knr: ansi2knr.$(OBJEXT)
760 $(LINK) ansi2knr.$(OBJEXT) $(LIBS)
761 ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
767 -test "$U" = "" || rm -f *_.c
773 $(COMPILE) -c `$(CYGPATH_W) '$<'`
776 $(LTCOMPILE) -c -o $@ $<
777 assert_.c: assert.c $(ANSI2KNR)
778 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/assert.c; then echo $(srcdir)/assert.c; else echo assert.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
779 compat_.c: compat.c $(ANSI2KNR)
780 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/compat.c; then echo $(srcdir)/compat.c; else echo compat.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
781 errno_.c: errno.c $(ANSI2KNR)
782 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/errno.c; then echo $(srcdir)/errno.c; else echo errno.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
783 extract-dbl_.c: extract-dbl.c $(ANSI2KNR)
784 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/extract-dbl.c; then echo $(srcdir)/extract-dbl.c; else echo extract-dbl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
785 invalid_.c: invalid.c $(ANSI2KNR)
786 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/invalid.c; then echo $(srcdir)/invalid.c; else echo invalid.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
787 memory_.c: memory.c $(ANSI2KNR)
788 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memory.c; then echo $(srcdir)/memory.c; else echo memory.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
789 mp_bpl_.c: mp_bpl.c $(ANSI2KNR)
790 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_bpl.c; then echo $(srcdir)/mp_bpl.c; else echo mp_bpl.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
791 mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR)
792 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_clz_tab.c; then echo $(srcdir)/mp_clz_tab.c; else echo mp_clz_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
793 mp_dv_tab_.c: mp_dv_tab.c $(ANSI2KNR)
794 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_dv_tab.c; then echo $(srcdir)/mp_dv_tab.c; else echo mp_dv_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
795 mp_get_fns_.c: mp_get_fns.c $(ANSI2KNR)
796 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_get_fns.c; then echo $(srcdir)/mp_get_fns.c; else echo mp_get_fns.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
797 mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR)
798 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_minv_tab.c; then echo $(srcdir)/mp_minv_tab.c; else echo mp_minv_tab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
799 mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR)
800 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mp_set_fns.c; then echo $(srcdir)/mp_set_fns.c; else echo mp_set_fns.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
801 nextprime_.c: nextprime.c $(ANSI2KNR)
802 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/nextprime.c; then echo $(srcdir)/nextprime.c; else echo nextprime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
803 rand_.c: rand.c $(ANSI2KNR)
804 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rand.c; then echo $(srcdir)/rand.c; else echo rand.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
805 randbui_.c: randbui.c $(ANSI2KNR)
806 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randbui.c; then echo $(srcdir)/randbui.c; else echo randbui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
807 randclr_.c: randclr.c $(ANSI2KNR)
808 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randclr.c; then echo $(srcdir)/randclr.c; else echo randclr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
809 randdef_.c: randdef.c $(ANSI2KNR)
810 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randdef.c; then echo $(srcdir)/randdef.c; else echo randdef.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
811 randiset_.c: randiset.c $(ANSI2KNR)
812 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randiset.c; then echo $(srcdir)/randiset.c; else echo randiset.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
813 randlc2s_.c: randlc2s.c $(ANSI2KNR)
814 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2s.c; then echo $(srcdir)/randlc2s.c; else echo randlc2s.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
815 randlc2x_.c: randlc2x.c $(ANSI2KNR)
816 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randlc2x.c; then echo $(srcdir)/randlc2x.c; else echo randlc2x.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
817 randmt_.c: randmt.c $(ANSI2KNR)
818 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randmt.c; then echo $(srcdir)/randmt.c; else echo randmt.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
819 randmts_.c: randmts.c $(ANSI2KNR)
820 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randmts.c; then echo $(srcdir)/randmts.c; else echo randmts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
821 randmui_.c: randmui.c $(ANSI2KNR)
822 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randmui.c; then echo $(srcdir)/randmui.c; else echo randmui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
823 rands_.c: rands.c $(ANSI2KNR)
824 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/rands.c; then echo $(srcdir)/rands.c; else echo rands.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
825 randsd_.c: randsd.c $(ANSI2KNR)
826 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsd.c; then echo $(srcdir)/randsd.c; else echo randsd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
827 randsdui_.c: randsdui.c $(ANSI2KNR)
828 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/randsdui.c; then echo $(srcdir)/randsdui.c; else echo randsdui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
829 tal-debug_.c: tal-debug.c $(ANSI2KNR)
830 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-debug.c; then echo $(srcdir)/tal-debug.c; else echo tal-debug.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
831 tal-notreent_.c: tal-notreent.c $(ANSI2KNR)
832 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-notreent.c; then echo $(srcdir)/tal-notreent.c; else echo tal-notreent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
833 tal-reent_.c: tal-reent.c $(ANSI2KNR)
834 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tal-reent.c; then echo $(srcdir)/tal-reent.c; else echo tal-reent.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
835 version_.c: version.c $(ANSI2KNR)
836 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/version.c; then echo $(srcdir)/version.c; else echo version.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
837 assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \
838 errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \
839 invalid_.$(OBJEXT) invalid_.lo memory_.$(OBJEXT) memory_.lo \
840 mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \
841 mp_dv_tab_.$(OBJEXT) mp_dv_tab_.lo mp_get_fns_.$(OBJEXT) \
842 mp_get_fns_.lo mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo \
843 mp_set_fns_.$(OBJEXT) mp_set_fns_.lo nextprime_.$(OBJEXT) \
844 nextprime_.lo rand_.$(OBJEXT) rand_.lo randbui_.$(OBJEXT) randbui_.lo \
845 randclr_.$(OBJEXT) randclr_.lo randdef_.$(OBJEXT) randdef_.lo \
846 randiset_.$(OBJEXT) randiset_.lo randlc2s_.$(OBJEXT) randlc2s_.lo \
847 randlc2x_.$(OBJEXT) randlc2x_.lo randmt_.$(OBJEXT) randmt_.lo \
848 randmts_.$(OBJEXT) randmts_.lo randmui_.$(OBJEXT) randmui_.lo \
849 rands_.$(OBJEXT) rands_.lo randsd_.$(OBJEXT) randsd_.lo \
850 randsdui_.$(OBJEXT) randsdui_.lo tal-debug_.$(OBJEXT) tal-debug_.lo \
851 tal-notreent_.$(OBJEXT) tal-notreent_.lo tal-reent_.$(OBJEXT) \
852 tal-reent_.lo version_.$(OBJEXT) version_.lo : $(ANSI2KNR)
855 $(CXXCOMPILE) -c -o $@ $<
858 $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
861 $(LTCXXCOMPILE) -c -o $@ $<
863 dummy.lo: cxx/dummy.cc
864 $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o dummy.lo `test -f 'cxx/dummy.cc' || echo '$(srcdir)/'`cxx/dummy.cc
873 -rm -f libtool config.lt
874 install-includeHEADERS: $(include_HEADERS)
876 test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
877 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
878 for p in $$list; do \
879 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
881 done | $(am__base_list) | \
882 while read files; do \
883 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
884 $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
887 uninstall-includeHEADERS:
889 @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
890 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
891 test -n "$$files" || exit 0; \
892 echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
893 cd "$(DESTDIR)$(includedir)" && rm -f $$files
894 install-nodist_includeexecHEADERS: $(nodist_includeexec_HEADERS)
896 test -z "$(includeexecdir)" || $(MKDIR_P) "$(DESTDIR)$(includeexecdir)"
897 @list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
898 for p in $$list; do \
899 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
901 done | $(am__base_list) | \
902 while read files; do \
903 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includeexecdir)'"; \
904 $(INSTALL_HEADER) $$files "$(DESTDIR)$(includeexecdir)" || exit $$?; \
907 uninstall-nodist_includeexecHEADERS:
909 @list='$(nodist_includeexec_HEADERS)'; test -n "$(includeexecdir)" || list=; \
910 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
911 test -n "$$files" || exit 0; \
912 echo " ( cd '$(DESTDIR)$(includeexecdir)' && rm -f" $$files ")"; \
913 cd "$(DESTDIR)$(includeexecdir)" && rm -f $$files
915 # This directory's subdirectories are mostly independent; you can cd
916 # into them and run `make' without going through this Makefile.
917 # To change the values of `make' variables: instead of editing Makefiles,
918 # (1) if the variable is set in `config.status', edit `config.status'
919 # (which will cause the Makefiles to be regenerated when you run `make');
920 # (2) otherwise, pass the desired values on the `make' command line.
921 $(RECURSIVE_TARGETS):
922 @fail= failcom='exit 1'; \
923 for f in x $$MAKEFLAGS; do \
926 *k*) failcom='fail=yes';; \
930 target=`echo $@ | sed s/-recursive//`; \
931 list='$(SUBDIRS)'; for subdir in $$list; do \
932 echo "Making $$target in $$subdir"; \
933 if test "$$subdir" = "."; then \
935 local_target="$$target-am"; \
937 local_target="$$target"; \
939 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
942 if test "$$dot_seen" = "no"; then \
943 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
946 $(RECURSIVE_CLEAN_TARGETS):
947 @fail= failcom='exit 1'; \
948 for f in x $$MAKEFLAGS; do \
951 *k*) failcom='fail=yes';; \
956 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
957 *) list='$(SUBDIRS)' ;; \
959 rev=''; for subdir in $$list; do \
960 if test "$$subdir" = "."; then :; else \
961 rev="$$subdir $$rev"; \
965 target=`echo $@ | sed s/-recursive//`; \
966 for subdir in $$rev; do \
967 echo "Making $$target in $$subdir"; \
968 if test "$$subdir" = "."; then \
969 local_target="$$target-am"; \
971 local_target="$$target"; \
973 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
975 done && test -z "$$fail"
977 list='$(SUBDIRS)'; for subdir in $$list; do \
978 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
981 list='$(SUBDIRS)'; for subdir in $$list; do \
982 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
985 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
986 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
987 unique=`for i in $$list; do \
988 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
990 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
991 END { if (nonempty) { for (i in files) print i; }; }'`; \
995 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
996 $(TAGS_FILES) $(LISP)
999 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
1000 include_option=--etags-include; \
1003 include_option=--include; \
1006 list='$(SUBDIRS)'; for subdir in $$list; do \
1007 if test "$$subdir" = .; then :; else \
1008 test ! -f $$subdir/TAGS || \
1009 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
1012 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1013 unique=`for i in $$list; do \
1014 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1016 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1017 END { if (nonempty) { for (i in files) print i; }; }'`; \
1019 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
1020 test -n "$$unique" || unique=$$empty_fix; \
1021 if test $$# -gt 0; then \
1022 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1025 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
1030 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
1031 $(TAGS_FILES) $(LISP)
1032 list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
1033 unique=`for i in $$list; do \
1034 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
1036 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
1037 END { if (nonempty) { for (i in files) print i; }; }'`; \
1038 test -z "$(CTAGS_ARGS)$$unique" \
1039 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
1043 here=`$(am__cd) $(top_builddir) && pwd` \
1044 && $(am__cd) $(top_srcdir) \
1045 && gtags -i $(GTAGS_ARGS) "$$here"
1048 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
1050 distdir: $(DISTFILES)
1051 $(am__remove_distdir)
1052 test -d "$(distdir)" || mkdir "$(distdir)"
1053 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1054 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
1055 list='$(DISTFILES)'; \
1056 dist_files=`for file in $$list; do echo $$file; done | \
1057 sed -e "s|^$$srcdirstrip/||;t" \
1058 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
1059 case $$dist_files in \
1060 */*) $(MKDIR_P) `echo "$$dist_files" | \
1061 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
1064 for file in $$dist_files; do \
1065 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
1066 if test -d $$d/$$file; then \
1067 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
1068 if test -d "$(distdir)/$$file"; then \
1069 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1071 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
1072 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
1073 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
1075 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
1077 test -f "$(distdir)/$$file" \
1078 || cp -p $$d/$$file "$(distdir)/$$file" \
1082 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1083 if test "$$subdir" = .; then :; else \
1084 test -d "$(distdir)/$$subdir" \
1085 || $(MKDIR_P) "$(distdir)/$$subdir" \
1089 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
1090 if test "$$subdir" = .; then :; else \
1091 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
1092 $(am__relativize); \
1093 new_distdir=$$reldir; \
1094 dir1=$$subdir; dir2="$(top_distdir)"; \
1095 $(am__relativize); \
1096 new_top_distdir=$$reldir; \
1097 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1098 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1099 ($(am__cd) $$subdir && \
1100 $(MAKE) $(AM_MAKEFLAGS) \
1101 top_distdir="$$new_top_distdir" \
1102 distdir="$$new_distdir" \
1103 am__remove_distdir=: \
1104 am__skip_length_check=: \
1105 am__skip_mode_fix=: \
1110 $(MAKE) $(AM_MAKEFLAGS) \
1111 top_distdir="$(top_distdir)" distdir="$(distdir)" \
1113 -test -n "$(am__skip_mode_fix)" \
1114 || find "$(distdir)" -type d ! -perm -755 \
1115 -exec chmod u+rwx,go+rx {} \; -o \
1116 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
1117 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
1118 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
1119 || chmod -R a+r "$(distdir)"
1121 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1122 $(am__remove_distdir)
1125 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
1126 $(am__remove_distdir)
1129 tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
1130 $(am__remove_distdir)
1133 tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz
1134 $(am__remove_distdir)
1137 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
1138 $(am__remove_distdir)
1141 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
1142 $(am__remove_distdir)
1145 -rm -f $(distdir).zip
1146 zip -rq $(distdir).zip $(distdir)
1147 $(am__remove_distdir)
1149 dist dist-all: distdir
1150 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
1151 $(am__remove_distdir)
1153 # This target untars the dist file and tries a VPATH configuration. Then
1154 # it guarantees that the distribution is self-contained by making another
1157 case '$(DIST_ARCHIVES)' in \
1159 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
1161 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
1163 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
1165 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
1167 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
1169 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
1171 unzip $(distdir).zip ;;\
1173 chmod -R a-w $(distdir); chmod a+w $(distdir)
1174 mkdir $(distdir)/_build
1175 mkdir $(distdir)/_inst
1176 chmod a-w $(distdir)
1177 test -d $(distdir)/_build || exit 0; \
1178 dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1179 && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1181 && $(am__cd) $(distdir)/_build \
1182 && ../configure --srcdir=.. --prefix="$$dc_install_base" \
1183 $(DISTCHECK_CONFIGURE_FLAGS) \
1184 && $(MAKE) $(AM_MAKEFLAGS) \
1185 && $(MAKE) $(AM_MAKEFLAGS) dvi \
1186 && $(MAKE) $(AM_MAKEFLAGS) check \
1187 && $(MAKE) $(AM_MAKEFLAGS) install \
1188 && $(MAKE) $(AM_MAKEFLAGS) installcheck \
1189 && $(MAKE) $(AM_MAKEFLAGS) uninstall \
1190 && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
1191 distuninstallcheck \
1192 && chmod -R a-w "$$dc_install_base" \
1194 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
1195 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
1196 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
1197 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
1198 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
1199 } || { rm -rf "$$dc_destdir"; exit 1; }) \
1200 && rm -rf "$$dc_destdir" \
1201 && $(MAKE) $(AM_MAKEFLAGS) dist \
1202 && rm -rf $(DIST_ARCHIVES) \
1203 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
1206 $(am__remove_distdir)
1207 @(echo "$(distdir) archives ready for distribution: "; \
1208 list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
1209 sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
1211 @$(am__cd) '$(distuninstallcheck_dir)' \
1212 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
1213 || { echo "ERROR: files left after uninstall:" ; \
1214 if test -n "$(DESTDIR)"; then \
1215 echo " (check DESTDIR support)"; \
1217 $(distuninstallcheck_listfiles) ; \
1219 distcleancheck: distclean
1220 @if test '$(srcdir)' = . ; then \
1221 echo "ERROR: distcleancheck can only run from a VPATH build" ; \
1224 @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
1225 || { echo "ERROR: files left in build directory after distclean:" ; \
1226 $(distcleancheck_listfiles) ; \
1229 check: $(BUILT_SOURCES)
1230 $(MAKE) $(AM_MAKEFLAGS) check-recursive
1231 all-am: Makefile $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) config.h
1232 installdirs: installdirs-recursive
1234 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includeexecdir)"; do \
1235 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
1237 install: $(BUILT_SOURCES)
1238 $(MAKE) $(AM_MAKEFLAGS) install-recursive
1239 install-exec: install-exec-recursive
1240 install-data: install-data-recursive
1241 uninstall: uninstall-recursive
1244 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1246 installcheck: installcheck-recursive
1248 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
1249 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
1250 `test -z '$(STRIP)' || \
1251 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1252 mostlyclean-generic:
1257 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
1258 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1259 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1261 maintainer-clean-generic:
1262 @echo "This command is intended for maintainers to use"
1263 @echo "it deletes files that may require special tools to rebuild."
1264 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
1265 clean: clean-recursive
1267 clean-am: clean-generic clean-krextra clean-libLTLIBRARIES \
1268 clean-libtool mostlyclean-am
1270 distclean: distclean-recursive
1271 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1273 distclean-am: clean-am distclean-compile distclean-generic \
1274 distclean-hdr distclean-libtool distclean-tags
1280 html: html-recursive
1284 info: info-recursive
1288 install-data-am: install-includeHEADERS
1290 $(MAKE) $(AM_MAKEFLAGS) install-data-hook
1291 install-dvi: install-dvi-recursive
1295 install-exec-am: install-libLTLIBRARIES \
1296 install-nodist_includeexecHEADERS
1298 install-html: install-html-recursive
1302 install-info: install-info-recursive
1308 install-pdf: install-pdf-recursive
1312 install-ps: install-ps-recursive
1318 maintainer-clean: maintainer-clean-recursive
1319 -rm -f $(am__CONFIG_DISTCLEAN_FILES)
1320 -rm -rf $(top_srcdir)/autom4te.cache
1322 maintainer-clean-am: distclean-am maintainer-clean-generic
1324 mostlyclean: mostlyclean-recursive
1326 mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
1337 uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1338 uninstall-nodist_includeexecHEADERS
1340 .MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check \
1341 ctags-recursive install install-am install-data-am \
1342 install-strip tags-recursive
1344 .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
1345 all all-am am--refresh check check-am clean clean-generic \
1346 clean-krextra clean-libLTLIBRARIES clean-libtool ctags \
1347 ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
1348 dist-lzma dist-shar dist-tarZ dist-xz dist-zip distcheck \
1349 distclean distclean-compile distclean-generic distclean-hdr \
1350 distclean-libtool distclean-tags distcleancheck distdir \
1351 distuninstallcheck dvi dvi-am html html-am info info-am \
1352 install install-am install-data install-data-am \
1353 install-data-hook install-dvi install-dvi-am install-exec \
1354 install-exec-am install-html install-html-am \
1355 install-includeHEADERS install-info install-info-am \
1356 install-libLTLIBRARIES install-man \
1357 install-nodist_includeexecHEADERS install-pdf install-pdf-am \
1358 install-ps install-ps-am install-strip installcheck \
1359 installcheck-am installdirs installdirs-am maintainer-clean \
1360 maintainer-clean-generic mostlyclean mostlyclean-compile \
1361 mostlyclean-generic mostlyclean-kr mostlyclean-libtool pdf \
1362 pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
1363 uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1364 uninstall-nodist_includeexecHEADERS
1369 @echo '+-------------------------------------------------------------+'
1370 @echo '| CAUTION: |'
1372 @echo '| If you have not already run "make check", then we strongly |'
1373 @echo '| recommend you do so. |'
1375 @echo '| GMP has been carefully tested by its authors, but compilers |'
1376 @echo '| are all too often released with serious bugs. GMP tends to |'
1377 @echo '| explore interesting corners in compilers and has hit bugs |'
1378 @echo '| on quite a few occasions. |'
1380 @echo '+-------------------------------------------------------------+'
1383 mpz/fac_ui.h: gen-fac_ui$(EXEEXT_FOR_BUILD)
1384 ./gen-fac_ui $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
1386 gen-fac_ui$(EXEEXT_FOR_BUILD): gen-fac_ui$(U_FOR_BUILD).c dumbmp.c
1387 $(CC_FOR_BUILD) `test -f 'gen-fac_ui$(U_FOR_BUILD).c' || echo '$(srcdir)/'`gen-fac_ui$(U_FOR_BUILD).c -o gen-fac_ui$(EXEEXT_FOR_BUILD)
1389 gen-fac_ui_.c: gen-fac_ui.c $(ANSI2KNR)
1390 $(CPP_FOR_BUILD) `if test -f $(srcdir)/gen-fac_ui.c; then echo $(srcdir)/gen-fac_ui.c; else echo gen-fac_ui.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gen-fac_ui_.c || rm -f gen-fac_ui_.c
1392 fib_table.h: gen-fib$(EXEEXT_FOR_BUILD)
1393 ./gen-fib header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >fib_table.h || (rm -f fib_table.h; exit 1)
1395 mpn/fib_table.c: gen-fib$(EXEEXT_FOR_BUILD)
1396 ./gen-fib table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
1398 gen-fib$(EXEEXT_FOR_BUILD): gen-fib$(U_FOR_BUILD).c dumbmp.c
1399 $(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)
1401 gen-fib_.c: gen-fib.c $(ANSI2KNR)
1402 $(CPP_FOR_BUILD) `if test -f $(srcdir)/gen-fib.c; then echo $(srcdir)/gen-fib.c; else echo gen-fib.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gen-fib_.c || rm -f gen-fib_.c
1404 mp_bases.h: gen-bases$(EXEEXT_FOR_BUILD)
1405 ./gen-bases header $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mp_bases.h || (rm -f mp_bases.h; exit 1)
1407 mpn/mp_bases.c: gen-bases$(EXEEXT_FOR_BUILD)
1408 ./gen-bases table $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
1410 gen-bases$(EXEEXT_FOR_BUILD): gen-bases$(U_FOR_BUILD).c dumbmp.c
1411 $(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)
1413 gen-bases_.c: gen-bases.c $(ANSI2KNR)
1414 $(CPP_FOR_BUILD) `if test -f $(srcdir)/gen-bases.c; then echo $(srcdir)/gen-bases.c; else echo gen-bases.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gen-bases_.c || rm -f gen-bases_.c
1416 trialdivtab.h: gen-trialdivtab$(EXEEXT_FOR_BUILD)
1417 ./gen-trialdivtab $(GMP_LIMB_BITS) 8000 >trialdivtab.h || (rm -f trialdivtab.h; exit 1)
1419 gen-trialdivtab$(EXEEXT_FOR_BUILD): gen-trialdivtab$(U_FOR_BUILD).c dumbmp.c
1420 $(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)
1422 gen-trialdivtab_.c: gen-trialdivtab.c $(ANSI2KNR)
1423 $(CPP_FOR_BUILD) `if test -f $(srcdir)/gen-trialdivtab.c; then echo $(srcdir)/gen-trialdivtab.c; else echo gen-trialdivtab.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gen-trialdivtab_.c || rm -f gen-trialdivtab_.c
1425 mpn/perfsqr.h: gen-psqr$(EXEEXT_FOR_BUILD)
1426 ./gen-psqr $(GMP_LIMB_BITS) $(GMP_NAIL_BITS) >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
1428 gen-psqr$(EXEEXT_FOR_BUILD): gen-psqr$(U_FOR_BUILD).c dumbmp.c
1429 $(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)
1431 gen-psqr_.c: gen-psqr.c $(ANSI2KNR)
1432 $(CPP_FOR_BUILD) `if test -f $(srcdir)/gen-psqr.c; then echo $(srcdir)/gen-psqr.c; else echo gen-psqr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gen-psqr_.c || rm -f gen-psqr_.c
1434 # Avoid: CVS - cvs directories
1435 # *~ - emacs backups
1436 # .#* - cvs merge originals
1438 # *~ and .#* only occur when a whole directory without it's own Makefile.am
1439 # is distributed, like "doc" or the mpn cpu subdirectories.
1442 -find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \
1444 # grep -F $(VERSION) $(srcdir)/Makefile.am \
1445 # | grep -q "^# *$(VERSION) *$(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) *$(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE) *$(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE)"
1446 # 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`"
1448 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1449 # Otherwise a system limit (for SysV at least) may be exceeded.