Annotation of OpenXM_contrib/gmp/tests/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:
1.1.1.2 ! ohara 161: AUTOMAKE_OPTIONS = gnu no-dependencies $(top_builddir)/ansi2knr
! 162: SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx mpbsd
! 163:
! 164: COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 165: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
! 166:
! 167:
! 168: # Flags used for preprocessing (in ansi2knr rules).
1.1 maekawa 169: #
1.1.1.2 ! ohara 170: PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 171: $(CPPFLAGS)
! 172:
! 173:
! 174: # Recent versions of automake (1.5 and up for instance) append automake
! 175: # generated suffixes to this $(SUFFIXES) list. This is essential for us,
! 176: # since .c must come after .s, .S and .asm. If .c is before .s, for
! 177: # instance, then in the mpn directory "make" will see add_n.c mentioned in
! 178: # an explicit rule (the ansi2knr stuff) and decide it must have add_n.c,
! 179: # even if add_n.c doesn't exist but add_n.s does. See GNU make
! 180: # documentation "(make)Implicit Rule Search", part 5c.
1.1 maekawa 181: #
1.1.1.2 ! ohara 182: # On IRIX 6 native make this doesn't work properly though. Somehow .c
! 183: # remains ahead of .s, perhaps because .c.s is a builtin rule. .asm works
! 184: # fine though, and mpn/mips3 uses this.
1.1 maekawa 185: #
1.1.1.2 ! ohara 186: SUFFIXES = .s .S .asm
! 187:
! 188: # can be overridden during development, eg. "make RM_TMP=: mul_1.lo"
! 189: RM_TMP = rm -f
! 190:
! 191: INCLUDES = -I$(top_srcdir)
! 192: LDADD = libtests.la $(top_builddir)/libgmp.la
! 193:
! 194: EXTRA_DIST = x86call.asm
! 195: EXTRA_LTLIBRARIES = libdummy.la
! 196: check_LTLIBRARIES = libtests.la
! 197:
! 198: libtests_la_SOURCES = tests.h \
! 199: memory.c misc.c refmpf.c refmpn.c refmpq.c refmpz.c spinner.c trace.c
1.1 maekawa 200:
1.1.1.2 ! ohara 201: libtests_la_DEPENDENCIES = @CALLING_CONVENTIONS_OBJS@
! 202: libtests_la_LIBADD = $(libtests_la_DEPENDENCIES) $(top_builddir)/libgmp.la
1.1 maekawa 203:
1.1.1.2 ! ohara 204: # Create ansi2knr rules for sources conditionally used
! 205: libdummy_la_SOURCES = x86check.c
1.1 maekawa 206:
1.1.1.2 ! ohara 207: check_PROGRAMS = t-bswap t-constants t-count_zeros t-gmpmax t-modlinv
! 208: TESTS = $(check_PROGRAMS)
1.1 maekawa 209: subdir = tests
210: mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
1.1.1.2 ! ohara 211: CONFIG_HEADER = $(top_builddir)/config.h
! 212: CONFIG_CLEAN_FILES =
! 213: libdummy_la_LDFLAGS =
! 214: libdummy_la_LIBADD =
! 215: am_libdummy_la_OBJECTS = x86check$U.lo
! 216: libdummy_la_OBJECTS = $(am_libdummy_la_OBJECTS)
! 217: libtests_la_LDFLAGS =
! 218: am_libtests_la_OBJECTS = memory$U.lo misc$U.lo refmpf$U.lo refmpn$U.lo \
! 219: refmpq$U.lo refmpz$U.lo spinner$U.lo trace$U.lo
! 220: libtests_la_OBJECTS = $(am_libtests_la_OBJECTS)
! 221: check_PROGRAMS = t-bswap$(EXEEXT) t-constants$(EXEEXT) \
! 222: t-count_zeros$(EXEEXT) t-gmpmax$(EXEEXT) t-modlinv$(EXEEXT)
! 223: t_bswap_SOURCES = t-bswap.c
! 224: t_bswap_OBJECTS = t-bswap$U.$(OBJEXT)
! 225: t_bswap_LDADD = $(LDADD)
! 226: t_bswap_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la
! 227: t_bswap_LDFLAGS =
! 228: t_constants_SOURCES = t-constants.c
! 229: t_constants_OBJECTS = t-constants$U.$(OBJEXT)
! 230: t_constants_LDADD = $(LDADD)
! 231: t_constants_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la
! 232: t_constants_LDFLAGS =
! 233: t_count_zeros_SOURCES = t-count_zeros.c
! 234: t_count_zeros_OBJECTS = t-count_zeros$U.$(OBJEXT)
! 235: t_count_zeros_LDADD = $(LDADD)
! 236: t_count_zeros_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la
! 237: t_count_zeros_LDFLAGS =
! 238: t_gmpmax_SOURCES = t-gmpmax.c
! 239: t_gmpmax_OBJECTS = t-gmpmax$U.$(OBJEXT)
! 240: t_gmpmax_LDADD = $(LDADD)
! 241: t_gmpmax_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la
! 242: t_gmpmax_LDFLAGS =
! 243: t_modlinv_SOURCES = t-modlinv.c
! 244: t_modlinv_OBJECTS = t-modlinv$U.$(OBJEXT)
! 245: t_modlinv_LDADD = $(LDADD)
! 246: t_modlinv_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la
! 247: t_modlinv_LDFLAGS =
! 248:
! 249: DEFS = @DEFS@
! 250: DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
! 251: CPPFLAGS = @CPPFLAGS@
! 252: LDFLAGS = @LDFLAGS@
! 253: LIBS = @LIBS@
! 254: depcomp =
! 255: COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
! 256: $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
! 257: LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \
! 258: $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
! 259: CCLD = $(CC)
! 260: LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
! 261: $(AM_LDFLAGS) $(LDFLAGS) -o $@
! 262: CFLAGS = @CFLAGS@
! 263: DIST_SOURCES = $(libdummy_la_SOURCES) $(libtests_la_SOURCES) t-bswap.c \
! 264: t-constants.c t-count_zeros.c t-gmpmax.c t-modlinv.c
! 265:
! 266: RECURSIVE_TARGETS = info-recursive dvi-recursive install-info-recursive \
! 267: uninstall-info-recursive all-recursive install-data-recursive \
! 268: install-exec-recursive installdirs-recursive install-recursive \
! 269: uninstall-recursive check-recursive installcheck-recursive
! 270: DIST_COMMON = Makefile.am Makefile.in
! 271: DIST_SUBDIRS = $(SUBDIRS)
! 272: SOURCES = $(libdummy_la_SOURCES) $(libtests_la_SOURCES) t-bswap.c t-constants.c t-count_zeros.c t-gmpmax.c t-modlinv.c
1.1 maekawa 273:
1.1.1.2 ! ohara 274: all: all-recursive
1.1 maekawa 275:
276: .SUFFIXES:
1.1.1.2 ! ohara 277: .SUFFIXES: .s .S .asm .c .lo .o .obj
1.1 maekawa 278:
1.1.1.2 ! ohara 279: mostlyclean-libtool:
! 280: -rm -f *.lo
1.1 maekawa 281:
1.1.1.2 ! ohara 282: clean-libtool:
! 283: -rm -rf .libs _libs
! 284:
! 285: distclean-libtool:
! 286: -rm -f libtool
! 287: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(srcdir)/../mpn/Makeasm.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
! 288: cd $(top_srcdir) && \
! 289: $(AUTOMAKE) --gnu tests/Makefile
! 290: Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
! 291: cd $(top_builddir) && \
! 292: CONFIG_HEADERS= CONFIG_LINKS= \
! 293: CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
! 294:
! 295: clean-checkLTLIBRARIES:
! 296: -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES)
! 297: libdummy.la: $(libdummy_la_OBJECTS) $(libdummy_la_DEPENDENCIES)
! 298: $(LINK) $(libdummy_la_LDFLAGS) $(libdummy_la_OBJECTS) $(libdummy_la_LIBADD) $(LIBS)
! 299: libtests.la: $(libtests_la_OBJECTS) $(libtests_la_DEPENDENCIES)
! 300: $(LINK) $(libtests_la_LDFLAGS) $(libtests_la_OBJECTS) $(libtests_la_LIBADD) $(LIBS)
! 301:
! 302: clean-checkPROGRAMS:
! 303: -test -z "$(check_PROGRAMS)" || rm -f $(check_PROGRAMS)
! 304: t-bswap$(EXEEXT): $(t_bswap_OBJECTS) $(t_bswap_DEPENDENCIES)
! 305: @rm -f t-bswap$(EXEEXT)
! 306: $(LINK) $(t_bswap_LDFLAGS) $(t_bswap_OBJECTS) $(t_bswap_LDADD) $(LIBS)
! 307: t-constants$(EXEEXT): $(t_constants_OBJECTS) $(t_constants_DEPENDENCIES)
! 308: @rm -f t-constants$(EXEEXT)
! 309: $(LINK) $(t_constants_LDFLAGS) $(t_constants_OBJECTS) $(t_constants_LDADD) $(LIBS)
! 310: t-count_zeros$(EXEEXT): $(t_count_zeros_OBJECTS) $(t_count_zeros_DEPENDENCIES)
! 311: @rm -f t-count_zeros$(EXEEXT)
! 312: $(LINK) $(t_count_zeros_LDFLAGS) $(t_count_zeros_OBJECTS) $(t_count_zeros_LDADD) $(LIBS)
! 313: t-gmpmax$(EXEEXT): $(t_gmpmax_OBJECTS) $(t_gmpmax_DEPENDENCIES)
! 314: @rm -f t-gmpmax$(EXEEXT)
! 315: $(LINK) $(t_gmpmax_LDFLAGS) $(t_gmpmax_OBJECTS) $(t_gmpmax_LDADD) $(LIBS)
! 316: t-modlinv$(EXEEXT): $(t_modlinv_OBJECTS) $(t_modlinv_DEPENDENCIES)
! 317: @rm -f t-modlinv$(EXEEXT)
! 318: $(LINK) $(t_modlinv_LDFLAGS) $(t_modlinv_OBJECTS) $(t_modlinv_LDADD) $(LIBS)
! 319:
! 320: mostlyclean-compile:
! 321: -rm -f *.$(OBJEXT) core *.core
! 322:
! 323: distclean-compile:
! 324: -rm -f *.tab.c
! 325:
! 326: ANSI2KNR = $(top_builddir)/ansi2knr
! 327: $(top_builddir)/ansi2knr:
! 328: cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
! 329:
! 330: mostlyclean-kr:
! 331: -test "$U" = "" || rm -f *_.c
! 332:
! 333: .c.o:
! 334: $(COMPILE) -c `test -f $< || echo '$(srcdir)/'`$<
! 335:
! 336: .c.obj:
! 337: $(COMPILE) -c `cygpath -w $<`
! 338:
! 339: .c.lo:
! 340: $(LTCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
! 341: memory_.c: memory.c $(ANSI2KNR)
! 342: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/memory.c; then echo $(srcdir)/memory.c; else echo memory.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > memory_.c || rm -f memory_.c
! 343: misc_.c: misc.c $(ANSI2KNR)
! 344: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/misc.c; then echo $(srcdir)/misc.c; else echo misc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > misc_.c || rm -f misc_.c
! 345: refmpf_.c: refmpf.c $(ANSI2KNR)
! 346: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refmpf.c; then echo $(srcdir)/refmpf.c; else echo refmpf.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refmpf_.c || rm -f refmpf_.c
! 347: refmpn_.c: refmpn.c $(ANSI2KNR)
! 348: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refmpn.c; then echo $(srcdir)/refmpn.c; else echo refmpn.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refmpn_.c || rm -f refmpn_.c
! 349: refmpq_.c: refmpq.c $(ANSI2KNR)
! 350: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refmpq.c; then echo $(srcdir)/refmpq.c; else echo refmpq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refmpq_.c || rm -f refmpq_.c
! 351: refmpz_.c: refmpz.c $(ANSI2KNR)
! 352: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/refmpz.c; then echo $(srcdir)/refmpz.c; else echo refmpz.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > refmpz_.c || rm -f refmpz_.c
! 353: spinner_.c: spinner.c $(ANSI2KNR)
! 354: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/spinner.c; then echo $(srcdir)/spinner.c; else echo spinner.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > spinner_.c || rm -f spinner_.c
! 355: t-bswap_.c: t-bswap.c $(ANSI2KNR)
! 356: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/t-bswap.c; then echo $(srcdir)/t-bswap.c; else echo t-bswap.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > t-bswap_.c || rm -f t-bswap_.c
! 357: t-constants_.c: t-constants.c $(ANSI2KNR)
! 358: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/t-constants.c; then echo $(srcdir)/t-constants.c; else echo t-constants.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > t-constants_.c || rm -f t-constants_.c
! 359: t-count_zeros_.c: t-count_zeros.c $(ANSI2KNR)
! 360: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/t-count_zeros.c; then echo $(srcdir)/t-count_zeros.c; else echo t-count_zeros.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > t-count_zeros_.c || rm -f t-count_zeros_.c
! 361: t-gmpmax_.c: t-gmpmax.c $(ANSI2KNR)
! 362: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/t-gmpmax.c; then echo $(srcdir)/t-gmpmax.c; else echo t-gmpmax.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > t-gmpmax_.c || rm -f t-gmpmax_.c
! 363: t-modlinv_.c: t-modlinv.c $(ANSI2KNR)
! 364: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/t-modlinv.c; then echo $(srcdir)/t-modlinv.c; else echo t-modlinv.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > t-modlinv_.c || rm -f t-modlinv_.c
! 365: trace_.c: trace.c $(ANSI2KNR)
! 366: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/trace.c; then echo $(srcdir)/trace.c; else echo trace.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > trace_.c || rm -f trace_.c
! 367: x86check_.c: x86check.c $(ANSI2KNR)
! 368: $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/x86check.c; then echo $(srcdir)/x86check.c; else echo x86check.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > x86check_.c || rm -f x86check_.c
! 369: memory_.$(OBJEXT) memory_.lo misc_.$(OBJEXT) misc_.lo refmpf_.$(OBJEXT) \
! 370: refmpf_.lo refmpn_.$(OBJEXT) refmpn_.lo refmpq_.$(OBJEXT) refmpq_.lo \
! 371: refmpz_.$(OBJEXT) refmpz_.lo spinner_.$(OBJEXT) spinner_.lo \
! 372: t-bswap_.$(OBJEXT) t-bswap_.lo t-constants_.$(OBJEXT) t-constants_.lo \
! 373: t-count_zeros_.$(OBJEXT) t-count_zeros_.lo t-gmpmax_.$(OBJEXT) \
! 374: t-gmpmax_.lo t-modlinv_.$(OBJEXT) t-modlinv_.lo trace_.$(OBJEXT) \
! 375: trace_.lo x86check_.$(OBJEXT) x86check_.lo : $(ANSI2KNR)
! 376: uninstall-info-am:
1.1 maekawa 377:
378: # This directory's subdirectories are mostly independent; you can cd
379: # into them and run `make' without going through this Makefile.
380: # To change the values of `make' variables: instead of editing Makefiles,
381: # (1) if the variable is set in `config.status', edit `config.status'
382: # (which will cause the Makefiles to be regenerated when you run `make');
383: # (2) otherwise, pass the desired values on the `make' command line.
1.1.1.2 ! ohara 384: $(RECURSIVE_TARGETS):
1.1 maekawa 385: @set fnord $(MAKEFLAGS); amf=$$2; \
386: dot_seen=no; \
387: target=`echo $@ | sed s/-recursive//`; \
388: list='$(SUBDIRS)'; for subdir in $$list; do \
389: echo "Making $$target in $$subdir"; \
390: if test "$$subdir" = "."; then \
391: dot_seen=yes; \
392: local_target="$$target-am"; \
393: else \
394: local_target="$$target"; \
395: fi; \
396: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
397: || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
398: done; \
399: if test "$$dot_seen" = "no"; then \
400: $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
401: fi; test -z "$$fail"
402:
403: mostlyclean-recursive clean-recursive distclean-recursive \
404: maintainer-clean-recursive:
405: @set fnord $(MAKEFLAGS); amf=$$2; \
406: dot_seen=no; \
1.1.1.2 ! ohara 407: case "$@" in \
! 408: distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
! 409: *) list='$(SUBDIRS)' ;; \
! 410: esac; \
! 411: rev=''; for subdir in $$list; do \
! 412: if test "$$subdir" = "."; then :; else \
! 413: rev="$$subdir $$rev"; \
! 414: fi; \
1.1 maekawa 415: done; \
1.1.1.2 ! ohara 416: rev="$$rev ."; \
1.1 maekawa 417: target=`echo $@ | sed s/-recursive//`; \
418: for subdir in $$rev; do \
419: echo "Making $$target in $$subdir"; \
420: if test "$$subdir" = "."; then \
421: local_target="$$target-am"; \
422: else \
423: local_target="$$target"; \
424: fi; \
425: (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
426: || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
427: done && test -z "$$fail"
428: tags-recursive:
429: list='$(SUBDIRS)'; for subdir in $$list; do \
430: test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
431: done
432:
433: tags: TAGS
434:
435: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
436: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
437: unique=`for i in $$list; do \
438: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
439: done | \
440: $(AWK) ' { files[$$0] = 1; } \
441: END { for (i in files) print i; }'`; \
1.1.1.2 ! ohara 442: mkid -fID $$unique $(LISP)
1.1 maekawa 443:
444: TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
445: $(TAGS_FILES) $(LISP)
446: tags=; \
447: here=`pwd`; \
448: list='$(SUBDIRS)'; for subdir in $$list; do \
1.1.1.2 ! ohara 449: if test "$$subdir" = .; then :; else \
1.1 maekawa 450: test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
1.1.1.2 ! ohara 451: fi; \
1.1 maekawa 452: done; \
453: list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
454: unique=`for i in $$list; do \
455: if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
456: done | \
457: $(AWK) ' { files[$$0] = 1; } \
458: END { for (i in files) print i; }'`; \
459: test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
460: || etags $(ETAGS_ARGS) $$tags $$unique $(LISP)
461:
1.1.1.2 ! ohara 462: GTAGS:
! 463: here=`CDPATH=: && cd $(top_builddir) && pwd` \
! 464: && cd $(top_srcdir) \
! 465: && gtags -i $(GTAGS_ARGS) $$here
1.1 maekawa 466:
467: distclean-tags:
1.1.1.2 ! ohara 468: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
1.1 maekawa 469:
1.1.1.2 ! ohara 470: check-TESTS: $(TESTS)
! 471: @failed=0; all=0; xfail=0; xpass=0; \
! 472: srcdir=$(srcdir); export srcdir; \
! 473: list='$(TESTS)'; \
! 474: if test -n "$$list"; then \
! 475: for tst in $$list; do \
! 476: if test -f ./$$tst; then dir=./; \
! 477: elif test -f $$tst; then dir=; \
! 478: else dir="$(srcdir)/"; fi; \
! 479: if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
! 480: all=`expr $$all + 1`; \
! 481: case " $(XFAIL_TESTS) " in \
! 482: *" $$tst "*) \
! 483: xpass=`expr $$xpass + 1`; \
! 484: failed=`expr $$failed + 1`; \
! 485: echo "XPASS: $$tst"; \
! 486: ;; \
! 487: *) \
! 488: echo "PASS: $$tst"; \
! 489: ;; \
! 490: esac; \
! 491: elif test $$? -ne 77; then \
! 492: all=`expr $$all + 1`; \
! 493: case " $(XFAIL_TESTS) " in \
! 494: *" $$tst "*) \
! 495: xfail=`expr $$xfail + 1`; \
! 496: echo "XFAIL: $$tst"; \
! 497: ;; \
! 498: *) \
! 499: failed=`expr $$failed + 1`; \
! 500: echo "FAIL: $$tst"; \
! 501: ;; \
! 502: esac; \
! 503: fi; \
! 504: done; \
! 505: if test "$$failed" -eq 0; then \
! 506: if test "$$xfail" -eq 0; then \
! 507: banner="All $$all tests passed"; \
! 508: else \
! 509: banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
! 510: fi; \
! 511: else \
! 512: if test "$$xpass" -eq 0; then \
! 513: banner="$$failed of $$all tests failed"; \
! 514: else \
! 515: banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
! 516: fi; \
! 517: fi; \
! 518: dashes=`echo "$$banner" | sed s/./=/g`; \
! 519: echo "$$dashes"; \
! 520: echo "$$banner"; \
! 521: echo "$$dashes"; \
! 522: test "$$failed" -eq 0; \
! 523: else \
! 524: true; \
! 525: fi
1.1 maekawa 526:
1.1.1.2 ! ohara 527: DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
! 528:
! 529: top_distdir = ..
! 530: distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
1.1 maekawa 531:
532: distdir: $(DISTFILES)
533: @for file in $(DISTFILES); do \
1.1.1.2 ! ohara 534: if test -f $$file; then d=.; else d=$(srcdir); fi; \
! 535: dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
! 536: if test "$$dir" != "$$file" && test "$$dir" != "."; then \
! 537: $(mkinstalldirs) "$(distdir)/$$dir"; \
! 538: fi; \
1.1 maekawa 539: if test -d $$d/$$file; then \
1.1.1.2 ! ohara 540: cp -pR $$d/$$file $(distdir) \
! 541: || exit 1; \
1.1 maekawa 542: else \
543: test -f $(distdir)/$$file \
1.1.1.2 ! ohara 544: || cp -p $$d/$$file $(distdir)/$$file \
! 545: || exit 1; \
1.1 maekawa 546: fi; \
547: done
548: for subdir in $(SUBDIRS); do \
549: if test "$$subdir" = .; then :; else \
550: test -d $(distdir)/$$subdir \
551: || mkdir $(distdir)/$$subdir \
552: || exit 1; \
1.1.1.2 ! ohara 553: (cd $$subdir && \
! 554: $(MAKE) $(AM_MAKEFLAGS) \
! 555: top_distdir="$(top_distdir)" \
! 556: distdir=../$(distdir)/$$subdir \
! 557: distdir) \
1.1 maekawa 558: || exit 1; \
559: fi; \
560: done
561: check-am: all-am
1.1.1.2 ! ohara 562: $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS)
! 563: $(MAKE) $(AM_MAKEFLAGS) check-TESTS
1.1 maekawa 564: check: check-recursive
1.1.1.2 ! ohara 565: all-am: Makefile
! 566: installdirs: installdirs-recursive
! 567: installdirs-am:
1.1 maekawa 568:
1.1.1.2 ! ohara 569: install: install-recursive
! 570: install-exec: install-exec-recursive
1.1 maekawa 571: install-data: install-data-recursive
1.1.1.2 ! ohara 572: uninstall: uninstall-recursive
1.1 maekawa 573:
574: install-am: all-am
575: @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
576:
1.1.1.2 ! ohara 577: installcheck: installcheck-recursive
! 578: install-strip:
! 579: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
! 580: `test -z '$(STRIP)' || \
! 581: echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1.1 maekawa 582: mostlyclean-generic:
583:
584: clean-generic:
585:
586: distclean-generic:
1.1.1.2 ! ohara 587: -rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
1.1 maekawa 588:
589: maintainer-clean-generic:
1.1.1.2 ! ohara 590: @echo "This command is intended for maintainers to use"
! 591: @echo "it deletes files that may require special tools to rebuild."
! 592: clean: clean-recursive
1.1 maekawa 593:
1.1.1.2 ! ohara 594: clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
! 595: clean-libtool mostlyclean-am
1.1 maekawa 596:
1.1.1.2 ! ohara 597: distclean: distclean-recursive
1.1 maekawa 598:
1.1.1.2 ! ohara 599: distclean-am: clean-am distclean-compile distclean-generic \
! 600: distclean-libtool distclean-tags
1.1 maekawa 601:
1.1.1.2 ! ohara 602: dvi: dvi-recursive
1.1 maekawa 603:
1.1.1.2 ! ohara 604: dvi-am:
1.1 maekawa 605:
1.1.1.2 ! ohara 606: info: info-recursive
! 607:
! 608: info-am:
! 609:
! 610: install-data-am:
! 611:
! 612: install-exec-am:
! 613:
! 614: install-info: install-info-recursive
! 615:
! 616: install-man:
! 617:
! 618: installcheck-am:
1.1 maekawa 619:
620: maintainer-clean: maintainer-clean-recursive
621:
1.1.1.2 ! ohara 622: maintainer-clean-am: distclean-am maintainer-clean-generic
! 623:
! 624: mostlyclean: mostlyclean-recursive
! 625:
! 626: mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
! 627: mostlyclean-libtool
! 628:
! 629: uninstall-am: uninstall-info-am
! 630:
! 631: uninstall-info: uninstall-info-recursive
! 632:
! 633: .PHONY: $(RECURSIVE_TARGETS) GTAGS all all-am check check-TESTS check-am \
! 634: clean clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \
! 635: clean-libtool clean-recursive distclean distclean-compile \
! 636: distclean-generic distclean-libtool distclean-recursive \
! 637: distclean-tags distdir dvi dvi-am dvi-recursive info info-am \
! 638: info-recursive install install-am install-data install-data-am \
! 639: install-data-recursive install-exec install-exec-am \
! 640: install-exec-recursive install-info install-info-am \
! 641: install-info-recursive install-man install-recursive \
! 642: install-strip installcheck installcheck-am installdirs \
! 643: installdirs-am installdirs-recursive maintainer-clean \
! 644: maintainer-clean-generic maintainer-clean-recursive mostlyclean \
! 645: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
! 646: mostlyclean-libtool mostlyclean-recursive tags tags-recursive \
! 647: uninstall uninstall-am uninstall-info-am \
! 648: uninstall-info-recursive uninstall-recursive
! 649:
1.1 maekawa 650:
1.1.1.2 ! ohara 651: # .s assembler, no preprocessing.
! 652: #
! 653: .s.o:
! 654: $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
! 655: .s.obj:
! 656: $(CCAS) $(COMPILE_FLAGS) `cygpath -w $<`
! 657: .s.lo:
! 658: $(LIBTOOL) --mode=compile $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
! 659:
! 660: # .S assembler, preprocessed with cpp.
! 661: #
! 662: # It's necessary to run $(CPP) separately, since it seems not all compilers
! 663: # recognise .S files, in particular "cc" on HP-UX 10 and 11 doesn't (and
! 664: # will silently do nothing if given a .S).
! 665: #
! 666: # For .lo we need a helper script, as described below for .asm.lo.
! 667: #
! 668: .S.o:
! 669: $(CPP) $(PREPROCESS_FLAGS) `test -f $< || echo '$(srcdir)/'`$< | grep -v '^#' >tmp-$*.s
! 670: $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
! 671: $(RM_TMP) tmp-$*.s
! 672: .S.obj:
! 673: $(CPP) $(PREPROCESS_FLAGS) `cygpath -w $<` | grep -v '^#' >tmp-$*.s
! 674: $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
! 675: $(RM_TMP) tmp-$*.s
! 676: .S.lo:
! 677: $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/cpp-ccas --cpp="$(CPP) $(PREPROCESS_FLAGS)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
1.1 maekawa 678:
1.1.1.2 ! ohara 679: # .asm assembler, preprocessed with m4.
! 680: #
! 681: # .o and .obj are non-PIC and just need m4 followed by a compile.
! 682: #
! 683: # .lo is a bit tricky. Libtool (as of version 1.5) has foo.lo as a little
! 684: # text file, and .libs/foo.o and foo.o as the PIC and non-PIC objects,
! 685: # respectively. It'd be asking for lots of trouble to try to create foo.lo
! 686: # ourselves, so instead arrange to invoke libtool like a --mode=compile, but
! 687: # with a special m4-ccas script which first m4 preprocesses, then compiles.
! 688: # --tag=CC is necessary since foo.asm is otherwise unknown to libtool.
! 689: #
! 690: # Libtool adds -DPIC when building a shared object and the .asm files look
! 691: # for that. But it should be noted that the other PIC flags are on occasion
! 692: # important too, in particular FreeBSD 2.2.8 gas 1.92.3 requires -k before
! 693: # it accepts PIC constructs like @GOT, and gcc adds that flag only under
! 694: # -fPIC. (Later versions of gas are happy to accept PIC stuff any time.)
! 695: #
! 696: .asm.o:
! 697: $(M4) -DOPERATION_$* `test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s
! 698: $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
! 699: $(RM_TMP) tmp-$*.s
! 700: .asm.obj:
! 701: $(M4) -DOPERATION_$* `cygpath -w $<` >tmp-$*.s
! 702: $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@
! 703: $(RM_TMP) tmp-$*.s
! 704: .asm.lo:
! 705: $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f $< || echo '$(srcdir)/'`$<
1.1 maekawa 706: # Tell versions [3.59,3.63) of GNU make to not export all variables.
707: # Otherwise a system limit (for SysV at least) may be exceeded.
708: .NOEXPORT:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>