Makefile.in revision 1.1.1.3
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 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
173libspeed_la_OBJECTS = $(am_libspeed_la_OBJECTS)
174AM_V_lt = $(am__v_lt_@AM_V@)
175am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
176am__v_lt_0 = --silent
177am__v_lt_1 = 
178libspeed_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
179	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
180	$(libspeed_la_LDFLAGS) $(LDFLAGS) -o $@
181am_speed_OBJECTS = speed.$(OBJEXT)
182speed_OBJECTS = $(am_speed_OBJECTS)
183speed_LDADD = $(LDADD)
184speed_DEPENDENCIES = $(DEPENDENCIES) $(am__DEPENDENCIES_1)
185speed_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
186	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
187	$(speed_LDFLAGS) $(LDFLAGS) -o $@
188am_speed_dynamic_OBJECTS = speed.$(OBJEXT)
189speed_dynamic_OBJECTS = $(am_speed_dynamic_OBJECTS)
190speed_dynamic_LDADD = $(LDADD)
191speed_dynamic_DEPENDENCIES = $(DEPENDENCIES) $(am__DEPENDENCIES_1)
192am_speed_ext_OBJECTS = speed-ext.$(OBJEXT)
193speed_ext_OBJECTS = $(am_speed_ext_OBJECTS)
194speed_ext_LDADD = $(LDADD)
195speed_ext_DEPENDENCIES = $(DEPENDENCIES) $(am__DEPENDENCIES_1)
196speed_ext_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
197	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
198	$(speed_ext_LDFLAGS) $(LDFLAGS) -o $@
199am_tune_gcd_p_OBJECTS = tune-gcd-p.$(OBJEXT)
200tune_gcd_p_OBJECTS = $(am_tune_gcd_p_OBJECTS)
201tune_gcd_p_LDADD = $(LDADD)
202tune_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 $@
205am_tuneup_OBJECTS = tuneup.$(OBJEXT)
206am__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)
222am__objects_2 = $(am__objects_1) divrem_1.$(OBJEXT) mod_1.$(OBJEXT)
223nodist_tuneup_OBJECTS = sqr_basecase.$(OBJEXT) fac_ui.$(OBJEXT) \
224	$(am__objects_2)
225tuneup_OBJECTS = $(am_tuneup_OBJECTS) $(nodist_tuneup_OBJECTS)
226am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) libspeed.la
227tuneup_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
228	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
229	$(tuneup_LDFLAGS) $(LDFLAGS) -o $@
230AM_V_P = $(am__v_P_@AM_V@)
231am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
232am__v_P_0 = false
233am__v_P_1 = :
234AM_V_GEN = $(am__v_GEN_@AM_V@)
235am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
236am__v_GEN_0 = @echo "  GEN     " $@;
237am__v_GEN_1 = 
238AM_V_at = $(am__v_at_@AM_V@)
239am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
240am__v_at_0 = @
241am__v_at_1 = 
242DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
243depcomp =
244am__depfiles_maybe =
245COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
246	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
247LTCOMPILE = $(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)
251AM_V_CC = $(am__v_CC_@AM_V@)
252am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
253am__v_CC_0 = @echo "  CC      " $@;
254am__v_CC_1 = 
255CCLD = $(CC)
256LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
257	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
258	$(AM_LDFLAGS) $(LDFLAGS) -o $@
259AM_V_CCLD = $(am__v_CCLD_@AM_V@)
260am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
261am__v_CCLD_0 = @echo "  CCLD    " $@;
262am__v_CCLD_1 = 
263SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
264	$(speed_dynamic_SOURCES) $(speed_ext_SOURCES) \
265	$(tune_gcd_p_SOURCES) $(tuneup_SOURCES) \
266	$(nodist_tuneup_SOURCES)
267DIST_SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
268	$(speed_dynamic_SOURCES) $(speed_ext_SOURCES) \
269	$(tune_gcd_p_SOURCES) $(tuneup_SOURCES)
270am__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
275HEADERS = $(noinst_HEADERS)
276am__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.
280am__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.
288am__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)`
293ETAGS = etags
294CTAGS = ctags
295am__DIST_COMMON = $(srcdir)/../mpn/Makeasm.am $(srcdir)/Makefile.in \
296	README
297DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
298ABI = @ABI@
299ACLOCAL = @ACLOCAL@
300AMTAR = @AMTAR@
301AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
302AR = @AR@
303AS = @AS@
304ASMFLAGS = @ASMFLAGS@
305AUTOCONF = @AUTOCONF@
306AUTOHEADER = @AUTOHEADER@
307AUTOMAKE = @AUTOMAKE@
308AWK = @AWK@
309CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
310CC = @CC@
311CCAS = @CCAS@
312CC_FOR_BUILD = @CC_FOR_BUILD@
313CFLAGS = @CFLAGS@
314CPP = @CPP@
315CPPFLAGS = @CPPFLAGS@
316CPP_FOR_BUILD = @CPP_FOR_BUILD@
317CXX = @CXX@
318CXXCPP = @CXXCPP@
319CXXFLAGS = @CXXFLAGS@
320CYGPATH_W = @CYGPATH_W@
321DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
322DEFS = @DEFS@
323DLLTOOL = @DLLTOOL@
324DSYMUTIL = @DSYMUTIL@
325DUMPBIN = @DUMPBIN@
326ECHO_C = @ECHO_C@
327ECHO_N = @ECHO_N@
328ECHO_T = @ECHO_T@
329EGREP = @EGREP@
330EXEEXT = @EXEEXT@
331EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@
332FGREP = @FGREP@
333GMP_LDFLAGS = @GMP_LDFLAGS@
334GMP_LIMB_BITS = @GMP_LIMB_BITS@
335GMP_NAIL_BITS = @GMP_NAIL_BITS@
336GREP = @GREP@
337HAVE_CLOCK_01 = @HAVE_CLOCK_01@
338HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@
339HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@
340HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@
341HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
342HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
343HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@
344HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@
345HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@
346HAVE_STACK_T_01 = @HAVE_STACK_T_01@
347HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@
348INSTALL = @INSTALL@
349INSTALL_DATA = @INSTALL_DATA@
350INSTALL_PROGRAM = @INSTALL_PROGRAM@
351INSTALL_SCRIPT = @INSTALL_SCRIPT@
352INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
353LD = @LD@
354LDFLAGS = @LDFLAGS@
355LEX = @LEX@
356LEXLIB = @LEXLIB@
357LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
358LIBCURSES = @LIBCURSES@
359LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@
360LIBGMP_DLL = @LIBGMP_DLL@
361LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@
362LIBM = @LIBM@
363LIBM_FOR_BUILD = @LIBM_FOR_BUILD@
364LIBOBJS = @LIBOBJS@
365LIBREADLINE = @LIBREADLINE@
366LIBS = @LIBS@
367LIBTOOL = @LIBTOOL@
368LIPO = @LIPO@
369LN_S = @LN_S@
370LTLIBOBJS = @LTLIBOBJS@
371LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
372M4 = @M4@
373MAINT = @MAINT@
374MAKEINFO = @MAKEINFO@
375MANIFEST_TOOL = @MANIFEST_TOOL@
376MKDIR_P = @MKDIR_P@
377NM = @NM@
378NMEDIT = @NMEDIT@
379OBJDUMP = @OBJDUMP@
380OBJEXT = @OBJEXT@
381OTOOL = @OTOOL@
382OTOOL64 = @OTOOL64@
383PACKAGE = @PACKAGE@
384PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
385PACKAGE_NAME = @PACKAGE_NAME@
386PACKAGE_STRING = @PACKAGE_STRING@
387PACKAGE_TARNAME = @PACKAGE_TARNAME@
388PACKAGE_URL = @PACKAGE_URL@
389PACKAGE_VERSION = @PACKAGE_VERSION@
390PATH_SEPARATOR = @PATH_SEPARATOR@
391RANLIB = @RANLIB@
392SED = @SED@
393SET_MAKE = @SET_MAKE@
394SHELL = @SHELL@
395SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
396STRIP = @STRIP@
397TAL_OBJECT = @TAL_OBJECT@
398TUNE_LIBS = @TUNE_LIBS@
399TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
400U_FOR_BUILD = @U_FOR_BUILD@
401VERSION = @VERSION@
402WITH_READLINE_01 = @WITH_READLINE_01@
403YACC = @YACC@
404YFLAGS = @YFLAGS@
405abs_builddir = @abs_builddir@
406abs_srcdir = @abs_srcdir@
407abs_top_builddir = @abs_top_builddir@
408abs_top_srcdir = @abs_top_srcdir@
409ac_ct_AR = @ac_ct_AR@
410ac_ct_CC = @ac_ct_CC@
411ac_ct_CXX = @ac_ct_CXX@
412ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
413am__leading_dot = @am__leading_dot@
414am__tar = @am__tar@
415am__untar = @am__untar@
416bindir = @bindir@
417build = @build@
418build_alias = @build_alias@
419build_cpu = @build_cpu@
420build_os = @build_os@
421build_vendor = @build_vendor@
422builddir = @builddir@
423datadir = @datadir@
424datarootdir = @datarootdir@
425docdir = @docdir@
426dvidir = @dvidir@
427exec_prefix = @exec_prefix@
428gmp_srclinks = @gmp_srclinks@
429host = @host@
430host_alias = @host_alias@
431host_cpu = @host_cpu@
432host_os = @host_os@
433host_vendor = @host_vendor@
434htmldir = @htmldir@
435includedir = @includedir@
436infodir = @infodir@
437install_sh = @install_sh@
438libdir = @libdir@
439libexecdir = @libexecdir@
440localedir = @localedir@
441localstatedir = @localstatedir@
442mandir = @mandir@
443mkdir_p = @mkdir_p@
444mpn_objects = @mpn_objects@
445mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
446oldincludedir = @oldincludedir@
447pdfdir = @pdfdir@
448prefix = @prefix@
449program_transform_name = @program_transform_name@
450psdir = @psdir@
451sbindir = @sbindir@
452sharedstatedir = @sharedstatedir@
453srcdir = @srcdir@
454sysconfdir = @sysconfdir@
455target_alias = @target_alias@
456top_build_prefix = @top_build_prefix@
457top_builddir = @top_builddir@
458top_srcdir = @top_srcdir@
459AM_CPPFLAGS = -I$(top_srcdir) -I$(top_srcdir)/tests
460EXTRA_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
463noinst_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
473EXTRA_LTLIBRARIES = libspeed.la
474libspeed_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
485libspeed_la_DEPENDENCIES = $(SPEED_CYCLECOUNTER_OBJ) \
486  $(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
487
488libspeed_la_LIBADD = $(libspeed_la_DEPENDENCIES) $(LIBM)
489libspeed_la_LDFLAGS = $(STATIC)
490DEPENDENCIES = libspeed.la
491LDADD = $(DEPENDENCIES) $(TUNE_LIBS)
492speed_SOURCES = speed.c
493speed_LDFLAGS = $(STATIC)
494speed_dynamic_SOURCES = speed.c
495speed_ext_SOURCES = speed-ext.c
496speed_ext_LDFLAGS = $(STATIC)
497tuneup_SOURCES = tuneup.c
498nodist_tuneup_SOURCES = sqr_basecase.c fac_ui.c $(TUNE_MPN_SRCS)
499tuneup_DEPENDENCIES = $(TUNE_SQR_OBJ) libspeed.la
500tuneup_LDADD = $(tuneup_DEPENDENCIES) $(TUNE_LIBS)
501tuneup_LDFLAGS = $(STATIC)
502tune_gcd_p_SOURCES = tune-gcd-p.c
503tune_gcd_p_DEPENDENCIES = ../mpn/gcd.c
504tune_gcd_p_LDFLAGS = $(STATIC)
505
506# $(MANY_CLEAN) and $(MANY_DISTCLEAN) are hooks for many.pl
507CLEANFILES = $(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
515DISTCLEANFILES = 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.
532TUNE_MPN_SRCS = $(TUNE_MPN_SRCS_BASIC) divrem_1.c mod_1.c
533TUNE_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#
547COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
548	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS)
549
550
551# Flags used for preprocessing (in ansi2knr rules).
552#
553PREPROCESS_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#
569SUFFIXES = .s .S .asm
570
571# can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
572RM_TMP = rm -f
573all: 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
589Makefile: $(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
608libspeed.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
611speed$(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
615speed-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
619speed-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
623tune-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
627tuneup$(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
631mostlyclean-compile:
632	-rm -f *.$(OBJEXT)
633
634distclean-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
646mostlyclean-libtool:
647	-rm -f *.lo
648
649clean-libtool:
650	-rm -rf .libs _libs
651
652ID: $(am__tagged_files)
653	$(am__define_uniq_tagged_files); mkid -fID $$unique
654tags: tags-am
655TAGS: tags
656
657tags-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
672ctags: ctags-am
673
674CTAGS: ctags
675ctags-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
681GTAGS:
682	here=`$(am__cd) $(top_builddir) && pwd` \
683	  && $(am__cd) $(top_srcdir) \
684	  && gtags -i $(GTAGS_ARGS) "$$here"
685cscopelist: cscopelist-am
686
687cscopelist-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
701distclean-tags:
702	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
703
704distdir: $(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
734check-am: all-am
735check: check-am
736all-am: Makefile $(HEADERS)
737installdirs:
738install: install-am
739install-exec: install-exec-am
740install-data: install-data-am
741uninstall: uninstall-am
742
743install-am: all-am
744	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
745
746installcheck: installcheck-am
747install-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
757mostlyclean-generic:
758
759clean-generic:
760	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
761
762distclean-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
767maintainer-clean-generic:
768	@echo "This command is intended for maintainers to use"
769	@echo "it deletes files that may require special tools to rebuild."
770clean: clean-am
771
772clean-am: clean-generic clean-libtool mostlyclean-am
773
774distclean: distclean-am
775	-rm -f Makefile
776distclean-am: clean-am distclean-compile distclean-generic \
777	distclean-tags
778
779dvi: dvi-am
780
781dvi-am:
782
783html: html-am
784
785html-am:
786
787info: info-am
788
789info-am:
790
791install-data-am:
792
793install-dvi: install-dvi-am
794
795install-dvi-am:
796
797install-exec-am:
798
799install-html: install-html-am
800
801install-html-am:
802
803install-info: install-info-am
804
805install-info-am:
806
807install-man:
808
809install-pdf: install-pdf-am
810
811install-pdf-am:
812
813install-ps: install-ps-am
814
815install-ps-am:
816
817installcheck-am:
818
819maintainer-clean: maintainer-clean-am
820	-rm -f Makefile
821maintainer-clean-am: distclean-am maintainer-clean-generic
822
823mostlyclean: mostlyclean-am
824
825mostlyclean-am: mostlyclean-compile mostlyclean-generic \
826	mostlyclean-libtool
827
828pdf: pdf-am
829
830pdf-am:
831
832ps: ps-am
833
834ps-am:
835
836uninstall-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
859tune:
860	$(MAKE) $(AM_MAKEFLAGS) tuneup$(EXEEXT)
861	./tuneup
862
863allprogs: $(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
871divrem_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
876mod_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
881sqr_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?
886fac_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:
952