1312 lines
55 KiB
Makefile
1312 lines
55 KiB
Makefile
# Makefile.in generated by automake 1.10 from Makefile.am.
|
|
# @configure_input@
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
|
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
@SET_MAKE@
|
|
|
|
# Copyright 1991, 1993, 1994, 1996, 1997, 1999, 2000, 2001, 2002, 2003, 2004,
|
|
# 2006 Free Software Foundation, Inc.
|
|
#
|
|
# This file is part of the GNU MP Library.
|
|
#
|
|
# The GNU MP Library is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or (at your
|
|
# option) any later version.
|
|
#
|
|
# The GNU MP Library is distributed in the hope that it will be useful, but
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
# License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
|
|
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
# MA 02110-1301, USA.
|
|
|
|
|
|
VPATH = @srcdir@
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = $(program_transform_name)
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
build_triplet = @build@
|
|
host_triplet = @host@
|
|
ANSI2KNR = @ANSI2KNR@
|
|
@BUILD_YASM_TRUE@am__append_1 = yasmbuild
|
|
subdir = .
|
|
DIST_COMMON = README $(am__configure_deps) $(am__include_HEADERS_DIST) \
|
|
$(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
|
$(srcdir)/config.in $(srcdir)/gmp-h.in $(srcdir)/mp-h.in \
|
|
$(top_srcdir)/configure AUTHORS COPYING COPYING.LIB ChangeLog \
|
|
INSTALL NEWS ansi2knr.1 ansi2knr.c config.guess config.sub \
|
|
install-sh ltmain.sh missing ylwrap
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
|
|
$(top_srcdir)/configure.in
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
$(ACLOCAL_M4)
|
|
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
|
|
configure.lineno config.status.lineno
|
|
mkinstalldirs = $(install_sh) -d
|
|
CONFIG_HEADER = config.h
|
|
CONFIG_CLEAN_FILES = gmp.h mp.h gmp-mparam.h
|
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
am__vpath_adj = case $$p in \
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
*) f=$$p;; \
|
|
esac;
|
|
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" \
|
|
"$(DESTDIR)$(includeexecdir)"
|
|
libLTLIBRARIES_INSTALL = $(INSTALL)
|
|
LTLIBRARIES = $(lib_LTLIBRARIES)
|
|
am__DEPENDENCIES_1 = $(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
|
|
$(MPN_OBJECTS) $(PRINTF_OBJECTS) $(SCANF_OBJECTS)
|
|
am_libgmp_la_OBJECTS = assert$U.lo compat$U.lo errno$U.lo \
|
|
extract-dbl$U.lo invalid$U.lo memory$U.lo mp_bpl$U.lo \
|
|
mp_clz_tab$U.lo mp_dv_tab$U.lo mp_minv_tab$U.lo \
|
|
mp_get_fns$U.lo mp_set_fns$U.lo rand$U.lo randclr$U.lo \
|
|
randdef$U.lo randiset$U.lo randlc2s$U.lo randlc2x$U.lo \
|
|
randmt$U.lo randmts$U.lo rands$U.lo randsd$U.lo randsdui$U.lo \
|
|
randbui$U.lo randmui$U.lo version$U.lo
|
|
libgmp_la_OBJECTS = $(am_libgmp_la_OBJECTS)
|
|
libgmp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
$(libgmp_la_LDFLAGS) $(LDFLAGS) -o $@
|
|
am_libgmpxx_la_OBJECTS = dummy.lo
|
|
libgmpxx_la_OBJECTS = $(am_libgmpxx_la_OBJECTS)
|
|
libgmpxx_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
|
|
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
|
|
$(CXXFLAGS) $(libgmpxx_la_LDFLAGS) $(LDFLAGS) -o $@
|
|
@WANT_CXX_TRUE@am_libgmpxx_la_rpath = -rpath $(libdir)
|
|
am__DEPENDENCIES_2 = $(srcdir)/libmp.sym $(MPBSD_OBJECTS) \
|
|
$(MPN_OBJECTS) mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo \
|
|
mpz/mul$U.lo mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo \
|
|
mpz/sub$U.lo mpz/tdiv_q$U.lo
|
|
am_libmp_la_OBJECTS = assert$U.lo errno$U.lo memory$U.lo mp_bpl$U.lo \
|
|
mp_clz_tab$U.lo mp_dv_tab$U.lo mp_minv_tab$U.lo \
|
|
mp_get_fns$U.lo mp_set_fns$U.lo
|
|
libmp_la_OBJECTS = $(am_libmp_la_OBJECTS)
|
|
libmp_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(libmp_la_LDFLAGS) \
|
|
$(LDFLAGS) -o $@
|
|
@WANT_MPBSD_TRUE@am_libmp_la_rpath = -rpath $(libdir)
|
|
DEFAULT_INCLUDES = -I.@am__isrc@
|
|
depcomp =
|
|
am__depfiles_maybe =
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
|
$(LDFLAGS) -o $@
|
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
|
CXXLD = $(CXX)
|
|
CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
--mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
|
|
$(LDFLAGS) -o $@
|
|
SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
|
|
$(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
|
|
DIST_SOURCES = $(libgmp_la_SOURCES) $(EXTRA_libgmp_la_SOURCES) \
|
|
$(libgmpxx_la_SOURCES) $(libmp_la_SOURCES)
|
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
html-recursive info-recursive install-data-recursive \
|
|
install-dvi-recursive install-exec-recursive \
|
|
install-html-recursive install-info-recursive \
|
|
install-pdf-recursive install-ps-recursive install-recursive \
|
|
installcheck-recursive installdirs-recursive pdf-recursive \
|
|
ps-recursive uninstall-recursive
|
|
am__include_HEADERS_DIST = gmpxx.h
|
|
includeHEADERS_INSTALL = $(INSTALL_HEADER)
|
|
nodist_includeexecHEADERS_INSTALL = $(INSTALL_HEADER)
|
|
HEADERS = $(include_HEADERS) $(nodist_includeexec_HEADERS)
|
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
|
distclean-recursive maintainer-clean-recursive
|
|
ETAGS = etags
|
|
CTAGS = ctags
|
|
DIST_SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune \
|
|
doc yasmbuild
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
distdir = $(PACKAGE)-$(VERSION)
|
|
top_distdir = $(distdir)
|
|
am__remove_distdir = \
|
|
{ test ! -d $(distdir) \
|
|
|| { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
|
|
&& rm -fr $(distdir); }; }
|
|
DIST_ARCHIVES = $(distdir).tar.gz
|
|
GZIP_ENV = --best
|
|
distuninstallcheck_listfiles = find . -type f -print
|
|
distcleancheck_listfiles = find . -type f -print
|
|
ABI = @ABI@
|
|
ACLOCAL = @ACLOCAL@
|
|
AMTAR = @AMTAR@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AWK = @AWK@
|
|
BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@
|
|
CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
|
|
CC = @CC@
|
|
CCAS = @CCAS@
|
|
CC_FOR_BUILD = @CC_FOR_BUILD@
|
|
CFLAGS = @CFLAGS@
|
|
CPP = @CPP@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CPP_FOR_BUILD = @CPP_FOR_BUILD@
|
|
CXX = @CXX@
|
|
CXXCPP = @CXXCPP@
|
|
CXXFLAGS = @CXXFLAGS@
|
|
CYGPATH_W = @CYGPATH_W@
|
|
DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
|
|
DEFS = @DEFS@
|
|
DLLTOOL = @DLLTOOL@
|
|
ECHO = @ECHO@
|
|
ECHO_C = @ECHO_C@
|
|
ECHO_N = @ECHO_N@
|
|
ECHO_T = @ECHO_T@
|
|
EGREP = @EGREP@
|
|
EXEEXT = @EXEEXT@
|
|
EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
|
|
GMP_LDFLAGS = @GMP_LDFLAGS@
|
|
GMP_NAIL_BITS = @GMP_NAIL_BITS@
|
|
GREP = @GREP@
|
|
GSYM_FLAG = @GSYM_FLAG@
|
|
HAVE_CLOCK_01 = @HAVE_CLOCK_01@
|
|
HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
|
|
HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
|
|
HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
|
|
HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
|
|
HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
|
|
HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
|
|
HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
|
|
HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
|
|
HAVE_STACK_T_01 = @HAVE_STACK_T_01@
|
|
HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
|
|
INSTALL = @INSTALL@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
LDFLAGS = @LDFLAGS@
|
|
LEX = @LEX@
|
|
LEXLIB = @LEXLIB@
|
|
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
|
|
LIBCURSES = @LIBCURSES@
|
|
LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
|
|
LIBGMP_DLL = @LIBGMP_DLL@
|
|
LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
|
|
LIBM = @LIBM@
|
|
LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
|
|
LIBOBJS = @LIBOBJS@
|
|
LIBREADLINE = @LIBREADLINE@
|
|
LIBS = @LIBS@
|
|
LIBTOOL = @LIBTOOL@
|
|
LN_S = @LN_S@
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
M4 = @M4@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
MKDIR_P = @MKDIR_P@
|
|
MPIR_AS = @MPIR_AS@
|
|
OBJDUMP = @OBJDUMP@
|
|
OBJECT_FORMAT = @OBJECT_FORMAT@
|
|
OBJEXT = @OBJEXT@
|
|
PACKAGE = @PACKAGE@
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
RANLIB = @RANLIB@
|
|
SED = @SED@
|
|
SET_MAKE = @SET_MAKE@
|
|
SHELL = @SHELL@
|
|
SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
|
|
STRIP = @STRIP@
|
|
TAL_OBJECT = @TAL_OBJECT@
|
|
TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
|
|
U = @U@
|
|
U_FOR_BUILD = @U_FOR_BUILD@
|
|
VERSION = @VERSION@
|
|
WITH_READLINE_01 = @WITH_READLINE_01@
|
|
YACC = @YACC@
|
|
YFLAGS = @YFLAGS@
|
|
abs_builddir = @abs_builddir@
|
|
abs_srcdir = @abs_srcdir@
|
|
abs_top_builddir = @abs_top_builddir@
|
|
abs_top_srcdir = @abs_top_srcdir@
|
|
ac_ct_CC = @ac_ct_CC@
|
|
ac_ct_CXX = @ac_ct_CXX@
|
|
am__leading_dot = @am__leading_dot@
|
|
am__tar = @am__tar@
|
|
am__untar = @am__untar@
|
|
bindir = @bindir@
|
|
build = @build@
|
|
build_alias = @build_alias@
|
|
build_cpu = @build_cpu@
|
|
build_os = @build_os@
|
|
build_vendor = @build_vendor@
|
|
builddir = @builddir@
|
|
datadir = @datadir@
|
|
datarootdir = @datarootdir@
|
|
docdir = @docdir@
|
|
dvidir = @dvidir@
|
|
exec_prefix = @exec_prefix@
|
|
gmp_srclinks = @gmp_srclinks@
|
|
host = @host@
|
|
host_alias = @host_alias@
|
|
host_cpu = @host_cpu@
|
|
host_os = @host_os@
|
|
host_vendor = @host_vendor@
|
|
htmldir = @htmldir@
|
|
includedir = @includedir@
|
|
infodir = @infodir@
|
|
install_sh = @install_sh@
|
|
libdir = @libdir@
|
|
libexecdir = @libexecdir@
|
|
localedir = @localedir@
|
|
localstatedir = @localstatedir@
|
|
mandir = @mandir@
|
|
mkdir_p = @mkdir_p@
|
|
mpn_objects = @mpn_objects@
|
|
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
|
|
mpn_objs_in_libmp = @mpn_objs_in_libmp@
|
|
oldincludedir = @oldincludedir@
|
|
pdfdir = @pdfdir@
|
|
prefix = @prefix@
|
|
program_transform_name = @program_transform_name@
|
|
psdir = @psdir@
|
|
sbindir = @sbindir@
|
|
sharedstatedir = @sharedstatedir@
|
|
srcdir = @srcdir@
|
|
sysconfdir = @sysconfdir@
|
|
target_alias = @target_alias@
|
|
top_builddir = @top_builddir@
|
|
top_srcdir = @top_srcdir@
|
|
|
|
# The following options are the same as AM_INIT_AUTOMAKE in configure.in,
|
|
# except no $(top_builddir) on ansi2knr. That directory is wanted for the
|
|
# Makefiles in subdirectories, but here we must omit it so automake gives
|
|
# the actual ansi2knr build rule, not "cd $(top_builddir) && make ansi2knr".
|
|
#
|
|
AUTOMAKE_OPTIONS = 1.8 gnu no-dependencies ansi2knr
|
|
|
|
# Libtool -version-info for libgmp.la and libmp.la. See "Versioning" in the
|
|
# libtool manual.
|
|
#
|
|
# 1. No interfaces changed, only implementations (good): Increment REVISION.
|
|
#
|
|
# 2. Interfaces added, none removed (good): Increment CURRENT, increment
|
|
# AGE, set REVISION to 0.
|
|
#
|
|
# 3. Interfaces removed (BAD, breaks upward compatibility): Increment
|
|
# CURRENT, set AGE and REVISION to 0.
|
|
#
|
|
# Do this separately for libgmp, libgmpxx and libmp, and only for releases.
|
|
#
|
|
# GMP -version-info
|
|
# release libgmp libgmpxx libmp
|
|
# 2.0.x - - -
|
|
# 3.0 3:0:0 - 3:0:0
|
|
# 3.0.1 3:1:0 - 3:0:0
|
|
# 3.1 4:0:1 - 4:0:1
|
|
# 3.1.1 4:1:1 - 4:1:1
|
|
# 4.0 5:0:2 3:0:0 4:2:1
|
|
# 4.0.1 5:1:2 3:1:0 4:3:1
|
|
# 4.1 6:0:3 3:2:0 4:4:1
|
|
# 4.1.1 6:1:3 3:3:0 4:5:1
|
|
# 4.1.2 6:2:3 3:4:0 4:6:1
|
|
# 4.1.3 6:3:3 3:5:0 4:7:1
|
|
# 4.1.4 6:3:3 3:5:0 4:7:1 WRONG, same as 4.1.3!
|
|
# 4.2 6:0:3 3:2:0 4:4:1 REALLY WRONG, same as 4.1!
|
|
# 4.2.1 7:1:4 4:1:1 4:10:1
|
|
#
|
|
# Starting at 3:0:0 is a slight abuse of the versioning system, but it
|
|
# ensures we're past soname libgmp.so.2, which was used on Debian GNU/Linux
|
|
# packages of gmp 2. Pretend gmp 2 was 2:0:0, so the interface changes for
|
|
# gmp 3 mean 3:0:0 is right.
|
|
#
|
|
# We interpret "implementation changed" in item "1." above as meaning any
|
|
# release, ie. the REVISION is incremented every time (if nothing else).
|
|
# Even if we thought the code generated will be identical on all systems,
|
|
# it's still good to get the shared library filename (like
|
|
# libgmpxx.so.3.0.4) incrementing, to make it clear which GMP it's from.
|
|
LIBGMP_LT_CURRENT = 7
|
|
LIBGMP_LT_REVISION = 1
|
|
LIBGMP_LT_AGE = 4
|
|
LIBGMPXX_LT_CURRENT = 4
|
|
LIBGMPXX_LT_REVISION = 1
|
|
LIBGMPXX_LT_AGE = 1
|
|
LIBMP_LT_CURRENT = 4
|
|
LIBMP_LT_REVISION = 10
|
|
LIBMP_LT_AGE = 1
|
|
SUBDIRS = tests mpn mpz mpq mpf printf scanf cxx mpbsd demos tune doc \
|
|
$(am__append_1)
|
|
|
|
# The ansi2knr setups for the build programs are the same as the normal
|
|
# automake ansi2knr rules, but using $(CC_FOR_BUILD) instead of $(CC).
|
|
#
|
|
# The "test -f" support for srcdir!=builddir is similar to the automake .c.o
|
|
# etc rules, but with each foo.c explicitly, since $< is not portable
|
|
# outside an inference rule.
|
|
#
|
|
# A quoted 'foo.c' is used with the "test -f"'s to avoid Sun make rewriting
|
|
# it as part of its VPATH support. See the autoconf manual "Limitations of
|
|
# Make".
|
|
#
|
|
# Generated .h files which are used by gmp-impl.h are BUILT_SOURCES since
|
|
# they must exist before anything can be compiled.
|
|
#
|
|
# Other generated .h files are also BUILT_SOURCES so as to get all the
|
|
# build-system stuff over and done with at the start. Also, dependencies on
|
|
# the .h files are not properly expressed for the various objects that use
|
|
# them.
|
|
EXTRA_DIST = macos configfsf.guess configfsf.sub .gdbinit \
|
|
INSTALL.autoconf gmpxx.h libmp.sym dumbmp.c gen-fac_ui.c \
|
|
gen-fib.c gen-bases.c gen-psqr.c
|
|
@WANT_CXX_TRUE@GMPXX_HEADERS_OPTION = gmpxx.h
|
|
|
|
# gmp.h and mp.h are architecture dependent, mainly since they encode the
|
|
# limb size used in libgmp. For that reason they belong under $exec_prefix
|
|
# not $prefix, strictly speaking.
|
|
#
|
|
# $exec_prefix/include is not in the default include path for gcc built to
|
|
# the same $prefix and $exec_prefix, which might mean gmp.h is not found,
|
|
# but anyone knowledgable enough to be playing with exec_prefix will be able
|
|
# to address that.
|
|
#
|
|
includeexecdir = $(exec_prefix)/include
|
|
include_HEADERS = $(GMPXX_HEADERS_OPTION)
|
|
nodist_includeexec_HEADERS = gmp.h $(MPBSD_HEADERS_OPTION)
|
|
lib_LTLIBRARIES = libgmp.la $(GMPXX_LTLIBRARIES_OPTION) $(MPBSD_LTLIBRARIES_OPTION)
|
|
BUILT_SOURCES = gmp.h mp.h mpz/fac_ui.h fib_table.h mpn/fib_table.c \
|
|
mp_bases.h mpn/mp_bases.c mpn/perfsqr.h
|
|
DISTCLEANFILES = $(BUILT_SOURCES) config.m4 @gmp_srclinks@ \
|
|
gen-fac_ui$(EXEEXT_FOR_BUILD) gen-fib$(EXEEXT_FOR_BUILD) \
|
|
gen-bases$(EXEEXT_FOR_BUILD) gen-psqr$(EXEEXT_FOR_BUILD)
|
|
|
|
# Tell gmp.h it's building gmp, not an application, used by windows DLL stuff.
|
|
INCLUDES = -D__GMP_WITHIN_GMP
|
|
MPF_OBJECTS = mpf/init$U.lo mpf/init2$U.lo mpf/set$U.lo mpf/set_ui$U.lo \
|
|
mpf/set_si$U.lo mpf/set_str$U.lo mpf/set_d$U.lo mpf/set_z$U.lo \
|
|
mpf/iset$U.lo mpf/iset_ui$U.lo mpf/iset_si$U.lo mpf/iset_str$U.lo \
|
|
mpf/iset_d$U.lo mpf/clear$U.lo mpf/get_str$U.lo mpf/dump$U.lo \
|
|
mpf/size$U.lo mpf/eq$U.lo mpf/reldiff$U.lo mpf/sqrt$U.lo mpf/random2$U.lo \
|
|
mpf/inp_str$U.lo mpf/out_str$U.lo mpf/add$U.lo mpf/add_ui$U.lo \
|
|
mpf/sub$U.lo mpf/sub_ui$U.lo mpf/ui_sub$U.lo mpf/mul$U.lo mpf/mul_ui$U.lo \
|
|
mpf/div$U.lo mpf/div_ui$U.lo \
|
|
mpf/cmp$U.lo mpf/cmp_d$U.lo mpf/cmp_ui$U.lo mpf/cmp_si$U.lo \
|
|
mpf/mul_2exp$U.lo mpf/div_2exp$U.lo mpf/abs$U.lo mpf/neg$U.lo \
|
|
mpf/set_q$U.lo mpf/get_d$U.lo mpf/get_d_2exp$U.lo mpf/set_dfl_prec$U.lo \
|
|
mpf/set_prc$U.lo mpf/set_prc_raw$U.lo mpf/get_dfl_prec$U.lo \
|
|
mpf/get_prc$U.lo mpf/ui_div$U.lo mpf/sqrt_ui$U.lo \
|
|
mpf/ceilfloor$U.lo mpf/trunc$U.lo mpf/pow_ui$U.lo \
|
|
mpf/urandomb$U.lo mpf/swap$U.lo \
|
|
mpf/fits_sint$U.lo mpf/fits_slong$U.lo mpf/fits_sshort$U.lo \
|
|
mpf/fits_uint$U.lo mpf/fits_ulong$U.lo mpf/fits_ushort$U.lo \
|
|
mpf/get_si$U.lo mpf/get_ui$U.lo \
|
|
mpf/int_p$U.lo
|
|
|
|
MPZ_OBJECTS = mpz/abs$U.lo mpz/add$U.lo mpz/add_ui$U.lo \
|
|
mpz/aorsmul$U.lo mpz/aorsmul_i$U.lo mpz/and$U.lo mpz/array_init$U.lo \
|
|
mpz/bin_ui$U.lo mpz/bin_uiui$U.lo \
|
|
mpz/cdiv_q$U.lo mpz/cdiv_q_ui$U.lo \
|
|
mpz/cdiv_qr$U.lo mpz/cdiv_qr_ui$U.lo \
|
|
mpz/cdiv_r$U.lo mpz/cdiv_r_ui$U.lo mpz/cdiv_ui$U.lo \
|
|
mpz/cfdiv_q_2exp$U.lo mpz/cfdiv_r_2exp$U.lo \
|
|
mpz/clear$U.lo mpz/clrbit$U.lo \
|
|
mpz/cmp$U.lo mpz/cmp_d$U.lo mpz/cmp_si$U.lo mpz/cmp_ui$U.lo \
|
|
mpz/cmpabs$U.lo mpz/cmpabs_d$U.lo mpz/cmpabs_ui$U.lo \
|
|
mpz/com$U.lo mpz/combit$U.lo \
|
|
mpz/cong$U.lo mpz/cong_2exp$U.lo mpz/cong_ui$U.lo \
|
|
mpz/divexact$U.lo mpz/divegcd$U.lo mpz/dive_ui$U.lo \
|
|
mpz/divis$U.lo mpz/divis_ui$U.lo mpz/divis_2exp$U.lo mpz/dump$U.lo \
|
|
mpz/export$U.lo mpz/fac_ui$U.lo mpz/fdiv_q$U.lo \
|
|
mpz/fdiv_q_ui$U.lo mpz/fdiv_qr$U.lo mpz/fdiv_qr_ui$U.lo \
|
|
mpz/fdiv_r$U.lo mpz/fdiv_r_ui$U.lo \
|
|
mpz/fdiv_ui$U.lo mpz/fib_ui$U.lo mpz/fib2_ui$U.lo mpz/fits_sint$U.lo \
|
|
mpz/fits_slong$U.lo mpz/fits_sshort$U.lo mpz/fits_uint$U.lo \
|
|
mpz/fits_ulong$U.lo mpz/fits_ushort$U.lo mpz/gcd$U.lo \
|
|
mpz/gcd_ui$U.lo mpz/gcdext$U.lo mpz/get_d$U.lo mpz/get_d_2exp$U.lo \
|
|
mpz/get_si$U.lo mpz/get_str$U.lo mpz/get_ui$U.lo mpz/getlimbn$U.lo \
|
|
mpz/hamdist$U.lo \
|
|
mpz/import$U.lo mpz/init$U.lo mpz/init2$U.lo mpz/inp_raw$U.lo \
|
|
mpz/inp_str$U.lo mpz/invert$U.lo \
|
|
mpz/ior$U.lo mpz/iset$U.lo mpz/iset_d$U.lo mpz/iset_si$U.lo \
|
|
mpz/iset_str$U.lo mpz/iset_ui$U.lo mpz/jacobi$U.lo mpz/kronsz$U.lo \
|
|
mpz/kronuz$U.lo mpz/kronzs$U.lo mpz/kronzu$U.lo \
|
|
mpz/lcm$U.lo mpz/lcm_ui$U.lo mpz/lucnum_ui$U.lo mpz/lucnum2_ui$U.lo \
|
|
mpz/millerrabin$U.lo mpz/mod$U.lo mpz/mul$U.lo mpz/mul_2exp$U.lo \
|
|
mpz/mul_si$U.lo mpz/mul_ui$U.lo \
|
|
mpz/n_pow_ui$U.lo mpz/neg$U.lo mpz/nextprime$U.lo \
|
|
mpz/out_raw$U.lo mpz/out_str$U.lo mpz/perfpow$U.lo mpz/perfsqr$U.lo \
|
|
mpz/popcount$U.lo mpz/pow_ui$U.lo mpz/powm$U.lo mpz/powm_ui$U.lo \
|
|
mpz/pprime_p$U.lo mpz/random$U.lo mpz/random2$U.lo \
|
|
mpz/realloc$U.lo mpz/realloc2$U.lo mpz/remove$U.lo \
|
|
mpz/root$U.lo mpz/rootrem$U.lo mpz/rrandomb$U.lo mpz/scan0$U.lo \
|
|
mpz/scan1$U.lo mpz/set$U.lo mpz/set_d$U.lo mpz/set_f$U.lo \
|
|
mpz/set_q$U.lo mpz/set_si$U.lo mpz/set_str$U.lo mpz/set_ui$U.lo \
|
|
mpz/setbit$U.lo \
|
|
mpz/size$U.lo mpz/sizeinbase$U.lo mpz/sqrt$U.lo \
|
|
mpz/sqrtrem$U.lo mpz/sub$U.lo mpz/sub_ui$U.lo mpz/swap$U.lo \
|
|
mpz/tdiv_ui$U.lo mpz/tdiv_q$U.lo mpz/tdiv_q_2exp$U.lo \
|
|
mpz/tdiv_q_ui$U.lo mpz/tdiv_qr$U.lo mpz/tdiv_qr_ui$U.lo \
|
|
mpz/tdiv_r$U.lo mpz/tdiv_r_2exp$U.lo mpz/tdiv_r_ui$U.lo \
|
|
mpz/tstbit$U.lo mpz/ui_pow_ui$U.lo mpz/ui_sub$U.lo mpz/urandomb$U.lo \
|
|
mpz/urandomm$U.lo mpz/xor$U.lo
|
|
|
|
MPQ_OBJECTS = mpq/abs$U.lo mpq/aors$U.lo \
|
|
mpq/canonicalize$U.lo mpq/clear$U.lo \
|
|
mpq/cmp$U.lo mpq/cmp_si$U.lo mpq/cmp_ui$U.lo mpq/div$U.lo \
|
|
mpq/get_d$U.lo mpq/get_den$U.lo mpq/get_num$U.lo mpq/get_str$U.lo \
|
|
mpq/init$U.lo mpq/inp_str$U.lo mpq/inv$U.lo \
|
|
mpq/md_2exp$U.lo mpq/mul$U.lo mpq/neg$U.lo mpq/out_str$U.lo \
|
|
mpq/set$U.lo mpq/set_den$U.lo mpq/set_num$U.lo \
|
|
mpq/set_si$U.lo mpq/set_str$U.lo mpq/set_ui$U.lo \
|
|
mpq/equal$U.lo mpq/set_z$U.lo mpq/set_d$U.lo \
|
|
mpq/set_f$U.lo mpq/swap$U.lo
|
|
|
|
MPN_OBJECTS = mpn/fib_table$U.lo mpn/mp_bases$U.lo
|
|
PRINTF_OBJECTS = \
|
|
printf/asprintf$U.lo printf/asprntffuns$U.lo \
|
|
printf/doprnt$U.lo printf/doprntf$U.lo printf/doprnti$U.lo \
|
|
printf/fprintf$U.lo \
|
|
printf/obprintf$U.lo printf/obvprintf$U.lo printf/obprntffuns$U.lo \
|
|
printf/printf$U.lo printf/printffuns$U.lo \
|
|
printf/snprintf$U.lo printf/snprntffuns$U.lo \
|
|
printf/sprintf$U.lo printf/sprintffuns$U.lo \
|
|
printf/vasprintf$U.lo printf/vfprintf$U.lo printf/vprintf$U.lo \
|
|
printf/vsnprintf$U.lo printf/vsprintf$U.lo \
|
|
printf/repl-vsnprintf$U.lo
|
|
|
|
SCANF_OBJECTS = \
|
|
scanf/doscan$U.lo scanf/fscanf$U.lo scanf/fscanffuns$U.lo \
|
|
scanf/scanf$U.lo scanf/sscanf$U.lo scanf/sscanffuns$U.lo \
|
|
scanf/vfscanf$U.lo scanf/vscanf$U.lo scanf/vsscanf$U.lo
|
|
|
|
|
|
# no $U for C++ files
|
|
CXX_OBJECTS = \
|
|
cxx/isfuns.lo cxx/ismpf.lo cxx/ismpq.lo cxx/ismpz.lo cxx/ismpznw.lo \
|
|
cxx/osdoprnti.lo cxx/osfuns.lo \
|
|
cxx/osmpf.lo cxx/osmpq.lo cxx/osmpz.lo
|
|
|
|
MPBSD_OBJECTS = mpbsd/add$U.lo mpbsd/tdiv_qr$U.lo mpbsd/set$U.lo \
|
|
mpbsd/powm$U.lo mpbsd/sub$U.lo mpbsd/cmp$U.lo mpbsd/mfree$U.lo \
|
|
mpbsd/mtox$U.lo mpbsd/realloc$U.lo mpbsd/gcd$U.lo mpbsd/itom$U.lo \
|
|
mpbsd/min$U.lo mpbsd/mul$U.lo mpbsd/mout$U.lo mpbsd/rpow$U.lo \
|
|
mpbsd/sdiv$U.lo mpbsd/sqrtrem$U.lo mpbsd/xtom$U.lo
|
|
|
|
|
|
# In libtool 1.5 it doesn't work to build libgmp.la from the convenience
|
|
# libraries like mpz/libmpz.la. Or rather it works, but it ends up putting
|
|
# PIC objects into libgmp.a if shared and static are both built. (The PIC
|
|
# objects go into mpz/.libs/libmpz.a, and thence into .libs/libgmp.a.)
|
|
#
|
|
# For now the big lists of objects above are used. Something like mpz/*.lo
|
|
# would probably work, but might risk missing something out or getting
|
|
# something extra. The source files for each .lo are listed in the
|
|
# Makefile.am's in the subdirectories.
|
|
#
|
|
# Currently, for libgmp, unlike libmp below, we're not using
|
|
# -export-symbols, since the tune and speed programs, and perhaps some of
|
|
# the test programs, want to access undocumented symbols.
|
|
libgmp_la_SOURCES = gmp-impl.h longlong.h randmt.h \
|
|
assert.c compat.c errno.c extract-dbl.c invalid.c memory.c \
|
|
mp_bpl.c mp_clz_tab.c mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c \
|
|
rand.c randclr.c randdef.c randiset.c randlc2s.c randlc2x.c randmt.c \
|
|
randmts.c rands.c randsd.c randsdui.c randbui.c randmui.c version.c
|
|
|
|
EXTRA_libgmp_la_SOURCES = tal-debug.c tal-notreent.c tal-reent.c
|
|
libgmp_la_DEPENDENCIES = @TAL_OBJECT@ \
|
|
$(MPF_OBJECTS) $(MPZ_OBJECTS) $(MPQ_OBJECTS) \
|
|
$(MPN_OBJECTS) @mpn_objs_in_libgmp@ \
|
|
$(PRINTF_OBJECTS) $(SCANF_OBJECTS)
|
|
|
|
libgmp_la_LIBADD = $(libgmp_la_DEPENDENCIES)
|
|
libgmp_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMP_LDFLAGS) \
|
|
-version-info $(LIBGMP_LT_CURRENT):$(LIBGMP_LT_REVISION):$(LIBGMP_LT_AGE)
|
|
|
|
|
|
# We need at least one .cc file in $(libgmpxx_la_SOURCES) so automake will
|
|
# use $(CXXLINK) rather than the plain C $(LINK). cxx/dummy.cc is that
|
|
# file.
|
|
@WANT_CXX_TRUE@GMPXX_LTLIBRARIES_OPTION = libgmpxx.la
|
|
libgmpxx_la_SOURCES = cxx/dummy.cc
|
|
libgmpxx_la_DEPENDENCIES = $(CXX_OBJECTS) libgmp.la
|
|
libgmpxx_la_LIBADD = $(libgmpxx_la_DEPENDENCIES)
|
|
libgmpxx_la_LDFLAGS = $(GMP_LDFLAGS) $(LIBGMPXX_LDFLAGS) \
|
|
-version-info $(LIBGMPXX_LT_CURRENT):$(LIBGMPXX_LT_REVISION):$(LIBGMPXX_LT_AGE)
|
|
|
|
|
|
# The selected mpz objects here support mpz/powm.c (built as mpbsd/powm.lo)
|
|
# and can probably be removed when that switches to an mpn implementation.
|
|
# (Apart from mpz/n_pow_ui$U.lo, which supports mpbsd/rpow.c)
|
|
@WANT_MPBSD_TRUE@MPBSD_HEADERS_OPTION = mp.h
|
|
@WANT_MPBSD_TRUE@MPBSD_LTLIBRARIES_OPTION = libmp.la
|
|
libmp_la_SOURCES = assert.c errno.c memory.c mp_bpl.c mp_clz_tab.c \
|
|
mp_dv_tab.c mp_minv_tab.c mp_get_fns.c mp_set_fns.c
|
|
|
|
libmp_la_DEPENDENCIES = $(srcdir)/libmp.sym \
|
|
@TAL_OBJECT@ $(MPBSD_OBJECTS) $(MPN_OBJECTS) @mpn_objs_in_libmp@ \
|
|
mpz/add$U.lo mpz/gcdext$U.lo mpz/invert$U.lo mpz/mul$U.lo \
|
|
mpz/n_pow_ui$U.lo mpz/realloc$U.lo mpz/set$U.lo mpz/sub$U.lo \
|
|
mpz/tdiv_q$U.lo
|
|
|
|
libmp_la_LIBADD = $(libmp_la_DEPENDENCIES)
|
|
libmp_la_LDFLAGS = $(GMP_LDFLAGS) \
|
|
-version-info $(LIBMP_LT_CURRENT):$(LIBMP_LT_REVISION):$(LIBMP_LT_AGE) \
|
|
-export-symbols $(srcdir)/libmp.sym
|
|
|
|
all: $(BUILT_SOURCES) config.h
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .cc .lo .o .obj
|
|
am--refresh:
|
|
@:
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
|
|
@for dep in $?; do \
|
|
case '$(am__configure_deps)' in \
|
|
*$$dep*) \
|
|
echo ' cd $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps'; \
|
|
cd $(srcdir) && $(AUTOMAKE) --gnu --ignore-deps \
|
|
&& exit 0; \
|
|
exit 1;; \
|
|
esac; \
|
|
done; \
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps Makefile'; \
|
|
cd $(top_srcdir) && \
|
|
$(AUTOMAKE) --gnu --ignore-deps Makefile
|
|
.PRECIOUS: Makefile
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
@case '$?' in \
|
|
*config.status*) \
|
|
echo ' $(SHELL) ./config.status'; \
|
|
$(SHELL) ./config.status;; \
|
|
*) \
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
|
|
esac;
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(srcdir) && $(AUTOCONF)
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
|
|
|
|
config.h: stamp-h1
|
|
@if test ! -f $@; then \
|
|
rm -f stamp-h1; \
|
|
$(MAKE) $(AM_MAKEFLAGS) stamp-h1; \
|
|
else :; fi
|
|
|
|
stamp-h1: $(srcdir)/config.in $(top_builddir)/config.status
|
|
@rm -f stamp-h1
|
|
cd $(top_builddir) && $(SHELL) ./config.status config.h
|
|
$(srcdir)/config.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
cd $(top_srcdir) && $(AUTOHEADER)
|
|
rm -f stamp-h1
|
|
touch $@
|
|
|
|
distclean-hdr:
|
|
-rm -f config.h stamp-h1
|
|
gmp.h: $(top_builddir)/config.status $(srcdir)/gmp-h.in
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
|
mp.h: $(top_builddir)/config.status $(srcdir)/mp-h.in
|
|
cd $(top_builddir) && $(SHELL) ./config.status $@
|
|
install-libLTLIBRARIES: $(lib_LTLIBRARIES)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
|
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
if test -f $$p; then \
|
|
f=$(am__strip_dir) \
|
|
echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
|
|
$(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
|
|
else :; fi; \
|
|
done
|
|
|
|
uninstall-libLTLIBRARIES:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
p=$(am__strip_dir) \
|
|
echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
|
|
$(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
|
|
done
|
|
|
|
clean-libLTLIBRARIES:
|
|
-test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
|
|
@list='$(lib_LTLIBRARIES)'; for p in $$list; do \
|
|
dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
|
|
test "$$dir" != "$$p" || dir=.; \
|
|
echo "rm -f \"$${dir}/so_locations\""; \
|
|
rm -f "$${dir}/so_locations"; \
|
|
done
|
|
libgmp.la: $(libgmp_la_OBJECTS) $(libgmp_la_DEPENDENCIES)
|
|
$(libgmp_la_LINK) -rpath $(libdir) $(libgmp_la_OBJECTS) $(libgmp_la_LIBADD) $(LIBS)
|
|
libgmpxx.la: $(libgmpxx_la_OBJECTS) $(libgmpxx_la_DEPENDENCIES)
|
|
$(libgmpxx_la_LINK) $(am_libgmpxx_la_rpath) $(libgmpxx_la_OBJECTS) $(libgmpxx_la_LIBADD) $(LIBS)
|
|
libmp.la: $(libmp_la_OBJECTS) $(libmp_la_DEPENDENCIES)
|
|
$(libmp_la_LINK) $(am_libmp_la_rpath) $(libmp_la_OBJECTS) $(libmp_la_LIBADD) $(LIBS)
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.$(OBJEXT)
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
./ansi2knr: ansi2knr.$(OBJEXT)
|
|
$(LINK) ansi2knr.$(OBJEXT) $(LIBS)
|
|
ansi2knr.$(OBJEXT): $(CONFIG_HEADER)
|
|
|
|
clean-krextra:
|
|
-rm -f ansi2knr
|
|
|
|
mostlyclean-kr:
|
|
-test "$U" = "" || rm -f *_.c
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.c.obj:
|
|
$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
.c.lo:
|
|
$(LTCOMPILE) -c -o $@ $<
|
|
assert_.c: assert.c $(ANSI2KNR)
|
|
$(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 $@
|
|
compat_.c: compat.c $(ANSI2KNR)
|
|
$(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 $@
|
|
errno_.c: errno.c $(ANSI2KNR)
|
|
$(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 $@
|
|
extract-dbl_.c: extract-dbl.c $(ANSI2KNR)
|
|
$(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 $@
|
|
invalid_.c: invalid.c $(ANSI2KNR)
|
|
$(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 $@
|
|
memory_.c: memory.c $(ANSI2KNR)
|
|
$(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 $@
|
|
mp_bpl_.c: mp_bpl.c $(ANSI2KNR)
|
|
$(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 $@
|
|
mp_clz_tab_.c: mp_clz_tab.c $(ANSI2KNR)
|
|
$(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 $@
|
|
mp_dv_tab_.c: mp_dv_tab.c $(ANSI2KNR)
|
|
$(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 $@
|
|
mp_get_fns_.c: mp_get_fns.c $(ANSI2KNR)
|
|
$(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 $@
|
|
mp_minv_tab_.c: mp_minv_tab.c $(ANSI2KNR)
|
|
$(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 $@
|
|
mp_set_fns_.c: mp_set_fns.c $(ANSI2KNR)
|
|
$(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 $@
|
|
rand_.c: rand.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randbui_.c: randbui.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randclr_.c: randclr.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randdef_.c: randdef.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randiset_.c: randiset.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randlc2s_.c: randlc2s.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randlc2x_.c: randlc2x.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randmt_.c: randmt.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randmts_.c: randmts.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randmui_.c: randmui.c $(ANSI2KNR)
|
|
$(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 $@
|
|
rands_.c: rands.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randsd_.c: randsd.c $(ANSI2KNR)
|
|
$(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 $@
|
|
randsdui_.c: randsdui.c $(ANSI2KNR)
|
|
$(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 $@
|
|
tal-debug_.c: tal-debug.c $(ANSI2KNR)
|
|
$(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 $@
|
|
tal-notreent_.c: tal-notreent.c $(ANSI2KNR)
|
|
$(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 $@
|
|
tal-reent_.c: tal-reent.c $(ANSI2KNR)
|
|
$(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 $@
|
|
version_.c: version.c $(ANSI2KNR)
|
|
$(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 $@
|
|
assert_.$(OBJEXT) assert_.lo compat_.$(OBJEXT) compat_.lo \
|
|
errno_.$(OBJEXT) errno_.lo extract-dbl_.$(OBJEXT) extract-dbl_.lo \
|
|
invalid_.$(OBJEXT) invalid_.lo memory_.$(OBJEXT) memory_.lo \
|
|
mp_bpl_.$(OBJEXT) mp_bpl_.lo mp_clz_tab_.$(OBJEXT) mp_clz_tab_.lo \
|
|
mp_dv_tab_.$(OBJEXT) mp_dv_tab_.lo mp_get_fns_.$(OBJEXT) \
|
|
mp_get_fns_.lo mp_minv_tab_.$(OBJEXT) mp_minv_tab_.lo \
|
|
mp_set_fns_.$(OBJEXT) mp_set_fns_.lo rand_.$(OBJEXT) rand_.lo \
|
|
randbui_.$(OBJEXT) randbui_.lo randclr_.$(OBJEXT) randclr_.lo \
|
|
randdef_.$(OBJEXT) randdef_.lo randiset_.$(OBJEXT) randiset_.lo \
|
|
randlc2s_.$(OBJEXT) randlc2s_.lo randlc2x_.$(OBJEXT) randlc2x_.lo \
|
|
randmt_.$(OBJEXT) randmt_.lo randmts_.$(OBJEXT) randmts_.lo \
|
|
randmui_.$(OBJEXT) randmui_.lo rands_.$(OBJEXT) rands_.lo \
|
|
randsd_.$(OBJEXT) randsd_.lo randsdui_.$(OBJEXT) randsdui_.lo \
|
|
tal-debug_.$(OBJEXT) tal-debug_.lo tal-notreent_.$(OBJEXT) \
|
|
tal-notreent_.lo tal-reent_.$(OBJEXT) tal-reent_.lo version_.$(OBJEXT) \
|
|
version_.lo : $(ANSI2KNR)
|
|
|
|
.cc.o:
|
|
$(CXXCOMPILE) -c -o $@ $<
|
|
|
|
.cc.obj:
|
|
$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
|
|
|
.cc.lo:
|
|
$(LTCXXCOMPILE) -c -o $@ $<
|
|
|
|
dummy.lo: cxx/dummy.cc
|
|
$(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
|
|
|
|
mostlyclean-libtool:
|
|
-rm -f *.lo
|
|
|
|
clean-libtool:
|
|
-rm -rf .libs _libs
|
|
|
|
distclean-libtool:
|
|
-rm -f libtool
|
|
install-includeHEADERS: $(include_HEADERS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
f=$(am__strip_dir) \
|
|
echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \
|
|
$(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \
|
|
done
|
|
|
|
uninstall-includeHEADERS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
|
f=$(am__strip_dir) \
|
|
echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \
|
|
rm -f "$(DESTDIR)$(includedir)/$$f"; \
|
|
done
|
|
install-nodist_includeexecHEADERS: $(nodist_includeexec_HEADERS)
|
|
@$(NORMAL_INSTALL)
|
|
test -z "$(includeexecdir)" || $(MKDIR_P) "$(DESTDIR)$(includeexecdir)"
|
|
@list='$(nodist_includeexec_HEADERS)'; for p in $$list; do \
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
f=$(am__strip_dir) \
|
|
echo " $(nodist_includeexecHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includeexecdir)/$$f'"; \
|
|
$(nodist_includeexecHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includeexecdir)/$$f"; \
|
|
done
|
|
|
|
uninstall-nodist_includeexecHEADERS:
|
|
@$(NORMAL_UNINSTALL)
|
|
@list='$(nodist_includeexec_HEADERS)'; for p in $$list; do \
|
|
f=$(am__strip_dir) \
|
|
echo " rm -f '$(DESTDIR)$(includeexecdir)/$$f'"; \
|
|
rm -f "$(DESTDIR)$(includeexecdir)/$$f"; \
|
|
done
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
# into them and run `make' without going through this Makefile.
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
$(RECURSIVE_TARGETS):
|
|
@failcom='exit 1'; \
|
|
for f in x $$MAKEFLAGS; do \
|
|
case $$f in \
|
|
*=* | --[!k]*);; \
|
|
*k*) failcom='fail=yes';; \
|
|
esac; \
|
|
done; \
|
|
dot_seen=no; \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
echo "Making $$target in $$subdir"; \
|
|
if test "$$subdir" = "."; then \
|
|
dot_seen=yes; \
|
|
local_target="$$target-am"; \
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| eval $$failcom; \
|
|
done; \
|
|
if test "$$dot_seen" = "no"; then \
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
fi; test -z "$$fail"
|
|
|
|
$(RECURSIVE_CLEAN_TARGETS):
|
|
@failcom='exit 1'; \
|
|
for f in x $$MAKEFLAGS; do \
|
|
case $$f in \
|
|
*=* | --[!k]*);; \
|
|
*k*) failcom='fail=yes';; \
|
|
esac; \
|
|
done; \
|
|
dot_seen=no; \
|
|
case "$@" in \
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
*) list='$(SUBDIRS)' ;; \
|
|
esac; \
|
|
rev=''; for subdir in $$list; do \
|
|
if test "$$subdir" = "."; then :; else \
|
|
rev="$$subdir $$rev"; \
|
|
fi; \
|
|
done; \
|
|
rev="$$rev ."; \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
for subdir in $$rev; do \
|
|
echo "Making $$target in $$subdir"; \
|
|
if test "$$subdir" = "."; then \
|
|
local_target="$$target-am"; \
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| eval $$failcom; \
|
|
done && test -z "$$fail"
|
|
tags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
done
|
|
ctags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
|
done
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
mkid -fID $$unique
|
|
tags: TAGS
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
|
include_option=--etags-include; \
|
|
empty_fix=.; \
|
|
else \
|
|
include_option=--include; \
|
|
empty_fix=; \
|
|
fi; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test ! -f $$subdir/TAGS || \
|
|
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
|
fi; \
|
|
done; \
|
|
list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
$$tags $$unique; \
|
|
fi
|
|
ctags: CTAGS
|
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.in $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS) config.in $(LISP) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
$$tags $$unique
|
|
|
|
GTAGS:
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
&& cd $(top_srcdir) \
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
|
distdir: $(DISTFILES)
|
|
$(am__remove_distdir)
|
|
test -d $(distdir) || mkdir $(distdir)
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
list='$(DISTFILES)'; \
|
|
dist_files=`for file in $$list; do echo $$file; done | \
|
|
sed -e "s|^$$srcdirstrip/||;t" \
|
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
|
case $$dist_files in \
|
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
|
sort -u` ;; \
|
|
esac; \
|
|
for file in $$dist_files; do \
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
|
fi; \
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test -d "$(distdir)/$$subdir" \
|
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
|
|| exit 1; \
|
|
distdir=`$(am__cd) $(distdir) && pwd`; \
|
|
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
|
(cd $$subdir && \
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
top_distdir="$$top_distdir" \
|
|
distdir="$$distdir/$$subdir" \
|
|
am__remove_distdir=: \
|
|
am__skip_length_check=: \
|
|
distdir) \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
top_distdir="$(top_distdir)" distdir="$(distdir)" \
|
|
dist-hook
|
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
|
|
|| chmod -R a+r $(distdir)
|
|
dist-gzip: distdir
|
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
$(am__remove_distdir)
|
|
|
|
dist-bzip2: distdir
|
|
tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
|
|
$(am__remove_distdir)
|
|
|
|
dist-tarZ: distdir
|
|
tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
|
|
$(am__remove_distdir)
|
|
|
|
dist-shar: distdir
|
|
shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
|
|
$(am__remove_distdir)
|
|
|
|
dist-zip: distdir
|
|
-rm -f $(distdir).zip
|
|
zip -rq $(distdir).zip $(distdir)
|
|
$(am__remove_distdir)
|
|
|
|
dist dist-all: distdir
|
|
tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
$(am__remove_distdir)
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
# it guarantees that the distribution is self-contained by making another
|
|
# tarfile.
|
|
distcheck: dist
|
|
case '$(DIST_ARCHIVES)' in \
|
|
*.tar.gz*) \
|
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
|
|
*.tar.bz2*) \
|
|
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
|
|
*.tar.Z*) \
|
|
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
|
|
*.shar.gz*) \
|
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
|
|
*.zip*) \
|
|
unzip $(distdir).zip ;;\
|
|
esac
|
|
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
|
mkdir $(distdir)/_build
|
|
mkdir $(distdir)/_inst
|
|
chmod a-w $(distdir)
|
|
dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
|
|
&& dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
|
|
&& cd $(distdir)/_build \
|
|
&& ../configure --srcdir=.. --prefix="$$dc_install_base" \
|
|
$(DISTCHECK_CONFIGURE_FLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
|
|
distuninstallcheck \
|
|
&& chmod -R a-w "$$dc_install_base" \
|
|
&& ({ \
|
|
(cd ../.. && umask 077 && mkdir "$$dc_destdir") \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
|
|
distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
|
|
} || { rm -rf "$$dc_destdir"; exit 1; }) \
|
|
&& rm -rf "$$dc_destdir" \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
|
&& rm -rf $(DIST_ARCHIVES) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) distcleancheck
|
|
$(am__remove_distdir)
|
|
@(echo "$(distdir) archives ready for distribution: "; \
|
|
list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
|
|
sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
|
|
distuninstallcheck:
|
|
@cd $(distuninstallcheck_dir) \
|
|
&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
|
|
|| { echo "ERROR: files left after uninstall:" ; \
|
|
if test -n "$(DESTDIR)"; then \
|
|
echo " (check DESTDIR support)"; \
|
|
fi ; \
|
|
$(distuninstallcheck_listfiles) ; \
|
|
exit 1; } >&2
|
|
distcleancheck: distclean
|
|
@if test '$(srcdir)' = . ; then \
|
|
echo "ERROR: distcleancheck can only run from a VPATH build" ; \
|
|
exit 1 ; \
|
|
fi
|
|
@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
|
|
|| { echo "ERROR: files left in build directory after distclean:" ; \
|
|
$(distcleancheck_listfiles) ; \
|
|
exit 1; } >&2
|
|
check-am: all-am
|
|
check: $(BUILT_SOURCES)
|
|
$(MAKE) $(AM_MAKEFLAGS) check-recursive
|
|
all-am: Makefile $(ANSI2KNR) $(LTLIBRARIES) $(HEADERS) config.h
|
|
installdirs: installdirs-recursive
|
|
installdirs-am:
|
|
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" "$(DESTDIR)$(includeexecdir)"; do \
|
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
|
done
|
|
install: $(BUILT_SOURCES)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-recursive
|
|
install-exec: install-exec-recursive
|
|
install-data: install-data-recursive
|
|
uninstall: uninstall-recursive
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-recursive
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
`test -z '$(STRIP)' || \
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
|
|
clean: clean-recursive
|
|
|
|
clean-am: clean-generic clean-krextra clean-libLTLIBRARIES \
|
|
clean-libtool mostlyclean-am
|
|
|
|
distclean: distclean-recursive
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
-rm -f Makefile
|
|
distclean-am: clean-am distclean-compile distclean-generic \
|
|
distclean-hdr distclean-libtool distclean-tags
|
|
|
|
dvi: dvi-recursive
|
|
|
|
dvi-am:
|
|
|
|
html: html-recursive
|
|
|
|
info: info-recursive
|
|
|
|
info-am:
|
|
|
|
install-data-am: install-includeHEADERS
|
|
@$(NORMAL_INSTALL)
|
|
$(MAKE) $(AM_MAKEFLAGS) install-data-hook
|
|
|
|
install-dvi: install-dvi-recursive
|
|
|
|
install-exec-am: install-libLTLIBRARIES \
|
|
install-nodist_includeexecHEADERS
|
|
|
|
install-html: install-html-recursive
|
|
|
|
install-info: install-info-recursive
|
|
|
|
install-man:
|
|
|
|
install-pdf: install-pdf-recursive
|
|
|
|
install-ps: install-ps-recursive
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
|
|
-rm -rf $(top_srcdir)/autom4te.cache
|
|
-rm -f Makefile
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
|
|
mostlyclean-libtool
|
|
|
|
pdf: pdf-recursive
|
|
|
|
pdf-am:
|
|
|
|
ps: ps-recursive
|
|
|
|
ps-am:
|
|
|
|
uninstall-am: uninstall-includeHEADERS uninstall-libLTLIBRARIES \
|
|
uninstall-nodist_includeexecHEADERS
|
|
|
|
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
|
install-data-am install-strip
|
|
|
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
|
all all-am am--refresh check check-am clean clean-generic \
|
|
clean-krextra clean-libLTLIBRARIES clean-libtool ctags \
|
|
ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \
|
|
dist-shar dist-tarZ dist-zip distcheck distclean \
|
|
distclean-compile distclean-generic distclean-hdr \
|
|
distclean-libtool distclean-tags distcleancheck distdir \
|
|
distuninstallcheck dvi dvi-am html html-am info info-am \
|
|
install install-am install-data install-data-am \
|
|
install-data-hook install-dvi install-dvi-am install-exec \
|
|
install-exec-am install-html install-html-am \
|
|
install-includeHEADERS install-info install-info-am \
|
|
install-libLTLIBRARIES install-man \
|
|
install-nodist_includeexecHEADERS install-pdf install-pdf-am \
|
|
install-ps install-ps-am install-strip installcheck \
|
|
installcheck-am installdirs installdirs-am maintainer-clean \
|
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
|
mostlyclean-generic mostlyclean-kr mostlyclean-libtool pdf \
|
|
pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
|
|
uninstall-includeHEADERS uninstall-libLTLIBRARIES \
|
|
uninstall-nodist_includeexecHEADERS
|
|
|
|
|
|
install-data-hook:
|
|
@echo ''
|
|
@echo '+-------------------------------------------------------------+'
|
|
@echo '| CAUTION: |'
|
|
@echo '| |'
|
|
@echo '| If you have not already run "make check", then we strongly |'
|
|
@echo '| recommend you do so. |'
|
|
@echo '| |'
|
|
@echo '| GMP has been carefully tested by its authors, but compilers |'
|
|
@echo '| are all too often released with serious bugs. GMP tends to |'
|
|
@echo '| explore interesting corners in compilers and has hit bugs |'
|
|
@echo '| on quite a few occasions. |'
|
|
@echo '| |'
|
|
@echo '+-------------------------------------------------------------+'
|
|
@echo ''
|
|
|
|
mpz/fac_ui.h: gen-fac_ui$(EXEEXT_FOR_BUILD)
|
|
./gen-fac_ui $(BITS_PER_MP_LIMB) $(GMP_NAIL_BITS) >mpz/fac_ui.h || (rm -f mpz/fac_ui.h; exit 1)
|
|
|
|
gen-fac_ui$(EXEEXT_FOR_BUILD): gen-fac_ui$(U_FOR_BUILD).c dumbmp.c
|
|
$(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)
|
|
|
|
gen-fac_ui_.c: gen-fac_ui.c $(ANSI2KNR)
|
|
$(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
|
|
|
|
fib_table.h: gen-fib$(EXEEXT_FOR_BUILD)
|
|
./gen-fib header $(BITS_PER_MP_LIMB) $(GMP_NAIL_BITS) >fib_table.h || (rm -f fib_table.h; exit 1)
|
|
|
|
mpn/fib_table.c: gen-fib$(EXEEXT_FOR_BUILD)
|
|
./gen-fib table $(BITS_PER_MP_LIMB) $(GMP_NAIL_BITS) >mpn/fib_table.c || (rm -f mpn/fib_table.c; exit 1)
|
|
|
|
gen-fib$(EXEEXT_FOR_BUILD): gen-fib$(U_FOR_BUILD).c dumbmp.c
|
|
$(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)
|
|
|
|
gen-fib_.c: gen-fib.c $(ANSI2KNR)
|
|
$(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
|
|
|
|
mp_bases.h: gen-bases$(EXEEXT_FOR_BUILD)
|
|
./gen-bases header $(BITS_PER_MP_LIMB) $(GMP_NAIL_BITS) >mp_bases.h || (rm -f mp_bases.h; exit 1)
|
|
|
|
mpn/mp_bases.c: gen-bases$(EXEEXT_FOR_BUILD)
|
|
./gen-bases table $(BITS_PER_MP_LIMB) $(GMP_NAIL_BITS) >mpn/mp_bases.c || (rm -f mpn/mp_bases.c; exit 1)
|
|
|
|
gen-bases$(EXEEXT_FOR_BUILD): gen-bases$(U_FOR_BUILD).c dumbmp.c
|
|
$(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)
|
|
|
|
gen-bases_.c: gen-bases.c $(ANSI2KNR)
|
|
$(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
|
|
|
|
mpn/perfsqr.h: gen-psqr$(EXEEXT_FOR_BUILD)
|
|
./gen-psqr $(BITS_PER_MP_LIMB) $(GMP_NAIL_BITS) >mpn/perfsqr.h || (rm -f mpn/perfsqr.h; exit 1)
|
|
|
|
gen-psqr$(EXEEXT_FOR_BUILD): gen-psqr$(U_FOR_BUILD).c dumbmp.c
|
|
$(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)
|
|
|
|
gen-psqr_.c: gen-psqr.c $(ANSI2KNR)
|
|
$(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
|
|
|
|
# Avoid: CVS - cvs directories
|
|
# *~ - emacs backups
|
|
# .#* - cvs merge originals
|
|
#
|
|
# *~ and .#* only occur when a whole directory without it's own Makefile.am
|
|
# is distributed, like "doc" or the mpn cpu subdirectories.
|
|
#
|
|
dist-hook:
|
|
-find $(distdir) \( -name CVS -type d \) -o -name "*~" -o -name ".#*" \
|
|
| xargs rm -rf
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|