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