1 # Makefile.in generated by automake 1.11.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 # Copyright 1991, 1993, 1994, 1996, 1997, 1999-2004, 2006-2009, 2011-2014 Free
19 # 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 either:
26 # * the GNU Lesser General Public License as published by the Free
27 # Software Foundation; either version 3 of the License, or (at your
28 # option) any later version.
32 # * the GNU General Public License as published by the Free Software
33 # Foundation; either version 2 of the License, or (at your option) any
36 # or both in parallel, as here.
38 # The GNU MP Library is distributed in the hope that it will be useful, but
39 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
40 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
43 # You should have received copies of the GNU General Public License and the
44 # GNU Lesser General Public License along with the GNU MP Library. If not,
45 # see https://www.gnu.org/licenses/.
47 # The following options are the same as AM_INIT_AUTOMAKE in configure.in,
48 # except no $(top_builddir) on ansi2knr. That directory is wanted for the
49 # Makefiles in subdirectories, but here we must omit it so automake gives
50 # the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
52 # AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies
54 # Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
57 # CURRENT:REVISION:AGE
59 # 1. No interfaces changed, only implementations (good): Increment REVISION.
61 # 2. Interfaces added, none removed (good): Increment CURRENT, increment
62 # AGE, set REVISION to 0.
64 # 3. Interfaces removed (BAD, breaks upward compatibility): Increment
65 # CURRENT, set AGE and REVISION to 0.
67 # Do this separately for libgmp, libgmpxx and libmp, and only for releases.
70 # release libgmp libgmpxx libmp
76 # 4.0 5:0:2 3:0:0 4:2:1
77 # 4.0.1 5:1:2 3:1:0 4:3:1
78 # 4.1 6:0:3 3:2:0 4:4:1
79 # 4.1.1 6:1:3 3:3:0 4:5:1
80 # 4.1.2 6:2:3 3:4:0 4:6:1
81 # 4.1.3 6:3:3 3:5:0 4:7:1
82 # 4.1.4 6:3:3 3:5:0 4:7:1 WRONG, same as 4.1.3!
83 # 4.2 6:0:3 3:2:0 4:4:1 REALLY WRONG, same as 4.1!
84 # 4.2.1 7:1:4 4:1:1 4:10:1 WRONG for libgmpxx
85 # 4.2.2 7:2:4 4:2:0 4:11:1
86 # 4.2.3 7:3:4 4:3:0 4:12:1
87 # 4.2.4 7:4:4 4:4:0 4:13:1
88 # 4.3.0 8:0:5 5:0:1 4:14:1
89 # 4.3.1 8:1:5 5:1:1 4:15:1 WRONG Really used same as 4.3.0
90 # 4.3.2 8:2:5 5:2:1 4:16:1
91 # 5.0.0 9:0:6 6:0:2 4:20:1 Should have been 10:0:0
92 # 5.0.1 10:1:0 6:1:2 4:21:1
93 # 5.0.2 10:2:0 6:2:2 4:22:1
94 # 5.0.3 10:3:0 6:3:2 4:23:1
95 # 5.0.4 10:4:0 6:4:2 4:24:1
96 # 5.0.5 10:5:0 6:5:2 4:25:1
97 # 5.1.0 11:0:1 7:0:3 -
98 # 5.1.1 11:1:1 7:1:3 -
99 # 5.1.2 11:2:1 7:2:3 -
100 # 6.0.0 12:0:2 8:0:4 -
102 # Starting at 3:0:0 is a slight abuse of the versioning system, but it
103 # ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
104 # packages of gmp 2. Pretend gmp 2 was 2:0:0, so the interface changes for
105 # gmp 3 mean 3:0:0 is right.
107 # We interpret "implementation changed" in item "1." above as meaning any
108 # release, ie. the REVISION is incremented every time (if nothing else).
109 # Even if we thought the code generated will be identical on all systems,
110 # it's still good to get the shared library filename (like
111 # libgmpxx.so.3.0.4) incrementing, to make it clear which GMP it's from.
118 case
$$MAKEFLAGS in \
120 echo
'am--echo: ; @echo "AM" OK' |
$(MAKE
) -f
- 2>/dev
/null \
121 | grep
'^AM OK$$' >/dev
/null || am__dry
=yes
;; \
123 for am__flg in
$$MAKEFLAGS; do \
126 *n
*) am__dry
=yes
; break
;; \
130 test $$am__dry = yes
; \
132 pkgdatadir
= $(datadir)/@PACKAGE@
133 pkgincludedir
= $(includedir)/@PACKAGE@
134 pkglibdir
= $(libdir)/@PACKAGE@
135 pkglibexecdir
= $(libexecdir
)/@PACKAGE@
136 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
137 install_sh_DATA
= $(install_sh
) -c
-m
644
138 install_sh_PROGRAM
= $(install_sh
) -c
139 install_sh_SCRIPT
= $(install_sh
) -c
140 INSTALL_HEADER
= $(INSTALL_DATA
)
141 transform
= $(program_transform_name
)
148 build_triplet
= @build@
149 host_triplet
= @host@
151 DIST_COMMON
= README
$(am__configure_deps
) $(am__include_HEADERS_DIST
) \
152 $(srcdir)/Makefile.am
$(srcdir)/Makefile.in \
153 $(srcdir)/config.in
$(srcdir)/gmp-h.in
$(top_srcdir
)/configure \
154 AUTHORS COPYING ChangeLog INSTALL NEWS config.guess config.sub \
155 install-sh ltmain.sh missing ylwrap
156 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
157 am__aclocal_m4_deps
= $(top_srcdir
)/acinclude.m4 \
158 $(top_srcdir
)/configure.ac
159 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
161 am__CONFIG_DISTCLEAN_FILES
= config.status config.cache config.log \
162 configure.lineno config.status.lineno
163 mkinstalldirs
= $(install_sh
) -d
164 CONFIG_HEADER
= config.h
165 CONFIG_CLEAN_FILES
= gmp.h gmp-mparam.h
166 CONFIG_CLEAN_VPATH_FILES
=
167 am__vpath_adj_setup
= srcdirstrip
=`echo "$(srcdir)" | sed 's|.|.|g'`;
168 am__vpath_adj
= case
$$p in \
169 $(srcdir)/*) f
=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
172 am__strip_dir
= f
=`echo $$p | sed -e 's|^.*/||'`;
174 am__nobase_strip_setup
= \
175 srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
177 for p in
$$list; do echo
"$$p"; done | sed
-e
"s|$$srcdirstrip/||"
178 am__nobase_list
= $(am__nobase_strip_setup
); \
179 for p in
$$list; do echo
"$$p $$p"; done | \
180 sed
"s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
181 $(AWK
) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
182 if (++n[$$2] == $(am__install_max)) \
183 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
184 END { for (dir in files) print dir, files[dir] }'
186 sed
'$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
187 sed
'$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
188 am__uninstall_files_from_dir
= { \
190 ||
{ test ! -d
"$$dir" && test ! -f
"$$dir" && test ! -r
"$$dir"; } \
191 ||
{ echo
" ( cd '$$dir' && rm -f" $$files ")"; \
192 $(am__cd
) "$$dir" && rm -f
$$files; }; \
194 am__installdirs
= "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" \
195 "$(DESTDIR)$(includeexecdir)"
196 LTLIBRARIES
= $(lib_LTLIBRARIES
)
197 am__DEPENDENCIES_1
= $(MPF_OBJECTS
) $(MPZ_OBJECTS
) $(MPQ_OBJECTS
) \
198 $(MPN_OBJECTS
) $(PRINTF_OBJECTS
) $(SCANF_OBJECTS
) \
200 am_libgmp_la_OBJECTS
= assert.lo compat.lo errno.lo extract-dbl.lo \
201 invalid.lo memory.lo mp_bpl.lo mp_clz_tab.lo mp_dv_tab.lo \
202 mp_minv_tab.lo mp_get_fns.lo mp_set_fns.lo version.lo \
203 nextprime.lo primesieve.lo
204 libgmp_la_OBJECTS
= $(am_libgmp_la_OBJECTS
)
205 libgmp_la_LINK
= $(LIBTOOL
) --tag
=CC
$(AM_LIBTOOLFLAGS
) \
206 $(LIBTOOLFLAGS
) --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) \
207 $(libgmp_la_LDFLAGS
) $(LDFLAGS
) -o
$@
208 am_libgmpxx_la_OBJECTS
= dummy.lo
209 libgmpxx_la_OBJECTS
= $(am_libgmpxx_la_OBJECTS
)
210 libgmpxx_la_LINK
= $(LIBTOOL
) --tag
=CXX
$(AM_LIBTOOLFLAGS
) \
211 $(LIBTOOLFLAGS
) --mode
=link
$(CXXLD
) $(AM_CXXFLAGS
) \
212 $(CXXFLAGS
) $(libgmpxx_la_LDFLAGS
) $(LDFLAGS
) -o
$@
213 @WANT_CXX_TRUE@am_libgmpxx_la_rpath
= -rpath
$(libdir)
214 DEFAULT_INCLUDES
= -I.@am__isrc@
217 COMPILE
= $(CC
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) $(AM_CPPFLAGS
) \
218 $(CPPFLAGS
) $(AM_CFLAGS
) $(CFLAGS
)
219 LTCOMPILE
= $(LIBTOOL
) --tag
=CC
$(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) \
220 --mode
=compile
$(CC
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) \
221 $(AM_CPPFLAGS
) $(CPPFLAGS
) $(AM_CFLAGS
) $(CFLAGS
)
223 LINK
= $(LIBTOOL
) --tag
=CC
$(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) \
224 --mode
=link
$(CCLD
) $(AM_CFLAGS
) $(CFLAGS
) $(AM_LDFLAGS
) \
226 CXXCOMPILE
= $(CXX
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) \
227 $(AM_CPPFLAGS
) $(CPPFLAGS
) $(AM_CXXFLAGS
) $(CXXFLAGS
)
228 LTCXXCOMPILE
= $(LIBTOOL
) --tag
=CXX
$(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) \
229 --mode
=compile
$(CXX
) $(DEFS
) $(DEFAULT_INCLUDES
) $(INCLUDES
) \
230 $(AM_CPPFLAGS
) $(CPPFLAGS
) $(AM_CXXFLAGS
) $(CXXFLAGS
)
232 CXXLINK
= $(LIBTOOL
) --tag
=CXX
$(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) \
233 --mode
=link
$(CXXLD
) $(AM_CXXFLAGS
) $(CXXFLAGS
) $(AM_LDFLAGS
) \
235 SOURCES
= $(libgmp_la_SOURCES
) $(EXTRA_libgmp_la_SOURCES
) \
236 $(libgmpxx_la_SOURCES
)
237 DIST_SOURCES
= $(libgmp_la_SOURCES
) $(EXTRA_libgmp_la_SOURCES
) \
238 $(libgmpxx_la_SOURCES
)
239 RECURSIVE_TARGETS
= all-recursive check-recursive dvi-recursive \
240 html-recursive info-recursive install-data-recursive \
241 install-dvi-recursive install-exec-recursive \
242 install-html-recursive install-info-recursive \
243 install-pdf-recursive install-ps-recursive install-recursive \
244 installcheck-recursive installdirs-recursive pdf-recursive \
245 ps-recursive uninstall-recursive
246 am__can_run_installinfo
= \
247 case
$$AM_UPDATE_INFO_DIR in \
249 *) (install-info
--version
) >/dev
/null
2>&1;; \
251 am__include_HEADERS_DIST
= gmpxx.h
252 HEADERS
= $(include_HEADERS
) $(nodist_includeexec_HEADERS
)
253 RECURSIVE_CLEAN_TARGETS
= mostlyclean-recursive clean-recursive \
254 distclean-recursive maintainer-clean-recursive
255 AM_RECURSIVE_TARGETS
= $(RECURSIVE_TARGETS
:-recursive
=) \
256 $(RECURSIVE_CLEAN_TARGETS
:-recursive
=) tags TAGS ctags CTAGS \
257 distdir
dist dist-all distcheck
260 DIST_SUBDIRS
= $(SUBDIRS
)
261 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
262 distdir
= $(PACKAGE
)-$(VERSION
)
263 top_distdir
= $(distdir
)
264 am__remove_distdir
= \
265 if
test -d
"$(distdir)"; then \
266 find
"$(distdir)" -type d
! -perm
-200 -exec chmod u
+w
{} ';' \
267 && rm -rf
"$(distdir)" \
268 ||
{ sleep
5 && rm -rf
"$(distdir)"; }; \
272 sed_first
='s,^\([^/]*\)/.*$$,\1,'; \
273 sed_rest
='s,^[^/]*/*,,'; \
274 sed_last
='s,^.*/\([^/]*\)$$,\1,'; \
275 sed_butlast
='s,/*[^/]*$$,,'; \
276 while
test -n
"$$dir1"; do \
277 first
=`echo "$$dir1" | sed -e "$$sed_first"`; \
278 if
test "$$first" != "."; then \
279 if
test "$$first" = ".."; then \
280 dir2
=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
281 dir0
=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
283 first2
=`echo "$$dir2" | sed -e "$$sed_first"`; \
284 if
test "$$first2" = "$$first"; then \
285 dir2
=`echo "$$dir2" | sed -e "$$sed_rest"`; \
289 dir0
="$$dir0"/"$$first"; \
292 dir1
=`echo "$$dir1" | sed -e "$$sed_rest"`; \
295 DIST_ARCHIVES
= $(distdir
).
tar.gz
297 distuninstallcheck_listfiles
= find .
-type f
-print
298 am__distuninstallcheck_listfiles
= $(distuninstallcheck_listfiles
) \
299 | sed
's|^\./|$(prefix)/|' | grep
-v
'$(infodir)/dir$$'
300 distcleancheck_listfiles
= find .
-type f
-print
306 ASMFLAGS
= @ASMFLAGS@
307 AUTOCONF
= @AUTOCONF@
308 AUTOHEADER
= @AUTOHEADER@
309 AUTOMAKE
= @AUTOMAKE@
311 CALLING_CONVENTIONS_OBJS
= @CALLING_CONVENTIONS_OBJS@
314 CC_FOR_BUILD
= @CC_FOR_BUILD@
317 CPPFLAGS
= @CPPFLAGS@
318 CPP_FOR_BUILD
= @CPP_FOR_BUILD@
321 CXXFLAGS
= @CXXFLAGS@
322 CYGPATH_W
= @CYGPATH_W@
323 DEFN_LONG_LONG_LIMB
= @DEFN_LONG_LONG_LIMB@
326 DSYMUTIL
= @DSYMUTIL@
333 EXEEXT_FOR_BUILD
= @EXEEXT_FOR_BUILD@
335 GMP_LDFLAGS
= @GMP_LDFLAGS@
336 GMP_LIMB_BITS
= @GMP_LIMB_BITS@
337 GMP_NAIL_BITS
= @GMP_NAIL_BITS@
339 HAVE_CLOCK_01
= @HAVE_CLOCK_01@
340 HAVE_CPUTIME_01
= @HAVE_CPUTIME_01@
341 HAVE_GETRUSAGE_01
= @HAVE_GETRUSAGE_01@
342 HAVE_GETTIMEOFDAY_01
= @HAVE_GETTIMEOFDAY_01@
343 HAVE_HOST_CPU_FAMILY_power
= @HAVE_HOST_CPU_FAMILY_power@
344 HAVE_HOST_CPU_FAMILY_powerpc
= @HAVE_HOST_CPU_FAMILY_powerpc@
345 HAVE_SIGACTION_01
= @HAVE_SIGACTION_01@
346 HAVE_SIGALTSTACK_01
= @HAVE_SIGALTSTACK_01@
347 HAVE_SIGSTACK_01
= @HAVE_SIGSTACK_01@
348 HAVE_STACK_T_01
= @HAVE_STACK_T_01@
349 HAVE_SYS_RESOURCE_H_01
= @HAVE_SYS_RESOURCE_H_01@
351 INSTALL_DATA
= @INSTALL_DATA@
352 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
353 INSTALL_SCRIPT
= @INSTALL_SCRIPT@
354 INSTALL_STRIP_PROGRAM
= @INSTALL_STRIP_PROGRAM@
359 LEX_OUTPUT_ROOT
= @LEX_OUTPUT_ROOT@
360 LIBCURSES
= @LIBCURSES@
361 LIBGMPXX_LDFLAGS
= @LIBGMPXX_LDFLAGS@
362 LIBGMP_DLL
= @LIBGMP_DLL@
363 LIBGMP_LDFLAGS
= @LIBGMP_LDFLAGS@
365 LIBM_FOR_BUILD
= @LIBM_FOR_BUILD@
367 LIBREADLINE
= @LIBREADLINE@
372 LTLIBOBJS
= @LTLIBOBJS@
375 MAKEINFO
= @MAKEINFO@
376 MANIFEST_TOOL
= @MANIFEST_TOOL@
385 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
386 PACKAGE_NAME
= @PACKAGE_NAME@
387 PACKAGE_STRING
= @PACKAGE_STRING@
388 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
389 PACKAGE_URL
= @PACKAGE_URL@
390 PACKAGE_VERSION
= @PACKAGE_VERSION@
391 PATH_SEPARATOR
= @PATH_SEPARATOR@
394 SET_MAKE
= @SET_MAKE@
396 SPEED_CYCLECOUNTER_OBJ
= @SPEED_CYCLECOUNTER_OBJ@
398 TAL_OBJECT
= @TAL_OBJECT@
399 TUNE_LIBS
= @TUNE_LIBS@
400 TUNE_SQR_OBJ
= @TUNE_SQR_OBJ@
401 U_FOR_BUILD
= @U_FOR_BUILD@
403 WITH_READLINE_01
= @WITH_READLINE_01@
406 abs_builddir
= @abs_builddir@
407 abs_srcdir
= @abs_srcdir@
408 abs_top_builddir
= @abs_top_builddir@
409 abs_top_srcdir
= @abs_top_srcdir@
410 ac_ct_AR
= @ac_ct_AR@
411 ac_ct_CC
= @ac_ct_CC@
412 ac_ct_CXX
= @ac_ct_CXX@
413 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
414 am__leading_dot
= @am__leading_dot@
416 am__untar
= @am__untar@
419 build_alias
= @build_alias@
420 build_cpu
= @build_cpu@
421 build_os
= @build_os@
422 build_vendor
= @build_vendor@
423 builddir
= @builddir@
425 datarootdir
= @datarootdir@
428 exec_prefix = @
exec_prefix@
429 gmp_srclinks
= @gmp_srclinks@
431 host_alias
= @host_alias@
432 host_cpu
= @host_cpu@
434 host_vendor
= @host_vendor@
436 includedir = @
includedir@
438 install_sh
= @install_sh@
440 libexecdir
= @libexecdir@
441 localedir
= @localedir@
442 localstatedir
= @localstatedir@
445 mpn_objects
= @mpn_objects@
446 mpn_objs_in_libgmp
= @mpn_objs_in_libgmp@
447 oldincludedir = @
oldincludedir@
450 program_transform_name
= @program_transform_name@
453 sharedstatedir
= @sharedstatedir@
455 sysconfdir
= @sysconfdir@
456 target_alias
= @target_alias@
457 top_build_prefix
= @top_build_prefix@
458 top_builddir
= @top_builddir@
459 top_srcdir
= @top_srcdir@
460 LIBGMP_LT_CURRENT
= 12
461 LIBGMP_LT_REVISION
= 0
463 LIBGMPXX_LT_CURRENT
= 8
464 LIBGMPXX_LT_REVISION
= 0
466 SUBDIRS
= tests mpn mpz mpq mpf printf scanf rand
cxx demos tune doc
468 # The "test -f" support for srcdir!=builddir is similar to the automake .c.o
469 # etc rules, but with each foo.c explicitly, since $< is not portable
470 # outside an inference rule.
472 # A quoted 'foo.c' is used with the "test -f"'s to avoid Sun make rewriting
473 # it as part of its VPATH support. See the autoconf manual "Limitations of
476 # Generated .h files which are used by gmp-impl.h are BUILT_SOURCES since
477 # they must exist before anything can be compiled.
479 # Other generated .h files are also BUILT_SOURCES so as to get all the
480 # build-system stuff over and done with at the start. Also, dependencies on
481 # the .h files are not properly expressed for the various objects that use
484 # Distribute mini-gmp. Test sources copied by dist-hook.
485 EXTRA_DIST
= configfsf.guess configfsf.sub .gdbinit INSTALL.autoconf \
486 COPYING.LESSERv3 COPYINGv2 COPYINGv3 gmpxx.h bootstrap.c \
487 gen-fac.c gen-fib.c gen-bases.c gen-trialdivtab.c \
488 gen-jacobitab.c gen-psqr.c mini-gmp
/README mini-gmp
/mini-gmp.c \
489 mini-gmp
/mini-gmp.h mini-gmp
/tests
/Makefile \
490 mini-gmp
/tests
/run-tests
491 @WANT_CXX_TRUE@GMPXX_HEADERS_OPTION
= gmpxx.h
493 # gmp.h and mp.h are architecture dependent, mainly since they encode the
494 # limb size used in libgmp. For that reason they belong under $exec_prefix
495 # not $prefix, strictly speaking.
497 # $exec_prefix/include is not in the default include path for gcc built to
498 # the same $prefix and $exec_prefix, which might mean gmp.h is not found,
499 # but anyone knowledgeable enough to be playing with exec_prefix will be able
502 includeexecdir
= $(exec_prefix)/include
503 include_HEADERS
= $(GMPXX_HEADERS_OPTION
)
504 nodist_includeexec_HEADERS
= gmp.h
505 lib_LTLIBRARIES
= libgmp.la
$(GMPXX_LTLIBRARIES_OPTION
)
506 BUILT_SOURCES
= gmp.h fac_table.h fib_table.h mpn
/fib_table.c \
507 mp_bases.h mpn
/mp_bases.c trialdivtab.h mpn
/jacobitab.h \
509 DISTCLEANFILES
= $(BUILT_SOURCES
) config.m4 @gmp_srclinks@ \
510 gen-fac
$(EXEEXT_FOR_BUILD
) gen-fib
$(EXEEXT_FOR_BUILD
) \
511 gen-bases
$(EXEEXT_FOR_BUILD
) \
512 gen-trialdivtab
$(EXEEXT_FOR_BUILD
) \
513 gen-jacobitab
$(EXEEXT_FOR_BUILD
) gen-psqr
$(EXEEXT_FOR_BUILD
)
515 # Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
516 INCLUDES
= -D__GMP_WITHIN_GMP
517 MPF_OBJECTS
= mpf
/init
$U.lo mpf
/init2
$U.lo mpf
/inits
$U.lo mpf
/set
$U.lo \
518 mpf
/set_ui
$U.lo mpf
/set_si
$U.lo mpf
/set_str
$U.lo mpf
/set_d
$U.lo \
519 mpf
/set_z
$U.lo mpf
/iset
$U.lo mpf
/iset_ui
$U.lo mpf
/iset_si
$U.lo \
520 mpf
/iset_str
$U.lo mpf
/iset_d
$U.lo mpf
/clear
$U.lo mpf
/clears
$U.lo \
521 mpf
/get_str
$U.lo mpf
/dump
$U.lo mpf
/size
$U.lo mpf
/eq
$U.lo mpf
/reldiff
$U.lo \
522 mpf
/sqrt
$U.lo mpf
/random2
$U.lo mpf
/inp_str
$U.lo mpf
/out_str
$U.lo \
523 mpf
/add
$U.lo mpf
/add_ui
$U.lo mpf
/sub
$U.lo mpf
/sub_ui
$U.lo mpf
/ui_sub
$U.lo \
524 mpf
/mul
$U.lo mpf
/mul_ui
$U.lo mpf
/div
$U.lo mpf
/div_ui
$U.lo \
525 mpf
/cmp
$U.lo mpf
/cmp_d
$U.lo mpf
/cmp_ui
$U.lo mpf
/cmp_si
$U.lo \
526 mpf
/mul_2exp
$U.lo mpf
/div_2exp
$U.lo mpf
/abs
$U.lo mpf
/neg
$U.lo \
527 mpf
/set_q
$U.lo mpf
/get_d
$U.lo mpf
/get_d_2exp
$U.lo mpf
/set_dfl_prec
$U.lo \
528 mpf
/set_prc
$U.lo mpf
/set_prc_raw
$U.lo mpf
/get_dfl_prec
$U.lo \
529 mpf
/get_prc
$U.lo mpf
/ui_div
$U.lo mpf
/sqrt_ui
$U.lo \
530 mpf
/ceilfloor
$U.lo mpf
/trunc
$U.lo mpf
/pow_ui
$U.lo \
531 mpf
/urandomb
$U.lo mpf
/swap
$U.lo \
532 mpf
/fits_sint
$U.lo mpf
/fits_slong
$U.lo mpf
/fits_sshort
$U.lo \
533 mpf
/fits_uint
$U.lo mpf
/fits_ulong
$U.lo mpf
/fits_ushort
$U.lo \
534 mpf
/get_si
$U.lo mpf
/get_ui
$U.lo \
537 MPZ_OBJECTS
= mpz
/abs
$U.lo mpz
/add
$U.lo mpz
/add_ui
$U.lo \
538 mpz
/aorsmul
$U.lo mpz
/aorsmul_i
$U.lo mpz
/and
$U.lo mpz
/array_init
$U.lo \
539 mpz
/bin_ui
$U.lo mpz
/bin_uiui
$U.lo \
540 mpz
/cdiv_q
$U.lo mpz
/cdiv_q_ui
$U.lo \
541 mpz
/cdiv_qr
$U.lo mpz
/cdiv_qr_ui
$U.lo \
542 mpz
/cdiv_r
$U.lo mpz
/cdiv_r_ui
$U.lo mpz
/cdiv_ui
$U.lo \
543 mpz
/cfdiv_q_2exp
$U.lo mpz
/cfdiv_r_2exp
$U.lo \
544 mpz
/clear
$U.lo mpz
/clears
$U.lo mpz
/clrbit
$U.lo \
545 mpz
/cmp
$U.lo mpz
/cmp_d
$U.lo mpz
/cmp_si
$U.lo mpz
/cmp_ui
$U.lo \
546 mpz
/cmpabs
$U.lo mpz
/cmpabs_d
$U.lo mpz
/cmpabs_ui
$U.lo \
547 mpz
/com
$U.lo mpz
/combit
$U.lo \
548 mpz
/cong
$U.lo mpz
/cong_2exp
$U.lo mpz
/cong_ui
$U.lo \
549 mpz
/divexact
$U.lo mpz
/divegcd
$U.lo mpz
/dive_ui
$U.lo \
550 mpz
/divis
$U.lo mpz
/divis_ui
$U.lo mpz
/divis_2exp
$U.lo mpz
/dump
$U.lo \
551 mpz
/export$U.lo mpz
/mfac_uiui
$U.lo \
552 mpz
/2fac_ui
$U.lo mpz
/fac_ui
$U.lo mpz
/oddfac_1
$U.lo mpz
/prodlimbs
$U.lo \
553 mpz
/fdiv_q_ui
$U.lo mpz
/fdiv_qr
$U.lo mpz
/fdiv_qr_ui
$U.lo \
554 mpz
/fdiv_r
$U.lo mpz
/fdiv_r_ui
$U.lo mpz
/fdiv_q
$U.lo \
555 mpz
/fdiv_ui
$U.lo mpz
/fib_ui
$U.lo mpz
/fib2_ui
$U.lo mpz
/fits_sint
$U.lo \
556 mpz
/fits_slong
$U.lo mpz
/fits_sshort
$U.lo mpz
/fits_uint
$U.lo \
557 mpz
/fits_ulong
$U.lo mpz
/fits_ushort
$U.lo mpz
/gcd
$U.lo \
558 mpz
/gcd_ui
$U.lo mpz
/gcdext
$U.lo mpz
/get_d
$U.lo mpz
/get_d_2exp
$U.lo \
559 mpz
/get_si
$U.lo mpz
/get_str
$U.lo mpz
/get_ui
$U.lo mpz
/getlimbn
$U.lo \
561 mpz
/import
$U.lo mpz
/init
$U.lo mpz
/init2
$U.lo mpz
/inits
$U.lo \
562 mpz
/inp_raw
$U.lo mpz
/inp_str
$U.lo mpz
/invert
$U.lo \
563 mpz
/ior
$U.lo mpz
/iset
$U.lo mpz
/iset_d
$U.lo mpz
/iset_si
$U.lo \
564 mpz
/iset_str
$U.lo mpz
/iset_ui
$U.lo mpz
/jacobi
$U.lo mpz
/kronsz
$U.lo \
565 mpz
/kronuz
$U.lo mpz
/kronzs
$U.lo mpz
/kronzu
$U.lo \
566 mpz
/lcm
$U.lo mpz
/lcm_ui
$U.lo mpz
/limbs_finish
$U.lo \
567 mpz
/limbs_modify
$U.lo mpz
/limbs_read
$U.lo mpz
/limbs_write
$U.lo \
568 mpz
/lucnum_ui
$U.lo mpz
/lucnum2_ui
$U.lo \
569 mpz
/millerrabin
$U.lo mpz
/mod
$U.lo mpz
/mul
$U.lo mpz
/mul_2exp
$U.lo \
570 mpz
/mul_si
$U.lo mpz
/mul_ui
$U.lo \
571 mpz
/n_pow_ui
$U.lo mpz
/neg
$U.lo mpz
/nextprime
$U.lo \
572 mpz
/out_raw
$U.lo mpz
/out_str
$U.lo mpz
/perfpow
$U.lo mpz
/perfsqr
$U.lo \
573 mpz
/popcount
$U.lo mpz
/pow_ui
$U.lo mpz
/powm
$U.lo mpz
/powm_sec
$U.lo \
574 mpz
/powm_ui
$U.lo mpz
/primorial_ui
$U.lo \
575 mpz
/pprime_p
$U.lo mpz
/random
$U.lo mpz
/random2
$U.lo \
576 mpz
/realloc
$U.lo mpz
/realloc2
$U.lo mpz
/remove
$U.lo mpz
/roinit_n
$U.lo \
577 mpz
/root
$U.lo mpz
/rootrem
$U.lo mpz
/rrandomb
$U.lo mpz
/scan0
$U.lo \
578 mpz
/scan1
$U.lo mpz
/set
$U.lo mpz
/set_d
$U.lo mpz
/set_f
$U.lo \
579 mpz
/set_q
$U.lo mpz
/set_si
$U.lo mpz
/set_str
$U.lo mpz
/set_ui
$U.lo \
581 mpz
/size
$U.lo mpz
/sizeinbase
$U.lo mpz
/sqrt
$U.lo \
582 mpz
/sqrtrem
$U.lo mpz
/sub
$U.lo mpz
/sub_ui
$U.lo mpz
/swap
$U.lo \
583 mpz
/tdiv_ui
$U.lo mpz
/tdiv_q
$U.lo mpz
/tdiv_q_2exp
$U.lo \
584 mpz
/tdiv_q_ui
$U.lo mpz
/tdiv_qr
$U.lo mpz
/tdiv_qr_ui
$U.lo \
585 mpz
/tdiv_r
$U.lo mpz
/tdiv_r_2exp
$U.lo mpz
/tdiv_r_ui
$U.lo \
586 mpz
/tstbit
$U.lo mpz
/ui_pow_ui
$U.lo mpz
/ui_sub
$U.lo mpz
/urandomb
$U.lo \
587 mpz
/urandomm
$U.lo mpz
/xor
$U.lo
589 MPQ_OBJECTS
= mpq
/abs
$U.lo mpq
/aors
$U.lo \
590 mpq
/canonicalize
$U.lo mpq
/clear
$U.lo mpq
/clears
$U.lo \
591 mpq
/cmp
$U.lo mpq
/cmp_si
$U.lo mpq
/cmp_ui
$U.lo mpq
/div
$U.lo \
592 mpq
/get_d
$U.lo mpq
/get_den
$U.lo mpq
/get_num
$U.lo mpq
/get_str
$U.lo \
593 mpq
/init
$U.lo mpq
/inits
$U.lo mpq
/inp_str
$U.lo mpq
/inv
$U.lo \
594 mpq
/md_2exp
$U.lo mpq
/mul
$U.lo mpq
/neg
$U.lo mpq
/out_str
$U.lo \
595 mpq
/set
$U.lo mpq
/set_den
$U.lo mpq
/set_num
$U.lo \
596 mpq
/set_si
$U.lo mpq
/set_str
$U.lo mpq
/set_ui
$U.lo \
597 mpq
/equal
$U.lo mpq
/set_z
$U.lo mpq
/set_d
$U.lo \
598 mpq
/set_f
$U.lo mpq
/swap
$U.lo
600 MPN_OBJECTS
= mpn
/fib_table
$U.lo mpn
/mp_bases
$U.lo
602 printf
/asprintf
$U.lo printf
/asprntffuns
$U.lo \
603 printf
/doprnt
$U.lo printf
/doprntf
$U.lo printf
/doprnti
$U.lo \
604 printf
/fprintf
$U.lo \
605 printf
/obprintf
$U.lo printf
/obvprintf
$U.lo printf
/obprntffuns
$U.lo \
606 printf
/printf
$U.lo printf
/printffuns
$U.lo \
607 printf
/snprintf
$U.lo printf
/snprntffuns
$U.lo \
608 printf
/sprintf
$U.lo printf
/sprintffuns
$U.lo \
609 printf
/vasprintf
$U.lo printf
/vfprintf
$U.lo printf
/vprintf
$U.lo \
610 printf
/vsnprintf
$U.lo printf
/vsprintf
$U.lo \
611 printf
/repl-vsnprintf
$U.lo
614 scanf
/doscan
$U.lo scanf
/fscanf
$U.lo scanf
/fscanffuns
$U.lo \
615 scanf
/scanf
$U.lo scanf
/sscanf
$U.lo scanf
/sscanffuns
$U.lo \
616 scanf
/vfscanf
$U.lo scanf
/vscanf
$U.lo scanf
/vsscanf
$U.lo
619 rand
/rand
$U.lo rand
/randclr
$U.lo rand
/randdef
$U.lo rand
/randiset
$U.lo \
620 rand
/randlc2s
$U.lo rand
/randlc2x
$U.lo rand
/randmt
$U.lo \
621 rand
/randmts
$U.lo rand
/rands
$U.lo rand
/randsd
$U.lo rand
/randsdui
$U.lo \
622 rand
/randbui
$U.lo rand
/randmui
$U.lo
625 # no $U for C++ files
627 cxx/isfuns.lo
cxx/ismpf.lo
cxx/ismpq.lo
cxx/ismpz.lo
cxx/ismpznw.lo \
628 cxx/limits.lo
cxx/osdoprnti.lo
cxx/osfuns.lo \
629 cxx/osmpf.lo
cxx/osmpq.lo
cxx/osmpz.lo
632 # In libtool 1.5 it doesn't work to build libgmp.la from the convenience
633 # libraries like mpz/libmpz.la. Or rather it works, but it ends up putting
634 # PIC objects into libgmp.a if shared and static are both built. (The PIC
635 # objects go into mpz/.libs/libmpz.a, and thence into .libs/libgmp.a.)
637 # For now the big lists of objects above are used. Something like mpz/*.lo
638 # would probably work, but might risk missing something out or getting
639 # something extra. The source files for each .lo are listed in the
640 # Makefile.am's in the subdirectories.
642 # Currently, for libgmp, unlike libmp below, we're not using
643 # -export-symbols, since the tune and speed programs, and perhaps some of
644 # the test programs, want to access undocumented symbols.
645 libgmp_la_SOURCES
= gmp-impl.h longlong.h \
646 assert.c compat.c errno.c extract-dbl.c invalid.c memory.c \
647 mp_bpl.c mp_clz_tab.c mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c \
648 version.c nextprime.c primesieve.c
650 EXTRA_libgmp_la_SOURCES
= tal-debug.c tal-notreent.c tal-reent.c
651 libgmp_la_DEPENDENCIES
= @TAL_OBJECT@ \
652 $(MPF_OBJECTS
) $(MPZ_OBJECTS
) $(MPQ_OBJECTS
) \
653 $(MPN_OBJECTS
) @mpn_objs_in_libgmp@ \
654 $(PRINTF_OBJECTS
) $(SCANF_OBJECTS
) $(RANDOM_OBJECTS
)
656 libgmp_la_LIBADD
= $(libgmp_la_DEPENDENCIES
)
657 libgmp_la_LDFLAGS
= $(GMP_LDFLAGS
) $(LIBGMP_LDFLAGS
) \
658 -version-info
$(LIBGMP_LT_CURRENT
):$(LIBGMP_LT_REVISION
):$(LIBGMP_LT_AGE
)
661 # We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
662 # use $(CXXLINK) rather than the plain C $(LINK). cxx/dummy.cc is that
664 @WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION
= libgmpxx.la
665 libgmpxx_la_SOURCES
= cxx/dummy.
cc
666 libgmpxx_la_DEPENDENCIES
= $(CXX_OBJECTS
) libgmp.la
667 libgmpxx_la_LIBADD
= $(libgmpxx_la_DEPENDENCIES
)
668 libgmpxx_la_LDFLAGS
= $(GMP_LDFLAGS
) $(LIBGMPXX_LDFLAGS
) \
669 -version-info
$(LIBGMPXX_LT_CURRENT
):$(LIBGMPXX_LT_REVISION
):$(LIBGMPXX_LT_AGE
)
671 all: $(BUILT_SOURCES
) config.h
672 $(MAKE
) $(AM_MAKEFLAGS
) all-recursive
675 .SUFFIXES
: .c .
cc .lo .o .obj
676 am--refresh
: Makefile
678 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(am__configure_deps
)
680 case
'$(am__configure_deps)' in \
682 echo
' cd $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps'; \
683 $(am__cd
) $(srcdir) && $(AUTOMAKE
) --gnu
--ignore-deps \
688 echo
' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps Makefile'; \
689 $(am__cd
) $(top_srcdir
) && \
690 $(AUTOMAKE
) --gnu
--ignore-deps Makefile
692 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
695 echo
' $(SHELL) ./config.status'; \
696 $(SHELL
) .
/config.status
;; \
698 echo
' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
699 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
$(am__depfiles_maybe
);; \
702 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
703 $(SHELL
) .
/config.status
--recheck
705 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
706 $(am__cd
) $(srcdir) && $(AUTOCONF
)
707 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
708 $(am__cd
) $(srcdir) && $(ACLOCAL
) $(ACLOCAL_AMFLAGS
)
709 $(am__aclocal_m4_deps
):
712 @if
test ! -f
$@
; then
rm -f stamp-h1
; else :; fi
713 @if
test ! -f
$@
; then
$(MAKE
) $(AM_MAKEFLAGS
) stamp-h1
; else :; fi
715 stamp-h1
: $(srcdir)/config.in
$(top_builddir
)/config.status
717 cd
$(top_builddir
) && $(SHELL
) .
/config.status config.h
718 $(srcdir)/config.in
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
719 ($(am__cd
) $(top_srcdir
) && $(AUTOHEADER
))
724 -rm -f config.h stamp-h1
725 gmp.h
: $(top_builddir
)/config.status
$(srcdir)/gmp-h.in
726 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$@
727 install-libLTLIBRARIES
: $(lib_LTLIBRARIES
)
729 @list
='$(lib_LTLIBRARIES)'; test -n
"$(libdir)" || list
=; \
730 list2
=; for p in
$$list; do \
731 if
test -f
$$p; then \
732 list2
="$$list2 $$p"; \
735 test -z
"$$list2" ||
{ \
736 echo
" $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \
737 $(MKDIR_P
) "$(DESTDIR)$(libdir)" || exit
1; \
738 echo
" $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
739 $(LIBTOOL
) $(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) --mode
=install $(INSTALL
) $(INSTALL_STRIP_FLAG
) $$list2 "$(DESTDIR)$(libdir)"; \
742 uninstall-libLTLIBRARIES
:
744 @list
='$(lib_LTLIBRARIES)'; test -n
"$(libdir)" || list
=; \
745 for p in
$$list; do \
747 echo
" $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
748 $(LIBTOOL
) $(AM_LIBTOOLFLAGS
) $(LIBTOOLFLAGS
) --mode
=uninstall rm -f
"$(DESTDIR)$(libdir)/$$f"; \
751 clean-libLTLIBRARIES
:
752 -test -z
"$(lib_LTLIBRARIES)" ||
rm -f
$(lib_LTLIBRARIES
)
753 @list
='$(lib_LTLIBRARIES)'; for p in
$$list; do \
754 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
755 test "$$dir" != "$$p" ||
dir=.
; \
756 echo
"rm -f \"$${dir}/so_locations\""; \
757 rm -f
"$${dir}/so_locations"; \
759 libgmp.la
: $(libgmp_la_OBJECTS
) $(libgmp_la_DEPENDENCIES
) $(EXTRA_libgmp_la_DEPENDENCIES
)
760 $(libgmp_la_LINK
) -rpath
$(libdir) $(libgmp_la_OBJECTS
) $(libgmp_la_LIBADD
) $(LIBS
)
761 libgmpxx.la
: $(libgmpxx_la_OBJECTS
) $(libgmpxx_la_DEPENDENCIES
) $(EXTRA_libgmpxx_la_DEPENDENCIES
)
762 $(libgmpxx_la_LINK
) $(am_libgmpxx_la_rpath
) $(libgmpxx_la_OBJECTS
) $(libgmpxx_la_LIBADD
) $(LIBS
)
774 $(COMPILE
) -c
`$(CYGPATH_W) '$<'`
777 $(LTCOMPILE
) -c
-o
$@
$<
780 $(CXXCOMPILE
) -c
-o
$@
$<
783 $(CXXCOMPILE
) -c
-o
$@
`$(CYGPATH_W) '$<'`
786 $(LTCXXCOMPILE
) -c
-o
$@
$<
788 dummy.lo
: cxx/dummy.
cc
789 $(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
798 -rm -f libtool config.lt
799 install-includeHEADERS
: $(include_HEADERS
)
801 @list
='$(include_HEADERS)'; test -n
"$(includedir)" || list
=; \
802 if
test -n
"$$list"; then \
803 echo
" $(MKDIR_P) '$(DESTDIR)$(includedir)'"; \
804 $(MKDIR_P
) "$(DESTDIR)$(includedir)" || exit
1; \
806 for p in
$$list; do \
807 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
809 done |
$(am__base_list
) | \
810 while read files
; do \
811 echo
" $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
812 $(INSTALL_HEADER
) $$files "$(DESTDIR)$(includedir)" || exit
$$?
; \
815 uninstall-includeHEADERS
:
817 @list
='$(include_HEADERS)'; test -n
"$(includedir)" || list
=; \
818 files
=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
819 dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir
)
820 install-nodist_includeexecHEADERS
: $(nodist_includeexec_HEADERS
)
822 @list
='$(nodist_includeexec_HEADERS)'; test -n
"$(includeexecdir)" || list
=; \
823 if
test -n
"$$list"; then \
824 echo
" $(MKDIR_P) '$(DESTDIR)$(includeexecdir)'"; \
825 $(MKDIR_P
) "$(DESTDIR)$(includeexecdir)" || exit
1; \
827 for p in
$$list; do \
828 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
830 done |
$(am__base_list
) | \
831 while read files
; do \
832 echo
" $(INSTALL_HEADER) $$files '$(DESTDIR)$(includeexecdir)'"; \
833 $(INSTALL_HEADER
) $$files "$(DESTDIR)$(includeexecdir)" || exit
$$?
; \
836 uninstall-nodist_includeexecHEADERS
:
838 @list
='$(nodist_includeexec_HEADERS)'; test -n
"$(includeexecdir)" || list
=; \
839 files
=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
840 dir='$(DESTDIR)$(includeexecdir)'; $(am__uninstall_files_from_dir
)
842 # This directory's subdirectories are mostly independent; you can cd
843 # into them and run `make' without going through this Makefile.
844 # To change the values of `make' variables: instead of editing Makefiles,
845 # (1) if the variable is set in `config.status', edit `config.status'
846 # (which will cause the Makefiles to be regenerated when you run `make');
847 # (2) otherwise, pass the desired values on the `make' command line.
848 $(RECURSIVE_TARGETS
):
849 @fail
= failcom
='exit 1'; \
850 for f in x
$$MAKEFLAGS; do \
853 *k
*) failcom
='fail=yes';; \
857 target
=`echo $@ | sed s/-recursive//`; \
858 list
='$(SUBDIRS)'; for subdir in
$$list; do \
859 echo
"Making $$target in $$subdir"; \
860 if
test "$$subdir" = "."; then \
862 local_target
="$$target-am"; \
864 local_target
="$$target"; \
866 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
869 if
test "$$dot_seen" = "no"; then \
870 $(MAKE
) $(AM_MAKEFLAGS
) "$$target-am" || exit
1; \
873 $(RECURSIVE_CLEAN_TARGETS
):
874 @fail
= failcom
='exit 1'; \
875 for f in x
$$MAKEFLAGS; do \
878 *k
*) failcom
='fail=yes';; \
883 distclean-
* | maintainer-clean-
*) list
='$(DIST_SUBDIRS)' ;; \
884 *) list
='$(SUBDIRS)' ;; \
886 rev
=''; for subdir in
$$list; do \
887 if
test "$$subdir" = "."; then
:; else \
888 rev
="$$subdir $$rev"; \
892 target
=`echo $@ | sed s/-recursive//`; \
893 for subdir in
$$rev; do \
894 echo
"Making $$target in $$subdir"; \
895 if
test "$$subdir" = "."; then \
896 local_target
="$$target-am"; \
898 local_target
="$$target"; \
900 ($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) $$local_target) \
902 done
&& test -z
"$$fail"
904 list
='$(SUBDIRS)'; for subdir in
$$list; do \
905 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) tags); \
908 list
='$(SUBDIRS)'; for subdir in
$$list; do \
909 test "$$subdir" = . ||
($(am__cd
) $$subdir && $(MAKE
) $(AM_MAKEFLAGS
) ctags
); \
912 ID
: $(HEADERS
) $(SOURCES
) $(LISP
) $(TAGS_FILES
)
913 list
='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
914 unique
=`for i in $$list; do \
915 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
917 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
918 END { if (nonempty) { for (i in files) print i; }; }'`; \
922 TAGS
: tags-recursive
$(HEADERS
) $(SOURCES
) config.in
$(TAGS_DEPENDENCIES
) \
923 $(TAGS_FILES
) $(LISP
)
926 if
($(ETAGS
) --etags-include
--version
) >/dev
/null
2>&1; then \
927 include_option
=--etags-include
; \
930 include_option
=--include; \
933 list
='$(SUBDIRS)'; for subdir in
$$list; do \
934 if
test "$$subdir" = .
; then
:; else \
935 test ! -f
$$subdir/TAGS || \
936 set
"$$@" "$$include_option=$$here/$$subdir/TAGS"; \
939 list
='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
940 unique
=`for i in $$list; do \
941 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
943 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
944 END { if (nonempty) { for (i in files) print i; }; }'`; \
946 if
test -z
"$(ETAGS_ARGS)$$*$$unique"; then
:; else \
947 test -n
"$$unique" || unique
=$$empty_fix; \
948 if
test $$# -gt 0; then \
949 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
952 $(ETAGS
) $(ETAGSFLAGS
) $(AM_ETAGSFLAGS
) $(ETAGS_ARGS
) \
957 CTAGS
: ctags-recursive
$(HEADERS
) $(SOURCES
) config.in
$(TAGS_DEPENDENCIES
) \
958 $(TAGS_FILES
) $(LISP
)
959 list
='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
960 unique
=`for i in $$list; do \
961 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
963 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
964 END { if (nonempty) { for (i in files) print i; }; }'`; \
965 test -z
"$(CTAGS_ARGS)$$unique" \
966 ||
$(CTAGS
) $(CTAGSFLAGS
) $(AM_CTAGSFLAGS
) $(CTAGS_ARGS
) \
970 here
=`$(am__cd) $(top_builddir) && pwd` \
971 && $(am__cd
) $(top_srcdir
) \
972 && gtags
-i
$(GTAGS_ARGS
) "$$here"
975 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
tags
977 distdir
: $(DISTFILES
)
978 $(am__remove_distdir
)
979 test -d
"$(distdir)" || mkdir
"$(distdir)"
980 @srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
981 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
982 list
='$(DISTFILES)'; \
983 dist_files
=`for file in $$list; do echo $$file; done | \
984 sed -e "s|^$$srcdirstrip/||;t" \
985 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
986 case
$$dist_files in \
987 */*) $(MKDIR_P
) `echo "$$dist_files" | \
988 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
991 for file in
$$dist_files; do \
992 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
993 if
test -d
$$d/$$file; then \
994 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
995 if
test -d
"$(distdir)/$$file"; then \
996 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
998 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
999 cp
-fpR
$(srcdir)/$$file "$(distdir)$$dir" || exit
1; \
1000 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
1002 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
1004 test -f
"$(distdir)/$$file" \
1005 || cp
-p
$$d/$$file "$(distdir)/$$file" \
1009 @list
='$(DIST_SUBDIRS)'; for subdir in
$$list; do \
1010 if
test "$$subdir" = .
; then
:; else \
1011 $(am__make_dryrun
) \
1012 ||
test -d
"$(distdir)/$$subdir" \
1013 ||
$(MKDIR_P
) "$(distdir)/$$subdir" \
1015 dir1
=$$subdir; dir2
="$(distdir)/$$subdir"; \
1016 $(am__relativize
); \
1017 new_distdir
=$$reldir; \
1018 dir1
=$$subdir; dir2
="$(top_distdir)"; \
1019 $(am__relativize
); \
1020 new_top_distdir
=$$reldir; \
1021 echo
" (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
1022 echo
" am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
1023 ($(am__cd
) $$subdir && \
1024 $(MAKE
) $(AM_MAKEFLAGS
) \
1025 top_distdir
="$$new_top_distdir" \
1026 distdir
="$$new_distdir" \
1027 am__remove_distdir
=: \
1028 am__skip_length_check
=: \
1029 am__skip_mode_fix
=: \
1034 $(MAKE
) $(AM_MAKEFLAGS
) \
1035 top_distdir
="$(top_distdir)" distdir
="$(distdir)" \
1037 -test -n
"$(am__skip_mode_fix)" \
1038 || find
"$(distdir)" -type d
! -perm
-755 \
1039 -exec chmod u
+rwx
,go
+rx
{} \
; -o \
1040 ! -type d
! -perm
-444 -links
1 -exec chmod a
+r
{} \
; -o \
1041 ! -type d
! -perm
-400 -exec chmod a
+r
{} \
; -o \
1042 ! -type d
! -perm
-444 -exec
$(install_sh
) -c
-m a
+r
{} {} \
; \
1043 || chmod
-R a
+r
"$(distdir)"
1045 tardir
=$(distdir
) && $(am__tar
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
1046 $(am__remove_distdir
)
1049 tardir
=$(distdir
) && $(am__tar
) | BZIP2
=$${BZIP2--9
} bzip2
-c
>$(distdir
).
tar.bz2
1050 $(am__remove_distdir
)
1053 tardir
=$(distdir
) && $(am__tar
) | lzip
-c
$${LZIP_OPT--9
} >$(distdir
).
tar.lz
1054 $(am__remove_distdir
)
1057 tardir
=$(distdir
) && $(am__tar
) | lzma
-9 -c
>$(distdir
).
tar.lzma
1058 $(am__remove_distdir
)
1061 tardir
=$(distdir
) && $(am__tar
) | XZ_OPT
=$${XZ_OPT--e
} xz
-c
>$(distdir
).
tar.xz
1062 $(am__remove_distdir
)
1065 tardir
=$(distdir
) && $(am__tar
) | compress
-c
>$(distdir
).
tar.Z
1066 $(am__remove_distdir
)
1069 shar $(distdir
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
shar.gz
1070 $(am__remove_distdir
)
1073 -rm -f
$(distdir
).zip
1074 zip
-rq
$(distdir
).zip
$(distdir
)
1075 $(am__remove_distdir
)
1077 dist dist-all
: distdir
1078 tardir
=$(distdir
) && $(am__tar
) | GZIP
=$(GZIP_ENV
) gzip
-c
>$(distdir
).
tar.gz
1079 $(am__remove_distdir
)
1081 # This target untars the dist file and tries a VPATH configuration. Then
1082 # it guarantees that the distribution is self-contained by making another
1085 case
'$(DIST_ARCHIVES)' in \
1087 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
tar.gz |
$(am__untar
) ;;\
1089 bzip2
-dc
$(distdir
).
tar.bz2 |
$(am__untar
) ;;\
1091 lzma
-dc
$(distdir
).
tar.lzma |
$(am__untar
) ;;\
1093 lzip
-dc
$(distdir
).
tar.lz |
$(am__untar
) ;;\
1095 xz
-dc
$(distdir
).
tar.xz |
$(am__untar
) ;;\
1097 uncompress
-c
$(distdir
).
tar.Z |
$(am__untar
) ;;\
1099 GZIP
=$(GZIP_ENV
) gzip
-dc
$(distdir
).
shar.gz | unshar
;;\
1101 unzip
$(distdir
).zip
;;\
1103 chmod
-R a-w
$(distdir
); chmod u
+w
$(distdir
)
1104 mkdir
$(distdir
)/_build
1105 mkdir
$(distdir
)/_inst
1106 chmod a-w
$(distdir
)
1107 test -d
$(distdir
)/_build || exit
0; \
1108 dc_install_base
=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
1109 && dc_destdir
="$${TMPDIR-/tmp}/am-dc-$$$$/" \
1111 && $(am__cd
) $(distdir
)/_build \
1112 && ..
/configure
--srcdir=..
--prefix="$$dc_install_base" \
1113 $(AM_DISTCHECK_CONFIGURE_FLAGS
) \
1114 $(DISTCHECK_CONFIGURE_FLAGS
) \
1115 && $(MAKE
) $(AM_MAKEFLAGS
) \
1116 && $(MAKE
) $(AM_MAKEFLAGS
) dvi \
1117 && $(MAKE
) $(AM_MAKEFLAGS
) check \
1118 && $(MAKE
) $(AM_MAKEFLAGS
) install \
1119 && $(MAKE
) $(AM_MAKEFLAGS
) installcheck \
1120 && $(MAKE
) $(AM_MAKEFLAGS
) uninstall \
1121 && $(MAKE
) $(AM_MAKEFLAGS
) distuninstallcheck_dir
="$$dc_install_base" \
1122 distuninstallcheck \
1123 && chmod
-R a-w
"$$dc_install_base" \
1125 (cd ..
/..
&& umask
077 && mkdir
"$$dc_destdir") \
1126 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" install \
1127 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" uninstall \
1128 && $(MAKE
) $(AM_MAKEFLAGS
) DESTDIR
="$$dc_destdir" \
1129 distuninstallcheck_dir
="$$dc_destdir" distuninstallcheck
; \
1130 } ||
{ rm -rf
"$$dc_destdir"; exit
1; }) \
1131 && rm -rf
"$$dc_destdir" \
1132 && $(MAKE
) $(AM_MAKEFLAGS
) dist \
1133 && rm -rf
$(DIST_ARCHIVES
) \
1134 && $(MAKE
) $(AM_MAKEFLAGS
) distcleancheck \
1137 $(am__remove_distdir
)
1138 @
(echo
"$(distdir) archives ready for distribution: "; \
1139 list
='$(DIST_ARCHIVES)'; for i in
$$list; do echo
$$i; done
) | \
1140 sed
-e
1h
-e
1s
/.
/=/g
-e
1p
-e
1x
-e
'$$p' -e
'$$x'
1142 @
test -n
'$(distuninstallcheck_dir)' ||
{ \
1143 echo
'ERROR: trying to run $@ with an empty' \
1144 '$$(distuninstallcheck_dir)' >&2; \
1147 $(am__cd
) '$(distuninstallcheck_dir)' ||
{ \
1148 echo
'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
1151 test `$(am__distuninstallcheck_listfiles) | wc -l` -eq
0 \
1152 ||
{ echo
"ERROR: files left after uninstall:" ; \
1153 if
test -n
"$(DESTDIR)"; then \
1154 echo
" (check DESTDIR support)"; \
1156 $(distuninstallcheck_listfiles
) ; \
1158 distcleancheck
: distclean
1159 @if
test '$(srcdir)' = .
; then \
1160 echo
"ERROR: distcleancheck can only run from a VPATH build" ; \
1163 @
test `$(distcleancheck_listfiles) | wc -l` -eq
0 \
1164 ||
{ echo
"ERROR: files left in build directory after distclean:" ; \
1165 $(distcleancheck_listfiles
) ; \
1168 check: $(BUILT_SOURCES
)
1169 $(MAKE
) $(AM_MAKEFLAGS
) check-recursive
1170 all-am
: Makefile
$(LTLIBRARIES
) $(HEADERS
) config.h
1171 installdirs: installdirs-recursive
1173 for
dir in
"$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includeexecdir)"; do \
1174 test -z
"$$dir" ||
$(MKDIR_P
) "$$dir"; \
1176 install: $(BUILT_SOURCES
)
1177 $(MAKE
) $(AM_MAKEFLAGS
) install-recursive
1178 install-exec
: install-exec-recursive
1179 install-data
: install-data-recursive
1180 uninstall: uninstall-recursive
1183 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
1185 installcheck: installcheck-recursive
1187 if
test -z
'$(STRIP)'; then \
1188 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
1189 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
1192 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
1193 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
1194 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
1196 mostlyclean-generic
:
1201 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
1202 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
1203 -test -z
"$(DISTCLEANFILES)" ||
rm -f
$(DISTCLEANFILES
)
1205 maintainer-clean-generic
:
1206 @echo
"This command is intended for maintainers to use"
1207 @echo
"it deletes files that may require special tools to rebuild."
1208 -test -z
"$(BUILT_SOURCES)" ||
rm -f
$(BUILT_SOURCES
)
1209 clean: clean-recursive
1211 clean-am
: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \
1214 distclean: distclean-recursive
1215 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
1217 distclean-am
: clean-am distclean-compile distclean-generic \
1218 distclean-hdr distclean-libtool distclean-local distclean-tags
1224 html
: html-recursive
1228 info: info-recursive
1232 install-data-am
: install-includeHEADERS
1234 $(MAKE
) $(AM_MAKEFLAGS
) install-data-hook
1235 install-dvi
: install-dvi-recursive
1239 install-exec-am
: install-libLTLIBRARIES \
1240 install-nodist_includeexecHEADERS
1242 install-html
: install-html-recursive
1246 install-info
: install-info-recursive
1252 install-pdf
: install-pdf-recursive
1256 install-ps
: install-ps-recursive
1262 maintainer-clean
: maintainer-clean-recursive
1263 -rm -f
$(am__CONFIG_DISTCLEAN_FILES
)
1264 -rm -rf
$(top_srcdir
)/autom4te.cache
1266 maintainer-clean-am
: distclean-am maintainer-clean-generic
1268 mostlyclean: mostlyclean-recursive
1270 mostlyclean-am
: mostlyclean-compile mostlyclean-generic \
1281 uninstall-am
: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1282 uninstall-nodist_includeexecHEADERS
1284 .MAKE
: $(RECURSIVE_CLEAN_TARGETS
) $(RECURSIVE_TARGETS
) all check \
1285 ctags-recursive
install install-am install-data-am \
1286 install-strip tags-recursive
1288 .PHONY
: $(RECURSIVE_CLEAN_TARGETS
) $(RECURSIVE_TARGETS
) CTAGS GTAGS \
1289 all all-am am--refresh
check check-am
clean clean-generic \
1290 clean-libLTLIBRARIES clean-libtool clean-local ctags \
1291 ctags-recursive
dist dist-all dist-bzip2 dist-gzip dist-hook \
1292 dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
1293 distcheck
distclean distclean-compile distclean-generic \
1294 distclean-hdr distclean-libtool distclean-local distclean-tags \
1295 distcleancheck distdir distuninstallcheck
dvi dvi-am html \
1296 html-am
info info-am
install install-am install-data \
1297 install-data-am install-data-hook install-dvi install-dvi-am \
1298 install-exec install-exec-am install-html install-html-am \
1299 install-includeHEADERS install-info install-info-am \
1300 install-libLTLIBRARIES install-man \
1301 install-nodist_includeexecHEADERS install-pdf install-pdf-am \
1302 install-ps install-ps-am install-strip
installcheck \
1303 installcheck-am
installdirs installdirs-am maintainer-clean \
1304 maintainer-clean-generic
mostlyclean mostlyclean-compile \
1305 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
1306 tags tags-recursive
uninstall uninstall-am \
1307 uninstall-includeHEADERS uninstall-libLTLIBRARIES \
1308 uninstall-nodist_includeexecHEADERS
1313 @echo
'+-------------------------------------------------------------+'
1314 @echo
'| CAUTION: |'
1316 @echo
'| If you have not already run "make check", then we strongly |'
1317 @echo
'| recommend you do so. |'
1319 @echo
'| GMP has been carefully tested by its authors, but compilers |'
1320 @echo
'| are all too often released with serious bugs. GMP tends to |'
1321 @echo
'| explore interesting corners in compilers and has hit bugs |'
1322 @echo
'| on quite a few occasions. |'
1324 @echo
'+-------------------------------------------------------------+'
1327 fac_table.h
: gen-fac
$(EXEEXT_FOR_BUILD
)
1328 .
/gen-fac
$(GMP_LIMB_BITS
) $(GMP_NAIL_BITS
) >fac_table.h ||
(rm -f fac_table.h
; exit
1)
1330 gen-fac
$(EXEEXT_FOR_BUILD
): gen-fac
$(U_FOR_BUILD
).c bootstrap.c
1331 $(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
)
1333 fib_table.h
: gen-fib
$(EXEEXT_FOR_BUILD
)
1334 .
/gen-fib header
$(GMP_LIMB_BITS
) $(GMP_NAIL_BITS
) >fib_table.h ||
(rm -f fib_table.h
; exit
1)
1336 mpn
/fib_table.c
: gen-fib
$(EXEEXT_FOR_BUILD
)
1337 .
/gen-fib table
$(GMP_LIMB_BITS
) $(GMP_NAIL_BITS
) >mpn
/fib_table.c ||
(rm -f mpn
/fib_table.c
; exit
1)
1339 gen-fib
$(EXEEXT_FOR_BUILD
): gen-fib
$(U_FOR_BUILD
).c bootstrap.c
1340 $(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
)
1342 mp_bases.h
: gen-bases
$(EXEEXT_FOR_BUILD
)
1343 .
/gen-bases header
$(GMP_LIMB_BITS
) $(GMP_NAIL_BITS
) >mp_bases.h ||
(rm -f mp_bases.h
; exit
1)
1345 mpn
/mp_bases.c
: gen-bases
$(EXEEXT_FOR_BUILD
)
1346 .
/gen-bases table
$(GMP_LIMB_BITS
) $(GMP_NAIL_BITS
) >mpn
/mp_bases.c ||
(rm -f mpn
/mp_bases.c
; exit
1)
1348 gen-bases
$(EXEEXT_FOR_BUILD
): gen-bases
$(U_FOR_BUILD
).c bootstrap.c
1349 $(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
)
1351 trialdivtab.h
: gen-trialdivtab
$(EXEEXT_FOR_BUILD
)
1352 .
/gen-trialdivtab
$(GMP_LIMB_BITS
) 8000 >trialdivtab.h ||
(rm -f trialdivtab.h
; exit
1)
1354 gen-trialdivtab
$(EXEEXT_FOR_BUILD
): gen-trialdivtab
$(U_FOR_BUILD
).c bootstrap.c
1355 $(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
)
1357 mpn
/jacobitab.h
: gen-jacobitab
$(EXEEXT_FOR_BUILD
)
1358 .
/gen-jacobitab
>mpn
/jacobitab.h ||
(rm -f mpn
/jacobitab.h
; exit
1)
1360 gen-jacobitab
$(EXEEXT_FOR_BUILD
): gen-jacobitab
$(U_FOR_BUILD
).c
1361 $(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
)
1363 mpn
/perfsqr.h
: gen-psqr
$(EXEEXT_FOR_BUILD
)
1364 .
/gen-psqr
$(GMP_LIMB_BITS
) $(GMP_NAIL_BITS
) >mpn
/perfsqr.h ||
(rm -f mpn
/perfsqr.h
; exit
1)
1366 gen-psqr
$(EXEEXT_FOR_BUILD
): gen-psqr
$(U_FOR_BUILD
).c bootstrap.c
1367 $(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
)
1369 # Avoid: CVS - cvs directories
1370 # *~ - emacs backups
1371 # .#* - cvs merge originals
1373 # *~ and .#* only occur when a whole directory without it's own Makefile.am
1374 # is distributed, like "doc" or the mpn cpu subdirectories.
1377 -find
$(distdir
) \
( -name CVS
-type d \
) -o
-name
"*~" -o
-name
".#*" \
1379 cp
"$(srcdir)"/mini-gmp
/tests
/*.
[ch
] "$(distdir)/mini-gmp/tests"
1380 # grep -F $(VERSION) $(srcdir)/Makefile.am \
1381 # | grep -q "^# *$(VERSION) *$(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE) *$(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)"
1382 # 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`"
1384 .PHONY
: check-mini-gmp clean-mini-gmp
1387 abs_srcdir
="`cd $(srcdir) && pwd`" ; \
1388 $(MKDIR_P
) mini-gmp
/tests \
1389 && cd mini-gmp
/tests \
1390 && LD_LIBRARY_PATH
="../../.libs:$$LD_LIBRARY_PATH" \
1391 DYLD_LIBRARY_PATH
="../../.libs:$$DYLD_LIBRARY_PATH" \
1392 $(MAKE
) -f
"$$abs_srcdir/mini-gmp/tests/Makefile" \
1393 VPATH
="$$abs_srcdir/mini-gmp/tests" \
1394 srcdir="$$abs_srcdir/mini-gmp/tests" \
1395 MINI_GMP_DIR
="$$abs_srcdir/mini-gmp" \
1396 LDFLAGS
="-L../../.libs" \
1398 CC
="$(CC_FOR_BUILD)" EXTRA_CFLAGS
="-g -I../.." check
1401 if
[ -d mini-gmp
/tests
] ; then \
1402 abs_srcdir
="`cd $(srcdir) && pwd`" ; \
1404 && $(MAKE
) -f
"$$abs_srcdir/mini-gmp/tests/Makefile" clean ; \
1407 clean-local
: clean-mini-gmp
1408 distclean-local
: clean-mini-gmp
1410 # Tell versions [3.59,3.63) of GNU make to not export all variables.
1411 # Otherwise a system limit (for SysV at least) may be exceeded.