2010-07-22 12:02:34 -04:00
|
|
|
# Makefile.in generated by automake 1.11.1 from Makefile.am.
|
2008-04-17 17:03:07 -04:00
|
|
|
# @configure_input@
|
|
|
|
|
|
|
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
2010-07-22 12:02:34 -04:00
|
|
|
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
|
|
|
# Inc.
|
2008-04-17 17:03:07 -04:00
|
|
|
# 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 2000, 2001, 2002, 2003, 2005 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.
|
|
|
|
|
|
|
|
# Copyright 1996, 1998, 1999, 2000, 2001, 2002 Free Software Foundation,
|
|
|
|
# Inc.
|
|
|
|
#
|
2008-07-24 17:15:19 -04:00
|
|
|
# Copyright 2008 William Hart
|
2008-04-17 17:03:07 -04:00
|
|
|
#
|
2008-07-24 17:15:19 -04:00
|
|
|
# This file is part of the MPIR Library.
|
|
|
|
#
|
|
|
|
# The MPIR Library is free software; you can redistribute it and/or modify
|
2008-04-17 17:03:07 -04:00
|
|
|
# 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.
|
|
|
|
#
|
2008-07-24 17:15:19 -04:00
|
|
|
# The MPIR Library is distributed in the hope that it will be useful, but
|
2008-04-17 17:03:07 -04:00
|
|
|
# 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
|
2008-07-24 17:15:19 -04:00
|
|
|
# along with the MPIR Library; see the file COPYING.LIB. If not, write to
|
2008-04-17 17:03:07 -04:00
|
|
|
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
|
|
# MA 02110-1301, USA.
|
|
|
|
|
|
|
|
VPATH = @srcdir@
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
2010-07-21 14:22:11 -04:00
|
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
2010-07-22 12:02:34 -04:00
|
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
|
|
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
2008-04-17 17:03:07 -04:00
|
|
|
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 = :
|
2008-05-26 18:20:33 -04:00
|
|
|
build_triplet = @build@
|
2008-04-17 17:03:07 -04:00
|
|
|
host_triplet = @host@
|
|
|
|
EXTRA_PROGRAMS = speed$(EXEEXT) speed-dynamic$(EXEEXT) \
|
|
|
|
speed-ext$(EXEEXT) tuneup$(EXEEXT)
|
|
|
|
DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/../mpn/Makeasm.am \
|
|
|
|
$(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
|
|
|
subdir = tune
|
|
|
|
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)
|
2008-05-26 18:20:33 -04:00
|
|
|
mkinstalldirs = $(install_sh) -d
|
2008-04-17 17:03:07 -04:00
|
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
|
|
CONFIG_CLEAN_FILES =
|
2010-07-22 12:02:34 -04:00
|
|
|
CONFIG_CLEAN_VPATH_FILES =
|
2008-04-17 17:03:07 -04:00
|
|
|
am__DEPENDENCIES_1 =
|
|
|
|
am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) \
|
2009-02-12 07:50:13 -05:00
|
|
|
$(top_builddir)/tests/libtests.la $(top_builddir)/libmpir.la
|
2009-08-12 23:07:39 -04:00
|
|
|
am_libspeed_la_OBJECTS = common.lo divrem1div.lo divrem1inv.lo \
|
2010-06-28 06:36:46 -04:00
|
|
|
divrem2div.lo divrem2inv.lo freq.lo gcd_bin.lo gcdextod.lo \
|
2009-08-12 23:07:39 -04:00
|
|
|
gcdextos.lo jacbase1.lo jacbase2.lo jacbase3.lo mod_1_div.lo \
|
|
|
|
mod_1_inv.lo modlinv.lo noop.lo powm_mod.lo powm_redc.lo \
|
2010-08-13 10:28:46 -04:00
|
|
|
preinv_divrem_1.lo fac_ui_large.lo fac_ui_small.lo set_strb.lo \
|
2010-03-14 12:02:32 -04:00
|
|
|
set_strs.lo set_strp.lo time.lo
|
2008-04-17 17:03:07 -04:00
|
|
|
libspeed_la_OBJECTS = $(am_libspeed_la_OBJECTS)
|
2010-07-16 10:41:05 -04:00
|
|
|
libspeed_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
|
|
$(libspeed_la_LDFLAGS) $(LDFLAGS) -o $@
|
2009-08-12 23:07:39 -04:00
|
|
|
am_speed_OBJECTS = speed.$(OBJEXT)
|
2008-04-17 17:03:07 -04:00
|
|
|
speed_OBJECTS = $(am_speed_OBJECTS)
|
|
|
|
speed_LDADD = $(LDADD)
|
2010-07-16 10:41:05 -04:00
|
|
|
speed_DEPENDENCIES = $(DEPENDENCIES)
|
|
|
|
speed_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(speed_LDFLAGS) \
|
|
|
|
$(LDFLAGS) -o $@
|
2009-08-12 23:07:39 -04:00
|
|
|
am_speed_dynamic_OBJECTS = speed.$(OBJEXT)
|
2008-04-17 17:03:07 -04:00
|
|
|
speed_dynamic_OBJECTS = $(am_speed_dynamic_OBJECTS)
|
|
|
|
speed_dynamic_LDADD = $(LDADD)
|
2010-07-16 10:41:05 -04:00
|
|
|
speed_dynamic_DEPENDENCIES = $(DEPENDENCIES)
|
2009-08-12 23:07:39 -04:00
|
|
|
am_speed_ext_OBJECTS = speed-ext.$(OBJEXT)
|
2008-04-17 17:03:07 -04:00
|
|
|
speed_ext_OBJECTS = $(am_speed_ext_OBJECTS)
|
|
|
|
speed_ext_LDADD = $(LDADD)
|
2010-07-16 10:41:05 -04:00
|
|
|
speed_ext_DEPENDENCIES = $(DEPENDENCIES)
|
|
|
|
speed_ext_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
|
|
$(speed_ext_LDFLAGS) $(LDFLAGS) -o $@
|
2009-08-12 23:07:39 -04:00
|
|
|
am_tuneup_OBJECTS = tuneup.$(OBJEXT)
|
2010-03-14 12:14:21 -04:00
|
|
|
am__objects_1 = divrem_2.$(OBJEXT) gcd.$(OBJEXT) gcdext.$(OBJEXT) \
|
|
|
|
get_str.$(OBJEXT) mul_n.$(OBJEXT) mullow_n.$(OBJEXT) \
|
|
|
|
mulhigh_n.$(OBJEXT) mul_fft.$(OBJEXT) mul.$(OBJEXT) \
|
2010-03-14 18:42:55 -04:00
|
|
|
tdiv_qr.$(OBJEXT) toom4_mul_n.$(OBJEXT) toom4_mul.$(OBJEXT) \
|
|
|
|
toom3_mul.$(OBJEXT) toom3_mul_n.$(OBJEXT) toom8h_mul.$(OBJEXT) \
|
|
|
|
toom8_sqr_n.$(OBJEXT) mulmod_2expm1.$(OBJEXT) \
|
|
|
|
rootrem.$(OBJEXT) divrem_euclidean_r_1.$(OBJEXT) \
|
|
|
|
divrem_hensel_qr_1.$(OBJEXT) rsh_divrem_hensel_qr_1.$(OBJEXT) \
|
|
|
|
dc_divappr_q.$(OBJEXT) dc_div_qr.$(OBJEXT) \
|
2010-08-13 15:30:08 -04:00
|
|
|
dc_div_qr_n.$(OBJEXT) inv_divappr_q.$(OBJEXT) \
|
|
|
|
inv_div_qr.$(OBJEXT) tdiv_q.$(OBJEXT) dc_bdiv_qr.$(OBJEXT) \
|
|
|
|
dc_bdiv_qr_n.$(OBJEXT) dc_bdiv_q.$(OBJEXT)
|
2009-08-12 23:07:39 -04:00
|
|
|
am__objects_2 = $(am__objects_1) divrem_1.$(OBJEXT) mod_1.$(OBJEXT)
|
|
|
|
nodist_tuneup_OBJECTS = sqr_basecase.$(OBJEXT) $(am__objects_2)
|
2008-04-17 17:03:07 -04:00
|
|
|
tuneup_OBJECTS = $(am_tuneup_OBJECTS) $(nodist_tuneup_OBJECTS)
|
2010-07-16 10:41:05 -04:00
|
|
|
am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) libspeed.la
|
|
|
|
tuneup_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(tuneup_LDFLAGS) \
|
|
|
|
$(LDFLAGS) -o $@
|
|
|
|
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
|
2008-04-17 17:03:07 -04:00
|
|
|
depcomp =
|
|
|
|
am__depfiles_maybe =
|
|
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2010-07-16 10:41:05 -04:00
|
|
|
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
|
|
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
2008-04-17 17:03:07 -04:00
|
|
|
CCLD = $(CC)
|
2010-07-16 10:41:05 -04:00
|
|
|
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
|
|
|
|
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
|
|
|
|
$(LDFLAGS) -o $@
|
2008-04-17 17:03:07 -04:00
|
|
|
SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
|
|
|
|
$(speed_dynamic_SOURCES) $(speed_ext_SOURCES) \
|
|
|
|
$(tuneup_SOURCES) $(nodist_tuneup_SOURCES)
|
|
|
|
DIST_SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
|
|
|
|
$(speed_dynamic_SOURCES) $(speed_ext_SOURCES) \
|
|
|
|
$(tuneup_SOURCES)
|
|
|
|
HEADERS = $(noinst_HEADERS)
|
|
|
|
ETAGS = etags
|
|
|
|
CTAGS = ctags
|
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
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@
|
2010-07-16 10:41:05 -04:00
|
|
|
DSYMUTIL = @DSYMUTIL@
|
2010-07-22 12:02:34 -04:00
|
|
|
DUMPBIN = @DUMPBIN@
|
2008-04-17 17:03:07 -04:00
|
|
|
ECHO_C = @ECHO_C@
|
|
|
|
ECHO_N = @ECHO_N@
|
|
|
|
ECHO_T = @ECHO_T@
|
|
|
|
EGREP = @EGREP@
|
|
|
|
EXEEXT = @EXEEXT@
|
|
|
|
EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
|
2010-07-22 12:02:34 -04:00
|
|
|
FGREP = @FGREP@
|
2009-04-11 16:51:08 -04:00
|
|
|
GMP_CC = @GMP_CC@
|
|
|
|
GMP_CFLAGS = @GMP_CFLAGS@
|
2008-04-17 17:03:07 -04:00
|
|
|
GMP_LDFLAGS = @GMP_LDFLAGS@
|
|
|
|
GMP_NAIL_BITS = @GMP_NAIL_BITS@
|
2008-05-26 18:20:33 -04:00
|
|
|
GREP = @GREP@
|
2008-06-15 14:46:08 -04:00
|
|
|
GSYM_FLAG = @GSYM_FLAG@
|
2010-07-16 10:41:05 -04:00
|
|
|
INSTALL = @INSTALL@
|
2008-04-17 17:03:07 -04:00
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
2010-07-22 12:02:34 -04:00
|
|
|
LD = @LD@
|
2008-04-17 17:03:07 -04:00
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
|
|
|
|
LIBGMP_DLL = @LIBGMP_DLL@
|
|
|
|
LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
|
|
|
|
LIBM = @LIBM@
|
|
|
|
LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
|
|
|
|
LIBOBJS = @LIBOBJS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
LIBTOOL = @LIBTOOL@
|
2010-07-22 12:02:34 -04:00
|
|
|
LIPO = @LIPO@
|
2008-04-17 17:03:07 -04:00
|
|
|
LN_S = @LN_S@
|
|
|
|
LTLIBOBJS = @LTLIBOBJS@
|
|
|
|
M4 = @M4@
|
|
|
|
MAINT = @MAINT@
|
|
|
|
MAKEINFO = @MAKEINFO@
|
2011-03-05 11:47:46 -05:00
|
|
|
MANIFEST_TOOL = @MANIFEST_TOOL@
|
2009-12-06 20:06:47 -05:00
|
|
|
MKDIR_P = @MKDIR_P@
|
2008-05-26 18:20:33 -04:00
|
|
|
MPIR_AS = @MPIR_AS@
|
2010-07-22 12:02:34 -04:00
|
|
|
NM = @NM@
|
2010-07-16 10:41:05 -04:00
|
|
|
NMEDIT = @NMEDIT@
|
2008-04-17 17:03:07 -04:00
|
|
|
OBJDUMP = @OBJDUMP@
|
2008-05-30 00:39:25 -04:00
|
|
|
OBJECT_FORMAT = @OBJECT_FORMAT@
|
2008-04-17 17:03:07 -04:00
|
|
|
OBJEXT = @OBJEXT@
|
2010-07-22 12:02:34 -04:00
|
|
|
OTOOL = @OTOOL@
|
|
|
|
OTOOL64 = @OTOOL64@
|
2008-04-17 17:03:07 -04:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
|
|
PACKAGE_NAME = @PACKAGE_NAME@
|
|
|
|
PACKAGE_STRING = @PACKAGE_STRING@
|
|
|
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
2010-07-22 12:02:34 -04:00
|
|
|
PACKAGE_URL = @PACKAGE_URL@
|
2008-04-17 17:03:07 -04:00
|
|
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
|
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
|
|
|
RANLIB = @RANLIB@
|
2009-06-01 10:18:24 -04:00
|
|
|
SED = @SED@
|
2008-04-17 17:03:07 -04:00
|
|
|
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_FOR_BUILD = @U_FOR_BUILD@
|
|
|
|
VERSION = @VERSION@
|
2010-07-16 10:41:05 -04:00
|
|
|
abs_builddir = @abs_builddir@
|
|
|
|
abs_srcdir = @abs_srcdir@
|
|
|
|
abs_top_builddir = @abs_top_builddir@
|
|
|
|
abs_top_srcdir = @abs_top_srcdir@
|
2011-03-05 11:47:46 -05:00
|
|
|
ac_ct_AR = @ac_ct_AR@
|
2008-04-17 17:03:07 -04:00
|
|
|
ac_ct_CC = @ac_ct_CC@
|
|
|
|
ac_ct_CXX = @ac_ct_CXX@
|
2010-07-22 12:02:34 -04:00
|
|
|
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
|
2008-04-17 17:03:07 -04:00
|
|
|
am__leading_dot = @am__leading_dot@
|
2008-05-26 18:20:33 -04:00
|
|
|
am__tar = @am__tar@
|
|
|
|
am__untar = @am__untar@
|
2008-04-17 17:03:07 -04:00
|
|
|
bindir = @bindir@
|
|
|
|
build = @build@
|
|
|
|
build_alias = @build_alias@
|
|
|
|
build_cpu = @build_cpu@
|
|
|
|
build_os = @build_os@
|
|
|
|
build_vendor = @build_vendor@
|
2010-07-16 10:41:05 -04:00
|
|
|
builddir = @builddir@
|
2008-04-17 17:03:07 -04:00
|
|
|
datadir = @datadir@
|
2008-05-26 18:20:33 -04:00
|
|
|
datarootdir = @datarootdir@
|
|
|
|
docdir = @docdir@
|
|
|
|
dvidir = @dvidir@
|
2008-04-17 17:03:07 -04:00
|
|
|
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@
|
2008-05-26 18:20:33 -04:00
|
|
|
htmldir = @htmldir@
|
2008-04-17 17:03:07 -04:00
|
|
|
includedir = @includedir@
|
|
|
|
infodir = @infodir@
|
|
|
|
install_sh = @install_sh@
|
|
|
|
libdir = @libdir@
|
|
|
|
libexecdir = @libexecdir@
|
2008-05-26 18:20:33 -04:00
|
|
|
localedir = @localedir@
|
2008-04-17 17:03:07 -04:00
|
|
|
localstatedir = @localstatedir@
|
|
|
|
mandir = @mandir@
|
|
|
|
mkdir_p = @mkdir_p@
|
|
|
|
mpn_objects = @mpn_objects@
|
|
|
|
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
|
|
|
|
oldincludedir = @oldincludedir@
|
2008-05-26 18:20:33 -04:00
|
|
|
pdfdir = @pdfdir@
|
2008-04-17 17:03:07 -04:00
|
|
|
prefix = @prefix@
|
|
|
|
program_transform_name = @program_transform_name@
|
2008-05-26 18:20:33 -04:00
|
|
|
psdir = @psdir@
|
2008-04-17 17:03:07 -04:00
|
|
|
sbindir = @sbindir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
2010-07-16 10:41:05 -04:00
|
|
|
srcdir = @srcdir@
|
2009-03-03 16:40:13 -05:00
|
|
|
subdirs = @subdirs@
|
2008-04-17 17:03:07 -04:00
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
target_alias = @target_alias@
|
2010-07-22 12:02:34 -04:00
|
|
|
top_build_prefix = @top_build_prefix@
|
2010-07-16 10:41:05 -04:00
|
|
|
top_builddir = @top_builddir@
|
|
|
|
top_srcdir = @top_srcdir@
|
2008-04-17 17:03:07 -04:00
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tests
|
2009-03-15 11:51:47 -04:00
|
|
|
EXTRA_DIST = alpha.asm pentium.asm sparcv9.asm hppa.asm hppa2.asm hppa2w.asm \
|
|
|
|
ia64.asm powerpc.asm powerpc64.asm x86_64.as many.pl
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
noinst_HEADERS = speed.h
|
|
|
|
@ENABLE_STATIC_FALSE@STATIC =
|
|
|
|
|
|
|
|
# Prefer -static on the speed and tune programs, since that can avoid
|
|
|
|
# overheads of shared library linkages on some systems. Libtool tends to
|
|
|
|
# botch -static if configured with --disable-static, perhaps reasonably
|
|
|
|
# enough. In any event under --disable-static the only choice is a dynamic
|
|
|
|
# link so there's no point in -static.
|
|
|
|
#
|
|
|
|
@ENABLE_STATIC_TRUE@STATIC = -static
|
|
|
|
EXTRA_LTLIBRARIES = libspeed.la
|
|
|
|
libspeed_la_SOURCES = \
|
|
|
|
common.c divrem1div.c divrem1inv.c divrem2div.c divrem2inv.c \
|
2010-06-28 06:36:46 -04:00
|
|
|
freq.c gcd_bin.c \
|
|
|
|
gcdextod.c gcdextos.c \
|
2008-04-17 17:03:07 -04:00
|
|
|
jacbase1.c jacbase2.c jacbase3.c \
|
|
|
|
mod_1_div.c mod_1_inv.c modlinv.c \
|
2010-08-13 10:28:46 -04:00
|
|
|
noop.c powm_mod.c powm_redc.c preinv_divrem_1.c \
|
2009-08-03 19:09:30 -04:00
|
|
|
fac_ui_large.c fac_ui_small.c \
|
2010-03-14 12:02:32 -04:00
|
|
|
set_strb.c set_strs.c set_strp.c time.c
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
libspeed_la_DEPENDENCIES = $(SPEED_CYCLECOUNTER_OBJ) \
|
2009-02-12 07:50:13 -05:00
|
|
|
$(top_builddir)/tests/libtests.la $(top_builddir)/libmpir.la
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
libspeed_la_LIBADD = $(libspeed_la_DEPENDENCIES) $(LIBM)
|
|
|
|
libspeed_la_LDFLAGS = $(STATIC)
|
|
|
|
DEPENDENCIES = libspeed.la
|
|
|
|
LDADD = $(DEPENDENCIES)
|
|
|
|
speed_SOURCES = speed.c
|
|
|
|
speed_LDFLAGS = $(STATIC)
|
|
|
|
speed_dynamic_SOURCES = speed.c
|
|
|
|
speed_ext_SOURCES = speed-ext.c
|
|
|
|
speed_ext_LDFLAGS = $(STATIC)
|
|
|
|
tuneup_SOURCES = tuneup.c
|
|
|
|
nodist_tuneup_SOURCES = sqr_basecase.c $(TUNE_MPN_SRCS)
|
|
|
|
tuneup_DEPENDENCIES = $(TUNE_SQR_OBJ) libspeed.la
|
|
|
|
tuneup_LDADD = $(tuneup_DEPENDENCIES)
|
|
|
|
tuneup_LDFLAGS = $(STATIC)
|
|
|
|
|
|
|
|
# $(MANY_CLEAN) and $(MANY_DISTCLEAN) are hooks for many.pl
|
|
|
|
CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \
|
|
|
|
$(TUNE_MPN_SRCS) sqr_asm.asm \
|
|
|
|
stg.gnuplot stg.data \
|
|
|
|
mtg.gnuplot mtg.data \
|
|
|
|
fibg.gnuplot fibg.data \
|
|
|
|
graph.gnuplot graph.data \
|
|
|
|
$(MANY_CLEAN)
|
|
|
|
|
|
|
|
DISTCLEANFILES = sqr_basecase.c $(MANY_DISTCLEAN)
|
|
|
|
|
|
|
|
# Generating these little files at build time seems better than including
|
|
|
|
# them in the distribution, since the list can be changed more easily.
|
|
|
|
#
|
|
|
|
# mpn/generic/tdiv_qr.c uses mpn_divrem_1 and mpn_divrem_2, but only for 1
|
|
|
|
# and 2 limb divisors, which are never used during tuning, so it doesn't
|
|
|
|
# matter whether it picks up a tuned or untuned version of those.
|
|
|
|
#
|
|
|
|
# divrem_1 and mod_1 are recompiled renamed to "_tune" to avoid a linking
|
|
|
|
# problem. If a native divrem_1 provides an mpn_divrem_1c entrypoint then
|
|
|
|
# common.c will want that, but the generic divrem_1 doesn't provide it,
|
|
|
|
# likewise for mod_1. The simplest way around this is to have the tune
|
|
|
|
# build versions renamed suitably.
|
|
|
|
#
|
|
|
|
# FIXME: Would like say mul_n.c to depend on $(top_builddir)/mul_n.c so the
|
|
|
|
# recompiled object will be rebuilt if that file changes.
|
|
|
|
TUNE_MPN_SRCS = $(TUNE_MPN_SRCS_BASIC) divrem_1.c mod_1.c
|
2010-03-14 12:14:21 -04:00
|
|
|
TUNE_MPN_SRCS_BASIC = divrem_2.c gcd.c gcdext.c get_str.c \
|
2010-03-14 18:42:55 -04:00
|
|
|
mul_n.c mullow_n.c mulhigh_n.c mul_fft.c mul.c tdiv_qr.c \
|
2010-02-19 11:09:02 -05:00
|
|
|
toom4_mul_n.c toom4_mul.c toom3_mul.c toom3_mul_n.c \
|
|
|
|
toom8h_mul.c toom8_sqr_n.c mulmod_2expm1.c rootrem.c divrem_euclidean_r_1.c \
|
2010-08-13 15:30:08 -04:00
|
|
|
divrem_hensel_qr_1.c rsh_divrem_hensel_qr_1.c dc_divappr_q.c dc_div_qr.c dc_div_qr_n.c \
|
|
|
|
inv_divappr_q.c inv_div_qr.c tdiv_q.c dc_bdiv_qr.c dc_bdiv_qr_n.c dc_bdiv_q.c
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
|
|
|
|
# COMPILE minus CC.
|
|
|
|
#
|
2008-05-26 18:20:33 -04:00
|
|
|
COMPILE_FLAGS = $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(INCLUDES) $(DEFAULT_INCLUDES)
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
# Flags used for preprocessing (in ansi2knr rules).
|
|
|
|
#
|
|
|
|
PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
|
|
$(CPPFLAGS)
|
|
|
|
|
|
|
|
|
|
|
|
# Recent versions of automake (1.5 and up for instance) append automake
|
|
|
|
# generated suffixes to this $(SUFFIXES) list. This is essential for us,
|
|
|
|
# since .c must come after .s, .S and .asm. If .c is before .s, for
|
|
|
|
# instance, then in the mpn directory "make" will see add_n.c mentioned in
|
|
|
|
# an explicit rule (the ansi2knr stuff) and decide it must have add_n.c,
|
|
|
|
# even if add_n.c doesn't exist but add_n.s does. See GNU make
|
|
|
|
# documentation "(make)Implicit Rule Search", part 5c.
|
|
|
|
#
|
|
|
|
# On IRIX 6 native make this doesn't work properly though. Somehow .c
|
|
|
|
# remains ahead of .s, perhaps because .c.s is a builtin rule. .asm works
|
|
|
|
# fine though, and mpn/mips3 uses this.
|
|
|
|
#
|
2008-05-29 19:56:41 -04:00
|
|
|
SUFFIXES = .s .S .as .asm
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
# can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
|
|
|
|
RM_TMP = rm -f
|
2011-09-11 09:38:18 -04:00
|
|
|
|
|
|
|
#if BUILD_YASM
|
|
|
|
#ASSEMBLER = $(top_srcdir)/strip_fPIC.sh $(top_builddir)$(MPIR_AS) -p gas -I $(top_builddir) $(OBJECT_FORMAT) $(GSYM_FLAG) -o $@
|
|
|
|
#else
|
|
|
|
ASSEMBLER = $(CCAS) $(COMPILE_FLAGS)
|
2008-04-17 17:03:07 -04:00
|
|
|
all: all-am
|
|
|
|
|
|
|
|
.SUFFIXES:
|
2008-05-29 19:56:41 -04:00
|
|
|
.SUFFIXES: .s .S .as .asm .c .lo .o .obj
|
2008-04-17 17:03:07 -04:00
|
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../mpn/Makeasm.am $(am__configure_deps)
|
|
|
|
@for dep in $?; do \
|
|
|
|
case '$(am__configure_deps)' in \
|
|
|
|
*$$dep*) \
|
2010-07-22 12:02:34 -04:00
|
|
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
|
|
|
&& { if test -f $@; then exit 0; else break; fi; }; \
|
2008-04-17 17:03:07 -04:00
|
|
|
exit 1;; \
|
|
|
|
esac; \
|
|
|
|
done; \
|
2010-07-22 12:02:34 -04:00
|
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps tune/Makefile'; \
|
|
|
|
$(am__cd) $(top_srcdir) && \
|
|
|
|
$(AUTOMAKE) --gnu --ignore-deps tune/Makefile
|
2008-04-17 17:03:07 -04:00
|
|
|
.PRECIOUS: Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
|
@case '$?' in \
|
|
|
|
*config.status*) \
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
|
|
|
*) \
|
|
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
|
|
|
esac;
|
|
|
|
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
|
|
|
|
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
2010-07-22 12:02:34 -04:00
|
|
|
$(am__aclocal_m4_deps):
|
2008-04-17 17:03:07 -04:00
|
|
|
libspeed.la: $(libspeed_la_OBJECTS) $(libspeed_la_DEPENDENCIES)
|
2010-07-16 10:41:05 -04:00
|
|
|
$(libspeed_la_LINK) $(libspeed_la_OBJECTS) $(libspeed_la_LIBADD) $(LIBS)
|
2008-04-17 17:03:07 -04:00
|
|
|
speed$(EXEEXT): $(speed_OBJECTS) $(speed_DEPENDENCIES)
|
|
|
|
@rm -f speed$(EXEEXT)
|
2010-07-16 10:41:05 -04:00
|
|
|
$(speed_LINK) $(speed_OBJECTS) $(speed_LDADD) $(LIBS)
|
2008-04-17 17:03:07 -04:00
|
|
|
speed-dynamic$(EXEEXT): $(speed_dynamic_OBJECTS) $(speed_dynamic_DEPENDENCIES)
|
|
|
|
@rm -f speed-dynamic$(EXEEXT)
|
2010-07-16 10:41:05 -04:00
|
|
|
$(LINK) $(speed_dynamic_OBJECTS) $(speed_dynamic_LDADD) $(LIBS)
|
2008-04-17 17:03:07 -04:00
|
|
|
speed-ext$(EXEEXT): $(speed_ext_OBJECTS) $(speed_ext_DEPENDENCIES)
|
|
|
|
@rm -f speed-ext$(EXEEXT)
|
2010-07-16 10:41:05 -04:00
|
|
|
$(speed_ext_LINK) $(speed_ext_OBJECTS) $(speed_ext_LDADD) $(LIBS)
|
2008-04-17 17:03:07 -04:00
|
|
|
tuneup$(EXEEXT): $(tuneup_OBJECTS) $(tuneup_DEPENDENCIES)
|
|
|
|
@rm -f tuneup$(EXEEXT)
|
2010-07-16 10:41:05 -04:00
|
|
|
$(tuneup_LINK) $(tuneup_OBJECTS) $(tuneup_LDADD) $(LIBS)
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
|
-rm -f *.$(OBJEXT)
|
|
|
|
|
|
|
|
distclean-compile:
|
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
|
|
.c.o:
|
|
|
|
$(COMPILE) -c $<
|
|
|
|
|
|
|
|
.c.obj:
|
|
|
|
$(COMPILE) -c `$(CYGPATH_W) '$<'`
|
|
|
|
|
|
|
|
.c.lo:
|
|
|
|
$(LTCOMPILE) -c -o $@ $<
|
|
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
|
-rm -f *.lo
|
|
|
|
|
|
|
|
clean-libtool:
|
|
|
|
-rm -rf .libs _libs
|
|
|
|
|
|
|
|
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 | \
|
2010-07-22 12:02:34 -04:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
2010-07-16 10:41:05 -04:00
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
2008-04-17 17:03:07 -04:00
|
|
|
mkid -fID $$unique
|
|
|
|
tags: TAGS
|
|
|
|
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
2010-07-22 12:02:34 -04:00
|
|
|
set x; \
|
2008-04-17 17:03:07 -04:00
|
|
|
here=`pwd`; \
|
|
|
|
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 | \
|
2010-07-16 10:41:05 -04:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
2010-07-22 12:02:34 -04:00
|
|
|
shift; \
|
|
|
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
2008-05-26 18:20:33 -04:00
|
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
2010-07-22 12:02:34 -04:00
|
|
|
if test $$# -gt 0; then \
|
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
"$$@" $$unique; \
|
|
|
|
else \
|
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
|
$$unique; \
|
|
|
|
fi; \
|
2008-04-17 17:03:07 -04:00
|
|
|
fi
|
|
|
|
ctags: CTAGS
|
|
|
|
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
|
|
$(TAGS_FILES) $(LISP)
|
|
|
|
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 | \
|
2010-07-16 10:41:05 -04:00
|
|
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
|
|
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
2010-07-22 12:02:34 -04:00
|
|
|
test -z "$(CTAGS_ARGS)$$unique" \
|
2008-04-17 17:03:07 -04:00
|
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
2010-07-22 12:02:34 -04:00
|
|
|
$$unique
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
GTAGS:
|
|
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
2010-07-22 12:02:34 -04:00
|
|
|
&& $(am__cd) $(top_srcdir) \
|
|
|
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
distclean-tags:
|
|
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
|
|
|
|
|
distdir: $(DISTFILES)
|
2010-07-16 10:41:05 -04:00
|
|
|
@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 \
|
2008-04-17 17:03:07 -04:00
|
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
|
if test -d $$d/$$file; then \
|
2010-07-16 10:41:05 -04:00
|
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
2010-07-22 12:02:34 -04:00
|
|
|
if test -d "$(distdir)/$$file"; then \
|
|
|
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
|
|
fi; \
|
2008-04-17 17:03:07 -04:00
|
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
2010-07-22 12:02:34 -04:00
|
|
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
|
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
2008-04-17 17:03:07 -04:00
|
|
|
fi; \
|
2010-07-22 12:02:34 -04:00
|
|
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
2008-04-17 17:03:07 -04:00
|
|
|
else \
|
2010-07-22 12:02:34 -04:00
|
|
|
test -f "$(distdir)/$$file" \
|
|
|
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
2008-04-17 17:03:07 -04:00
|
|
|
|| exit 1; \
|
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
check-am: all-am
|
|
|
|
check: check-am
|
|
|
|
all-am: Makefile $(HEADERS)
|
|
|
|
installdirs:
|
|
|
|
install: install-am
|
|
|
|
install-exec: install-exec-am
|
|
|
|
install-data: install-data-am
|
|
|
|
uninstall: uninstall-am
|
|
|
|
|
|
|
|
install-am: all-am
|
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
|
|
|
|
installcheck: installcheck-am
|
|
|
|
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:
|
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
|
|
distclean-generic:
|
2008-05-26 18:20:33 -04:00
|
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
2010-07-22 12:02:34 -04:00
|
|
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
2008-04-17 17:03:07 -04:00
|
|
|
-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."
|
|
|
|
clean: clean-am
|
|
|
|
|
|
|
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
|
|
|
|
|
|
|
distclean: distclean-am
|
|
|
|
-rm -f Makefile
|
|
|
|
distclean-am: clean-am distclean-compile distclean-generic \
|
2010-07-16 10:41:05 -04:00
|
|
|
distclean-tags
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
dvi: dvi-am
|
|
|
|
|
|
|
|
dvi-am:
|
|
|
|
|
|
|
|
html: html-am
|
|
|
|
|
2010-07-22 12:02:34 -04:00
|
|
|
html-am:
|
|
|
|
|
2008-04-17 17:03:07 -04:00
|
|
|
info: info-am
|
|
|
|
|
|
|
|
info-am:
|
|
|
|
|
|
|
|
install-data-am:
|
|
|
|
|
2010-07-16 10:41:05 -04:00
|
|
|
install-dvi: install-dvi-am
|
|
|
|
|
2010-07-22 12:02:34 -04:00
|
|
|
install-dvi-am:
|
|
|
|
|
2008-04-17 17:03:07 -04:00
|
|
|
install-exec-am:
|
|
|
|
|
2010-07-16 10:41:05 -04:00
|
|
|
install-html: install-html-am
|
|
|
|
|
2010-07-22 12:02:34 -04:00
|
|
|
install-html-am:
|
|
|
|
|
2008-04-17 17:03:07 -04:00
|
|
|
install-info: install-info-am
|
|
|
|
|
2010-07-22 12:02:34 -04:00
|
|
|
install-info-am:
|
|
|
|
|
2008-04-17 17:03:07 -04:00
|
|
|
install-man:
|
|
|
|
|
2010-07-16 10:41:05 -04:00
|
|
|
install-pdf: install-pdf-am
|
|
|
|
|
2010-07-22 12:02:34 -04:00
|
|
|
install-pdf-am:
|
|
|
|
|
2010-07-16 10:41:05 -04:00
|
|
|
install-ps: install-ps-am
|
|
|
|
|
2010-07-22 12:02:34 -04:00
|
|
|
install-ps-am:
|
|
|
|
|
2008-04-17 17:03:07 -04:00
|
|
|
installcheck-am:
|
|
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
-rm -f Makefile
|
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
|
2009-08-12 23:07:39 -04:00
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
2008-04-17 17:03:07 -04:00
|
|
|
mostlyclean-libtool
|
|
|
|
|
|
|
|
pdf: pdf-am
|
|
|
|
|
|
|
|
pdf-am:
|
|
|
|
|
|
|
|
ps: ps-am
|
|
|
|
|
|
|
|
ps-am:
|
|
|
|
|
2010-07-16 10:41:05 -04:00
|
|
|
uninstall-am:
|
|
|
|
|
|
|
|
.MAKE: install-am install-strip
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
|
|
|
clean-libtool ctags distclean distclean-compile \
|
|
|
|
distclean-generic distclean-libtool distclean-tags distdir dvi \
|
|
|
|
dvi-am html html-am info info-am install install-am \
|
2010-07-16 10:41:05 -04:00
|
|
|
install-data install-data-am install-dvi install-dvi-am \
|
|
|
|
install-exec install-exec-am install-html install-html-am \
|
|
|
|
install-info install-info-am install-man install-pdf \
|
|
|
|
install-pdf-am install-ps install-ps-am install-strip \
|
2008-04-17 17:03:07 -04:00
|
|
|
installcheck installcheck-am installdirs maintainer-clean \
|
|
|
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
2009-08-12 23:07:39 -04:00
|
|
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
2010-07-16 10:41:05 -04:00
|
|
|
tags uninstall uninstall-am
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
|
|
|
|
$(top_builddir)/tests/libtests.la:
|
|
|
|
cd $(top_builddir)/tests; $(MAKE) $(AM_MAKEFLAGS) libtests.la
|
|
|
|
|
|
|
|
tune:
|
|
|
|
$(MAKE) $(AM_MAKEFLAGS) tuneup$(EXEEXT)
|
|
|
|
./tuneup
|
|
|
|
|
|
|
|
allprogs: $(EXTRA_PROGRAMS)
|
|
|
|
|
|
|
|
$(TUNE_MPN_SRCS_BASIC):
|
|
|
|
for i in $(TUNE_MPN_SRCS_BASIC); do \
|
|
|
|
echo "#define TUNE_PROGRAM_BUILD 1" >$$i; \
|
|
|
|
echo "#include \"mpn/generic/$$i\"" >>$$i; \
|
|
|
|
done
|
|
|
|
|
|
|
|
divrem_1.c:
|
|
|
|
echo "#define TUNE_PROGRAM_BUILD 1" >divrem_1.c
|
|
|
|
echo "#define __gmpn_divrem_1 mpn_divrem_1_tune" >>divrem_1.c
|
|
|
|
echo "#include \"mpn/generic/divrem_1.c\"" >>divrem_1.c
|
|
|
|
|
|
|
|
mod_1.c:
|
|
|
|
echo "#define TUNE_PROGRAM_BUILD 1" >mod_1.c
|
|
|
|
echo "#define __gmpn_mod_1 mpn_mod_1_tune" >>mod_1.c
|
|
|
|
echo "#include \"mpn/generic/mod_1.c\"" >>mod_1.c
|
|
|
|
|
|
|
|
sqr_asm.asm: $(top_builddir)/mpn/sqr_basecase.asm
|
|
|
|
echo 'define(SQR_KARATSUBA_THRESHOLD_OVERRIDE,SQR_KARATSUBA_THRESHOLD_MAX)' >sqr_asm.asm
|
|
|
|
echo 'include(../mpn/sqr_basecase.asm)' >>sqr_asm.asm
|
|
|
|
|
|
|
|
# .s assembler, no preprocessing.
|
|
|
|
#
|
|
|
|
.s.o:
|
|
|
|
$(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
|
|
|
|
.s.obj:
|
|
|
|
$(CCAS) $(COMPILE_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
|
2008-05-29 19:56:41 -04:00
|
|
|
.s.lo:
|
|
|
|
$(LIBTOOL) --mode=compile --tag=CC $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
|
2008-04-17 17:03:07 -04:00
|
|
|
|
|
|
|
# .S assembler, preprocessed with cpp.
|
|
|
|
#
|
|
|
|
# It's necessary to run $(CPP) separately, since it seems not all compilers
|
|
|
|
# recognise .S files, in particular "cc" on HP-UX 10 and 11 doesn't (and
|
|
|
|
# will silently do nothing if given a .S).
|
|
|
|
#
|
|
|
|
# For .lo we need a helper script, as described below for .asm.lo.
|
|
|
|
#
|
|
|
|
.S.o:
|
|
|
|
$(CPP) $(PREPROCESS_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< | grep -v '^#' >tmp-$*.s
|
|
|
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
|
|
|
|
$(RM_TMP) tmp-$*.s
|
|
|
|
.S.obj:
|
|
|
|
$(CPP) $(PREPROCESS_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` | grep -v '^#' >tmp-$*.s
|
|
|
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
|
|
|
|
$(RM_TMP) tmp-$*.s
|
|
|
|
.S.lo:
|
|
|
|
$(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/cpp-ccas --cpp="$(CPP) $(PREPROCESS_FLAGS)" $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
|
|
|
|
|
2010-10-24 14:15:19 -04:00
|
|
|
# .asm assembler, preprocessed with m4 unless we are in MINGW64
|
|
|
|
#
|
|
|
|
# .o and .obj are non-PIC and just need m4 followed by a compile.
|
|
|
|
#
|
|
|
|
# .lo is a bit tricky. Libtool (as of version 1.5) has foo.lo as a little
|
|
|
|
# text file, and .libs/foo.o and foo.o as the PIC and non-PIC objects,
|
|
|
|
# respectively. It'd be asking for lots of trouble to try to create foo.lo
|
|
|
|
# ourselves, so instead arrange to invoke libtool like a --mode=compile, but
|
|
|
|
# with a special m4-ccas script which first m4 preprocesses, then compiles.
|
|
|
|
# --tag=CC is necessary since foo.asm is otherwise unknown to libtool.
|
|
|
|
#
|
|
|
|
# Libtool adds -DPIC when building a shared object and the .asm files look
|
|
|
|
# for that. But it should be noted that the other PIC flags are on occasion
|
|
|
|
# important too, in particular FreeBSD 2.2.8 gas 1.92.3 requires -k before
|
|
|
|
# it accepts PIC constructs like @GOT, and gcc adds that flag only under
|
|
|
|
# -fPIC. (Later versions of gas are happy to accept PIC stuff any time.)
|
|
|
|
#
|
|
|
|
|
2008-04-17 17:03:07 -04:00
|
|
|
.asm.o:
|
|
|
|
$(M4) -DOPERATION_$* `test -f '$<' || echo '$(srcdir)/'`$< >tmp-$*.s
|
|
|
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
|
|
|
|
$(RM_TMP) tmp-$*.s
|
|
|
|
.asm.obj:
|
|
|
|
$(M4) -DOPERATION_$* `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` >tmp-$*.s
|
|
|
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
|
|
|
|
$(RM_TMP) tmp-$*.s
|
2011-09-11 09:38:18 -04:00
|
|
|
#endif
|
2011-03-18 12:39:37 -04:00
|
|
|
|
2008-05-26 22:28:44 -04:00
|
|
|
.asm.lo:
|
2011-03-18 12:39:37 -04:00
|
|
|
$(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(ASSEMBLER) `test -f '$<' || echo '$(srcdir)/'`$<
|
2008-04-17 17:03:07 -04:00
|
|
|
|
2008-05-29 19:56:41 -04:00
|
|
|
# .as assembler, assembled with Yasm
|
|
|
|
|
|
|
|
.as.lo:
|
2009-03-03 16:40:13 -05:00
|
|
|
$(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/strip_fPIC.sh $(top_builddir)$(MPIR_AS) -I $(top_builddir) $(OBJECT_FORMAT) $(GSYM_FLAG) -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
|
2010-07-22 12:02:34 -04:00
|
|
|
|
2008-04-17 17:03:07 -04:00
|
|
|
# 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:
|