Annotation of OpenXM_contrib/gmp/tune/Makefile.in, Revision 1.1.1.2
1.1.1.2 ! ohara 1: # Makefile.in generated automatically by automake 1.5 from Makefile.am.
1.1 maekawa 2:
1.1.1.2 ! ohara 3: # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
! 4: # Free Software Foundation, Inc.
1.1 maekawa 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:
1.1.1.2 ! ohara 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:
1.1 maekawa 58: SHELL = @SHELL@
59:
60: srcdir = @srcdir@
61: top_srcdir = @top_srcdir@
62: VPATH = @srcdir@
63: prefix = @prefix@
64: exec_prefix = @exec_prefix@
65:
66: bindir = @bindir@
67: sbindir = @sbindir@
68: libexecdir = @libexecdir@
69: datadir = @datadir@
70: sysconfdir = @sysconfdir@
71: sharedstatedir = @sharedstatedir@
72: localstatedir = @localstatedir@
73: libdir = @libdir@
74: infodir = @infodir@
75: mandir = @mandir@
76: includedir = @includedir@
77: oldincludedir = /usr/include
78: pkgdatadir = $(datadir)/@PACKAGE@
79: pkglibdir = $(libdir)/@PACKAGE@
80: pkgincludedir = $(includedir)/@PACKAGE@
81: top_builddir = ..
82:
83: ACLOCAL = @ACLOCAL@
84: AUTOCONF = @AUTOCONF@
85: AUTOMAKE = @AUTOMAKE@
86: AUTOHEADER = @AUTOHEADER@
87:
88: INSTALL = @INSTALL@
89: INSTALL_PROGRAM = @INSTALL_PROGRAM@
90: INSTALL_DATA = @INSTALL_DATA@
91: INSTALL_SCRIPT = @INSTALL_SCRIPT@
1.1.1.2 ! ohara 92: INSTALL_HEADER = $(INSTALL_DATA)
1.1 maekawa 93: transform = @program_transform_name@
94: NORMAL_INSTALL = :
95: PRE_INSTALL = :
96: POST_INSTALL = :
97: NORMAL_UNINSTALL = :
98: PRE_UNINSTALL = :
99: POST_UNINSTALL = :
100: host_alias = @host_alias@
101: host_triplet = @host@
102: AMTAR = @AMTAR@
103: AR = @AR@
104: AS = @AS@
105: AWK = @AWK@
1.1.1.2 ! ohara 106: BITS_PER_MP_LIMB = @BITS_PER_MP_LIMB@
1.1 maekawa 107: CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@
108: CC = @CC@
109: CCAS = @CCAS@
110: CPP = @CPP@
111: CXX = @CXX@
112: CXXCPP = @CXXCPP@
1.1.1.2 ! ohara 113: DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@
1.1 maekawa 114: DEPDIR = @DEPDIR@
115: DLLTOOL = @DLLTOOL@
1.1.1.2 ! ohara 116: ECHO = @ECHO@
1.1 maekawa 117: EXEEXT = @EXEEXT@
1.1.1.2 ! ohara 118: GCJ = @GCJ@
! 119: GCJFLAGS = @GCJFLAGS@
! 120: GMP_LDFLAGS = @GMP_LDFLAGS@
! 121: GMP_NAIL_BITS = @GMP_NAIL_BITS@
! 122: HAVE_DECL_OPTARG = @HAVE_DECL_OPTARG@
! 123: HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@
! 124: HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@
! 125: HAVE_MPFR_01 = @HAVE_MPFR_01@
! 126: HAVE_STACK_T_01 = @HAVE_STACK_T_01@
! 127: INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
! 128: LEX = @LEX@
! 129: LIBGMP_DLL = @LIBGMP_DLL@
! 130: LIBM = @LIBM@
! 131: LIBREADLINE = @LIBREADLINE@
1.1 maekawa 132: LIBTOOL = @LIBTOOL@
133: LN_S = @LN_S@
134: M4 = @M4@
135: MAINT = @MAINT@
1.1.1.2 ! ohara 136: MPFR_CFLAGS = @MPFR_CFLAGS@
! 137: MPFR_LIBS = @MPFR_LIBS@
1.1 maekawa 138: OBJDUMP = @OBJDUMP@
139: OBJEXT = @OBJEXT@
140: PACKAGE = @PACKAGE@
141: RANLIB = @RANLIB@
1.1.1.2 ! ohara 142: RC = @RC@
! 143: REPL_VSNPRINTF_OBJ = @REPL_VSNPRINTF_OBJ@
! 144: REPL_VSNPRINTF_PRINTF_OBJ = @REPL_VSNPRINTF_PRINTF_OBJ@
! 145: SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@
1.1 maekawa 146: STRIP = @STRIP@
1.1.1.2 ! ohara 147: TAL_OBJECT = @TAL_OBJECT@
! 148: TUNE_SQR_OBJ = @TUNE_SQR_OBJ@
1.1 maekawa 149: U = @U@
150: VERSION = @VERSION@
1.1.1.2 ! ohara 151: WITH_READLINE_01 = @WITH_READLINE_01@
! 152: YACC = @YACC@
! 153: am__include = @am__include@
! 154: am__quote = @am__quote@
1.1 maekawa 155: gmp_srclinks = @gmp_srclinks@
156: install_sh = @install_sh@
157: mpn_objects = @mpn_objects@
158: mpn_objs_in_libgmp = @mpn_objs_in_libgmp@
1.1.1.2 ! ohara 159: mpn_objs_in_libmp = @mpn_objs_in_libmp@
1.1 maekawa 160:
161: AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
162:
1.1.1.2 ! ohara 163: INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/tests
1.1 maekawa 164:
1.1.1.2 ! ohara 165: EXTRA_DIST = alpha.asm pentium.asm sparcv9.asm hppa.asm hppa2.asm hppa2w.asm ia64.asm many.pl
1.1 maekawa 166: noinst_HEADERS = speed.h
167:
168: EXTRA_LTLIBRARIES = libspeed.la
169:
1.1.1.2 ! ohara 170: libspeed_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:
! 181: libspeed_la_DEPENDENCIES = $(SPEED_CYCLECOUNTER_OBJ) \
! 182: $(top_builddir)/tests/libtests.la $(top_builddir)/libgmp.la
! 183:
! 184: libspeed_la_LIBADD = $(libspeed_la_DEPENDENCIES) $(LIBM)
! 185: libspeed_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.
1.1 maekawa 191: #
1.1.1.2 ! ohara 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.
! 198: EXTRA_PROGRAMS = speed speed-dynamic speed-ext tuneup
1.1 maekawa 199:
1.1.1.2 ! ohara 200: DEPENDENCIES = libspeed.la
! 201: LDADD = $(DEPENDENCIES)
1.1 maekawa 202:
203: speed_SOURCES = speed.c
1.1.1.2 ! ohara 204: speed_LDFLAGS = -static
! 205:
! 206: speed_dynamic_SOURCES = speed.c
1.1 maekawa 207:
1.1.1.2 ! ohara 208: speed_ext_SOURCES = speed-ext.c
! 209: speed_ext_LDFLAGS = -static
! 210:
! 211: tuneup_SOURCES = tuneup.c
! 212: nodist_tuneup_SOURCES = sqr_basecase.c $(TUNE_MPN_SRCS)
! 213: tuneup_DEPENDENCIES = $(TUNE_SQR_OBJ) libspeed.la
! 214: tuneup_LDADD = $(tuneup_DEPENDENCIES)
! 215: tuneup_LDFLAGS = -static
1.1 maekawa 216:
1.1.1.2 ! ohara 217: # $(MANY_CLEAN) and $(MANY_DISTCLEAN) are hooks for many.pl
1.1 maekawa 218: CLEANFILES = $(EXTRA_PROGRAMS) $(EXTRA_LTLIBRARIES) \
1.1.1.2 ! ohara 219: $(TUNE_MPN_SRCS) sqr_asm.asm \
1.1 maekawa 220: stg.gnuplot stg.data \
221: mtg.gnuplot mtg.data \
222: fibg.gnuplot fibg.data \
1.1.1.2 ! ohara 223: graph.gnuplot graph.data \
! 224: $(MANY_CLEAN)
1.1 maekawa 225:
1.1.1.2 ! ohara 226: DISTCLEANFILES = sqr_basecase.c $(MANY_DISTCLEAN)
1.1 maekawa 227:
228:
1.1.1.2 ! ohara 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.
! 244: TUNE_MPN_SRCS = $(TUNE_MPN_SRCS_BASIC) divrem_1.c mod_1.c
! 245: TUNE_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:
1.1 maekawa 248:
1.1.1.2 ! ohara 249: COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 250: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
1.1 maekawa 251:
252:
1.1.1.2 ! ohara 253: # Flags used for preprocessing (in ansi2knr rules).
! 254: #
! 255: PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 256: $(CPPFLAGS)
1.1 maekawa 257:
258:
1.1.1.2 ! ohara 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: #
! 271: SUFFIXES = .s .S .asm
1.1 maekawa 272:
1.1.1.2 ! ohara 273: # can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
! 274: RM_TMP = rm -f
1.1 maekawa 275:
276: MTS = -s 50-150 -c
277:
278: STS = -s 50-150 -c
279: subdir = tune
280: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
1.1.1.2 ! ohara 281: CONFIG_HEADER = $(top_builddir)/config.h
! 282: CONFIG_CLEAN_FILES =
! 283: am_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
! 291: libspeed_la_OBJECTS = $(am_libspeed_la_OBJECTS)
! 292: EXTRA_PROGRAMS = speed$(EXEEXT) speed-dynamic$(EXEEXT) \
! 293: speed-ext$(EXEEXT) tuneup$(EXEEXT)
! 294: am_speed_OBJECTS = speed$U.$(OBJEXT)
! 295: speed_OBJECTS = $(am_speed_OBJECTS)
! 296: speed_LDADD = $(LDADD)
! 297: speed_DEPENDENCIES = libspeed.la
! 298: am_speed_dynamic_OBJECTS = speed$U.$(OBJEXT)
! 299: speed_dynamic_OBJECTS = $(am_speed_dynamic_OBJECTS)
! 300: speed_dynamic_LDADD = $(LDADD)
! 301: speed_dynamic_DEPENDENCIES = libspeed.la
! 302: speed_dynamic_LDFLAGS =
! 303: am_speed_ext_OBJECTS = speed-ext$U.$(OBJEXT)
! 304: speed_ext_OBJECTS = $(am_speed_ext_OBJECTS)
! 305: speed_ext_LDADD = $(LDADD)
! 306: speed_ext_DEPENDENCIES = libspeed.la
! 307: am_tuneup_OBJECTS = tuneup$U.$(OBJEXT)
! 308: nodist_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)
! 313: tuneup_OBJECTS = $(am_tuneup_OBJECTS) $(nodist_tuneup_OBJECTS)
1.1 maekawa 314:
1.1.1.2 ! ohara 315: DEFS = @DEFS@
! 316: DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
1.1 maekawa 317: CPPFLAGS = @CPPFLAGS@
1.1.1.2 ! ohara 318: LDFLAGS = @LDFLAGS@
1.1 maekawa 319: LIBS = @LIBS@
1.1.1.2 ! ohara 320: depcomp =
! 321: COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 322: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
! 323: LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
! 324: $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
1.1 maekawa 325: CCLD = $(CC)
1.1.1.2 ! ohara 326: LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
! 327: $(AM_LDFLAGS) $(LDFLAGS) -o $@
! 328: CFLAGS = @CFLAGS@
! 329: DIST_SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) \
! 330: $(speed_dynamic_SOURCES) $(speed_ext_SOURCES) $(tuneup_SOURCES)
! 331: HEADERS = $(noinst_HEADERS)
1.1 maekawa 332:
1.1.1.2 ! ohara 333: DIST_COMMON = README $(noinst_HEADERS) Makefile.am Makefile.in
! 334: SOURCES = $(libspeed_la_SOURCES) $(speed_SOURCES) $(speed_dynamic_SOURCES) $(speed_ext_SOURCES) $(tuneup_SOURCES) $(nodist_tuneup_SOURCES)
1.1 maekawa 335:
1.1.1.2 ! ohara 336: all: all-am
1.1 maekawa 337:
338: .SUFFIXES:
1.1.1.2 ! ohara 339: .SUFFIXES: .s .S .asm .c .lo .o .obj
1.1 maekawa 340:
341: mostlyclean-libtool:
342: -rm -f *.lo
343:
344: clean-libtool:
345: -rm -rf .libs _libs
346:
347: distclean-libtool:
1.1.1.2 ! ohara 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
! 352: Makefile: @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
! 356: libspeed.la: $(libspeed_la_OBJECTS) $(libspeed_la_DEPENDENCIES)
1.1 maekawa 357: $(LINK) $(libspeed_la_LDFLAGS) $(libspeed_la_OBJECTS) $(libspeed_la_LIBADD) $(LIBS)
1.1.1.2 ! ohara 358: speed$(EXEEXT): $(speed_OBJECTS) $(speed_DEPENDENCIES)
1.1 maekawa 359: @rm -f speed$(EXEEXT)
360: $(LINK) $(speed_LDFLAGS) $(speed_OBJECTS) $(speed_LDADD) $(LIBS)
1.1.1.2 ! ohara 361: speed-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)
! 364: speed-ext$(EXEEXT): $(speed_ext_OBJECTS) $(speed_ext_DEPENDENCIES)
1.1 maekawa 365: @rm -f speed-ext$(EXEEXT)
366: $(LINK) $(speed_ext_LDFLAGS) $(speed_ext_OBJECTS) $(speed_ext_LDADD) $(LIBS)
1.1.1.2 ! ohara 367: tuneup$(EXEEXT): $(tuneup_OBJECTS) $(tuneup_DEPENDENCIES)
1.1 maekawa 368: @rm -f tuneup$(EXEEXT)
369: $(LINK) $(tuneup_LDFLAGS) $(tuneup_OBJECTS) $(tuneup_LDADD) $(LIBS)
1.1.1.2 ! ohara 370:
! 371: mostlyclean-compile:
! 372: -rm -f *.$(OBJEXT) core *.core
! 373:
! 374: distclean-compile:
! 375: -rm -f *.tab.c
! 376:
! 377: ANSI2KNR = $(top_builddir)/ansi2knr
! 378: $(top_builddir)/ansi2knr:
! 379: cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
! 380:
! 381: mostlyclean-kr:
! 382: -test "$U" = "" || rm -f *_.c
! 383:
1.1 maekawa 384: .c.o:
1.1.1.2 ! ohara 385: $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
! 386:
1.1 maekawa 387: .c.obj:
388: $(COMPILE) -c `cygpath -w $<`
1.1.1.2 ! ohara 389:
1.1 maekawa 390: .c.lo:
1.1.1.2 ! ohara 391: $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
1.1 maekawa 392: common_.c: common.c $(ANSI2KNR)
1.1.1.2 ! ohara 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
! 394: dc_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
! 396: divrem1div_.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
! 398: divrem1inv_.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
! 400: divrem2div_.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
! 402: divrem2inv_.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
! 404: divrem_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
! 406: divrem_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
! 408: freq_.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
! 410: gcd_.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
! 412: gcd_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
! 414: gcd_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
! 416: gcdext_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
! 418: gcdext_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
! 420: gcdextod_.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
! 422: gcdextos_.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
! 424: get_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
! 426: jacbase1_.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
! 428: jacbase2_.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
! 430: jacbase3_.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
! 432: mod_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
! 434: mod_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
! 436: mod_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
! 438: modlinv_.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
! 440: mul_.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
! 442: mul_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
! 444: mul_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
! 446: mul_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
! 448: mul_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
1.1 maekawa 450: noop_.c: noop.c $(ANSI2KNR)
1.1.1.2 ! ohara 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
! 452: powm_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
! 454: powm_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
! 456: pre_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
! 458: sb_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
! 460: sb_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
! 462: sb_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
! 464: set_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
! 466: set_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
1.1 maekawa 468: speed_.c: speed.c $(ANSI2KNR)
1.1.1.2 ! ohara 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
1.1 maekawa 470: speed-ext_.c: speed-ext.c $(ANSI2KNR)
1.1.1.2 ! ohara 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
! 472: sqr_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
! 474: tdiv_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
1.1 maekawa 476: time_.c: time.c $(ANSI2KNR)
1.1.1.2 ! ohara 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
1.1 maekawa 478: tuneup_.c: tuneup.c $(ANSI2KNR)
1.1.1.2 ! ohara 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
! 480: common_.$(OBJEXT) common_.lo dc_divrem_n_.$(OBJEXT) dc_divrem_n_.lo \
! 481: divrem1div_.$(OBJEXT) divrem1div_.lo divrem1inv_.$(OBJEXT) \
! 482: divrem1inv_.lo divrem2div_.$(OBJEXT) divrem2div_.lo \
! 483: divrem2inv_.$(OBJEXT) divrem2inv_.lo divrem_1_.$(OBJEXT) divrem_1_.lo \
! 484: divrem_2_.$(OBJEXT) divrem_2_.lo freq_.$(OBJEXT) freq_.lo \
! 485: gcd_.$(OBJEXT) gcd_.lo gcd_bin_.$(OBJEXT) gcd_bin_.lo \
! 486: gcd_finda_gen_.$(OBJEXT) gcd_finda_gen_.lo gcdext_double_.$(OBJEXT) \
! 487: gcdext_double_.lo gcdext_single_.$(OBJEXT) gcdext_single_.lo \
! 488: gcdextod_.$(OBJEXT) gcdextod_.lo gcdextos_.$(OBJEXT) gcdextos_.lo \
! 489: get_str_.$(OBJEXT) get_str_.lo jacbase1_.$(OBJEXT) jacbase1_.lo \
! 490: jacbase2_.$(OBJEXT) jacbase2_.lo jacbase3_.$(OBJEXT) jacbase3_.lo \
! 491: mod_1_.$(OBJEXT) mod_1_.lo mod_1_div_.$(OBJEXT) mod_1_div_.lo \
! 492: mod_1_inv_.$(OBJEXT) mod_1_inv_.lo modlinv_.$(OBJEXT) modlinv_.lo \
! 493: mul_.$(OBJEXT) mul_.lo mul_fft_.$(OBJEXT) mul_fft_.lo mul_n_.$(OBJEXT) \
! 494: mul_n_.lo mul_n_mpn_.$(OBJEXT) mul_n_mpn_.lo mul_n_open_.$(OBJEXT) \
! 495: mul_n_open_.lo noop_.$(OBJEXT) noop_.lo powm_mod_.$(OBJEXT) \
! 496: powm_mod_.lo powm_redc_.$(OBJEXT) powm_redc_.lo pre_divrem_1_.$(OBJEXT) \
! 497: pre_divrem_1_.lo sb_div_.$(OBJEXT) sb_div_.lo sb_divrem_mn_.$(OBJEXT) \
! 498: sb_divrem_mn_.lo sb_inv_.$(OBJEXT) sb_inv_.lo set_strb_.$(OBJEXT) \
! 499: set_strb_.lo set_strs_.$(OBJEXT) set_strs_.lo speed_.$(OBJEXT) \
! 500: speed_.lo speed-ext_.$(OBJEXT) speed-ext_.lo sqr_basecase_.$(OBJEXT) \
! 501: sqr_basecase_.lo tdiv_qr_.$(OBJEXT) tdiv_qr_.lo time_.$(OBJEXT) \
! 502: time_.lo tuneup_.$(OBJEXT) tuneup_.lo : $(ANSI2KNR)
! 503: uninstall-info-am:
1.1 maekawa 504:
505: tags: TAGS
506:
507: ID: $(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; }'`; \
1.1.1.2 ! ohara 514: mkid -fID $$unique $(LISP)
1.1 maekawa 515:
516: TAGS: $(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:
1.1.1.2 ! ohara 529: GTAGS:
! 530: here=`CDPATH=: && cd $(top_builddir) && pwd` \
! 531: && cd $(top_srcdir) \
! 532: && gtags -i $(GTAGS_ARGS) $$here
1.1 maekawa 533:
534: distclean-tags:
1.1.1.2 ! ohara 535: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
1.1 maekawa 536:
1.1.1.2 ! ohara 537: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
1.1 maekawa 538:
1.1.1.2 ! ohara 539: top_distdir = ..
! 540: distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
1.1 maekawa 541:
542: distdir: $(DISTFILES)
543: @for file in $(DISTFILES); do \
1.1.1.2 ! ohara 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; \
1.1 maekawa 549: if test -d $$d/$$file; then \
1.1.1.2 ! ohara 550: cp -pR $$d/$$file $(distdir) \
! 551: || exit 1; \
1.1 maekawa 552: else \
553: test -f $(distdir)/$$file \
1.1.1.2 ! ohara 554: || cp -p $$d/$$file $(distdir)/$$file \
! 555: || exit 1; \
1.1 maekawa 556: fi; \
557: done
558: check-am: all-am
559: check: check-am
1.1.1.2 ! ohara 560: all-am: Makefile $(HEADERS)
1.1 maekawa 561:
1.1.1.2 ! ohara 562: installdirs:
1.1 maekawa 563:
564: install: install-am
1.1.1.2 ! ohara 565: install-exec: install-exec-am
! 566: install-data: install-data-am
1.1 maekawa 567: uninstall: uninstall-am
568:
1.1.1.2 ! ohara 569: install-am: all-am
! 570: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
1.1 maekawa 571:
1.1.1.2 ! ohara 572: installcheck: installcheck-am
! 573: install-strip:
! 574: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
! 575: `test -z '$(STRIP)' || \
! 576: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1.1 maekawa 577: mostlyclean-generic:
578:
579: clean-generic:
580: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
581:
582: distclean-generic:
1.1.1.2 ! ohara 583: -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
! 584: -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
1.1 maekawa 585:
586: maintainer-clean-generic:
1.1.1.2 ! ohara 587: @echo "This command is intended for maintainers to use"
! 588: @echo "it deletes files that may require special tools to rebuild."
! 589: clean: clean-am
1.1 maekawa 590:
1.1.1.2 ! ohara 591: clean-am: clean-generic clean-libtool mostlyclean-am
1.1 maekawa 592:
1.1.1.2 ! ohara 593: distclean: distclean-am
1.1 maekawa 594:
1.1.1.2 ! ohara 595: distclean-am: clean-am distclean-compile distclean-generic \
! 596: distclean-libtool distclean-tags
1.1 maekawa 597:
1.1.1.2 ! ohara 598: dvi: dvi-am
1.1 maekawa 599:
1.1.1.2 ! ohara 600: dvi-am:
1.1 maekawa 601:
1.1.1.2 ! ohara 602: info: info-am
! 603:
! 604: info-am:
! 605:
! 606: install-data-am:
! 607:
! 608: install-exec-am:
! 609:
! 610: install-info: install-info-am
! 611:
! 612: install-man:
! 613:
! 614: installcheck-am:
1.1 maekawa 615:
616: maintainer-clean: maintainer-clean-am
617:
1.1.1.2 ! ohara 618: maintainer-clean-am: distclean-am maintainer-clean-generic
! 619:
! 620: mostlyclean: mostlyclean-am
! 621:
! 622: mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
! 623: mostlyclean-libtool
1.1 maekawa 624:
1.1.1.2 ! ohara 625: uninstall-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
1.1 maekawa 641:
642: tune:
1.1.1.2 ! ohara 643: $(MAKE) $(AM_MAKEFLAGS) tuneup$(EXEEXT)
1.1 maekawa 644: ./tuneup
645:
1.1.1.2 ! ohara 646: allprogs: $(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:
! 654: divrem_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:
! 659: mod_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:
! 664: sqr_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: #
1.1 maekawa 713: .asm.o:
1.1.1.2 ! ohara 714: $(M4) -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s
1.1 maekawa 715: $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
1.1.1.2 ! ohara 716: $(RM_TMP) tmp-$*.s
1.1 maekawa 717: .asm.obj:
1.1.1.2 ! ohara 718: $(M4) -DOPERATION_$* `cygpath -w $<` >tmp-$*.s
1.1 maekawa 719: $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
1.1.1.2 ! ohara 720: $(RM_TMP) tmp-$*.s
1.1 maekawa 721: .asm.lo:
1.1.1.2 ! ohara 722: $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
1.1 maekawa 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:
728: mk:
729: ./speed -s 5-40 -c mpn_mul_basecase mpn_kara_mul_n
730: mt:
1.1.1.2 ! ohara 731: ./speed $(MTS) mpn_kara_mul_n mpn_toom3_mul_n
1.1 maekawa 732: mtg:
733: ./speed $(MTS) -P mtg mpn_kara_mul_n mpn_toom3_mul_n
734:
735: sk:
736: ./speed -s 5-40 -c mpn_sqr_basecase mpn_kara_sqr_n
737: st:
1.1.1.2 ! ohara 738: ./speed $(STS) mpn_kara_sqr_n mpn_toom3_sqr_n
1.1 maekawa 739: stg:
740: ./speed $(STS) -P stg mpn_kara_sqr_n mpn_toom3_sqr_n
741:
1.1.1.2 ! ohara 742: dc:
! 743: ./speed -s 5-40 -c mpn_dc_divrem_sb mpn_dc_divrem_n mpn_dc_tdiv_qr
1.1 maekawa 744:
745: fib:
1.1.1.2 ! ohara 746: ./speed -s 40-60 -c mpz_fib_ui
1.1 maekawa 747: fibg:
748: ./speed -s 10-300 -P fibg mpz_fib_ui
749:
750: gcd:
751: ./speed -s 1-20 -c mpn_gcd
752:
1.1.1.2 ! ohara 753: udiv:
! 754: ./speed -s 1 -c udiv_qrnnd udiv_qrnnd_preinv udiv_qrnnd_preinv2norm invert_limb udiv_qrnnd_c
! 755:
! 756: divn:
! 757: ./speed -s 1-30 -c mpn_divrem_1_div.-1 mpn_divrem_1_inv.-1
! 758: divun:
! 759: ./speed -s 1-30 -c mpn_divrem_1_div.12345 mpn_divrem_1_inv.12345
! 760: modn:
! 761: ./speed -s 1-30 -c mpn_mod_1_div.-1 mpn_mod_1_inv.-1
! 762: modun:
! 763: ./speed -s 1-30 -c mpn_mod_1_div.12345 mpn_mod_1_inv.12345
! 764:
1.1 maekawa 765: graph:
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:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>