github.com/aergoio/aergo@v1.3.1/libtool/src/gmp-6.1.2/tune/Makefile.in (about)

     1  # Makefile.in generated by automake 1.15 from Makefile.am.
     2  # @configure_input@
     3  
     4  # Copyright (C) 1994-2014 Free Software Foundation, Inc.
     5  
     6  # This Makefile.in is free software; the Free Software Foundation
     7  # gives unlimited permission to copy and/or distribute it,
     8  # with or without modifications, as long as this notice is preserved.
     9  
    10  # This program is distributed in the hope that it will be useful,
    11  # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
    12  # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    13  # PARTICULAR PURPOSE.
    14  
    15  @SET_MAKE@
    16  
    17  # Copyright 2000-2003, 2005-2011 Free Software Foundation, Inc.
    18  #
    19  #  This file is part of the GNU MP Library.
    20  #
    21  #  The GNU MP Library is free software; you can redistribute it and/or modify
    22  #  it under the terms of either:
    23  #
    24  #    * the GNU Lesser General Public License as published by the Free
    25  #      Software Foundation; either version 3 of the License, or (at your
    26  #      option) any later version.
    27  #
    28  #  or
    29  #
    30  #    * the GNU General Public License as published by the Free Software
    31  #      Foundation; either version 2 of the License, or (at your option) any
    32  #      later version.
    33  #
    34  #  or both in parallel, as here.
    35  #
    36  #  The GNU MP Library is distributed in the hope that it will be useful, but
    37  #  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    38  #  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    39  #  for more details.
    40  #
    41  #  You should have received copies of the GNU General Public License and the
    42  #  GNU Lesser General Public License along with the GNU MP Library.  If not,
    43  #  see https://www.gnu.org/licenses/.
    44  
    45  # Copyright 1996, 1998-2002 Free Software Foundation, Inc.
    46  #
    47  #  This file is part of the GNU MP Library.
    48  #
    49  #  The GNU MP Library is free software; you can redistribute it and/or modify
    50  #  it under the terms of either:
    51  #
    52  #    * the GNU Lesser General Public License as published by the Free
    53  #      Software Foundation; either version 3 of the License, or (at your
    54  #      option) any later version.
    55  #
    56  #  or
    57  #
    58  #    * the GNU General Public License as published by the Free Software
    59  #      Foundation; either version 2 of the License, or (at your option) any
    60  #      later version.
    61  #
    62  #  or both in parallel, as here.
    63  #
    64  #  The GNU MP Library is distributed in the hope that it will be useful, but
    65  #  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
    66  #  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    67  #  for more details.
    68  #
    69  #  You should have received copies of the GNU General Public License and the
    70  #  GNU Lesser General Public License along with the GNU MP Library.  If not,
    71  #  see https://www.gnu.org/licenses/.
    72  
    73  VPATH = @srcdir@
    74  am__is_gnu_make = { \
    75    if test -z '$(MAKELEVEL)'; then \
    76      false; \
    77    elif test -n '$(MAKE_HOST)'; then \
    78      true; \
    79    elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
    80      true; \
    81    else \
    82      false; \
    83    fi; \
    84  }
    85  am__make_running_with_option = \
    86    case $${target_option-} in \
    87        ?) ;; \
    88        *) echo "am__make_running_with_option: internal error: invalid" \
    89                "target option '$${target_option-}' specified" >&2; \
    90           exit 1;; \
    91    esac; \
    92    has_opt=no; \
    93    sane_makeflags=$$MAKEFLAGS; \
    94    if $(am__is_gnu_make); then \
    95      sane_makeflags=$$MFLAGS; \
    96    else \
    97      case $$MAKEFLAGS in \
    98        *\\[\ \	]*) \
    99          bs=\\; \
   100          sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
   101            | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
   102      esac; \
   103    fi; \
   104    skip_next=no; \
   105    strip_trailopt () \
   106    { \
   107      flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
   108    }; \
   109    for flg in $$sane_makeflags; do \
   110      test $$skip_next = yes && { skip_next=no; continue; }; \
   111      case $$flg in \
   112        *=*|--*) continue;; \
   113          -*I) strip_trailopt 'I'; skip_next=yes;; \
   114        -*I?*) strip_trailopt 'I';; \
   115          -*O) strip_trailopt 'O'; skip_next=yes;; \
   116        -*O?*) strip_trailopt 'O';; \
   117          -*l) strip_trailopt 'l'; skip_next=yes;; \
   118        -*l?*) strip_trailopt 'l';; \
   119        -[dEDm]) skip_next=yes;; \
   120        -[JT]) skip_next=yes;; \
   121      esac; \
   122      case $$flg in \
   123        *$$target_option*) has_opt=yes; break;; \
   124      esac; \
   125    done; \
   126    test $$has_opt = yes
   127  am__make_dryrun = (target_option=n; $(am__make_running_with_option))
   128  am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
   129  pkgdatadir = $(datadir)/@PACKAGE@
   130  pkgincludedir = $(includedir)/@PACKAGE@
   131  pkglibdir = $(libdir)/@PACKAGE@
   132  pkglibexecdir = $(libexecdir)/@PACKAGE@
   133  am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
   134  install_sh_DATA = $(install_sh) -c -m 644
   135  install_sh_PROGRAM = $(install_sh) -c
   136  install_sh_SCRIPT = $(install_sh) -c
   137  INSTALL_HEADER = $(INSTALL_DATA)
   138  transform = $(program_transform_name)
   139  NORMAL_INSTALL = :
   140  PRE_INSTALL = :
   141  POST_INSTALL = :
   142  NORMAL_UNINSTALL = :
   143  PRE_UNINSTALL = :
   144  POST_UNINSTALL = :
   145  build_triplet = @build@
   146  host_triplet = @host@
   147  EXTRA_PROGRAMS = speed$(EXEEXT) speed-dynamic$(EXEEXT) \
   148  	speed-ext$(EXEEXT) tuneup$(EXEEXT) tune-gcd-p$(EXEEXT)
   149  subdir = tune
   150  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
   151  am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
   152  	$(top_srcdir)/configure.ac
   153  am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
   154  	$(ACLOCAL_M4)
   155  DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \
   156  	$(am__DIST_COMMON)
   157  mkinstalldirs = $(install_sh) -d
   158  CONFIG_HEADER = $(top_builddir)/config.h
   159  CONFIG_CLEAN_FILES =
   160  CONFIG_CLEAN_VPATH_FILES =
   161  am__DEPENDENCIES_1 =
   162  am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) \
   163  	$(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
   164  am_libspeed_la_OBJECTS = common.lo divrem1div.lo divrem1inv.lo \
   165  	divrem2div.lo divrem2inv.lo div_qr_1n_pi1_1.lo \
   166  	div_qr_1n_pi1_2.lo div_qr_1_tune.lo freq.lo gcdext_single.lo \
   167  	gcdext_double.lo gcdextod.lo gcdextos.lo hgcd_lehmer.lo \
   168  	hgcd_appr_lehmer.lo hgcd_reduce_1.lo hgcd_reduce_2.lo \
   169  	jacbase1.lo jacbase2.lo jacbase3.lo jacbase4.lo mod_1_div.lo \
   170  	mod_1_inv.lo mod_1_1-1.lo mod_1_1-2.lo modlinv.lo noop.lo \
   171  	powm_mod.lo powm_redc.lo pre_divrem_1.lo set_strb.lo \
   172  	set_strs.lo set_strp.lo time.lo
   173  libspeed_la_OBJECTS = $(am_libspeed_la_OBJECTS)
   174  AM_V_lt = $(am__v_lt_@AM_V@)
   175  am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
   176  am__v_lt_0 = --silent
   177  am__v_lt_1 = 
   178  libspeed_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
   179  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
   180  	$(libspeed_la_LDFLAGS) $(LDFLAGS) -o $@
   181  am_speed_OBJECTS = speed.$(OBJEXT)
   182  speed_OBJECTS = $(am_speed_OBJECTS)
   183  speed_LDADD = $(LDADD)
   184  speed_DEPENDENCIES = $(DEPENDENCIES) $(am__DEPENDENCIES_1)
   185  speed_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
   186  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
   187  	$(speed_LDFLAGS) $(LDFLAGS) -o $@
   188  am_speed_dynamic_OBJECTS = speed.$(OBJEXT)
   189  speed_dynamic_OBJECTS = $(am_speed_dynamic_OBJECTS)
   190  speed_dynamic_LDADD = $(LDADD)
   191  speed_dynamic_DEPENDENCIES = $(DEPENDENCIES) $(am__DEPENDENCIES_1)
   192  am_speed_ext_OBJECTS = speed-ext.$(OBJEXT)
   193  speed_ext_OBJECTS = $(am_speed_ext_OBJECTS)
   194  speed_ext_LDADD = $(LDADD)
   195  speed_ext_DEPENDENCIES = $(DEPENDENCIES) $(am__DEPENDENCIES_1)
   196  speed_ext_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
   197  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
   198  	$(speed_ext_LDFLAGS) $(LDFLAGS) -o $@
   199  am_tune_gcd_p_OBJECTS = tune-gcd-p.$(OBJEXT)
   200  tune_gcd_p_OBJECTS = $(am_tune_gcd_p_OBJECTS)
   201  tune_gcd_p_LDADD = $(LDADD)
   202  tune_gcd_p_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
   203  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
   204  	$(tune_gcd_p_LDFLAGS) $(LDFLAGS) -o $@
   205  am_tuneup_OBJECTS = tuneup.$(OBJEXT)
   206  am__objects_1 = div_qr_2.$(OBJEXT) bdiv_q.$(OBJEXT) bdiv_qr.$(OBJEXT) \
   207  	dcpi1_div_qr.$(OBJEXT) dcpi1_divappr_q.$(OBJEXT) \
   208  	dcpi1_bdiv_qr.$(OBJEXT) dcpi1_bdiv_q.$(OBJEXT) \
   209  	invertappr.$(OBJEXT) invert.$(OBJEXT) binvert.$(OBJEXT) \
   210  	divrem_2.$(OBJEXT) gcd.$(OBJEXT) gcdext.$(OBJEXT) \
   211  	get_str.$(OBJEXT) set_str.$(OBJEXT) matrix22_mul.$(OBJEXT) \
   212  	hgcd.$(OBJEXT) hgcd_appr.$(OBJEXT) hgcd_reduce.$(OBJEXT) \
   213  	mul_n.$(OBJEXT) sqr.$(OBJEXT) sec_powm.$(OBJEXT) \
   214  	mullo_n.$(OBJEXT) mul_fft.$(OBJEXT) mul.$(OBJEXT) \
   215  	tdiv_qr.$(OBJEXT) mulmod_bnm1.$(OBJEXT) sqrmod_bnm1.$(OBJEXT) \
   216  	mulmid.$(OBJEXT) mulmid_n.$(OBJEXT) toom42_mulmid.$(OBJEXT) \
   217  	sqrlo.$(OBJEXT) sqrlo_basecase.$(OBJEXT) \
   218  	nussbaumer_mul.$(OBJEXT) toom6h_mul.$(OBJEXT) \
   219  	toom8h_mul.$(OBJEXT) toom6_sqr.$(OBJEXT) toom8_sqr.$(OBJEXT) \
   220  	toom22_mul.$(OBJEXT) toom2_sqr.$(OBJEXT) toom33_mul.$(OBJEXT) \
   221  	toom3_sqr.$(OBJEXT) toom44_mul.$(OBJEXT) toom4_sqr.$(OBJEXT)
   222  am__objects_2 = $(am__objects_1) divrem_1.$(OBJEXT) mod_1.$(OBJEXT)
   223  nodist_tuneup_OBJECTS = sqr_basecase.$(OBJEXT) fac_ui.$(OBJEXT) \
   224  	$(am__objects_2)
   225  tuneup_OBJECTS = $(am_tuneup_OBJECTS) $(nodist_tuneup_OBJECTS)
   226  am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) libspeed.la
   227  tuneup_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
   228  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
   229  	$(tuneup_LDFLAGS) $(LDFLAGS) -o $@
   230  AM_V_P = $(am__v_P_@AM_V@)
   231  am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
   232  am__v_P_0 = false
   233  am__v_P_1 = :
   234  AM_V_GEN = $(am__v_GEN_@AM_V@)
   235  am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
   236  am__v_GEN_0 = @echo "  GEN     " $@;
   237  am__v_GEN_1 = 
   238  AM_V_at = $(am__v_at_@AM_V@)
   239  am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
   240  am__v_at_0 = @
   241  am__v_at_1 = 
   242  DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
   243  depcomp =
   244  am__depfiles_maybe =
   245  COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
   246  	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
   247  LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
   248  	$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
   249  	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
   250  	$(AM_CFLAGS) $(CFLAGS)
   251  AM_V_CC = $(am__v_CC_@AM_V@)
   252  am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
   253  am__v_CC_0 = @echo "  CC      " $@;
   254  am__v_CC_1 = 
   255  CCLD = $(CC)
   256  LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
   257  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
   258  	$(AM_LDFLAGS) $(LDFLAGS) -o $@
   259  AM_V_CCLD = $(am__v_CCLD_@AM_V@)
   260  am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
   261  am__v_CCLD_0 = @echo "  CCLD    " $@;
   262  am__v_CCLD_1 = 
   263  SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
   264  	$(speed_dynamic_SOURCES) $(speed_ext_SOURCES) \
   265  	$(tune_gcd_p_SOURCES) $(tuneup_SOURCES) \
   266  	$(nodist_tuneup_SOURCES)
   267  DIST_SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
   268  	$(speed_dynamic_SOURCES) $(speed_ext_SOURCES) \
   269  	$(tune_gcd_p_SOURCES) $(tuneup_SOURCES)
   270  am__can_run_installinfo = \
   271    case $$AM_UPDATE_INFO_DIR in \
   272      n|no|NO) false;; \
   273      *) (install-info --version) >/dev/null 2>&1;; \
   274    esac
   275  HEADERS = $(noinst_HEADERS)
   276  am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
   277  # Read a list of newline-separated strings from the standard input,
   278  # and print each of them once, without duplicates.  Input order is
   279  # *not* preserved.
   280  am__uniquify_input = $(AWK) '\
   281    BEGIN { nonempty = 0; } \
   282    { items[$$0] = 1; nonempty = 1; } \
   283    END { if (nonempty) { for (i in items) print i; }; } \
   284  '
   285  # Make sure the list of sources is unique.  This is necessary because,
   286  # e.g., the same source file might be shared among _SOURCES variables
   287  # for different programs/libraries.
   288  am__define_uniq_tagged_files = \
   289    list='$(am__tagged_files)'; \
   290    unique=`for i in $$list; do \
   291      if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
   292    done | $(am__uniquify_input)`
   293  ETAGS = etags
   294  CTAGS = ctags
   295  am__DIST_COMMON = $(srcdir)/../mpn/Makeasm.am $(srcdir)/Makefile.in \
   296  	README
   297  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
   298  ABI = @ABI@
   299  ACLOCAL = @ACLOCAL@
   300  AMTAR = @AMTAR@
   301  AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
   302  AR = @AR@
   303  AS = @AS@
   304  ASMFLAGS = @ASMFLAGS@
   305  AUTOCONF = @AUTOCONF@
   306  AUTOHEADER = @AUTOHEADER@
   307  AUTOMAKE = @AUTOMAKE@
   308  AWK = @AWK@
   309  CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
   310  CC = @CC@
   311  CCAS = @CCAS@
   312  CC_FOR_BUILD = @CC_FOR_BUILD@
   313  CFLAGS = @CFLAGS@
   314  CPP = @CPP@
   315  CPPFLAGS = @CPPFLAGS@
   316  CPP_FOR_BUILD = @CPP_FOR_BUILD@
   317  CXX = @CXX@
   318  CXXCPP = @CXXCPP@
   319  CXXFLAGS = @CXXFLAGS@
   320  CYGPATH_W = @CYGPATH_W@
   321  DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
   322  DEFS = @DEFS@
   323  DLLTOOL = @DLLTOOL@
   324  DSYMUTIL = @DSYMUTIL@
   325  DUMPBIN = @DUMPBIN@
   326  ECHO_C = @ECHO_C@
   327  ECHO_N = @ECHO_N@
   328  ECHO_T = @ECHO_T@
   329  EGREP = @EGREP@
   330  EXEEXT = @EXEEXT@
   331  EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
   332  FGREP = @FGREP@
   333  GMP_LDFLAGS = @GMP_LDFLAGS@
   334  GMP_LIMB_BITS = @GMP_LIMB_BITS@
   335  GMP_NAIL_BITS = @GMP_NAIL_BITS@
   336  GREP = @GREP@
   337  HAVE_CLOCK_01 = @HAVE_CLOCK_01@
   338  HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
   339  HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
   340  HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
   341  HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
   342  HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
   343  HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
   344  HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
   345  HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
   346  HAVE_STACK_T_01 = @HAVE_STACK_T_01@
   347  HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
   348  INSTALL = @INSTALL@
   349  INSTALL_DATA = @INSTALL_DATA@
   350  INSTALL_PROGRAM = @INSTALL_PROGRAM@
   351  INSTALL_SCRIPT = @INSTALL_SCRIPT@
   352  INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
   353  LD = @LD@
   354  LDFLAGS = @LDFLAGS@
   355  LEX = @LEX@
   356  LEXLIB = @LEXLIB@
   357  LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
   358  LIBCURSES = @LIBCURSES@
   359  LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
   360  LIBGMP_DLL = @LIBGMP_DLL@
   361  LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
   362  LIBM = @LIBM@
   363  LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
   364  LIBOBJS = @LIBOBJS@
   365  LIBREADLINE = @LIBREADLINE@
   366  LIBS = @LIBS@
   367  LIBTOOL = @LIBTOOL@
   368  LIPO = @LIPO@
   369  LN_S = @LN_S@
   370  LTLIBOBJS = @LTLIBOBJS@
   371  LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
   372  M4 = @M4@
   373  MAINT = @MAINT@
   374  MAKEINFO = @MAKEINFO@
   375  MANIFEST_TOOL = @MANIFEST_TOOL@
   376  MKDIR_P = @MKDIR_P@
   377  NM = @NM@
   378  NMEDIT = @NMEDIT@
   379  OBJDUMP = @OBJDUMP@
   380  OBJEXT = @OBJEXT@
   381  OTOOL = @OTOOL@
   382  OTOOL64 = @OTOOL64@
   383  PACKAGE = @PACKAGE@
   384  PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
   385  PACKAGE_NAME = @PACKAGE_NAME@
   386  PACKAGE_STRING = @PACKAGE_STRING@
   387  PACKAGE_TARNAME = @PACKAGE_TARNAME@
   388  PACKAGE_URL = @PACKAGE_URL@
   389  PACKAGE_VERSION = @PACKAGE_VERSION@
   390  PATH_SEPARATOR = @PATH_SEPARATOR@
   391  RANLIB = @RANLIB@
   392  SED = @SED@
   393  SET_MAKE = @SET_MAKE@
   394  SHELL = @SHELL@
   395  SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
   396  STRIP = @STRIP@
   397  TAL_OBJECT = @TAL_OBJECT@
   398  TUNE_LIBS = @TUNE_LIBS@
   399  TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
   400  U_FOR_BUILD = @U_FOR_BUILD@
   401  VERSION = @VERSION@
   402  WITH_READLINE_01 = @WITH_READLINE_01@
   403  YACC = @YACC@
   404  YFLAGS = @YFLAGS@
   405  abs_builddir = @abs_builddir@
   406  abs_srcdir = @abs_srcdir@
   407  abs_top_builddir = @abs_top_builddir@
   408  abs_top_srcdir = @abs_top_srcdir@
   409  ac_ct_AR = @ac_ct_AR@
   410  ac_ct_CC = @ac_ct_CC@
   411  ac_ct_CXX = @ac_ct_CXX@
   412  ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
   413  am__leading_dot = @am__leading_dot@
   414  am__tar = @am__tar@
   415  am__untar = @am__untar@
   416  bindir = @bindir@
   417  build = @build@
   418  build_alias = @build_alias@
   419  build_cpu = @build_cpu@
   420  build_os = @build_os@
   421  build_vendor = @build_vendor@
   422  builddir = @builddir@
   423  datadir = @datadir@
   424  datarootdir = @datarootdir@
   425  docdir = @docdir@
   426  dvidir = @dvidir@
   427  exec_prefix = @exec_prefix@
   428  gmp_srclinks = @gmp_srclinks@
   429  host = @host@
   430  host_alias = @host_alias@
   431  host_cpu = @host_cpu@
   432  host_os = @host_os@
   433  host_vendor = @host_vendor@
   434  htmldir = @htmldir@
   435  includedir = @includedir@
   436  infodir = @infodir@
   437  install_sh = @install_sh@
   438  libdir = @libdir@
   439  libexecdir = @libexecdir@
   440  localedir = @localedir@
   441  localstatedir = @localstatedir@
   442  mandir = @mandir@
   443  mkdir_p = @mkdir_p@
   444  mpn_objects = @mpn_objects@
   445  mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
   446  oldincludedir = @oldincludedir@
   447  pdfdir = @pdfdir@
   448  prefix = @prefix@
   449  program_transform_name = @program_transform_name@
   450  psdir = @psdir@
   451  sbindir = @sbindir@
   452  sharedstatedir = @sharedstatedir@
   453  srcdir = @srcdir@
   454  sysconfdir = @sysconfdir@
   455  target_alias = @target_alias@
   456  top_build_prefix = @top_build_prefix@
   457  top_builddir = @top_builddir@
   458  top_srcdir = @top_srcdir@
   459  AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tests
   460  EXTRA_DIST = alpha.asm pentium.asm sparcv9.asm hppa.asm hppa2.asm hppa2w.asm \
   461    ia64.asm powerpc.asm powerpc64.asm x86_64.asm many.pl
   462  
   463  noinst_HEADERS = speed.h
   464  @ENABLE_STATIC_FALSE@STATIC = 
   465  
   466  # Prefer -static on the speed and tune programs, since that can avoid
   467  # overheads of shared library linkages on some systems.  Libtool tends to
   468  # botch -static if configured with --disable-static, perhaps reasonably
   469  # enough.  In any event under --disable-static the only choice is a dynamic
   470  # link so there's no point in -static.
   471  #
   472  @ENABLE_STATIC_TRUE@STATIC = -static
   473  EXTRA_LTLIBRARIES = libspeed.la
   474  libspeed_la_SOURCES = \
   475    common.c divrem1div.c divrem1inv.c divrem2div.c divrem2inv.c		\
   476    div_qr_1n_pi1_1.c div_qr_1n_pi1_2.c div_qr_1_tune.c			\
   477    freq.c								\
   478    gcdext_single.c gcdext_double.c gcdextod.c gcdextos.c			\
   479    hgcd_lehmer.c hgcd_appr_lehmer.c hgcd_reduce_1.c hgcd_reduce_2.c	\
   480    jacbase1.c jacbase2.c jacbase3.c jacbase4.c				\
   481    mod_1_div.c mod_1_inv.c mod_1_1-1.c mod_1_1-2.c modlinv.c		\
   482    noop.c powm_mod.c powm_redc.c pre_divrem_1.c				\
   483    set_strb.c set_strs.c set_strp.c time.c
   484  
   485  libspeed_la_DEPENDENCIES = $(SPEED_CYCLECOUNTER_OBJ) \
   486    $(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
   487  
   488  libspeed_la_LIBADD = $(libspeed_la_DEPENDENCIES) $(LIBM)
   489  libspeed_la_LDFLAGS = $(STATIC)
   490  DEPENDENCIES = libspeed.la
   491  LDADD = $(DEPENDENCIES) $(TUNE_LIBS)
   492  speed_SOURCES = speed.c
   493  speed_LDFLAGS = $(STATIC)
   494  speed_dynamic_SOURCES = speed.c
   495  speed_ext_SOURCES = speed-ext.c
   496  speed_ext_LDFLAGS = $(STATIC)
   497  tuneup_SOURCES = tuneup.c
   498  nodist_tuneup_SOURCES = sqr_basecase.c fac_ui.c $(TUNE_MPN_SRCS)
   499  tuneup_DEPENDENCIES = $(TUNE_SQR_OBJ) libspeed.la
   500  tuneup_LDADD = $(tuneup_DEPENDENCIES) $(TUNE_LIBS)
   501  tuneup_LDFLAGS = $(STATIC)
   502  tune_gcd_p_SOURCES = tune-gcd-p.c
   503  tune_gcd_p_DEPENDENCIES = ../mpn/gcd.c
   504  tune_gcd_p_LDFLAGS = $(STATIC)
   505  
   506  # $(MANY_CLEAN) and $(MANY_DISTCLEAN) are hooks for many.pl
   507  CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \
   508  	$(TUNE_MPN_SRCS) fac_ui.c sqr_asm.asm \
   509  	stg.gnuplot stg.data \
   510  	mtg.gnuplot mtg.data \
   511  	fibg.gnuplot fibg.data \
   512  	graph.gnuplot graph.data \
   513  	$(MANY_CLEAN)
   514  
   515  DISTCLEANFILES = sqr_basecase.c  $(MANY_DISTCLEAN)
   516  
   517  # Generating these little files at build time seems better than including
   518  # them in the distribution, since the list can be changed more easily.
   519  #
   520  # mpn/generic/tdiv_qr.c uses mpn_divrem_1 and mpn_divrem_2, but only for 1
   521  # and 2 limb divisors, which are never used during tuning, so it doesn't
   522  # matter whether it picks up a tuned or untuned version of those.
   523  #
   524  # divrem_1 and mod_1 are recompiled renamed to "_tune" to avoid a linking
   525  # problem.  If a native divrem_1 provides an mpn_divrem_1c entrypoint then
   526  # common.c will want that, but the generic divrem_1 doesn't provide it,
   527  # likewise for mod_1.  The simplest way around this is to have the tune
   528  # build versions renamed suitably.
   529  #
   530  # FIXME: Would like say mul_n.c to depend on $(top_builddir)/mul_n.c so the
   531  # recompiled object will be rebuilt if that file changes.
   532  TUNE_MPN_SRCS = $(TUNE_MPN_SRCS_BASIC) divrem_1.c mod_1.c
   533  TUNE_MPN_SRCS_BASIC = div_qr_2.c bdiv_q.c bdiv_qr.c			\
   534    dcpi1_div_qr.c dcpi1_divappr_q.c dcpi1_bdiv_qr.c dcpi1_bdiv_q.c	\
   535    invertappr.c invert.c binvert.c divrem_2.c gcd.c gcdext.c		\
   536    get_str.c set_str.c matrix22_mul.c					\
   537    hgcd.c hgcd_appr.c hgcd_reduce.c					\
   538    mul_n.c sqr.c sec_powm.c						\
   539    mullo_n.c mul_fft.c mul.c tdiv_qr.c mulmod_bnm1.c sqrmod_bnm1.c	\
   540    mulmid.c mulmid_n.c toom42_mulmid.c sqrlo.c sqrlo_basecase.c		\
   541    nussbaumer_mul.c toom6h_mul.c toom8h_mul.c toom6_sqr.c toom8_sqr.c	\
   542    toom22_mul.c toom2_sqr.c toom33_mul.c toom3_sqr.c toom44_mul.c toom4_sqr.c
   543  
   544  
   545  # COMPILE minus CC.
   546  #
   547  COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
   548  	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS)
   549  
   550  
   551  # Flags used for preprocessing (in ansi2knr rules).
   552  #
   553  PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
   554  	$(CPPFLAGS)
   555  
   556  
   557  # Recent versions of automake (1.5 and up for instance) append automake
   558  # generated suffixes to this $(SUFFIXES) list.  This is essential for us,
   559  # since .c must come after .s, .S and .asm.  If .c is before .s, for
   560  # instance, then in the mpn directory "make" will see add_n.c mentioned in
   561  # an explicit rule (the ansi2knr stuff) and decide it must have add_n.c,
   562  # even if add_n.c doesn't exist but add_n.s does.  See GNU make
   563  # documentation "(make)Implicit Rule Search", part 5c.
   564  #
   565  # On IRIX 6 native make this doesn't work properly though.  Somehow .c
   566  # remains ahead of .s, perhaps because .c.s is a builtin rule.  .asm works
   567  # fine though, and mpn/mips3 uses this.
   568  #
   569  SUFFIXES = .s .S .asm
   570  
   571  # can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
   572  RM_TMP = rm -f
   573  all: all-am
   574  
   575  .SUFFIXES:
   576  .SUFFIXES: .s .S .asm .c .lo .o .obj
   577  $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../mpn/Makeasm.am $(am__configure_deps)
   578  	@for dep in $?; do \
   579  	  case '$(am__configure_deps)' in \
   580  	    *$$dep*) \
   581  	      ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
   582  	        && { if test -f $@; then exit 0; else break; fi; }; \
   583  	      exit 1;; \
   584  	  esac; \
   585  	done; \
   586  	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps tune/Makefile'; \
   587  	$(am__cd) $(top_srcdir) && \
   588  	  $(AUTOMAKE) --gnu --ignore-deps tune/Makefile
   589  Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
   590  	@case '$?' in \
   591  	  *config.status*) \
   592  	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
   593  	  *) \
   594  	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
   595  	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
   596  	esac;
   597  $(srcdir)/../mpn/Makeasm.am $(am__empty):
   598  
   599  $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
   600  	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   601  
   602  $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
   603  	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   604  $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
   605  	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
   606  $(am__aclocal_m4_deps):
   607  
   608  libspeed.la: $(libspeed_la_OBJECTS) $(libspeed_la_DEPENDENCIES) $(EXTRA_libspeed_la_DEPENDENCIES) 
   609  	$(AM_V_CCLD)$(libspeed_la_LINK)  $(libspeed_la_OBJECTS) $(libspeed_la_LIBADD) $(LIBS)
   610  
   611  speed$(EXEEXT): $(speed_OBJECTS) $(speed_DEPENDENCIES) $(EXTRA_speed_DEPENDENCIES) 
   612  	@rm -f speed$(EXEEXT)
   613  	$(AM_V_CCLD)$(speed_LINK) $(speed_OBJECTS) $(speed_LDADD) $(LIBS)
   614  
   615  speed-dynamic$(EXEEXT): $(speed_dynamic_OBJECTS) $(speed_dynamic_DEPENDENCIES) $(EXTRA_speed_dynamic_DEPENDENCIES) 
   616  	@rm -f speed-dynamic$(EXEEXT)
   617  	$(AM_V_CCLD)$(LINK) $(speed_dynamic_OBJECTS) $(speed_dynamic_LDADD) $(LIBS)
   618  
   619  speed-ext$(EXEEXT): $(speed_ext_OBJECTS) $(speed_ext_DEPENDENCIES) $(EXTRA_speed_ext_DEPENDENCIES) 
   620  	@rm -f speed-ext$(EXEEXT)
   621  	$(AM_V_CCLD)$(speed_ext_LINK) $(speed_ext_OBJECTS) $(speed_ext_LDADD) $(LIBS)
   622  
   623  tune-gcd-p$(EXEEXT): $(tune_gcd_p_OBJECTS) $(tune_gcd_p_DEPENDENCIES) $(EXTRA_tune_gcd_p_DEPENDENCIES) 
   624  	@rm -f tune-gcd-p$(EXEEXT)
   625  	$(AM_V_CCLD)$(tune_gcd_p_LINK) $(tune_gcd_p_OBJECTS) $(tune_gcd_p_LDADD) $(LIBS)
   626  
   627  tuneup$(EXEEXT): $(tuneup_OBJECTS) $(tuneup_DEPENDENCIES) $(EXTRA_tuneup_DEPENDENCIES) 
   628  	@rm -f tuneup$(EXEEXT)
   629  	$(AM_V_CCLD)$(tuneup_LINK) $(tuneup_OBJECTS) $(tuneup_LDADD) $(LIBS)
   630  
   631  mostlyclean-compile:
   632  	-rm -f *.$(OBJEXT)
   633  
   634  distclean-compile:
   635  	-rm -f *.tab.c
   636  
   637  .c.o:
   638  	$(AM_V_CC)$(COMPILE) -c -o $@ $<
   639  
   640  .c.obj:
   641  	$(AM_V_CC)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
   642  
   643  .c.lo:
   644  	$(AM_V_CC)$(LTCOMPILE) -c -o $@ $<
   645  
   646  mostlyclean-libtool:
   647  	-rm -f *.lo
   648  
   649  clean-libtool:
   650  	-rm -rf .libs _libs
   651  
   652  ID: $(am__tagged_files)
   653  	$(am__define_uniq_tagged_files); mkid -fID $$unique
   654  tags: tags-am
   655  TAGS: tags
   656  
   657  tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
   658  	set x; \
   659  	here=`pwd`; \
   660  	$(am__define_uniq_tagged_files); \
   661  	shift; \
   662  	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
   663  	  test -n "$$unique" || unique=$$empty_fix; \
   664  	  if test $$# -gt 0; then \
   665  	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
   666  	      "$$@" $$unique; \
   667  	  else \
   668  	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
   669  	      $$unique; \
   670  	  fi; \
   671  	fi
   672  ctags: ctags-am
   673  
   674  CTAGS: ctags
   675  ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
   676  	$(am__define_uniq_tagged_files); \
   677  	test -z "$(CTAGS_ARGS)$$unique" \
   678  	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
   679  	     $$unique
   680  
   681  GTAGS:
   682  	here=`$(am__cd) $(top_builddir) && pwd` \
   683  	  && $(am__cd) $(top_srcdir) \
   684  	  && gtags -i $(GTAGS_ARGS) "$$here"
   685  cscopelist: cscopelist-am
   686  
   687  cscopelist-am: $(am__tagged_files)
   688  	list='$(am__tagged_files)'; \
   689  	case "$(srcdir)" in \
   690  	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
   691  	  *) sdir=$(subdir)/$(srcdir) ;; \
   692  	esac; \
   693  	for i in $$list; do \
   694  	  if test -f "$$i"; then \
   695  	    echo "$(subdir)/$$i"; \
   696  	  else \
   697  	    echo "$$sdir/$$i"; \
   698  	  fi; \
   699  	done >> $(top_builddir)/cscope.files
   700  
   701  distclean-tags:
   702  	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
   703  
   704  distdir: $(DISTFILES)
   705  	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
   706  	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
   707  	list='$(DISTFILES)'; \
   708  	  dist_files=`for file in $$list; do echo $$file; done | \
   709  	  sed -e "s|^$$srcdirstrip/||;t" \
   710  	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
   711  	case $$dist_files in \
   712  	  */*) $(MKDIR_P) `echo "$$dist_files" | \
   713  			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
   714  			   sort -u` ;; \
   715  	esac; \
   716  	for file in $$dist_files; do \
   717  	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
   718  	  if test -d $$d/$$file; then \
   719  	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
   720  	    if test -d "$(distdir)/$$file"; then \
   721  	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
   722  	    fi; \
   723  	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
   724  	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
   725  	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
   726  	    fi; \
   727  	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
   728  	  else \
   729  	    test -f "$(distdir)/$$file" \
   730  	    || cp -p $$d/$$file "$(distdir)/$$file" \
   731  	    || exit 1; \
   732  	  fi; \
   733  	done
   734  check-am: all-am
   735  check: check-am
   736  all-am: Makefile $(HEADERS)
   737  installdirs:
   738  install: install-am
   739  install-exec: install-exec-am
   740  install-data: install-data-am
   741  uninstall: uninstall-am
   742  
   743  install-am: all-am
   744  	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
   745  
   746  installcheck: installcheck-am
   747  install-strip:
   748  	if test -z '$(STRIP)'; then \
   749  	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   750  	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   751  	      install; \
   752  	else \
   753  	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
   754  	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
   755  	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
   756  	fi
   757  mostlyclean-generic:
   758  
   759  clean-generic:
   760  	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
   761  
   762  distclean-generic:
   763  	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
   764  	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
   765  	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
   766  
   767  maintainer-clean-generic:
   768  	@echo "This command is intended for maintainers to use"
   769  	@echo "it deletes files that may require special tools to rebuild."
   770  clean: clean-am
   771  
   772  clean-am: clean-generic clean-libtool mostlyclean-am
   773  
   774  distclean: distclean-am
   775  	-rm -f Makefile
   776  distclean-am: clean-am distclean-compile distclean-generic \
   777  	distclean-tags
   778  
   779  dvi: dvi-am
   780  
   781  dvi-am:
   782  
   783  html: html-am
   784  
   785  html-am:
   786  
   787  info: info-am
   788  
   789  info-am:
   790  
   791  install-data-am:
   792  
   793  install-dvi: install-dvi-am
   794  
   795  install-dvi-am:
   796  
   797  install-exec-am:
   798  
   799  install-html: install-html-am
   800  
   801  install-html-am:
   802  
   803  install-info: install-info-am
   804  
   805  install-info-am:
   806  
   807  install-man:
   808  
   809  install-pdf: install-pdf-am
   810  
   811  install-pdf-am:
   812  
   813  install-ps: install-ps-am
   814  
   815  install-ps-am:
   816  
   817  installcheck-am:
   818  
   819  maintainer-clean: maintainer-clean-am
   820  	-rm -f Makefile
   821  maintainer-clean-am: distclean-am maintainer-clean-generic
   822  
   823  mostlyclean: mostlyclean-am
   824  
   825  mostlyclean-am: mostlyclean-compile mostlyclean-generic \
   826  	mostlyclean-libtool
   827  
   828  pdf: pdf-am
   829  
   830  pdf-am:
   831  
   832  ps: ps-am
   833  
   834  ps-am:
   835  
   836  uninstall-am:
   837  
   838  .MAKE: install-am install-strip
   839  
   840  .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
   841  	clean-libtool cscopelist-am ctags ctags-am distclean \
   842  	distclean-compile distclean-generic distclean-libtool \
   843  	distclean-tags distdir dvi dvi-am html html-am info info-am \
   844  	install install-am install-data install-data-am install-dvi \
   845  	install-dvi-am install-exec install-exec-am install-html \
   846  	install-html-am install-info install-info-am install-man \
   847  	install-pdf install-pdf-am install-ps install-ps-am \
   848  	install-strip installcheck installcheck-am installdirs \
   849  	maintainer-clean maintainer-clean-generic mostlyclean \
   850  	mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
   851  	pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
   852  
   853  .PRECIOUS: Makefile
   854  
   855  
   856  $(top_builddir)/tests/libtests.la:
   857  	cd $(top_builddir)/tests; $(MAKE) $(AM_MAKEFLAGS) libtests.la
   858  
   859  tune:
   860  	$(MAKE) $(AM_MAKEFLAGS) tuneup$(EXEEXT)
   861  	./tuneup
   862  
   863  allprogs: $(EXTRA_PROGRAMS)
   864  
   865  $(TUNE_MPN_SRCS_BASIC):
   866  	for i in $(TUNE_MPN_SRCS_BASIC); do \
   867  	  echo "#define TUNE_PROGRAM_BUILD 1" >$$i; \
   868  	  echo "#include \"mpn/generic/$$i\"" >>$$i; \
   869  	done
   870  
   871  divrem_1.c:
   872  	echo "#define TUNE_PROGRAM_BUILD 1"                >divrem_1.c
   873  	echo "#define __gmpn_divrem_1  mpn_divrem_1_tune" >>divrem_1.c
   874  	echo "#include \"mpn/generic/divrem_1.c\""        >>divrem_1.c
   875  
   876  mod_1.c:
   877  	echo "#define TUNE_PROGRAM_BUILD 1"          >mod_1.c
   878  	echo "#define __gmpn_mod_1  mpn_mod_1_tune" >>mod_1.c
   879  	echo "#include \"mpn/generic/mod_1.c\""     >>mod_1.c
   880  
   881  sqr_asm.asm: $(top_builddir)/mpn/sqr_basecase.asm
   882  	echo 'define(SQR_TOOM2_THRESHOLD_OVERRIDE,SQR_TOOM2_THRESHOLD_MAX)' >sqr_asm.asm
   883  	echo 'include(../mpn/sqr_basecase.asm)' >>sqr_asm.asm
   884  
   885  # FIXME: Should it depend on $(top_builddir)/fac_ui.h too?
   886  fac_ui.c: $(top_builddir)/mpz/fac_ui.c
   887  	echo "#define TUNE_PROGRAM_BUILD 1"          >fac_ui.c
   888  	echo "#define __gmpz_fac_ui mpz_fac_ui_tune" >>fac_ui.c
   889  	echo "#define __gmpz_oddfac_1 mpz_oddfac_1_tune" >>fac_ui.c
   890  	echo "#include \"mpz/oddfac_1.c\""           >>fac_ui.c
   891  	echo "#include \"mpz/fac_ui.c\""             >>fac_ui.c
   892  
   893  # .s assembler, no preprocessing.
   894  #
   895  .s.o:
   896  	$(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
   897  .s.obj:
   898  	$(CCAS) $(COMPILE_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`
   899  .s.lo:
   900  	$(LIBTOOL) --mode=compile --tag=CC $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
   901  
   902  # .S assembler, preprocessed with cpp.
   903  #
   904  # It's necessary to run $(CPP) separately, since it seems not all compilers
   905  # recognise .S files, in particular "cc" on HP-UX 10 and 11 doesn't (and
   906  # will silently do nothing if given a .S).
   907  #
   908  # For .lo we need a helper script, as described below for .asm.lo.
   909  #
   910  .S.o:
   911  	$(CPP) $(PREPROCESS_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< | grep -v '^#' >tmp-$*.s
   912  	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
   913  	$(RM_TMP) tmp-$*.s
   914  .S.obj:
   915  	$(CPP) $(PREPROCESS_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` | grep -v '^#' >tmp-$*.s
   916  	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
   917  	$(RM_TMP) tmp-$*.s
   918  .S.lo:
   919  	$(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/cpp-ccas --cpp="$(CPP) $(PREPROCESS_FLAGS)" $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
   920  
   921  # .asm assembler, preprocessed with m4.
   922  #
   923  # .o and .obj are non-PIC and just need m4 followed by a compile.
   924  #
   925  # .lo is a bit tricky.  Libtool (as of version 1.5) has foo.lo as a little
   926  # text file, and .libs/foo.o and foo.o as the PIC and non-PIC objects,
   927  # respectively.  It'd be asking for lots of trouble to try to create foo.lo
   928  # ourselves, so instead arrange to invoke libtool like a --mode=compile, but
   929  # with a special m4-ccas script which first m4 preprocesses, then compiles.
   930  # --tag=CC is necessary since foo.asm is otherwise unknown to libtool.
   931  #
   932  # Libtool adds -DPIC when building a shared object and the .asm files look
   933  # for that.  But it should be noted that the other PIC flags are on occasion
   934  # important too, in particular FreeBSD 2.2.8 gas 1.92.3 requires -k before
   935  # it accepts PIC constructs like @GOT, and gcc adds that flag only under
   936  # -fPIC.  (Later versions of gas are happy to accept PIC stuff any time.)
   937  #
   938  .asm.o:
   939  	$(M4) -DOPERATION_$* `test -f '$<' || echo '$(srcdir)/'`$< >tmp-$*.s
   940  	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
   941  	$(RM_TMP) tmp-$*.s
   942  .asm.obj:
   943  	$(M4) -DOPERATION_$* `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` >tmp-$*.s
   944  	$(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
   945  	$(RM_TMP) tmp-$*.s
   946  .asm.lo:
   947  	$(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$<
   948  
   949  # Tell versions [3.59,3.63) of GNU make to not export all variables.
   950  # Otherwise a system limit (for SysV at least) may be exceeded.
   951  .NOEXPORT: