version 1.1.1.1, 2000/09/09 14:13:19 |
version 1.1.1.2, 2003/08/25 16:06:37 |
|
|
# Makefile.in generated automatically by automake 1.4a from Makefile.am |
# Makefile.in generated automatically by automake 1.5 from Makefile.am. |
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. |
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 |
|
# Free Software Foundation, Inc. |
# This Makefile.in is free software; the Free Software Foundation |
# This Makefile.in is free software; the Free Software Foundation |
# gives unlimited permission to copy and/or distribute it, |
# gives unlimited permission to copy and/or distribute it, |
# with or without modifications, as long as this notice is preserved. |
# with or without modifications, as long as this notice is preserved. |
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
# PARTICULAR PURPOSE. |
# PARTICULAR PURPOSE. |
|
|
|
@SET_MAKE@ |
|
|
|
# Copyright 2000, 2001, 2002 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., 59 Temple Place - Suite 330, Boston, |
|
# MA 02111-1307, USA. |
|
|
|
|
|
# Copyright 1996, 1998, 1999, 2000, 2001 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., 59 Temple Place - Suite 330, Boston, |
|
# MA 02111-1307, USA. |
|
|
|
# COMPILE minus CC. |
|
# |
|
|
SHELL = @SHELL@ |
SHELL = @SHELL@ |
|
|
srcdir = @srcdir@ |
srcdir = @srcdir@ |
Line 30 infodir = @infodir@ |
|
Line 75 infodir = @infodir@ |
|
mandir = @mandir@ |
mandir = @mandir@ |
includedir = @includedir@ |
includedir = @includedir@ |
oldincludedir = /usr/include |
oldincludedir = /usr/include |
|
|
DESTDIR = |
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@ |
pkgdatadir = $(datadir)/@PACKAGE@ |
pkglibdir = $(libdir)/@PACKAGE@ |
pkglibdir = $(libdir)/@PACKAGE@ |
pkgincludedir = $(includedir)/@PACKAGE@ |
pkgincludedir = $(includedir)/@PACKAGE@ |
|
|
top_builddir = .. |
top_builddir = .. |
|
|
ACLOCAL = @ACLOCAL@ |
ACLOCAL = @ACLOCAL@ |
Line 48 INSTALL = @INSTALL@ |
|
Line 89 INSTALL = @INSTALL@ |
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
INSTALL_STRIP_FLAG = |
INSTALL_HEADER = $(INSTALL_DATA) |
transform = @program_transform_name@ |
transform = @program_transform_name@ |
|
|
NORMAL_INSTALL = : |
NORMAL_INSTALL = : |
PRE_INSTALL = : |
PRE_INSTALL = : |
POST_INSTALL = : |
POST_INSTALL = : |
NORMAL_UNINSTALL = : |
NORMAL_UNINSTALL = : |
PRE_UNINSTALL = : |
PRE_UNINSTALL = : |
POST_UNINSTALL = : |
POST_UNINSTALL = : |
|
|
@SET_MAKE@ |
|
build_alias = @build_alias@ |
|
build_triplet = @build@ |
|
host_alias = @host_alias@ |
host_alias = @host_alias@ |
host_triplet = @host@ |
host_triplet = @host@ |
target_alias = @target_alias@ |
|
target_triplet = @target@ |
|
AMDEP = @AMDEP@ |
|
AMTAR = @AMTAR@ |
AMTAR = @AMTAR@ |
AR = @AR@ |
AR = @AR@ |
AS = @AS@ |
AS = @AS@ |
AWK = @AWK@ |
AWK = @AWK@ |
|
BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@ |
CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@ |
CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@ |
CC = @CC@ |
CC = @CC@ |
CCAS = @CCAS@ |
CCAS = @CCAS@ |
CPP = @CPP@ |
CPP = @CPP@ |
CXX = @CXX@ |
CXX = @CXX@ |
CXXCPP = @CXXCPP@ |
CXXCPP = @CXXCPP@ |
|
DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@ |
DEPDIR = @DEPDIR@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DLLTOOL = @DLLTOOL@ |
|
ECHO = @ECHO@ |
EXEEXT = @EXEEXT@ |
EXEEXT = @EXEEXT@ |
|
GCJ = @GCJ@ |
|
GCJFLAGS = @GCJFLAGS@ |
|
GMP_LDFLAGS = @GMP_LDFLAGS@ |
|
GMP_NAIL_BITS = @GMP_NAIL_BITS@ |
|
HAVE_DECL_OPTARG = @HAVE_DECL_OPTARG@ |
|
HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@ |
|
HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@ |
|
HAVE_MPFR_01 = @HAVE_MPFR_01@ |
|
HAVE_STACK_T_01 = @HAVE_STACK_T_01@ |
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
|
LEX = @LEX@ |
|
LIBGMP_DLL = @LIBGMP_DLL@ |
|
LIBM = @LIBM@ |
|
LIBREADLINE = @LIBREADLINE@ |
LIBTOOL = @LIBTOOL@ |
LIBTOOL = @LIBTOOL@ |
LN_S = @LN_S@ |
LN_S = @LN_S@ |
M4 = @M4@ |
M4 = @M4@ |
MAINT = @MAINT@ |
MAINT = @MAINT@ |
MAKEINFO = @MAKEINFO@ |
MPFR_CFLAGS = @MPFR_CFLAGS@ |
|
MPFR_LIBS = @MPFR_LIBS@ |
OBJDUMP = @OBJDUMP@ |
OBJDUMP = @OBJDUMP@ |
OBJEXT = @OBJEXT@ |
OBJEXT = @OBJEXT@ |
PACKAGE = @PACKAGE@ |
PACKAGE = @PACKAGE@ |
RANLIB = @RANLIB@ |
RANLIB = @RANLIB@ |
SPEED_CYCLECOUNTER_OBJS = @SPEED_CYCLECOUNTER_OBJS@ |
RC = @RC@ |
|
REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@ |
|
REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@ |
|
SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@ |
STRIP = @STRIP@ |
STRIP = @STRIP@ |
|
TAL_OBJECT = @TAL_OBJECT@ |
|
TUNE_SQR_OBJ = @TUNE_SQR_OBJ@ |
U = @U@ |
U = @U@ |
VERSION = @VERSION@ |
VERSION = @VERSION@ |
|
WITH_READLINE_01 = @WITH_READLINE_01@ |
|
YACC = @YACC@ |
|
am__include = @am__include@ |
|
am__quote = @am__quote@ |
gmp_srclinks = @gmp_srclinks@ |
gmp_srclinks = @gmp_srclinks@ |
install_sh = @install_sh@ |
install_sh = @install_sh@ |
mpn_objects = @mpn_objects@ |
mpn_objects = @mpn_objects@ |
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ |
mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ |
|
mpn_objs_in_libmp = @mpn_objs_in_libmp@ |
|
|
# Copyright (C) 2000 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., 59 Temple Place - Suite 330, Boston, |
|
# MA 02111-1307, USA. |
|
|
|
|
|
AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr |
AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr |
|
|
INCLUDES = -I$(top_srcdir) |
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tests |
|
|
EXTRA_DIST = alpha.asm pentium.asm sparcv9.asm hppa.asm hppa2.asm |
EXTRA_DIST = alpha.asm pentium.asm sparcv9.asm hppa.asm hppa2.asm hppa2w.asm ia64.asm many.pl |
noinst_HEADERS = speed.h |
noinst_HEADERS = speed.h |
|
|
# No dependency on libgmp, so can use libgmptune instead for tune program |
|
EXTRA_LTLIBRARIES = libspeed.la |
EXTRA_LTLIBRARIES = libspeed.la |
libspeed_la_SOURCES = common.c time.c noop.c |
|
libspeed_la_DEPENDENCIES = $(SPEED_CYCLECOUNTER_OBJS) |
|
libspeed_la_LIBADD = $(libspeed_la_DEPENDENCIES) |
|
|
|
# Both libspeed and the programs are built static-only since static is |
libspeed_la_SOURCES = \ |
# fastest and will be preferred by users who care about maximizing speed. |
common.c divrem1div.c divrem1inv.c divrem2div.c divrem2inv.c \ |
# |
freq.c gcd_bin.c gcd_finda_gen.c \ |
# Actually libtool doesn't seem to pass -static through to gcc, it only |
gcdext_single.c gcdext_double.c gcdextod.c gcdextos.c \ |
# chooses the ".a" versions of libtool libraries. Rerun the gcc link |
jacbase1.c jacbase2.c jacbase3.c \ |
# invocation with -static if you want a static link of libc and libm. |
mod_1_div.c mod_1_inv.c modlinv.c mul_n_mpn.c mul_n_open.c \ |
# |
noop.c powm_mod.c powm_redc.c pre_divrem_1.c \ |
LDFLAGS = -static |
set_strb.c set_strs.c time.c \ |
LDADD = libspeed.la $(top_builddir)/libgmp.la -lm |
sb_div.c sb_inv.c |
|
|
EXTRA_PROGRAMS = speed speed-ext tuneup |
|
|
|
tuneup_SOURCES = tuneup.c |
libspeed_la_DEPENDENCIES = $(SPEED_CYCLECOUNTER_OBJ) \ |
tuneup_DEPENDENCIES = libspeed.la libgmptune.a |
$(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la |
tuneup_LDADD = $(tuneup_DEPENDENCIES) -lm |
|
|
|
|
libspeed_la_LIBADD = $(libspeed_la_DEPENDENCIES) $(LIBM) |
|
libspeed_la_LDFLAGS = -static |
|
|
|
|
|
# The library code is faster static than shared on some systems, so do |
|
# tuning and measuring with static, since users who care about maximizing |
|
# speed will be using that. speed-dynamic exists to show the difference. |
|
# |
|
# On Solaris 8, gcc 2.95.2 -static is somehow broken (it creates executables |
|
# that immediately seg fault), so -all-static is not used. The only thing |
|
# -all-static does is make libc static linked as well as libgmp, and that |
|
# makes a difference only when measuring malloc and friends in the speed |
|
# program. This can always be forced with "make speed_LDFLAGS=-all-static |
|
# ..." if desired, see tune/README. |
|
EXTRA_PROGRAMS = speed speed-dynamic speed-ext tuneup |
|
|
|
DEPENDENCIES = libspeed.la |
|
LDADD = $(DEPENDENCIES) |
|
|
speed_SOURCES = speed.c |
speed_SOURCES = speed.c |
|
speed_LDFLAGS = -static |
|
|
SQR_CLEANFILES = sqr_basecase.c sqr_basecase.h sqr_basecase.asm |
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) \ |
CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \ |
$(SQR_CLEANFILES) libgmptune.a libgmptmp.a \ |
$(TUNE_MPN_SRCS) sqr_asm.asm \ |
stg.gnuplot stg.data \ |
stg.gnuplot stg.data \ |
mtg.gnuplot mtg.data \ |
mtg.gnuplot mtg.data \ |
fibg.gnuplot fibg.data \ |
fibg.gnuplot fibg.data \ |
graph.gnuplot graph.data |
graph.gnuplot graph.data \ |
|
$(MANY_CLEAN) |
|
|
|
DISTCLEANFILES = sqr_basecase.c $(MANY_DISTCLEAN) |
|
|
# This bit like mpn/Makefile.am |
|
|
|
# COMPILE minus CC. FIXME: Really pass *_CFLAGS to CPP? |
# Generating these little files at build time seems better than including |
COMPILE_FLAGS = \ |
# them in the distribution, since the list can be changed more easily. |
$(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
# |
|
# 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 |
|
TUNE_MPN_SRCS_BASIC = dc_divrem_n.c divrem_2.c gcd.c get_str.c \ |
|
mul_n.c mul_fft.c mul.c sb_divrem_mn.c tdiv_qr.c |
|
|
|
|
SUFFIXES = .asm |
COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
|
# Recompiled versions of $(LIBGMPTUNE_OBJS) are always used. sqr_basecase.o |
|
# is replaced if it's mpn/generic/sqr_basecase.c (due to the fixed size |
|
# temporary array), or sqr_basecase.asm with a KARATSUBA_SQR_THRESHOLD_MAX |
|
# (because that says it normally works only up to KARATSUBA_SQR_THRESHOLD). |
|
|
|
SQR_GENERIC_MAX = 200 |
# Flags used for preprocessing (in ansi2knr rules). |
|
# |
|
PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
|
$(CPPFLAGS) |
|
|
LIBGMPTUNE_OBJS = \ |
|
mul_n.o mul_fft.o mul.o \ |
|
bz_divrem_n.o tdiv_qr.o fib_ui.o powm.o gcd.o gcdext.o |
|
|
|
|
# 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. |
|
# |
|
SUFFIXES = .s .S .asm |
|
|
|
# can be overridden during development, eg. "make RM_TMP=: mul_1.lo" |
|
RM_TMP = rm -f |
|
|
MTS = -s 50-150 -c |
MTS = -s 50-150 -c |
|
|
STS = -s 50-150 -c |
STS = -s 50-150 -c |
subdir = tune |
subdir = tune |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
CONFIG_HEADER = ../config.h |
CONFIG_HEADER = $(top_builddir)/config.h |
CONFIG_CLEAN_FILES = |
CONFIG_CLEAN_FILES = |
|
am_libspeed_la_OBJECTS = common$U.lo divrem1div$U.lo divrem1inv$U.lo \ |
|
divrem2div$U.lo divrem2inv$U.lo freq$U.lo gcd_bin$U.lo \ |
|
gcd_finda_gen$U.lo gcdext_single$U.lo gcdext_double$U.lo \ |
|
gcdextod$U.lo gcdextos$U.lo jacbase1$U.lo jacbase2$U.lo \ |
|
jacbase3$U.lo mod_1_div$U.lo mod_1_inv$U.lo modlinv$U.lo \ |
|
mul_n_mpn$U.lo mul_n_open$U.lo noop$U.lo powm_mod$U.lo \ |
|
powm_redc$U.lo pre_divrem_1$U.lo set_strb$U.lo set_strs$U.lo \ |
|
time$U.lo sb_div$U.lo sb_inv$U.lo |
|
libspeed_la_OBJECTS = $(am_libspeed_la_OBJECTS) |
|
EXTRA_PROGRAMS = speed$(EXEEXT) speed-dynamic$(EXEEXT) \ |
|
speed-ext$(EXEEXT) tuneup$(EXEEXT) |
|
am_speed_OBJECTS = speed$U.$(OBJEXT) |
|
speed_OBJECTS = $(am_speed_OBJECTS) |
|
speed_LDADD = $(LDADD) |
|
speed_DEPENDENCIES = libspeed.la |
|
am_speed_dynamic_OBJECTS = speed$U.$(OBJEXT) |
|
speed_dynamic_OBJECTS = $(am_speed_dynamic_OBJECTS) |
|
speed_dynamic_LDADD = $(LDADD) |
|
speed_dynamic_DEPENDENCIES = libspeed.la |
|
speed_dynamic_LDFLAGS = |
|
am_speed_ext_OBJECTS = speed-ext$U.$(OBJEXT) |
|
speed_ext_OBJECTS = $(am_speed_ext_OBJECTS) |
|
speed_ext_LDADD = $(LDADD) |
|
speed_ext_DEPENDENCIES = libspeed.la |
|
am_tuneup_OBJECTS = tuneup$U.$(OBJEXT) |
|
nodist_tuneup_OBJECTS = sqr_basecase$U.$(OBJEXT) dc_divrem_n$U.$(OBJEXT) \ |
|
divrem_2$U.$(OBJEXT) gcd$U.$(OBJEXT) get_str$U.$(OBJEXT) \ |
|
mul_n$U.$(OBJEXT) mul_fft$U.$(OBJEXT) mul$U.$(OBJEXT) \ |
|
sb_divrem_mn$U.$(OBJEXT) tdiv_qr$U.$(OBJEXT) \ |
|
divrem_1$U.$(OBJEXT) mod_1$U.$(OBJEXT) |
|
tuneup_OBJECTS = $(am_tuneup_OBJECTS) $(nodist_tuneup_OBJECTS) |
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I.. |
DEFS = @DEFS@ |
|
DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) |
CPPFLAGS = @CPPFLAGS@ |
CPPFLAGS = @CPPFLAGS@ |
|
LDFLAGS = @LDFLAGS@ |
LIBS = @LIBS@ |
LIBS = @LIBS@ |
ANSI2KNR = $(top_builddir)/ansi2knr |
depcomp = |
libspeed_la_LDFLAGS = |
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ |
am_libspeed_la_OBJECTS = common$U.lo time$U.lo noop$U.lo |
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
libspeed_la_OBJECTS = $(am_libspeed_la_OBJECTS) |
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ |
EXTRA_PROGRAMS = speed$(EXEEXT) speed-ext$(EXEEXT) tuneup$(EXEEXT) |
$(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
am_speed_OBJECTS = speed$U.$(OBJEXT) |
|
speed_OBJECTS = $(am_speed_OBJECTS) |
|
speed_LDADD = $(LDADD) |
|
speed_DEPENDENCIES = libspeed.la $(top_builddir)/libgmp.la |
|
speed_LDFLAGS = |
|
speed_ext_SOURCES = speed-ext.c |
|
speed_ext_OBJECTS = speed-ext$U.$(OBJEXT) |
|
speed_ext_LDADD = $(LDADD) |
|
speed_ext_DEPENDENCIES = libspeed.la $(top_builddir)/libgmp.la |
|
speed_ext_LDFLAGS = |
|
am_tuneup_OBJECTS = tuneup$U.$(OBJEXT) |
|
tuneup_OBJECTS = $(am_tuneup_OBJECTS) |
|
tuneup_LDFLAGS = |
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) |
|
CFLAGS = @CFLAGS@ |
|
CCLD = $(CC) |
CCLD = $(CC) |
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ |
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
DIST_SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) speed-ext.c \ |
$(AM_LDFLAGS) $(LDFLAGS) -o $@ |
$(tuneup_SOURCES) |
CFLAGS = @CFLAGS@ |
HEADERS = $(noinst_HEADERS) |
DIST_SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \ |
|
$(speed_dynamic_SOURCES) $(speed_ext_SOURCES) $(tuneup_SOURCES) |
|
HEADERS = $(noinst_HEADERS) |
|
|
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in |
DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in |
|
SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) $(speed_dynamic_SOURCES) $(speed_ext_SOURCES) $(tuneup_SOURCES) $(nodist_tuneup_SOURCES) |
|
|
|
all: all-am |
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|
|
|
GZIP_ENV = --best |
|
depcomp = |
|
SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) speed-ext.c $(tuneup_SOURCES) |
|
OBJECTS = $(am_libspeed_la_OBJECTS) $(am_speed_OBJECTS) speed-ext$U.$(OBJEXT) $(am_tuneup_OBJECTS) |
|
|
|
all: all-redirect |
|
.SUFFIXES: |
.SUFFIXES: |
.SUFFIXES: .asm .c .lo .o .obj |
.SUFFIXES: .s .S .asm .c .lo .o .obj |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu tune/Makefile |
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
|
cd $(top_builddir) \ |
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status |
|
|
|
|
|
mostlyclean-compile: |
|
-rm -f *.o core *.core |
|
-rm -f *.$(OBJEXT) |
|
|
|
clean-compile: |
|
|
|
distclean-compile: |
|
-rm -f *.tab.c |
|
|
|
maintainer-clean-compile: |
|
|
|
mostlyclean-libtool: |
mostlyclean-libtool: |
-rm -f *.lo |
-rm -f *.lo |
|
|
|
|
-rm -rf .libs _libs |
-rm -rf .libs _libs |
|
|
distclean-libtool: |
distclean-libtool: |
|
-rm -f libtool |
maintainer-clean-libtool: |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(srcdir)/../mpn/Makeasm.am $(top_srcdir)/configure.in $(ACLOCAL_M4) |
$(top_builddir)/ansi2knr: $(top_builddir)/ansi2knr.$(OBJEXT) |
cd $(top_srcdir) && \ |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr |
$(AUTOMAKE) --gnu tune/Makefile |
|
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status |
$(top_builddir)/ansi2knr.$(OBJEXT): |
cd $(top_builddir) && \ |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.$(OBJEXT) |
CONFIG_HEADERS= CONFIG_LINKS= \ |
|
CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status |
|
libspeed.la: $(libspeed_la_OBJECTS) $(libspeed_la_DEPENDENCIES) |
mostlyclean-kr: |
|
-rm -f *_.c |
|
|
|
clean-kr: |
|
|
|
distclean-kr: |
|
|
|
maintainer-clean-kr: |
|
|
|
libspeed.la: $(libspeed_la_OBJECTS) $(libspeed_la_DEPENDENCIES) |
|
$(LINK) $(libspeed_la_LDFLAGS) $(libspeed_la_OBJECTS) $(libspeed_la_LIBADD) $(LIBS) |
$(LINK) $(libspeed_la_LDFLAGS) $(libspeed_la_OBJECTS) $(libspeed_la_LIBADD) $(LIBS) |
|
speed$(EXEEXT): $(speed_OBJECTS) $(speed_DEPENDENCIES) |
speed$(EXEEXT): $(speed_OBJECTS) $(speed_DEPENDENCIES) |
|
@rm -f speed$(EXEEXT) |
@rm -f speed$(EXEEXT) |
$(LINK) $(speed_LDFLAGS) $(speed_OBJECTS) $(speed_LDADD) $(LIBS) |
$(LINK) $(speed_LDFLAGS) $(speed_OBJECTS) $(speed_LDADD) $(LIBS) |
|
speed-dynamic$(EXEEXT): $(speed_dynamic_OBJECTS) $(speed_dynamic_DEPENDENCIES) |
speed-ext$(EXEEXT): $(speed_ext_OBJECTS) $(speed_ext_DEPENDENCIES) |
@rm -f speed-dynamic$(EXEEXT) |
|
$(LINK) $(speed_dynamic_LDFLAGS) $(speed_dynamic_OBJECTS) $(speed_dynamic_LDADD) $(LIBS) |
|
speed-ext$(EXEEXT): $(speed_ext_OBJECTS) $(speed_ext_DEPENDENCIES) |
@rm -f speed-ext$(EXEEXT) |
@rm -f speed-ext$(EXEEXT) |
$(LINK) $(speed_ext_LDFLAGS) $(speed_ext_OBJECTS) $(speed_ext_LDADD) $(LIBS) |
$(LINK) $(speed_ext_LDFLAGS) $(speed_ext_OBJECTS) $(speed_ext_LDADD) $(LIBS) |
|
tuneup$(EXEEXT): $(tuneup_OBJECTS) $(tuneup_DEPENDENCIES) |
tuneup$(EXEEXT): $(tuneup_OBJECTS) $(tuneup_DEPENDENCIES) |
|
@rm -f tuneup$(EXEEXT) |
@rm -f tuneup$(EXEEXT) |
$(LINK) $(tuneup_LDFLAGS) $(tuneup_OBJECTS) $(tuneup_LDADD) $(LIBS) |
$(LINK) $(tuneup_LDFLAGS) $(tuneup_OBJECTS) $(tuneup_LDADD) $(LIBS) |
|
|
|
mostlyclean-compile: |
|
-rm -f *.$(OBJEXT) core *.core |
|
|
|
distclean-compile: |
|
-rm -f *.tab.c |
|
|
|
ANSI2KNR = $(top_builddir)/ansi2knr |
|
$(top_builddir)/ansi2knr: |
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr |
|
|
|
mostlyclean-kr: |
|
-test "$U" = "" || rm -f *_.c |
|
|
.c.o: |
.c.o: |
$(COMPILE) -c $< |
$(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$< |
|
|
.c.obj: |
.c.obj: |
$(COMPILE) -c `cygpath -w $<` |
$(COMPILE) -c `cygpath -w $<` |
|
|
.c.lo: |
.c.lo: |
$(LTCOMPILE) -c -o $@ $< |
$(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$< |
common_.c: common.c $(ANSI2KNR) |
common_.c: common.c $(ANSI2KNR) |
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/common.c; then echo $(srcdir)/common.c; else echo common.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > common_.c |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/common.c; then echo $(srcdir)/common.c; else echo common.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > common_.c || rm -f common_.c |
|
dc_divrem_n_.c: dc_divrem_n.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dc_divrem_n.c; then echo $(srcdir)/dc_divrem_n.c; else echo dc_divrem_n.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dc_divrem_n_.c || rm -f dc_divrem_n_.c |
|
divrem1div_.c: divrem1div.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem1div.c; then echo $(srcdir)/divrem1div.c; else echo divrem1div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem1div_.c || rm -f divrem1div_.c |
|
divrem1inv_.c: divrem1inv.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem1inv.c; then echo $(srcdir)/divrem1inv.c; else echo divrem1inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem1inv_.c || rm -f divrem1inv_.c |
|
divrem2div_.c: divrem2div.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem2div.c; then echo $(srcdir)/divrem2div.c; else echo divrem2div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem2div_.c || rm -f divrem2div_.c |
|
divrem2inv_.c: divrem2inv.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem2inv.c; then echo $(srcdir)/divrem2inv.c; else echo divrem2inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem2inv_.c || rm -f divrem2inv_.c |
|
divrem_1_.c: divrem_1.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem_1.c; then echo $(srcdir)/divrem_1.c; else echo divrem_1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem_1_.c || rm -f divrem_1_.c |
|
divrem_2_.c: divrem_2.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem_2.c; then echo $(srcdir)/divrem_2.c; else echo divrem_2.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem_2_.c || rm -f divrem_2_.c |
|
freq_.c: freq.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/freq.c; then echo $(srcdir)/freq.c; else echo freq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > freq_.c || rm -f freq_.c |
|
gcd_.c: gcd.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcd.c; then echo $(srcdir)/gcd.c; else echo gcd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcd_.c || rm -f gcd_.c |
|
gcd_bin_.c: gcd_bin.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcd_bin.c; then echo $(srcdir)/gcd_bin.c; else echo gcd_bin.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcd_bin_.c || rm -f gcd_bin_.c |
|
gcd_finda_gen_.c: gcd_finda_gen.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcd_finda_gen.c; then echo $(srcdir)/gcd_finda_gen.c; else echo gcd_finda_gen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcd_finda_gen_.c || rm -f gcd_finda_gen_.c |
|
gcdext_double_.c: gcdext_double.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdext_double.c; then echo $(srcdir)/gcdext_double.c; else echo gcdext_double.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdext_double_.c || rm -f gcdext_double_.c |
|
gcdext_single_.c: gcdext_single.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdext_single.c; then echo $(srcdir)/gcdext_single.c; else echo gcdext_single.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdext_single_.c || rm -f gcdext_single_.c |
|
gcdextod_.c: gcdextod.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdextod.c; then echo $(srcdir)/gcdextod.c; else echo gcdextod.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdextod_.c || rm -f gcdextod_.c |
|
gcdextos_.c: gcdextos.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdextos.c; then echo $(srcdir)/gcdextos.c; else echo gcdextos.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdextos_.c || rm -f gcdextos_.c |
|
get_str_.c: get_str.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/get_str.c; then echo $(srcdir)/get_str.c; else echo get_str.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > get_str_.c || rm -f get_str_.c |
|
jacbase1_.c: jacbase1.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jacbase1.c; then echo $(srcdir)/jacbase1.c; else echo jacbase1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jacbase1_.c || rm -f jacbase1_.c |
|
jacbase2_.c: jacbase2.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jacbase2.c; then echo $(srcdir)/jacbase2.c; else echo jacbase2.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jacbase2_.c || rm -f jacbase2_.c |
|
jacbase3_.c: jacbase3.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jacbase3.c; then echo $(srcdir)/jacbase3.c; else echo jacbase3.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jacbase3_.c || rm -f jacbase3_.c |
|
mod_1_.c: mod_1.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mod_1.c; then echo $(srcdir)/mod_1.c; else echo mod_1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mod_1_.c || rm -f mod_1_.c |
|
mod_1_div_.c: mod_1_div.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mod_1_div.c; then echo $(srcdir)/mod_1_div.c; else echo mod_1_div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mod_1_div_.c || rm -f mod_1_div_.c |
|
mod_1_inv_.c: mod_1_inv.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mod_1_inv.c; then echo $(srcdir)/mod_1_inv.c; else echo mod_1_inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mod_1_inv_.c || rm -f mod_1_inv_.c |
|
modlinv_.c: modlinv.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/modlinv.c; then echo $(srcdir)/modlinv.c; else echo modlinv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > modlinv_.c || rm -f modlinv_.c |
|
mul_.c: mul.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul.c; then echo $(srcdir)/mul.c; else echo mul.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_.c || rm -f mul_.c |
|
mul_fft_.c: mul_fft.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_fft.c; then echo $(srcdir)/mul_fft.c; else echo mul_fft.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_fft_.c || rm -f mul_fft_.c |
|
mul_n_.c: mul_n.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_n.c; then echo $(srcdir)/mul_n.c; else echo mul_n.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_n_.c || rm -f mul_n_.c |
|
mul_n_mpn_.c: mul_n_mpn.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_n_mpn.c; then echo $(srcdir)/mul_n_mpn.c; else echo mul_n_mpn.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_n_mpn_.c || rm -f mul_n_mpn_.c |
|
mul_n_open_.c: mul_n_open.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_n_open.c; then echo $(srcdir)/mul_n_open.c; else echo mul_n_open.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_n_open_.c || rm -f mul_n_open_.c |
noop_.c: noop.c $(ANSI2KNR) |
noop_.c: noop.c $(ANSI2KNR) |
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/noop.c; then echo $(srcdir)/noop.c; else echo noop.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > noop_.c |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/noop.c; then echo $(srcdir)/noop.c; else echo noop.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > noop_.c || rm -f noop_.c |
|
powm_mod_.c: powm_mod.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/powm_mod.c; then echo $(srcdir)/powm_mod.c; else echo powm_mod.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > powm_mod_.c || rm -f powm_mod_.c |
|
powm_redc_.c: powm_redc.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/powm_redc.c; then echo $(srcdir)/powm_redc.c; else echo powm_redc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > powm_redc_.c || rm -f powm_redc_.c |
|
pre_divrem_1_.c: pre_divrem_1.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pre_divrem_1.c; then echo $(srcdir)/pre_divrem_1.c; else echo pre_divrem_1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > pre_divrem_1_.c || rm -f pre_divrem_1_.c |
|
sb_div_.c: sb_div.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sb_div.c; then echo $(srcdir)/sb_div.c; else echo sb_div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sb_div_.c || rm -f sb_div_.c |
|
sb_divrem_mn_.c: sb_divrem_mn.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sb_divrem_mn.c; then echo $(srcdir)/sb_divrem_mn.c; else echo sb_divrem_mn.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sb_divrem_mn_.c || rm -f sb_divrem_mn_.c |
|
sb_inv_.c: sb_inv.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sb_inv.c; then echo $(srcdir)/sb_inv.c; else echo sb_inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sb_inv_.c || rm -f sb_inv_.c |
|
set_strb_.c: set_strb.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/set_strb.c; then echo $(srcdir)/set_strb.c; else echo set_strb.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > set_strb_.c || rm -f set_strb_.c |
|
set_strs_.c: set_strs.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/set_strs.c; then echo $(srcdir)/set_strs.c; else echo set_strs.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > set_strs_.c || rm -f set_strs_.c |
speed_.c: speed.c $(ANSI2KNR) |
speed_.c: speed.c $(ANSI2KNR) |
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/speed.c; then echo $(srcdir)/speed.c; else echo speed.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > speed_.c |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/speed.c; then echo $(srcdir)/speed.c; else echo speed.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > speed_.c || rm -f speed_.c |
speed-ext_.c: speed-ext.c $(ANSI2KNR) |
speed-ext_.c: speed-ext.c $(ANSI2KNR) |
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/speed-ext.c; then echo $(srcdir)/speed-ext.c; else echo speed-ext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > speed-ext_.c |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/speed-ext.c; then echo $(srcdir)/speed-ext.c; else echo speed-ext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > speed-ext_.c || rm -f speed-ext_.c |
|
sqr_basecase_.c: sqr_basecase.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sqr_basecase.c; then echo $(srcdir)/sqr_basecase.c; else echo sqr_basecase.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sqr_basecase_.c || rm -f sqr_basecase_.c |
|
tdiv_qr_.c: tdiv_qr.c $(ANSI2KNR) |
|
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tdiv_qr.c; then echo $(srcdir)/tdiv_qr.c; else echo tdiv_qr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tdiv_qr_.c || rm -f tdiv_qr_.c |
time_.c: time.c $(ANSI2KNR) |
time_.c: time.c $(ANSI2KNR) |
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/time.c; then echo $(srcdir)/time.c; else echo time.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > time_.c |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/time.c; then echo $(srcdir)/time.c; else echo time.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > time_.c || rm -f time_.c |
tuneup_.c: tuneup.c $(ANSI2KNR) |
tuneup_.c: tuneup.c $(ANSI2KNR) |
$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tuneup.c; then echo $(srcdir)/tuneup.c; else echo tuneup.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tuneup_.c |
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tuneup.c; then echo $(srcdir)/tuneup.c; else echo tuneup.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tuneup_.c || rm -f tuneup_.c |
common_.$(OBJEXT) common_.lo noop_.$(OBJEXT) noop_.lo speed_.$(OBJEXT) \ |
common_.$(OBJEXT) common_.lo dc_divrem_n_.$(OBJEXT) dc_divrem_n_.lo \ |
speed_.lo speed-ext_.$(OBJEXT) speed-ext_.lo time_.$(OBJEXT) time_.lo \ |
divrem1div_.$(OBJEXT) divrem1div_.lo divrem1inv_.$(OBJEXT) \ |
tuneup_.$(OBJEXT) tuneup_.lo : $(ANSI2KNR) |
divrem1inv_.lo divrem2div_.$(OBJEXT) divrem2div_.lo \ |
|
divrem2inv_.$(OBJEXT) divrem2inv_.lo divrem_1_.$(OBJEXT) divrem_1_.lo \ |
|
divrem_2_.$(OBJEXT) divrem_2_.lo freq_.$(OBJEXT) freq_.lo \ |
|
gcd_.$(OBJEXT) gcd_.lo gcd_bin_.$(OBJEXT) gcd_bin_.lo \ |
|
gcd_finda_gen_.$(OBJEXT) gcd_finda_gen_.lo gcdext_double_.$(OBJEXT) \ |
|
gcdext_double_.lo gcdext_single_.$(OBJEXT) gcdext_single_.lo \ |
|
gcdextod_.$(OBJEXT) gcdextod_.lo gcdextos_.$(OBJEXT) gcdextos_.lo \ |
|
get_str_.$(OBJEXT) get_str_.lo jacbase1_.$(OBJEXT) jacbase1_.lo \ |
|
jacbase2_.$(OBJEXT) jacbase2_.lo jacbase3_.$(OBJEXT) jacbase3_.lo \ |
|
mod_1_.$(OBJEXT) mod_1_.lo mod_1_div_.$(OBJEXT) mod_1_div_.lo \ |
|
mod_1_inv_.$(OBJEXT) mod_1_inv_.lo modlinv_.$(OBJEXT) modlinv_.lo \ |
|
mul_.$(OBJEXT) mul_.lo mul_fft_.$(OBJEXT) mul_fft_.lo mul_n_.$(OBJEXT) \ |
|
mul_n_.lo mul_n_mpn_.$(OBJEXT) mul_n_mpn_.lo mul_n_open_.$(OBJEXT) \ |
|
mul_n_open_.lo noop_.$(OBJEXT) noop_.lo powm_mod_.$(OBJEXT) \ |
|
powm_mod_.lo powm_redc_.$(OBJEXT) powm_redc_.lo pre_divrem_1_.$(OBJEXT) \ |
|
pre_divrem_1_.lo sb_div_.$(OBJEXT) sb_div_.lo sb_divrem_mn_.$(OBJEXT) \ |
|
sb_divrem_mn_.lo sb_inv_.$(OBJEXT) sb_inv_.lo set_strb_.$(OBJEXT) \ |
|
set_strb_.lo set_strs_.$(OBJEXT) set_strs_.lo speed_.$(OBJEXT) \ |
|
speed_.lo speed-ext_.$(OBJEXT) speed-ext_.lo sqr_basecase_.$(OBJEXT) \ |
|
sqr_basecase_.lo tdiv_qr_.$(OBJEXT) tdiv_qr_.lo time_.$(OBJEXT) \ |
|
time_.lo tuneup_.$(OBJEXT) tuneup_.lo : $(ANSI2KNR) |
|
uninstall-info-am: |
|
|
tags: TAGS |
tags: TAGS |
|
|
Line 319 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
|
Line 511 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
|
done | \ |
done | \ |
$(AWK) ' { files[$$0] = 1; } \ |
$(AWK) ' { files[$$0] = 1; } \ |
END { for (i in files) print i; }'`; \ |
END { for (i in files) print i; }'`; \ |
mkid -f$$here/ID $$unique $(LISP) |
mkid -fID $$unique $(LISP) |
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
$(TAGS_FILES) $(LISP) |
$(TAGS_FILES) $(LISP) |
Line 334 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
|
Line 526 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \ |
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP) |
|| etags $(ETAGS_ARGS) $$tags $$unique $(LISP) |
|
|
mostlyclean-tags: |
GTAGS: |
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \ |
|
&& cd $(top_srcdir) \ |
|
&& gtags -i $(GTAGS_ARGS) $$here |
|
|
clean-tags: |
|
|
|
distclean-tags: |
distclean-tags: |
-rm -f TAGS ID |
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH |
|
|
maintainer-clean-tags: |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) |
top_distdir = .. |
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) |
|
|
distdir: $(DISTFILES) |
distdir: $(DISTFILES) |
@for file in $(DISTFILES); do \ |
@for file in $(DISTFILES); do \ |
d=$(srcdir); \ |
if test -f $$file; then d=.; else d=$(srcdir); fi; \ |
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
|
$(mkinstalldirs) "$(distdir)/$$dir"; \ |
|
fi; \ |
if test -d $$d/$$file; then \ |
if test -d $$d/$$file; then \ |
cp -pR $$d/$$file $(distdir); \ |
cp -pR $$d/$$file $(distdir) \ |
|
|| exit 1; \ |
else \ |
else \ |
test -f $(distdir)/$$file \ |
test -f $(distdir)/$$file \ |
|| cp -p $$d/$$file $(distdir)/$$file || :; \ |
|| cp -p $$d/$$file $(distdir)/$$file \ |
|
|| exit 1; \ |
fi; \ |
fi; \ |
done |
done |
info-am: |
|
info: info-am |
|
dvi-am: |
|
dvi: dvi-am |
|
check-am: all-am |
check-am: all-am |
check: check-am |
check: check-am |
installcheck-am: |
all-am: Makefile $(HEADERS) |
installcheck: installcheck-am |
|
install-exec-am: |
|
install-exec: install-exec-am |
|
|
|
install-data-am: |
installdirs: |
|
|
|
install: install-am |
|
install-exec: install-exec-am |
install-data: install-data-am |
install-data: install-data-am |
|
uninstall: uninstall-am |
|
|
install-am: all-am |
install-am: all-am |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
install: install-am |
|
uninstall-am: |
|
uninstall: uninstall-am |
|
all-am: Makefile $(HEADERS) |
|
all-redirect: all-am |
|
install-strip: |
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install |
|
installdirs: |
|
|
|
|
installcheck: installcheck-am |
|
install-strip: |
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
|
`test -z '$(STRIP)' || \ |
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
mostlyclean-generic: |
mostlyclean-generic: |
|
|
clean-generic: |
clean-generic: |
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) |
|
|
distclean-generic: |
distclean-generic: |
-rm -f Makefile $(CONFIG_CLEAN_FILES) |
-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]* |
-rm -f config.cache config.log stamp-h stamp-h[0-9]* |
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) |
|
|
maintainer-clean-generic: |
maintainer-clean-generic: |
-rm -f Makefile.in |
@echo "This command is intended for maintainers to use" |
mostlyclean-am: mostlyclean-compile mostlyclean-libtool mostlyclean-kr \ |
@echo "it deletes files that may require special tools to rebuild." |
mostlyclean-tags mostlyclean-generic |
clean: clean-am |
|
|
mostlyclean: mostlyclean-am |
clean-am: clean-generic clean-libtool mostlyclean-am |
|
|
clean-am: clean-compile clean-libtool clean-kr clean-tags clean-generic \ |
distclean: distclean-am |
mostlyclean-am |
|
|
|
clean: clean-am |
distclean-am: clean-am distclean-compile distclean-generic \ |
|
distclean-libtool distclean-tags |
|
|
distclean-am: distclean-compile distclean-libtool distclean-kr \ |
dvi: dvi-am |
distclean-tags distclean-generic clean-am |
|
-rm -f libtool |
|
|
|
distclean: distclean-am |
dvi-am: |
|
|
maintainer-clean-am: maintainer-clean-compile maintainer-clean-libtool \ |
info: info-am |
maintainer-clean-kr maintainer-clean-tags \ |
|
maintainer-clean-generic distclean-am |
|
@echo "This command is intended for maintainers to use;" |
|
@echo "it deletes files that may require special tools to rebuild." |
|
|
|
maintainer-clean: maintainer-clean-am |
info-am: |
|
|
.PHONY: mostlyclean-compile distclean-compile clean-compile \ |
install-data-am: |
maintainer-clean-compile mostlyclean-libtool distclean-libtool \ |
|
clean-libtool maintainer-clean-libtool mostlyclean-kr distclean-kr \ |
|
clean-kr maintainer-clean-kr tags mostlyclean-tags distclean-tags \ |
|
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ |
|
check-am installcheck-am installcheck install-exec-am install-exec \ |
|
install-data-am install-data install-am install uninstall-am uninstall \ |
|
all-redirect all-am all install-strip installdirs mostlyclean-generic \ |
|
distclean-generic clean-generic maintainer-clean-generic clean \ |
|
mostlyclean distclean maintainer-clean |
|
|
|
|
install-exec-am: |
|
|
# Don't know how to get tuneup$U.lo to depend on sqr_basecase.h, so just do |
install-info: install-info-am |
# an explicit make. A plain "make tuneup" will fail if used directly. |
|
tune: |
|
$(MAKE) $(AM_MAKEFLAGS) sqr_basecase.h tuneup$(EXEEXT) |
|
./tuneup |
|
|
|
allprogs: sqr_basecase.h $(EXTRA_PROGRAMS) |
install-man: |
.asm.o: |
|
$(M4) $(M4FLAGS) -DOPERATION_$* $< >tmp-$*.s |
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ |
|
rm -f tmp-$*.s |
|
.asm.obj: |
|
$(M4) $(M4FLAGS) -DOPERATION_$* `cygpath -w $<` >tmp-$*.s |
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ |
|
rm -f tmp-$*.s |
|
.asm.lo: |
|
echo "$(COMPILE_FLAGS)" |
|
$(M4) $(M4FLAGS) -DPIC -DOPERATION_$* $< >tmp-$*.s |
|
$(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ |
|
$(M4) $(M4FLAGS) -DOPERATION_$* $< >tmp-$*.s |
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $*.o |
|
rm -f tmp-$*.s |
|
|
|
sqr_basecase.h: libgmptune.a |
installcheck-am: |
|
|
# "cp -f" is not portable (eg. it fails on SunOS) |
maintainer-clean: maintainer-clean-am |
# "ar r" is going to be a bit fragile because there's more than one mul.o in |
|
# libgmp.a. |
|
|
|
libgmptune.a: $(top_builddir)/libgmp.la $(LIBGMPTUNE_OBJS) |
maintainer-clean-am: distclean-am maintainer-clean-generic |
rm -f libgmptmp.a |
|
eval `$(LIBTOOL) --config | grep '^objdir='` ; \ |
|
cp $(top_builddir)/$$objdir/libgmp.a libgmptmp.a |
|
$(AR) r libgmptmp.a $(LIBGMPTUNE_OBJS) |
|
rm -f $(SQR_CLEANFILES) |
|
echo "" >sqr_basecase.h |
|
if test -f $(top_builddir)/mpn/sqr_basecase.c; then \ |
|
$(MAKE) $(AM_MAKEFLAGS) sqr-basecase-generic; \ |
|
else \ |
|
if grep KARATSUBA_SQR_THRESHOLD_MAX \ |
|
$(top_builddir)/mpn/sqr_basecase.asm >/dev/null; then \ |
|
$(MAKE) $(AM_MAKEFLAGS) sqr-basecase-asm; \ |
|
fi \ |
|
fi |
|
$(RANLIB) libgmptmp.a |
|
rm -f libgmptune.a |
|
mv libgmptmp.a libgmptune.a |
|
|
|
sqr-basecase-generic: |
mostlyclean: mostlyclean-am |
cp $(top_builddir)/mpn/sqr_basecase.c . |
|
$(MAKE) $(AM_MAKEFLAGS) \ |
|
CFLAGS='$(CFLAGS) -DKARATSUBA_SQR_THRESHOLD=$(SQR_GENERIC_MAX)' \ |
|
sqr_basecase.o |
|
$(AR) r libgmptmp.a sqr_basecase.o |
|
echo '#define KARATSUBA_SQR_MAX $(SQR_GENERIC_MAX)' >sqr_basecase.h |
|
|
|
sqr-basecase-asm: |
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \ |
cp $(top_builddir)/mpn/sqr_basecase.asm . |
mostlyclean-libtool |
$(MAKE) $(AM_MAKEFLAGS) \ |
|
M4FLAGS='$(M4FLAGS) -DKARATSUBA_SQR_THRESHOLD_OVERRIDE=KARATSUBA_SQR_THRESHOLD_MAX' \ |
|
sqr_basecase.o |
|
ar r libgmptmp.a sqr_basecase.o |
|
echo "#define KARATSUBA_SQR_MAX `sed -n 's/def...(KARATSUBA_SQR_THRESHOLD_MAX, *\([0-9]*\))/\1/p' sqr_basecase.asm`" >sqr_basecase.h |
|
|
|
mul_n.o: $(top_builddir)/mpn/mul_n.c |
uninstall-am: uninstall-info-am |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_builddir)/mpn/mul_n.c |
|
|
|
mul_fft.o: $(top_builddir)/mpn/mul_fft.c |
.PHONY: GTAGS all all-am check check-am clean clean-generic \ |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_builddir)/mpn/mul_fft.c |
clean-libtool distclean distclean-compile distclean-generic \ |
|
distclean-libtool distclean-tags distdir dvi dvi-am info \ |
|
info-am install install-am install-data install-data-am \ |
|
install-exec install-exec-am install-info install-info-am \ |
|
install-man install-strip installcheck installcheck-am \ |
|
installdirs maintainer-clean maintainer-clean-generic \ |
|
mostlyclean mostlyclean-compile mostlyclean-generic \ |
|
mostlyclean-kr mostlyclean-libtool tags uninstall uninstall-am \ |
|
uninstall-info-am |
|
|
mul.o: $(top_builddir)/mpn/mul.c |
|
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_builddir)/mpn/mul.c |
|
|
|
bz_divrem_n.o: $(top_builddir)/mpn/bz_divrem_n.c |
$(top_builddir)/tests/libtests.la: |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_builddir)/mpn/bz_divrem_n.c |
cd $(top_builddir)/tests; $(MAKE) $(AM_MAKEFLAGS) libtests.la |
|
|
tdiv_qr.o: $(top_builddir)/mpn/tdiv_qr.c |
tune: |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_builddir)/mpn/tdiv_qr.c |
$(MAKE) $(AM_MAKEFLAGS) tuneup$(EXEEXT) |
|
./tuneup |
|
|
fib_ui.o: $(top_srcdir)/mpz/fib_ui.c |
allprogs: $(EXTRA_PROGRAMS) |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_srcdir)/mpz/fib_ui.c |
|
|
|
powm.o: $(top_srcdir)/mpz/powm.c |
$(TUNE_MPN_SRCS_BASIC): |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_srcdir)/mpz/powm.c |
for i in $(TUNE_MPN_SRCS_BASIC); do \ |
|
echo "#define TUNE_PROGRAM_BUILD 1" >$$i; \ |
|
echo "#include \"mpn/generic/$$i\"" >>$$i; \ |
|
done |
|
|
gcd.o: $(top_builddir)/mpn/gcd.c |
divrem_1.c: |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_builddir)/mpn/gcd.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 |
|
|
gcdext.o: $(top_builddir)/mpn/gcdext.c |
mod_1.c: |
$(COMPILE) -DTUNE_PROGRAM_BUILD=1 -c $(top_builddir)/mpn/gcdext.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) `cygpath -w $<` |
|
.s.lo: |
|
$(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$< |
|
|
|
# .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) `cygpath -w $<` | 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)/'`$< |
|
|
|
# .asm assembler, preprocessed with m4. |
|
# |
|
# .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.) |
|
# |
|
.asm.o: |
|
$(M4) -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s |
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ |
|
$(RM_TMP) tmp-$*.s |
|
.asm.obj: |
|
$(M4) -DOPERATION_$* `cygpath -w $<` >tmp-$*.s |
|
$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ |
|
$(RM_TMP) tmp-$*.s |
|
.asm.lo: |
|
$(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$< |
|
|
# "mk" is multiplication in the karatsuba range |
# "mk" is multiplication in the karatsuba range |
# "st" is squaring in the toom-cook range, etc |
# "st" is squaring in the toom-cook range, etc |
# "g" forms produce graphs |
# "g" forms produce graphs |
Line 526 gcdext.o: $(top_builddir)/mpn/gcdext.c |
|
Line 728 gcdext.o: $(top_builddir)/mpn/gcdext.c |
|
mk: |
mk: |
./speed -s 5-40 -c mpn_mul_basecase mpn_kara_mul_n |
./speed -s 5-40 -c mpn_mul_basecase mpn_kara_mul_n |
mt: |
mt: |
./speed $(MTS) mpn_kara_mul_n mpn_toom3_mul_n | less |
./speed $(MTS) mpn_kara_mul_n mpn_toom3_mul_n |
mtg: |
mtg: |
./speed $(MTS) -P mtg mpn_kara_mul_n mpn_toom3_mul_n |
./speed $(MTS) -P mtg mpn_kara_mul_n mpn_toom3_mul_n |
|
|
sk: |
sk: |
./speed -s 5-40 -c mpn_sqr_basecase mpn_kara_sqr_n |
./speed -s 5-40 -c mpn_sqr_basecase mpn_kara_sqr_n |
st: |
st: |
./speed $(STS) mpn_kara_sqr_n mpn_toom3_sqr_n | less |
./speed $(STS) mpn_kara_sqr_n mpn_toom3_sqr_n |
stg: |
stg: |
./speed $(STS) -P stg mpn_kara_sqr_n mpn_toom3_sqr_n |
./speed $(STS) -P stg mpn_kara_sqr_n mpn_toom3_sqr_n |
|
|
bz: |
dc: |
./speed -s 5-40 -c mpn_bz_divrem_sb mpn_bz_divrem_n mpn_bz_tdiv_qr |
./speed -s 5-40 -c mpn_dc_divrem_sb mpn_dc_divrem_n mpn_dc_tdiv_qr |
|
|
fib: |
fib: |
./speed -s 80-120 -c mpz_fib_ui |
./speed -s 40-60 -c mpz_fib_ui |
fibg: |
fibg: |
./speed -s 10-300 -P fibg mpz_fib_ui |
./speed -s 10-300 -P fibg mpz_fib_ui |
|
|
gcd: |
gcd: |
./speed -s 1-20 -c mpn_gcd |
./speed -s 1-20 -c mpn_gcd |
|
|
|
udiv: |
|
./speed -s 1 -c udiv_qrnnd udiv_qrnnd_preinv udiv_qrnnd_preinv2norm invert_limb udiv_qrnnd_c |
|
|
|
divn: |
|
./speed -s 1-30 -c mpn_divrem_1_div.-1 mpn_divrem_1_inv.-1 |
|
divun: |
|
./speed -s 1-30 -c mpn_divrem_1_div.12345 mpn_divrem_1_inv.12345 |
|
modn: |
|
./speed -s 1-30 -c mpn_mod_1_div.-1 mpn_mod_1_inv.-1 |
|
modun: |
|
./speed -s 1-30 -c mpn_mod_1_div.12345 mpn_mod_1_inv.12345 |
|
|
graph: |
graph: |
./speed -s 1-5000 -f 1.02 -P graph mpn_mul_n mpn_sqr |
./speed -s 1-5000 -f 1.02 -P graph mpn_mul_n mpn_sqr |
gnuplot graph.gnuplot |
gnuplot graph.gnuplot |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
# 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. |
# Otherwise a system limit (for SysV at least) may be exceeded. |
.NOEXPORT: |
.NOEXPORT: |