source: trunk/third/gmp/tune/Makefile.in @ 18191

Revision 18191, 34.8 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18190, which included commits to RCS files with non-trunk default branches.
Line 
1# Makefile.in generated automatically by automake 1.5 from Makefile.am.
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14@SET_MAKE@
15
16# Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
17#
18# This file is part of the GNU MP Library.
19#
20# The GNU MP Library is free software; you can redistribute it and/or modify
21# it under the terms of the GNU Lesser General Public License as published by
22# the Free Software Foundation; either version 2.1 of the License, or (at your
23# option) any later version.
24#
25# The GNU MP Library is distributed in the hope that it will be useful, but
26# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
27# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
28# License for more details.
29#
30# You should have received a copy of the GNU Lesser General Public License
31# along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
32# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
33# MA 02111-1307, USA.
34
35
36# Copyright 1996, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
37#
38# This file is part of the GNU MP Library.
39#
40# The GNU MP Library is free software; you can redistribute it and/or modify
41# it under the terms of the GNU Lesser General Public License as published by
42# the Free Software Foundation; either version 2.1 of the License, or (at your
43# option) any later version.
44#
45# The GNU MP Library is distributed in the hope that it will be useful, but
46# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
47# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
48# License for more details.
49#
50# You should have received a copy of the GNU Lesser General Public License
51# along with the GNU MP Library; see the file COPYING.LIB.  If not, write to
52# the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
53# MA 02111-1307, USA.
54
55# COMPILE minus CC.
56#
57
58SHELL = @SHELL@
59
60srcdir = @srcdir@
61top_srcdir = @top_srcdir@
62VPATH = @srcdir@
63prefix = @prefix@
64exec_prefix = @exec_prefix@
65
66bindir = @bindir@
67sbindir = @sbindir@
68libexecdir = @libexecdir@
69datadir = @datadir@
70sysconfdir = @sysconfdir@
71sharedstatedir = @sharedstatedir@
72localstatedir = @localstatedir@
73libdir = @libdir@
74infodir = @infodir@
75mandir = @mandir@
76includedir = @includedir@
77oldincludedir = /usr/include
78pkgdatadir = $(datadir)/@PACKAGE@
79pkglibdir = $(libdir)/@PACKAGE@
80pkgincludedir = $(includedir)/@PACKAGE@
81top_builddir = ..
82
83ACLOCAL = @ACLOCAL@
84AUTOCONF = @AUTOCONF@
85AUTOMAKE = @AUTOMAKE@
86AUTOHEADER = @AUTOHEADER@
87
88INSTALL = @INSTALL@
89INSTALL_PROGRAM = @INSTALL_PROGRAM@
90INSTALL_DATA = @INSTALL_DATA@
91INSTALL_SCRIPT = @INSTALL_SCRIPT@
92INSTALL_HEADER = $(INSTALL_DATA)
93transform = @program_transform_name@
94NORMAL_INSTALL = :
95PRE_INSTALL = :
96POST_INSTALL = :
97NORMAL_UNINSTALL = :
98PRE_UNINSTALL = :
99POST_UNINSTALL = :
100host_alias = @host_alias@
101host_triplet = @host@
102AMTAR = @AMTAR@
103AR = @AR@
104AS = @AS@
105AWK = @AWK@
106BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@
107CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
108CC = @CC@
109CCAS = @CCAS@
110CPP = @CPP@
111CXX = @CXX@
112CXXCPP = @CXXCPP@
113DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
114DEPDIR = @DEPDIR@
115DLLTOOL = @DLLTOOL@
116ECHO = @ECHO@
117EXEEXT = @EXEEXT@
118GCJ = @GCJ@
119GCJFLAGS = @GCJFLAGS@
120GMP_LDFLAGS = @GMP_LDFLAGS@
121GMP_NAIL_BITS = @GMP_NAIL_BITS@
122HAVE_DECL_OPTARG = @HAVE_DECL_OPTARG@
123HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
124HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
125HAVE_MPFR_01 = @HAVE_MPFR_01@
126HAVE_STACK_T_01 = @HAVE_STACK_T_01@
127INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
128LEX = @LEX@
129LIBGMP_DLL = @LIBGMP_DLL@
130LIBM = @LIBM@
131LIBREADLINE = @LIBREADLINE@
132LIBTOOL = @LIBTOOL@
133LN_S = @LN_S@
134M4 = @M4@
135MAINT = @MAINT@
136MPFR_CFLAGS = @MPFR_CFLAGS@
137MPFR_LIBS = @MPFR_LIBS@
138OBJDUMP = @OBJDUMP@
139OBJEXT = @OBJEXT@
140PACKAGE = @PACKAGE@
141RANLIB = @RANLIB@
142RC = @RC@
143REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@
144REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@
145SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
146STRIP = @STRIP@
147TAL_OBJECT = @TAL_OBJECT@
148TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
149U = @U@
150VERSION = @VERSION@
151WITH_READLINE_01 = @WITH_READLINE_01@
152YACC = @YACC@
153am__include = @am__include@
154am__quote = @am__quote@
155gmp_srclinks = @gmp_srclinks@
156install_sh = @install_sh@
157mpn_objects = @mpn_objects@
158mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
159mpn_objs_in_libmp = @mpn_objs_in_libmp@
160
161AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
162
163INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tests
164
165EXTRA_DIST = alpha.asm pentium.asm sparcv9.asm hppa.asm hppa2.asm hppa2w.asm ia64.asm many.pl
166noinst_HEADERS = speed.h
167
168EXTRA_LTLIBRARIES = libspeed.la
169
170libspeed_la_SOURCES = \
171  common.c divrem1div.c divrem1inv.c divrem2div.c divrem2inv.c          \
172  freq.c gcd_bin.c gcd_finda_gen.c                                      \
173  gcdext_single.c gcdext_double.c gcdextod.c gcdextos.c                 \
174  jacbase1.c jacbase2.c jacbase3.c                                      \
175  mod_1_div.c mod_1_inv.c modlinv.c mul_n_mpn.c mul_n_open.c            \
176  noop.c powm_mod.c powm_redc.c pre_divrem_1.c                          \
177  set_strb.c set_strs.c time.c                                          \
178  sb_div.c sb_inv.c
179
180
181libspeed_la_DEPENDENCIES = $(SPEED_CYCLECOUNTER_OBJ) \
182  $(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
183
184libspeed_la_LIBADD = $(libspeed_la_DEPENDENCIES) $(LIBM)
185libspeed_la_LDFLAGS = -static
186
187
188# The library code is faster static than shared on some systems, so do
189# tuning and measuring with static, since users who care about maximizing
190# speed will be using that.  speed-dynamic exists to show the difference.
191#
192# On Solaris 8, gcc 2.95.2 -static is somehow broken (it creates executables
193# that immediately seg fault), so -all-static is not used.  The only thing
194# -all-static does is make libc static linked as well as libgmp, and that
195# makes a difference only when measuring malloc and friends in the speed
196# program.  This can always be forced with "make speed_LDFLAGS=-all-static
197# ..." if desired, see tune/README.
198EXTRA_PROGRAMS = speed speed-dynamic speed-ext tuneup
199
200DEPENDENCIES = libspeed.la
201LDADD = $(DEPENDENCIES)
202
203speed_SOURCES = speed.c
204speed_LDFLAGS = -static
205
206speed_dynamic_SOURCES = speed.c
207
208speed_ext_SOURCES = speed-ext.c
209speed_ext_LDFLAGS = -static
210
211tuneup_SOURCES = tuneup.c
212nodist_tuneup_SOURCES = sqr_basecase.c $(TUNE_MPN_SRCS)
213tuneup_DEPENDENCIES = $(TUNE_SQR_OBJ) libspeed.la
214tuneup_LDADD = $(tuneup_DEPENDENCIES)
215tuneup_LDFLAGS = -static
216
217# $(MANY_CLEAN) and $(MANY_DISTCLEAN) are hooks for many.pl
218CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \
219        $(TUNE_MPN_SRCS) sqr_asm.asm \
220        stg.gnuplot stg.data \
221        mtg.gnuplot mtg.data \
222        fibg.gnuplot fibg.data \
223        graph.gnuplot graph.data \
224        $(MANY_CLEAN)
225
226DISTCLEANFILES = sqr_basecase.c  $(MANY_DISTCLEAN)
227
228
229# Generating these little files at build time seems better than including
230# them in the distribution, since the list can be changed more easily.
231#
232# mpn/generic/tdiv_qr.c uses mpn_divrem_1 and mpn_divrem_2, but only for 1
233# and 2 limb divisors, which are never used during tuning, so it doesn't
234# matter whether it picks up a tuned or untuned version of those.
235#
236# divrem_1 and mod_1 are recompiled renamed to "_tune" to avoid a linking
237# problem.  If a native divrem_1 provides an mpn_divrem_1c entrypoint then
238# common.c will want that, but the generic divrem_1 doesn't provide it,
239# likewise for mod_1.  The simplest way around this is to have the tune
240# build versions renamed suitably.
241#
242# FIXME: Would like say mul_n.c to depend on $(top_builddir)/mul_n.c so the
243# recompiled object will be rebuilt if that file changes.
244TUNE_MPN_SRCS = $(TUNE_MPN_SRCS_BASIC) divrem_1.c mod_1.c
245TUNE_MPN_SRCS_BASIC = dc_divrem_n.c divrem_2.c gcd.c get_str.c \
246  mul_n.c mul_fft.c mul.c sb_divrem_mn.c tdiv_qr.c
247
248
249COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
250        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
251
252
253# Flags used for preprocessing (in ansi2knr rules).
254#
255PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
256        $(CPPFLAGS)
257
258
259# Recent versions of automake (1.5 and up for instance) append automake
260# generated suffixes to this $(SUFFIXES) list.  This is essential for us,
261# since .c must come after .s, .S and .asm.  If .c is before .s, for
262# instance, then in the mpn directory "make" will see add_n.c mentioned in
263# an explicit rule (the ansi2knr stuff) and decide it must have add_n.c,
264# even if add_n.c doesn't exist but add_n.s does.  See GNU make
265# documentation "(make)Implicit Rule Search", part 5c.
266#
267# On IRIX 6 native make this doesn't work properly though.  Somehow .c
268# remains ahead of .s, perhaps because .c.s is a builtin rule.  .asm works
269# fine though, and mpn/mips3 uses this.
270#
271SUFFIXES = .s .S .asm
272
273# can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
274RM_TMP = rm -f
275
276MTS = -s 50-150 -c
277
278STS = -s 50-150 -c
279subdir = tune
280mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
281CONFIG_HEADER = $(top_builddir)/config.h
282CONFIG_CLEAN_FILES =
283am_libspeed_la_OBJECTS = common$U.lo divrem1div$U.lo divrem1inv$U.lo \
284        divrem2div$U.lo divrem2inv$U.lo freq$U.lo gcd_bin$U.lo \
285        gcd_finda_gen$U.lo gcdext_single$U.lo gcdext_double$U.lo \
286        gcdextod$U.lo gcdextos$U.lo jacbase1$U.lo jacbase2$U.lo \
287        jacbase3$U.lo mod_1_div$U.lo mod_1_inv$U.lo modlinv$U.lo \
288        mul_n_mpn$U.lo mul_n_open$U.lo noop$U.lo powm_mod$U.lo \
289        powm_redc$U.lo pre_divrem_1$U.lo set_strb$U.lo set_strs$U.lo \
290        time$U.lo sb_div$U.lo sb_inv$U.lo
291libspeed_la_OBJECTS = $(am_libspeed_la_OBJECTS)
292EXTRA_PROGRAMS = speed$(EXEEXT) speed-dynamic$(EXEEXT) \
293        speed-ext$(EXEEXT) tuneup$(EXEEXT)
294am_speed_OBJECTS = speed$U.$(OBJEXT)
295speed_OBJECTS = $(am_speed_OBJECTS)
296speed_LDADD = $(LDADD)
297speed_DEPENDENCIES = libspeed.la
298am_speed_dynamic_OBJECTS = speed$U.$(OBJEXT)
299speed_dynamic_OBJECTS = $(am_speed_dynamic_OBJECTS)
300speed_dynamic_LDADD = $(LDADD)
301speed_dynamic_DEPENDENCIES = libspeed.la
302speed_dynamic_LDFLAGS =
303am_speed_ext_OBJECTS = speed-ext$U.$(OBJEXT)
304speed_ext_OBJECTS = $(am_speed_ext_OBJECTS)
305speed_ext_LDADD = $(LDADD)
306speed_ext_DEPENDENCIES = libspeed.la
307am_tuneup_OBJECTS = tuneup$U.$(OBJEXT)
308nodist_tuneup_OBJECTS = sqr_basecase$U.$(OBJEXT) dc_divrem_n$U.$(OBJEXT) \
309        divrem_2$U.$(OBJEXT) gcd$U.$(OBJEXT) get_str$U.$(OBJEXT) \
310        mul_n$U.$(OBJEXT) mul_fft$U.$(OBJEXT) mul$U.$(OBJEXT) \
311        sb_divrem_mn$U.$(OBJEXT) tdiv_qr$U.$(OBJEXT) \
312        divrem_1$U.$(OBJEXT) mod_1$U.$(OBJEXT)
313tuneup_OBJECTS = $(am_tuneup_OBJECTS) $(nodist_tuneup_OBJECTS)
314
315DEFS = @DEFS@
316DEFAULT_INCLUDES =  -I. -I$(srcdir) -I$(top_builddir)
317CPPFLAGS = @CPPFLAGS@
318LDFLAGS = @LDFLAGS@
319LIBS = @LIBS@
320depcomp =
321COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
322        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
323LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
324        $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
325CCLD = $(CC)
326LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
327        $(AM_LDFLAGS) $(LDFLAGS) -o $@
328CFLAGS = @CFLAGS@
329DIST_SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
330        $(speed_dynamic_SOURCES) $(speed_ext_SOURCES) $(tuneup_SOURCES)
331HEADERS = $(noinst_HEADERS)
332
333DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
334SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) $(speed_dynamic_SOURCES) $(speed_ext_SOURCES) $(tuneup_SOURCES) $(nodist_tuneup_SOURCES)
335
336all: all-am
337
338.SUFFIXES:
339.SUFFIXES: .s .S .asm .c .lo .o .obj
340
341mostlyclean-libtool:
342        -rm -f *.lo
343
344clean-libtool:
345        -rm -rf .libs _libs
346
347distclean-libtool:
348        -rm -f libtool
349$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(srcdir)/../mpn/Makeasm.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
350        cd $(top_srcdir) && \
351          $(AUTOMAKE) --gnu  tune/Makefile
352Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
353        cd $(top_builddir) && \
354          CONFIG_HEADERS= CONFIG_LINKS= \
355          CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
356libspeed.la: $(libspeed_la_OBJECTS) $(libspeed_la_DEPENDENCIES)
357        $(LINK)  $(libspeed_la_LDFLAGS) $(libspeed_la_OBJECTS) $(libspeed_la_LIBADD) $(LIBS)
358speed$(EXEEXT): $(speed_OBJECTS) $(speed_DEPENDENCIES)
359        @rm -f speed$(EXEEXT)
360        $(LINK) $(speed_LDFLAGS) $(speed_OBJECTS) $(speed_LDADD) $(LIBS)
361speed-dynamic$(EXEEXT): $(speed_dynamic_OBJECTS) $(speed_dynamic_DEPENDENCIES)
362        @rm -f speed-dynamic$(EXEEXT)
363        $(LINK) $(speed_dynamic_LDFLAGS) $(speed_dynamic_OBJECTS) $(speed_dynamic_LDADD) $(LIBS)
364speed-ext$(EXEEXT): $(speed_ext_OBJECTS) $(speed_ext_DEPENDENCIES)
365        @rm -f speed-ext$(EXEEXT)
366        $(LINK) $(speed_ext_LDFLAGS) $(speed_ext_OBJECTS) $(speed_ext_LDADD) $(LIBS)
367tuneup$(EXEEXT): $(tuneup_OBJECTS) $(tuneup_DEPENDENCIES)
368        @rm -f tuneup$(EXEEXT)
369        $(LINK) $(tuneup_LDFLAGS) $(tuneup_OBJECTS) $(tuneup_LDADD) $(LIBS)
370
371mostlyclean-compile:
372        -rm -f *.$(OBJEXT) core *.core
373
374distclean-compile:
375        -rm -f *.tab.c
376
377ANSI2KNR = $(top_builddir)/ansi2knr
378$(top_builddir)/ansi2knr:
379        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
380
381mostlyclean-kr:
382        -test "$U" = "" || rm -f *_.c
383
384.c.o:
385        $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
386
387.c.obj:
388        $(COMPILE) -c `cygpath -w $<`
389
390.c.lo:
391        $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
392common_.c: common.c $(ANSI2KNR)
393        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/common.c; then echo $(srcdir)/common.c; else echo common.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > common_.c || rm -f common_.c
394dc_divrem_n_.c: dc_divrem_n.c $(ANSI2KNR)
395        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/dc_divrem_n.c; then echo $(srcdir)/dc_divrem_n.c; else echo dc_divrem_n.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > dc_divrem_n_.c || rm -f dc_divrem_n_.c
396divrem1div_.c: divrem1div.c $(ANSI2KNR)
397        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem1div.c; then echo $(srcdir)/divrem1div.c; else echo divrem1div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem1div_.c || rm -f divrem1div_.c
398divrem1inv_.c: divrem1inv.c $(ANSI2KNR)
399        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem1inv.c; then echo $(srcdir)/divrem1inv.c; else echo divrem1inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem1inv_.c || rm -f divrem1inv_.c
400divrem2div_.c: divrem2div.c $(ANSI2KNR)
401        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem2div.c; then echo $(srcdir)/divrem2div.c; else echo divrem2div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem2div_.c || rm -f divrem2div_.c
402divrem2inv_.c: divrem2inv.c $(ANSI2KNR)
403        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem2inv.c; then echo $(srcdir)/divrem2inv.c; else echo divrem2inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem2inv_.c || rm -f divrem2inv_.c
404divrem_1_.c: divrem_1.c $(ANSI2KNR)
405        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem_1.c; then echo $(srcdir)/divrem_1.c; else echo divrem_1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem_1_.c || rm -f divrem_1_.c
406divrem_2_.c: divrem_2.c $(ANSI2KNR)
407        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/divrem_2.c; then echo $(srcdir)/divrem_2.c; else echo divrem_2.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > divrem_2_.c || rm -f divrem_2_.c
408freq_.c: freq.c $(ANSI2KNR)
409        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/freq.c; then echo $(srcdir)/freq.c; else echo freq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > freq_.c || rm -f freq_.c
410gcd_.c: gcd.c $(ANSI2KNR)
411        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcd.c; then echo $(srcdir)/gcd.c; else echo gcd.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcd_.c || rm -f gcd_.c
412gcd_bin_.c: gcd_bin.c $(ANSI2KNR)
413        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcd_bin.c; then echo $(srcdir)/gcd_bin.c; else echo gcd_bin.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcd_bin_.c || rm -f gcd_bin_.c
414gcd_finda_gen_.c: gcd_finda_gen.c $(ANSI2KNR)
415        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcd_finda_gen.c; then echo $(srcdir)/gcd_finda_gen.c; else echo gcd_finda_gen.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcd_finda_gen_.c || rm -f gcd_finda_gen_.c
416gcdext_double_.c: gcdext_double.c $(ANSI2KNR)
417        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdext_double.c; then echo $(srcdir)/gcdext_double.c; else echo gcdext_double.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdext_double_.c || rm -f gcdext_double_.c
418gcdext_single_.c: gcdext_single.c $(ANSI2KNR)
419        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdext_single.c; then echo $(srcdir)/gcdext_single.c; else echo gcdext_single.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdext_single_.c || rm -f gcdext_single_.c
420gcdextod_.c: gcdextod.c $(ANSI2KNR)
421        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdextod.c; then echo $(srcdir)/gcdextod.c; else echo gcdextod.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdextod_.c || rm -f gcdextod_.c
422gcdextos_.c: gcdextos.c $(ANSI2KNR)
423        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/gcdextos.c; then echo $(srcdir)/gcdextos.c; else echo gcdextos.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > gcdextos_.c || rm -f gcdextos_.c
424get_str_.c: get_str.c $(ANSI2KNR)
425        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/get_str.c; then echo $(srcdir)/get_str.c; else echo get_str.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > get_str_.c || rm -f get_str_.c
426jacbase1_.c: jacbase1.c $(ANSI2KNR)
427        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jacbase1.c; then echo $(srcdir)/jacbase1.c; else echo jacbase1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jacbase1_.c || rm -f jacbase1_.c
428jacbase2_.c: jacbase2.c $(ANSI2KNR)
429        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jacbase2.c; then echo $(srcdir)/jacbase2.c; else echo jacbase2.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jacbase2_.c || rm -f jacbase2_.c
430jacbase3_.c: jacbase3.c $(ANSI2KNR)
431        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/jacbase3.c; then echo $(srcdir)/jacbase3.c; else echo jacbase3.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > jacbase3_.c || rm -f jacbase3_.c
432mod_1_.c: mod_1.c $(ANSI2KNR)
433        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mod_1.c; then echo $(srcdir)/mod_1.c; else echo mod_1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mod_1_.c || rm -f mod_1_.c
434mod_1_div_.c: mod_1_div.c $(ANSI2KNR)
435        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mod_1_div.c; then echo $(srcdir)/mod_1_div.c; else echo mod_1_div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mod_1_div_.c || rm -f mod_1_div_.c
436mod_1_inv_.c: mod_1_inv.c $(ANSI2KNR)
437        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mod_1_inv.c; then echo $(srcdir)/mod_1_inv.c; else echo mod_1_inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mod_1_inv_.c || rm -f mod_1_inv_.c
438modlinv_.c: modlinv.c $(ANSI2KNR)
439        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/modlinv.c; then echo $(srcdir)/modlinv.c; else echo modlinv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > modlinv_.c || rm -f modlinv_.c
440mul_.c: mul.c $(ANSI2KNR)
441        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul.c; then echo $(srcdir)/mul.c; else echo mul.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_.c || rm -f mul_.c
442mul_fft_.c: mul_fft.c $(ANSI2KNR)
443        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_fft.c; then echo $(srcdir)/mul_fft.c; else echo mul_fft.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_fft_.c || rm -f mul_fft_.c
444mul_n_.c: mul_n.c $(ANSI2KNR)
445        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_n.c; then echo $(srcdir)/mul_n.c; else echo mul_n.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_n_.c || rm -f mul_n_.c
446mul_n_mpn_.c: mul_n_mpn.c $(ANSI2KNR)
447        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_n_mpn.c; then echo $(srcdir)/mul_n_mpn.c; else echo mul_n_mpn.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_n_mpn_.c || rm -f mul_n_mpn_.c
448mul_n_open_.c: mul_n_open.c $(ANSI2KNR)
449        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/mul_n_open.c; then echo $(srcdir)/mul_n_open.c; else echo mul_n_open.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > mul_n_open_.c || rm -f mul_n_open_.c
450noop_.c: noop.c $(ANSI2KNR)
451        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/noop.c; then echo $(srcdir)/noop.c; else echo noop.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > noop_.c || rm -f noop_.c
452powm_mod_.c: powm_mod.c $(ANSI2KNR)
453        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/powm_mod.c; then echo $(srcdir)/powm_mod.c; else echo powm_mod.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > powm_mod_.c || rm -f powm_mod_.c
454powm_redc_.c: powm_redc.c $(ANSI2KNR)
455        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/powm_redc.c; then echo $(srcdir)/powm_redc.c; else echo powm_redc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > powm_redc_.c || rm -f powm_redc_.c
456pre_divrem_1_.c: pre_divrem_1.c $(ANSI2KNR)
457        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/pre_divrem_1.c; then echo $(srcdir)/pre_divrem_1.c; else echo pre_divrem_1.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > pre_divrem_1_.c || rm -f pre_divrem_1_.c
458sb_div_.c: sb_div.c $(ANSI2KNR)
459        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sb_div.c; then echo $(srcdir)/sb_div.c; else echo sb_div.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sb_div_.c || rm -f sb_div_.c
460sb_divrem_mn_.c: sb_divrem_mn.c $(ANSI2KNR)
461        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sb_divrem_mn.c; then echo $(srcdir)/sb_divrem_mn.c; else echo sb_divrem_mn.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sb_divrem_mn_.c || rm -f sb_divrem_mn_.c
462sb_inv_.c: sb_inv.c $(ANSI2KNR)
463        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sb_inv.c; then echo $(srcdir)/sb_inv.c; else echo sb_inv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sb_inv_.c || rm -f sb_inv_.c
464set_strb_.c: set_strb.c $(ANSI2KNR)
465        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/set_strb.c; then echo $(srcdir)/set_strb.c; else echo set_strb.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > set_strb_.c || rm -f set_strb_.c
466set_strs_.c: set_strs.c $(ANSI2KNR)
467        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/set_strs.c; then echo $(srcdir)/set_strs.c; else echo set_strs.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > set_strs_.c || rm -f set_strs_.c
468speed_.c: speed.c $(ANSI2KNR)
469        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/speed.c; then echo $(srcdir)/speed.c; else echo speed.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > speed_.c || rm -f speed_.c
470speed-ext_.c: speed-ext.c $(ANSI2KNR)
471        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/speed-ext.c; then echo $(srcdir)/speed-ext.c; else echo speed-ext.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > speed-ext_.c || rm -f speed-ext_.c
472sqr_basecase_.c: sqr_basecase.c $(ANSI2KNR)
473        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/sqr_basecase.c; then echo $(srcdir)/sqr_basecase.c; else echo sqr_basecase.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > sqr_basecase_.c || rm -f sqr_basecase_.c
474tdiv_qr_.c: tdiv_qr.c $(ANSI2KNR)
475        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tdiv_qr.c; then echo $(srcdir)/tdiv_qr.c; else echo tdiv_qr.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tdiv_qr_.c || rm -f tdiv_qr_.c
476time_.c: time.c $(ANSI2KNR)
477        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/time.c; then echo $(srcdir)/time.c; else echo time.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > time_.c || rm -f time_.c
478tuneup_.c: tuneup.c $(ANSI2KNR)
479        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/tuneup.c; then echo $(srcdir)/tuneup.c; else echo tuneup.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > tuneup_.c || rm -f tuneup_.c
480common_.$(OBJEXT) common_.lo dc_divrem_n_.$(OBJEXT) dc_divrem_n_.lo \
481divrem1div_.$(OBJEXT) divrem1div_.lo divrem1inv_.$(OBJEXT) \
482divrem1inv_.lo divrem2div_.$(OBJEXT) divrem2div_.lo \
483divrem2inv_.$(OBJEXT) divrem2inv_.lo divrem_1_.$(OBJEXT) divrem_1_.lo \
484divrem_2_.$(OBJEXT) divrem_2_.lo freq_.$(OBJEXT) freq_.lo \
485gcd_.$(OBJEXT) gcd_.lo gcd_bin_.$(OBJEXT) gcd_bin_.lo \
486gcd_finda_gen_.$(OBJEXT) gcd_finda_gen_.lo gcdext_double_.$(OBJEXT) \
487gcdext_double_.lo gcdext_single_.$(OBJEXT) gcdext_single_.lo \
488gcdextod_.$(OBJEXT) gcdextod_.lo gcdextos_.$(OBJEXT) gcdextos_.lo \
489get_str_.$(OBJEXT) get_str_.lo jacbase1_.$(OBJEXT) jacbase1_.lo \
490jacbase2_.$(OBJEXT) jacbase2_.lo jacbase3_.$(OBJEXT) jacbase3_.lo \
491mod_1_.$(OBJEXT) mod_1_.lo mod_1_div_.$(OBJEXT) mod_1_div_.lo \
492mod_1_inv_.$(OBJEXT) mod_1_inv_.lo modlinv_.$(OBJEXT) modlinv_.lo \
493mul_.$(OBJEXT) mul_.lo mul_fft_.$(OBJEXT) mul_fft_.lo mul_n_.$(OBJEXT) \
494mul_n_.lo mul_n_mpn_.$(OBJEXT) mul_n_mpn_.lo mul_n_open_.$(OBJEXT) \
495mul_n_open_.lo noop_.$(OBJEXT) noop_.lo powm_mod_.$(OBJEXT) \
496powm_mod_.lo powm_redc_.$(OBJEXT) powm_redc_.lo pre_divrem_1_.$(OBJEXT) \
497pre_divrem_1_.lo sb_div_.$(OBJEXT) sb_div_.lo sb_divrem_mn_.$(OBJEXT) \
498sb_divrem_mn_.lo sb_inv_.$(OBJEXT) sb_inv_.lo set_strb_.$(OBJEXT) \
499set_strb_.lo set_strs_.$(OBJEXT) set_strs_.lo speed_.$(OBJEXT) \
500speed_.lo speed-ext_.$(OBJEXT) speed-ext_.lo sqr_basecase_.$(OBJEXT) \
501sqr_basecase_.lo tdiv_qr_.$(OBJEXT) tdiv_qr_.lo time_.$(OBJEXT) \
502time_.lo tuneup_.$(OBJEXT) tuneup_.lo : $(ANSI2KNR)
503uninstall-info-am:
504
505tags: TAGS
506
507ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
508        list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
509        unique=`for i in $$list; do \
510            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
511          done | \
512          $(AWK) '    { files[$$0] = 1; } \
513               END { for (i in files) print i; }'`; \
514        mkid -fID $$unique $(LISP)
515
516TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
517                $(TAGS_FILES) $(LISP)
518        tags=; \
519        here=`pwd`; \
520        list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
521        unique=`for i in $$list; do \
522            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
523          done | \
524          $(AWK) '    { files[$$0] = 1; } \
525               END { for (i in files) print i; }'`; \
526        test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
527          || etags $(ETAGS_ARGS) $$tags  $$unique $(LISP)
528
529GTAGS:
530        here=`CDPATH=: && cd $(top_builddir) && pwd` \
531          && cd $(top_srcdir) \
532          && gtags -i $(GTAGS_ARGS) $$here
533
534distclean-tags:
535        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
536
537DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
538
539top_distdir = ..
540distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
541
542distdir: $(DISTFILES)
543        @for file in $(DISTFILES); do \
544          if test -f $$file; then d=.; else d=$(srcdir); fi; \
545          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
546          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
547            $(mkinstalldirs) "$(distdir)/$$dir"; \
548          fi; \
549          if test -d $$d/$$file; then \
550            cp -pR $$d/$$file $(distdir) \
551            || exit 1; \
552          else \
553            test -f $(distdir)/$$file \
554            || cp -p $$d/$$file $(distdir)/$$file \
555            || exit 1; \
556          fi; \
557        done
558check-am: all-am
559check: check-am
560all-am: Makefile $(HEADERS)
561
562installdirs:
563
564install: install-am
565install-exec: install-exec-am
566install-data: install-data-am
567uninstall: uninstall-am
568
569install-am: all-am
570        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
571
572installcheck: installcheck-am
573install-strip:
574        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
575          `test -z '$(STRIP)' || \
576            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
577mostlyclean-generic:
578
579clean-generic:
580        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
581
582distclean-generic:
583        -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
584        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
585
586maintainer-clean-generic:
587        @echo "This command is intended for maintainers to use"
588        @echo "it deletes files that may require special tools to rebuild."
589clean: clean-am
590
591clean-am: clean-generic clean-libtool mostlyclean-am
592
593distclean: distclean-am
594
595distclean-am: clean-am distclean-compile distclean-generic \
596        distclean-libtool distclean-tags
597
598dvi: dvi-am
599
600dvi-am:
601
602info: info-am
603
604info-am:
605
606install-data-am:
607
608install-exec-am:
609
610install-info: install-info-am
611
612install-man:
613
614installcheck-am:
615
616maintainer-clean: maintainer-clean-am
617
618maintainer-clean-am: distclean-am maintainer-clean-generic
619
620mostlyclean: mostlyclean-am
621
622mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
623        mostlyclean-libtool
624
625uninstall-am: uninstall-info-am
626
627.PHONY: GTAGS all all-am check check-am clean clean-generic \
628        clean-libtool distclean distclean-compile distclean-generic \
629        distclean-libtool distclean-tags distdir dvi dvi-am info \
630        info-am install install-am install-data install-data-am \
631        install-exec install-exec-am install-info install-info-am \
632        install-man install-strip installcheck installcheck-am \
633        installdirs maintainer-clean maintainer-clean-generic \
634        mostlyclean mostlyclean-compile mostlyclean-generic \
635        mostlyclean-kr mostlyclean-libtool tags uninstall uninstall-am \
636        uninstall-info-am
637
638
639$(top_builddir)/tests/libtests.la:
640        cd $(top_builddir)/tests; $(MAKE) $(AM_MAKEFLAGS) libtests.la
641
642tune:
643        $(MAKE) $(AM_MAKEFLAGS) tuneup$(EXEEXT)
644        ./tuneup
645
646allprogs: $(EXTRA_PROGRAMS)
647
648$(TUNE_MPN_SRCS_BASIC):
649        for i in $(TUNE_MPN_SRCS_BASIC); do \
650          echo "#define TUNE_PROGRAM_BUILD 1" >$$i; \
651          echo "#include \"mpn/generic/$$i\"" >>$$i; \
652        done
653
654divrem_1.c:
655        echo "#define TUNE_PROGRAM_BUILD 1"                >divrem_1.c
656        echo "#define __gmpn_divrem_1  mpn_divrem_1_tune" >>divrem_1.c
657        echo "#include \"mpn/generic/divrem_1.c\""        >>divrem_1.c
658
659mod_1.c:
660        echo "#define TUNE_PROGRAM_BUILD 1"          >mod_1.c
661        echo "#define __gmpn_mod_1  mpn_mod_1_tune" >>mod_1.c
662        echo "#include \"mpn/generic/mod_1.c\""     >>mod_1.c
663
664sqr_asm.asm: $(top_builddir)/mpn/sqr_basecase.asm
665        echo 'define(SQR_KARATSUBA_THRESHOLD_OVERRIDE,SQR_KARATSUBA_THRESHOLD_MAX)' >sqr_asm.asm
666        echo 'include(../mpn/sqr_basecase.asm)' >>sqr_asm.asm
667
668# .s assembler, no preprocessing.
669#
670.s.o:
671        $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
672.s.obj:
673        $(CCAS) $(COMPILE_FLAGS) `cygpath -w $<`
674.s.lo:
675        $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
676
677# .S assembler, preprocessed with cpp.
678#
679# It's necessary to run $(CPP) separately, since it seems not all compilers
680# recognise .S files, in particular "cc" on HP-UX 10 and 11 doesn't (and
681# will silently do nothing if given a .S).
682#
683# For .lo we need a helper script, as described below for .asm.lo.
684#
685.S.o:
686        $(CPP) $(PREPROCESS_FLAGS) `test -f $< || echo '$(srcdir)/'`$< | grep -v '^#' >tmp-$*.s
687        $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
688        $(RM_TMP) tmp-$*.s
689.S.obj:
690        $(CPP) $(PREPROCESS_FLAGS) `cygpath -w $<` | grep -v '^#' >tmp-$*.s
691        $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
692        $(RM_TMP) tmp-$*.s
693.S.lo:
694        $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/cpp-ccas --cpp="$(CPP) $(PREPROCESS_FLAGS)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
695
696# .asm assembler, preprocessed with m4.
697#
698# .o and .obj are non-PIC and just need m4 followed by a compile.
699#
700# .lo is a bit tricky.  Libtool (as of version 1.5) has foo.lo as a little
701# text file, and .libs/foo.o and foo.o as the PIC and non-PIC objects,
702# respectively.  It'd be asking for lots of trouble to try to create foo.lo
703# ourselves, so instead arrange to invoke libtool like a --mode=compile, but
704# with a special m4-ccas script which first m4 preprocesses, then compiles.
705# --tag=CC is necessary since foo.asm is otherwise unknown to libtool.
706#
707# Libtool adds -DPIC when building a shared object and the .asm files look
708# for that.  But it should be noted that the other PIC flags are on occasion
709# important too, in particular FreeBSD 2.2.8 gas 1.92.3 requires -k before
710# it accepts PIC constructs like @GOT, and gcc adds that flag only under
711# -fPIC.  (Later versions of gas are happy to accept PIC stuff any time.)
712#
713.asm.o:
714        $(M4) -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s
715        $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
716        $(RM_TMP) tmp-$*.s
717.asm.obj:
718        $(M4) -DOPERATION_$* `cygpath -w $<` >tmp-$*.s
719        $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
720        $(RM_TMP) tmp-$*.s
721.asm.lo:
722        $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
723
724# "mk" is multiplication in the karatsuba range
725# "st" is squaring in the toom-cook range, etc
726# "g" forms produce graphs
727
728mk:
729        ./speed -s 5-40 -c mpn_mul_basecase mpn_kara_mul_n
730mt:
731        ./speed $(MTS) mpn_kara_mul_n mpn_toom3_mul_n
732mtg:
733        ./speed $(MTS) -P mtg mpn_kara_mul_n mpn_toom3_mul_n
734
735sk:
736        ./speed -s 5-40 -c mpn_sqr_basecase mpn_kara_sqr_n
737st:
738        ./speed $(STS) mpn_kara_sqr_n mpn_toom3_sqr_n
739stg:
740        ./speed $(STS) -P stg mpn_kara_sqr_n mpn_toom3_sqr_n
741
742dc:
743        ./speed -s 5-40 -c mpn_dc_divrem_sb mpn_dc_divrem_n mpn_dc_tdiv_qr
744
745fib:
746        ./speed -s 40-60 -c mpz_fib_ui
747fibg:
748        ./speed -s 10-300 -P fibg mpz_fib_ui
749
750gcd:
751        ./speed -s 1-20 -c mpn_gcd
752
753udiv:
754        ./speed -s 1 -c udiv_qrnnd udiv_qrnnd_preinv udiv_qrnnd_preinv2norm invert_limb udiv_qrnnd_c
755
756divn:
757        ./speed -s 1-30 -c mpn_divrem_1_div.-1 mpn_divrem_1_inv.-1
758divun:
759        ./speed -s 1-30 -c mpn_divrem_1_div.12345 mpn_divrem_1_inv.12345
760modn:
761        ./speed -s 1-30 -c mpn_mod_1_div.-1 mpn_mod_1_inv.-1
762modun:
763        ./speed -s 1-30 -c mpn_mod_1_div.12345 mpn_mod_1_inv.12345
764
765graph:
766        ./speed -s 1-5000 -f 1.02 -P graph mpn_mul_n mpn_sqr
767        gnuplot graph.gnuplot
768# Tell versions [3.59,3.63) of GNU make to not export all variables.
769# Otherwise a system limit (for SysV at least) may be exceeded.
770.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.