1# Makefile.in generated by automake 1.11.6 from Makefile.am. 2# @configure_input@ 3 4# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 5# 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software 6# Foundation, Inc. 7# This Makefile.in is free software; the Free Software Foundation 8# gives unlimited permission to copy and/or distribute it, 9# with or without modifications, as long as this notice is preserved. 10 11# This program is distributed in the hope that it will be useful, 12# but WITHOUT ANY WARRANTY, to the extent permitted by law; without 13# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 14# PARTICULAR PURPOSE. 15 16@SET_MAKE@ 17 18# Copyright 2000-2004, 2013 Free Software Foundation, Inc. 19# 20# This file is part of the GNU MP Library test suite. 21# 22# The GNU MP Library test suite is free software; you can redistribute it 23# and/or modify it under the terms of the GNU General Public License as 24# published by the Free Software Foundation; either version 3 of the License, 25# or (at your option) any later version. 26# 27# The GNU MP Library test suite is distributed in the hope that it will be 28# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 29# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 30# Public License for more details. 31# 32# You should have received a copy of the GNU General Public License along with 33# the GNU MP Library test suite. If not, see https://www.gnu.org/licenses/. 34 35# Copyright 1996, 1998-2002 Free Software Foundation, Inc. 36# 37# This file is part of the GNU MP Library. 38# 39# The GNU MP Library is free software; you can redistribute it and/or modify 40# it under the terms of either: 41# 42# * the GNU Lesser General Public License as published by the Free 43# Software Foundation; either version 3 of the License, or (at your 44# option) any later version. 45# 46# or 47# 48# * the GNU General Public License as published by the Free Software 49# Foundation; either version 2 of the License, or (at your option) any 50# later version. 51# 52# or both in parallel, as here. 53# 54# The GNU MP Library is distributed in the hope that it will be useful, but 55# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 56# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 57# for more details. 58# 59# You should have received copies of the GNU General Public License and the 60# GNU Lesser General Public License along with the GNU MP Library. If not, 61# see https://www.gnu.org/licenses/. 62VPATH = @srcdir@ 63am__make_dryrun = \ 64 { \ 65 am__dry=no; \ 66 case $$MAKEFLAGS in \ 67 *\\[\ \ ]*) \ 68 echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ 69 | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ 70 *) \ 71 for am__flg in $$MAKEFLAGS; do \ 72 case $$am__flg in \ 73 *=*|--*) ;; \ 74 *n*) am__dry=yes; break;; \ 75 esac; \ 76 done;; \ 77 esac; \ 78 test $$am__dry = yes; \ 79 } 80pkgdatadir = $(datadir)/@PACKAGE@ 81pkgincludedir = $(includedir)/@PACKAGE@ 82pkglibdir = $(libdir)/@PACKAGE@ 83pkglibexecdir = $(libexecdir)/@PACKAGE@ 84am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 85install_sh_DATA = $(install_sh) -c -m 644 86install_sh_PROGRAM = $(install_sh) -c 87install_sh_SCRIPT = $(install_sh) -c 88INSTALL_HEADER = $(INSTALL_DATA) 89transform = $(program_transform_name) 90NORMAL_INSTALL = : 91PRE_INSTALL = : 92POST_INSTALL = : 93NORMAL_UNINSTALL = : 94PRE_UNINSTALL = : 95POST_UNINSTALL = : 96build_triplet = @build@ 97host_triplet = @host@ 98DIST_COMMON = $(srcdir)/../mpn/Makeasm.am $(srcdir)/Makefile.am \ 99 $(srcdir)/Makefile.in 100check_PROGRAMS = t-bswap$(EXEEXT) t-constants$(EXEEXT) \ 101 t-count_zeros$(EXEEXT) t-gmpmax$(EXEEXT) t-hightomask$(EXEEXT) \ 102 t-modlinv$(EXEEXT) t-popc$(EXEEXT) t-parity$(EXEEXT) \ 103 t-sub$(EXEEXT) 104subdir = tests 105ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 106am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ 107 $(top_srcdir)/configure.ac 108am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 109 $(ACLOCAL_M4) 110mkinstalldirs = $(install_sh) -d 111CONFIG_HEADER = $(top_builddir)/config.h 112CONFIG_CLEAN_FILES = 113CONFIG_CLEAN_VPATH_FILES = 114am__DEPENDENCIES_1 = 115am_libtests_la_OBJECTS = memory.lo misc.lo refmpf.lo refmpn.lo \ 116 refmpq.lo refmpz.lo spinner.lo trace.lo 117libtests_la_OBJECTS = $(am_libtests_la_OBJECTS) 118t_bswap_SOURCES = t-bswap.c 119t_bswap_OBJECTS = t-bswap.$(OBJEXT) 120t_bswap_LDADD = $(LDADD) 121t_bswap_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 122t_constants_SOURCES = t-constants.c 123t_constants_OBJECTS = t-constants.$(OBJEXT) 124t_constants_LDADD = $(LDADD) 125t_constants_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 126t_count_zeros_SOURCES = t-count_zeros.c 127t_count_zeros_OBJECTS = t-count_zeros.$(OBJEXT) 128t_count_zeros_LDADD = $(LDADD) 129t_count_zeros_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 130t_gmpmax_SOURCES = t-gmpmax.c 131t_gmpmax_OBJECTS = t-gmpmax.$(OBJEXT) 132t_gmpmax_LDADD = $(LDADD) 133t_gmpmax_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 134t_hightomask_SOURCES = t-hightomask.c 135t_hightomask_OBJECTS = t-hightomask.$(OBJEXT) 136t_hightomask_LDADD = $(LDADD) 137t_hightomask_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 138t_modlinv_SOURCES = t-modlinv.c 139t_modlinv_OBJECTS = t-modlinv.$(OBJEXT) 140t_modlinv_LDADD = $(LDADD) 141t_modlinv_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 142t_parity_SOURCES = t-parity.c 143t_parity_OBJECTS = t-parity.$(OBJEXT) 144t_parity_LDADD = $(LDADD) 145t_parity_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 146t_popc_SOURCES = t-popc.c 147t_popc_OBJECTS = t-popc.$(OBJEXT) 148t_popc_LDADD = $(LDADD) 149t_popc_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 150t_sub_SOURCES = t-sub.c 151t_sub_OBJECTS = t-sub.$(OBJEXT) 152t_sub_LDADD = $(LDADD) 153t_sub_DEPENDENCIES = libtests.la $(top_builddir)/libgmp.la 154DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) 155depcomp = 156am__depfiles_maybe = 157COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 158 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 159LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 160 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 161 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 162CCLD = $(CC) 163LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \ 164 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ 165 $(LDFLAGS) -o $@ 166SOURCES = $(libtests_la_SOURCES) $(EXTRA_libtests_la_SOURCES) \ 167 t-bswap.c t-constants.c t-count_zeros.c t-gmpmax.c \ 168 t-hightomask.c t-modlinv.c t-parity.c t-popc.c t-sub.c 169DIST_SOURCES = $(libtests_la_SOURCES) $(EXTRA_libtests_la_SOURCES) \ 170 t-bswap.c t-constants.c t-count_zeros.c t-gmpmax.c \ 171 t-hightomask.c t-modlinv.c t-parity.c t-popc.c t-sub.c 172RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ 173 html-recursive info-recursive install-data-recursive \ 174 install-dvi-recursive install-exec-recursive \ 175 install-html-recursive install-info-recursive \ 176 install-pdf-recursive install-ps-recursive install-recursive \ 177 installcheck-recursive installdirs-recursive pdf-recursive \ 178 ps-recursive uninstall-recursive 179am__can_run_installinfo = \ 180 case $$AM_UPDATE_INFO_DIR in \ 181 n|no|NO) false;; \ 182 *) (install-info --version) >/dev/null 2>&1;; \ 183 esac 184RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 185 distclean-recursive maintainer-clean-recursive 186AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ 187 $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ 188 distdir 189ETAGS = etags 190CTAGS = ctags 191am__tty_colors = \ 192red=; grn=; lgn=; blu=; std= 193DIST_SUBDIRS = $(SUBDIRS) 194DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 195am__relativize = \ 196 dir0=`pwd`; \ 197 sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 198 sed_rest='s,^[^/]*/*,,'; \ 199 sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 200 sed_butlast='s,/*[^/]*$$,,'; \ 201 while test -n "$$dir1"; do \ 202 first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 203 if test "$$first" != "."; then \ 204 if test "$$first" = ".."; then \ 205 dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 206 dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 207 else \ 208 first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 209 if test "$$first2" = "$$first"; then \ 210 dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 211 else \ 212 dir2="../$$dir2"; \ 213 fi; \ 214 dir0="$$dir0"/"$$first"; \ 215 fi; \ 216 fi; \ 217 dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 218 done; \ 219 reldir="$$dir2" 220ABI = @ABI@ 221ACLOCAL = @ACLOCAL@ 222AMTAR = @AMTAR@ 223AR = @AR@ 224AS = @AS@ 225ASMFLAGS = @ASMFLAGS@ 226AUTOCONF = @AUTOCONF@ 227AUTOHEADER = @AUTOHEADER@ 228AUTOMAKE = @AUTOMAKE@ 229AWK = @AWK@ 230CALLING_CONVENTIONS_OBJS = @CALLING_CONVENTIONS_OBJS@ 231CC = @CC@ 232CCAS = @CCAS@ 233CC_FOR_BUILD = @CC_FOR_BUILD@ 234CFLAGS = @CFLAGS@ 235CPP = @CPP@ 236CPPFLAGS = @CPPFLAGS@ 237CPP_FOR_BUILD = @CPP_FOR_BUILD@ 238CXX = @CXX@ 239CXXCPP = @CXXCPP@ 240CXXFLAGS = @CXXFLAGS@ 241CYGPATH_W = @CYGPATH_W@ 242DEFN_LONG_LONG_LIMB = @DEFN_LONG_LONG_LIMB@ 243DEFS = @DEFS@ 244DLLTOOL = @DLLTOOL@ 245DSYMUTIL = @DSYMUTIL@ 246DUMPBIN = @DUMPBIN@ 247ECHO_C = @ECHO_C@ 248ECHO_N = @ECHO_N@ 249ECHO_T = @ECHO_T@ 250EGREP = @EGREP@ 251EXEEXT = @EXEEXT@ 252EXEEXT_FOR_BUILD = @EXEEXT_FOR_BUILD@ 253FGREP = @FGREP@ 254GMP_LDFLAGS = @GMP_LDFLAGS@ 255GMP_LIMB_BITS = @GMP_LIMB_BITS@ 256GMP_NAIL_BITS = @GMP_NAIL_BITS@ 257GREP = @GREP@ 258HAVE_CLOCK_01 = @HAVE_CLOCK_01@ 259HAVE_CPUTIME_01 = @HAVE_CPUTIME_01@ 260HAVE_GETRUSAGE_01 = @HAVE_GETRUSAGE_01@ 261HAVE_GETTIMEOFDAY_01 = @HAVE_GETTIMEOFDAY_01@ 262HAVE_HOST_CPU_FAMILY_power = @HAVE_HOST_CPU_FAMILY_power@ 263HAVE_HOST_CPU_FAMILY_powerpc = @HAVE_HOST_CPU_FAMILY_powerpc@ 264HAVE_SIGACTION_01 = @HAVE_SIGACTION_01@ 265HAVE_SIGALTSTACK_01 = @HAVE_SIGALTSTACK_01@ 266HAVE_SIGSTACK_01 = @HAVE_SIGSTACK_01@ 267HAVE_STACK_T_01 = @HAVE_STACK_T_01@ 268HAVE_SYS_RESOURCE_H_01 = @HAVE_SYS_RESOURCE_H_01@ 269INSTALL = @INSTALL@ 270INSTALL_DATA = @INSTALL_DATA@ 271INSTALL_PROGRAM = @INSTALL_PROGRAM@ 272INSTALL_SCRIPT = @INSTALL_SCRIPT@ 273INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 274LD = @LD@ 275LDFLAGS = @LDFLAGS@ 276LEX = @LEX@ 277LEXLIB = @LEXLIB@ 278LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ 279LIBCURSES = @LIBCURSES@ 280LIBGMPXX_LDFLAGS = @LIBGMPXX_LDFLAGS@ 281LIBGMP_DLL = @LIBGMP_DLL@ 282LIBGMP_LDFLAGS = @LIBGMP_LDFLAGS@ 283LIBM = @LIBM@ 284LIBM_FOR_BUILD = @LIBM_FOR_BUILD@ 285LIBOBJS = @LIBOBJS@ 286LIBREADLINE = @LIBREADLINE@ 287LIBS = @LIBS@ 288LIBTOOL = @LIBTOOL@ 289LIPO = @LIPO@ 290LN_S = @LN_S@ 291LTLIBOBJS = @LTLIBOBJS@ 292M4 = @M4@ 293MAINT = @MAINT@ 294MAKEINFO = @MAKEINFO@ 295MANIFEST_TOOL = @MANIFEST_TOOL@ 296MKDIR_P = @MKDIR_P@ 297NM = @NM@ 298NMEDIT = @NMEDIT@ 299OBJDUMP = @OBJDUMP@ 300OBJEXT = @OBJEXT@ 301OTOOL = @OTOOL@ 302OTOOL64 = @OTOOL64@ 303PACKAGE = @PACKAGE@ 304PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 305PACKAGE_NAME = @PACKAGE_NAME@ 306PACKAGE_STRING = @PACKAGE_STRING@ 307PACKAGE_TARNAME = @PACKAGE_TARNAME@ 308PACKAGE_URL = @PACKAGE_URL@ 309PACKAGE_VERSION = @PACKAGE_VERSION@ 310PATH_SEPARATOR = @PATH_SEPARATOR@ 311RANLIB = @RANLIB@ 312SED = @SED@ 313SET_MAKE = @SET_MAKE@ 314SHELL = @SHELL@ 315SPEED_CYCLECOUNTER_OBJ = @SPEED_CYCLECOUNTER_OBJ@ 316STRIP = @STRIP@ 317TAL_OBJECT = @TAL_OBJECT@ 318TUNE_LIBS = @TUNE_LIBS@ 319TUNE_SQR_OBJ = @TUNE_SQR_OBJ@ 320U_FOR_BUILD = @U_FOR_BUILD@ 321VERSION = @VERSION@ 322WITH_READLINE_01 = @WITH_READLINE_01@ 323YACC = @YACC@ 324YFLAGS = @YFLAGS@ 325abs_builddir = @abs_builddir@ 326abs_srcdir = @abs_srcdir@ 327abs_top_builddir = @abs_top_builddir@ 328abs_top_srcdir = @abs_top_srcdir@ 329ac_ct_AR = @ac_ct_AR@ 330ac_ct_CC = @ac_ct_CC@ 331ac_ct_CXX = @ac_ct_CXX@ 332ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ 333am__leading_dot = @am__leading_dot@ 334am__tar = @am__tar@ 335am__untar = @am__untar@ 336bindir = @bindir@ 337build = @build@ 338build_alias = @build_alias@ 339build_cpu = @build_cpu@ 340build_os = @build_os@ 341build_vendor = @build_vendor@ 342builddir = @builddir@ 343datadir = @datadir@ 344datarootdir = @datarootdir@ 345docdir = @docdir@ 346dvidir = @dvidir@ 347exec_prefix = @exec_prefix@ 348gmp_srclinks = @gmp_srclinks@ 349host = @host@ 350host_alias = @host_alias@ 351host_cpu = @host_cpu@ 352host_os = @host_os@ 353host_vendor = @host_vendor@ 354htmldir = @htmldir@ 355includedir = @includedir@ 356infodir = @infodir@ 357install_sh = @install_sh@ 358libdir = @libdir@ 359libexecdir = @libexecdir@ 360localedir = @localedir@ 361localstatedir = @localstatedir@ 362mandir = @mandir@ 363mkdir_p = @mkdir_p@ 364mpn_objects = @mpn_objects@ 365mpn_objs_in_libgmp = @mpn_objs_in_libgmp@ 366oldincludedir = @oldincludedir@ 367pdfdir = @pdfdir@ 368prefix = @prefix@ 369program_transform_name = @program_transform_name@ 370psdir = @psdir@ 371sbindir = @sbindir@ 372sharedstatedir = @sharedstatedir@ 373srcdir = @srcdir@ 374sysconfdir = @sysconfdir@ 375target_alias = @target_alias@ 376top_build_prefix = @top_build_prefix@ 377top_builddir = @top_builddir@ 378top_srcdir = @top_srcdir@ 379SUBDIRS = . devel mpn mpz mpq mpf rand misc cxx 380 381# COMPILE minus CC. 382# 383COMPILE_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 384 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) $(ASMFLAGS) 385 386 387# Flags used for preprocessing (in ansi2knr rules). 388# 389PREPROCESS_FLAGS = $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 390 $(CPPFLAGS) 391 392 393# Recent versions of automake (1.5 and up for instance) append automake 394# generated suffixes to this $(SUFFIXES) list. This is essential for us, 395# since .c must come after .s, .S and .asm. If .c is before .s, for 396# instance, then in the mpn directory "make" will see add_n.c mentioned in 397# an explicit rule (the ansi2knr stuff) and decide it must have add_n.c, 398# even if add_n.c doesn't exist but add_n.s does. See GNU make 399# documentation "(make)Implicit Rule Search", part 5c. 400# 401# On IRIX 6 native make this doesn't work properly though. Somehow .c 402# remains ahead of .s, perhaps because .c.s is a builtin rule. .asm works 403# fine though, and mpn/mips3 uses this. 404# 405SUFFIXES = .s .S .asm 406 407# can be overridden during development, eg. "make RM_TMP=: mul_1.lo" 408RM_TMP = rm -f 409INCLUDES = -I$(top_srcdir) 410LDADD = libtests.la $(top_builddir)/libgmp.la 411check_LTLIBRARIES = libtests.la 412EXTRA_libtests_la_SOURCES = amd64call.asm amd64check.c x86call.asm x86check.c \ 413 arm32call.asm arm32check.c 414 415libtests_la_SOURCES = tests.h \ 416 memory.c misc.c refmpf.c refmpn.c refmpq.c refmpz.c spinner.c trace.c 417 418libtests_la_DEPENDENCIES = @CALLING_CONVENTIONS_OBJS@ 419libtests_la_LIBADD = $(libtests_la_DEPENDENCIES) $(top_builddir)/libgmp.la 420TESTS = $(check_PROGRAMS) 421all: all-recursive 422 423.SUFFIXES: 424.SUFFIXES: .s .S .asm .c .lo .o .obj 425$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/../mpn/Makeasm.am $(am__configure_deps) 426 @for dep in $?; do \ 427 case '$(am__configure_deps)' in \ 428 *$$dep*) \ 429 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 430 && { if test -f $@; then exit 0; else break; fi; }; \ 431 exit 1;; \ 432 esac; \ 433 done; \ 434 echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps tests/Makefile'; \ 435 $(am__cd) $(top_srcdir) && \ 436 $(AUTOMAKE) --gnu --ignore-deps tests/Makefile 437.PRECIOUS: Makefile 438Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 439 @case '$?' in \ 440 *config.status*) \ 441 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 442 *) \ 443 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 444 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 445 esac; 446$(srcdir)/../mpn/Makeasm.am: 447 448$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 449 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 450 451$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) 452 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 453$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) 454 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 455$(am__aclocal_m4_deps): 456 457clean-checkLTLIBRARIES: 458 -test -z "$(check_LTLIBRARIES)" || rm -f $(check_LTLIBRARIES) 459 @list='$(check_LTLIBRARIES)'; for p in $$list; do \ 460 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ 461 test "$$dir" != "$$p" || dir=.; \ 462 echo "rm -f \"$${dir}/so_locations\""; \ 463 rm -f "$${dir}/so_locations"; \ 464 done 465libtests.la: $(libtests_la_OBJECTS) $(libtests_la_DEPENDENCIES) $(EXTRA_libtests_la_DEPENDENCIES) 466 $(LINK) $(libtests_la_OBJECTS) $(libtests_la_LIBADD) $(LIBS) 467 468clean-checkPROGRAMS: 469 @list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \ 470 echo " rm -f" $$list; \ 471 rm -f $$list || exit $$?; \ 472 test -n "$(EXEEXT)" || exit 0; \ 473 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ 474 echo " rm -f" $$list; \ 475 rm -f $$list 476t-bswap$(EXEEXT): $(t_bswap_OBJECTS) $(t_bswap_DEPENDENCIES) $(EXTRA_t_bswap_DEPENDENCIES) 477 @rm -f t-bswap$(EXEEXT) 478 $(LINK) $(t_bswap_OBJECTS) $(t_bswap_LDADD) $(LIBS) 479t-constants$(EXEEXT): $(t_constants_OBJECTS) $(t_constants_DEPENDENCIES) $(EXTRA_t_constants_DEPENDENCIES) 480 @rm -f t-constants$(EXEEXT) 481 $(LINK) $(t_constants_OBJECTS) $(t_constants_LDADD) $(LIBS) 482t-count_zeros$(EXEEXT): $(t_count_zeros_OBJECTS) $(t_count_zeros_DEPENDENCIES) $(EXTRA_t_count_zeros_DEPENDENCIES) 483 @rm -f t-count_zeros$(EXEEXT) 484 $(LINK) $(t_count_zeros_OBJECTS) $(t_count_zeros_LDADD) $(LIBS) 485t-gmpmax$(EXEEXT): $(t_gmpmax_OBJECTS) $(t_gmpmax_DEPENDENCIES) $(EXTRA_t_gmpmax_DEPENDENCIES) 486 @rm -f t-gmpmax$(EXEEXT) 487 $(LINK) $(t_gmpmax_OBJECTS) $(t_gmpmax_LDADD) $(LIBS) 488t-hightomask$(EXEEXT): $(t_hightomask_OBJECTS) $(t_hightomask_DEPENDENCIES) $(EXTRA_t_hightomask_DEPENDENCIES) 489 @rm -f t-hightomask$(EXEEXT) 490 $(LINK) $(t_hightomask_OBJECTS) $(t_hightomask_LDADD) $(LIBS) 491t-modlinv$(EXEEXT): $(t_modlinv_OBJECTS) $(t_modlinv_DEPENDENCIES) $(EXTRA_t_modlinv_DEPENDENCIES) 492 @rm -f t-modlinv$(EXEEXT) 493 $(LINK) $(t_modlinv_OBJECTS) $(t_modlinv_LDADD) $(LIBS) 494t-parity$(EXEEXT): $(t_parity_OBJECTS) $(t_parity_DEPENDENCIES) $(EXTRA_t_parity_DEPENDENCIES) 495 @rm -f t-parity$(EXEEXT) 496 $(LINK) $(t_parity_OBJECTS) $(t_parity_LDADD) $(LIBS) 497t-popc$(EXEEXT): $(t_popc_OBJECTS) $(t_popc_DEPENDENCIES) $(EXTRA_t_popc_DEPENDENCIES) 498 @rm -f t-popc$(EXEEXT) 499 $(LINK) $(t_popc_OBJECTS) $(t_popc_LDADD) $(LIBS) 500t-sub$(EXEEXT): $(t_sub_OBJECTS) $(t_sub_DEPENDENCIES) $(EXTRA_t_sub_DEPENDENCIES) 501 @rm -f t-sub$(EXEEXT) 502 $(LINK) $(t_sub_OBJECTS) $(t_sub_LDADD) $(LIBS) 503 504mostlyclean-compile: 505 -rm -f *.$(OBJEXT) 506 507distclean-compile: 508 -rm -f *.tab.c 509 510.c.o: 511 $(COMPILE) -c $< 512 513.c.obj: 514 $(COMPILE) -c `$(CYGPATH_W) '$<'` 515 516.c.lo: 517 $(LTCOMPILE) -c -o $@ $< 518 519mostlyclean-libtool: 520 -rm -f *.lo 521 522clean-libtool: 523 -rm -rf .libs _libs 524 525# This directory's subdirectories are mostly independent; you can cd 526# into them and run `make' without going through this Makefile. 527# To change the values of `make' variables: instead of editing Makefiles, 528# (1) if the variable is set in `config.status', edit `config.status' 529# (which will cause the Makefiles to be regenerated when you run `make'); 530# (2) otherwise, pass the desired values on the `make' command line. 531$(RECURSIVE_TARGETS): 532 @fail= failcom='exit 1'; \ 533 for f in x $$MAKEFLAGS; do \ 534 case $$f in \ 535 *=* | --[!k]*);; \ 536 *k*) failcom='fail=yes';; \ 537 esac; \ 538 done; \ 539 dot_seen=no; \ 540 target=`echo $@ | sed s/-recursive//`; \ 541 list='$(SUBDIRS)'; for subdir in $$list; do \ 542 echo "Making $$target in $$subdir"; \ 543 if test "$$subdir" = "."; then \ 544 dot_seen=yes; \ 545 local_target="$$target-am"; \ 546 else \ 547 local_target="$$target"; \ 548 fi; \ 549 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 550 || eval $$failcom; \ 551 done; \ 552 if test "$$dot_seen" = "no"; then \ 553 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 554 fi; test -z "$$fail" 555 556$(RECURSIVE_CLEAN_TARGETS): 557 @fail= failcom='exit 1'; \ 558 for f in x $$MAKEFLAGS; do \ 559 case $$f in \ 560 *=* | --[!k]*);; \ 561 *k*) failcom='fail=yes';; \ 562 esac; \ 563 done; \ 564 dot_seen=no; \ 565 case "$@" in \ 566 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 567 *) list='$(SUBDIRS)' ;; \ 568 esac; \ 569 rev=''; for subdir in $$list; do \ 570 if test "$$subdir" = "."; then :; else \ 571 rev="$$subdir $$rev"; \ 572 fi; \ 573 done; \ 574 rev="$$rev ."; \ 575 target=`echo $@ | sed s/-recursive//`; \ 576 for subdir in $$rev; do \ 577 echo "Making $$target in $$subdir"; \ 578 if test "$$subdir" = "."; then \ 579 local_target="$$target-am"; \ 580 else \ 581 local_target="$$target"; \ 582 fi; \ 583 ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 584 || eval $$failcom; \ 585 done && test -z "$$fail" 586tags-recursive: 587 list='$(SUBDIRS)'; for subdir in $$list; do \ 588 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ 589 done 590ctags-recursive: 591 list='$(SUBDIRS)'; for subdir in $$list; do \ 592 test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ 593 done 594 595ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) 596 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 597 unique=`for i in $$list; do \ 598 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 599 done | \ 600 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 601 END { if (nonempty) { for (i in files) print i; }; }'`; \ 602 mkid -fID $$unique 603tags: TAGS 604 605TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 606 $(TAGS_FILES) $(LISP) 607 set x; \ 608 here=`pwd`; \ 609 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 610 include_option=--etags-include; \ 611 empty_fix=.; \ 612 else \ 613 include_option=--include; \ 614 empty_fix=; \ 615 fi; \ 616 list='$(SUBDIRS)'; for subdir in $$list; do \ 617 if test "$$subdir" = .; then :; else \ 618 test ! -f $$subdir/TAGS || \ 619 set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 620 fi; \ 621 done; \ 622 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 623 unique=`for i in $$list; do \ 624 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 625 done | \ 626 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 627 END { if (nonempty) { for (i in files) print i; }; }'`; \ 628 shift; \ 629 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 630 test -n "$$unique" || unique=$$empty_fix; \ 631 if test $$# -gt 0; then \ 632 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 633 "$$@" $$unique; \ 634 else \ 635 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 636 $$unique; \ 637 fi; \ 638 fi 639ctags: CTAGS 640CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ 641 $(TAGS_FILES) $(LISP) 642 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ 643 unique=`for i in $$list; do \ 644 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 645 done | \ 646 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ 647 END { if (nonempty) { for (i in files) print i; }; }'`; \ 648 test -z "$(CTAGS_ARGS)$$unique" \ 649 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 650 $$unique 651 652GTAGS: 653 here=`$(am__cd) $(top_builddir) && pwd` \ 654 && $(am__cd) $(top_srcdir) \ 655 && gtags -i $(GTAGS_ARGS) "$$here" 656 657distclean-tags: 658 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 659 660check-TESTS: $(TESTS) 661 @failed=0; all=0; xfail=0; xpass=0; skip=0; \ 662 srcdir=$(srcdir); export srcdir; \ 663 list=' $(TESTS) '; \ 664 $(am__tty_colors); \ 665 if test -n "$$list"; then \ 666 for tst in $$list; do \ 667 if test -f ./$$tst; then dir=./; \ 668 elif test -f $$tst; then dir=; \ 669 else dir="$(srcdir)/"; fi; \ 670 if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \ 671 all=`expr $$all + 1`; \ 672 case " $(XFAIL_TESTS) " in \ 673 *[\ \ ]$$tst[\ \ ]*) \ 674 xpass=`expr $$xpass + 1`; \ 675 failed=`expr $$failed + 1`; \ 676 col=$$red; res=XPASS; \ 677 ;; \ 678 *) \ 679 col=$$grn; res=PASS; \ 680 ;; \ 681 esac; \ 682 elif test $$? -ne 77; then \ 683 all=`expr $$all + 1`; \ 684 case " $(XFAIL_TESTS) " in \ 685 *[\ \ ]$$tst[\ \ ]*) \ 686 xfail=`expr $$xfail + 1`; \ 687 col=$$lgn; res=XFAIL; \ 688 ;; \ 689 *) \ 690 failed=`expr $$failed + 1`; \ 691 col=$$red; res=FAIL; \ 692 ;; \ 693 esac; \ 694 else \ 695 skip=`expr $$skip + 1`; \ 696 col=$$blu; res=SKIP; \ 697 fi; \ 698 echo "$${col}$$res$${std}: $$tst"; \ 699 done; \ 700 if test "$$all" -eq 1; then \ 701 tests="test"; \ 702 All=""; \ 703 else \ 704 tests="tests"; \ 705 All="All "; \ 706 fi; \ 707 if test "$$failed" -eq 0; then \ 708 if test "$$xfail" -eq 0; then \ 709 banner="$$All$$all $$tests passed"; \ 710 else \ 711 if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \ 712 banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \ 713 fi; \ 714 else \ 715 if test "$$xpass" -eq 0; then \ 716 banner="$$failed of $$all $$tests failed"; \ 717 else \ 718 if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \ 719 banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \ 720 fi; \ 721 fi; \ 722 dashes="$$banner"; \ 723 skipped=""; \ 724 if test "$$skip" -ne 0; then \ 725 if test "$$skip" -eq 1; then \ 726 skipped="($$skip test was not run)"; \ 727 else \ 728 skipped="($$skip tests were not run)"; \ 729 fi; \ 730 test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \ 731 dashes="$$skipped"; \ 732 fi; \ 733 report=""; \ 734 if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \ 735 report="Please report to $(PACKAGE_BUGREPORT)"; \ 736 test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \ 737 dashes="$$report"; \ 738 fi; \ 739 dashes=`echo "$$dashes" | sed s/./=/g`; \ 740 if test "$$failed" -eq 0; then \ 741 col="$$grn"; \ 742 else \ 743 col="$$red"; \ 744 fi; \ 745 echo "$${col}$$dashes$${std}"; \ 746 echo "$${col}$$banner$${std}"; \ 747 test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \ 748 test -z "$$report" || echo "$${col}$$report$${std}"; \ 749 echo "$${col}$$dashes$${std}"; \ 750 test "$$failed" -eq 0; \ 751 else :; fi 752 753distdir: $(DISTFILES) 754 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 755 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 756 list='$(DISTFILES)'; \ 757 dist_files=`for file in $$list; do echo $$file; done | \ 758 sed -e "s|^$$srcdirstrip/||;t" \ 759 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 760 case $$dist_files in \ 761 */*) $(MKDIR_P) `echo "$$dist_files" | \ 762 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 763 sort -u` ;; \ 764 esac; \ 765 for file in $$dist_files; do \ 766 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 767 if test -d $$d/$$file; then \ 768 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 769 if test -d "$(distdir)/$$file"; then \ 770 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 771 fi; \ 772 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 773 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 774 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 775 fi; \ 776 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 777 else \ 778 test -f "$(distdir)/$$file" \ 779 || cp -p $$d/$$file "$(distdir)/$$file" \ 780 || exit 1; \ 781 fi; \ 782 done 783 @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 784 if test "$$subdir" = .; then :; else \ 785 $(am__make_dryrun) \ 786 || test -d "$(distdir)/$$subdir" \ 787 || $(MKDIR_P) "$(distdir)/$$subdir" \ 788 || exit 1; \ 789 dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 790 $(am__relativize); \ 791 new_distdir=$$reldir; \ 792 dir1=$$subdir; dir2="$(top_distdir)"; \ 793 $(am__relativize); \ 794 new_top_distdir=$$reldir; \ 795 echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 796 echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 797 ($(am__cd) $$subdir && \ 798 $(MAKE) $(AM_MAKEFLAGS) \ 799 top_distdir="$$new_top_distdir" \ 800 distdir="$$new_distdir" \ 801 am__remove_distdir=: \ 802 am__skip_length_check=: \ 803 am__skip_mode_fix=: \ 804 distdir) \ 805 || exit 1; \ 806 fi; \ 807 done 808check-am: all-am 809 $(MAKE) $(AM_MAKEFLAGS) $(check_LTLIBRARIES) $(check_PROGRAMS) 810 $(MAKE) $(AM_MAKEFLAGS) check-TESTS 811check: check-recursive 812all-am: Makefile 813installdirs: installdirs-recursive 814installdirs-am: 815install: install-recursive 816install-exec: install-exec-recursive 817install-data: install-data-recursive 818uninstall: uninstall-recursive 819 820install-am: all-am 821 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 822 823installcheck: installcheck-recursive 824install-strip: 825 if test -z '$(STRIP)'; then \ 826 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 827 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 828 install; \ 829 else \ 830 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 831 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 832 "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 833 fi 834mostlyclean-generic: 835 836clean-generic: 837 838distclean-generic: 839 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 840 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 841 842maintainer-clean-generic: 843 @echo "This command is intended for maintainers to use" 844 @echo "it deletes files that may require special tools to rebuild." 845clean: clean-recursive 846 847clean-am: clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \ 848 clean-libtool mostlyclean-am 849 850distclean: distclean-recursive 851 -rm -f Makefile 852distclean-am: clean-am distclean-compile distclean-generic \ 853 distclean-tags 854 855dvi: dvi-recursive 856 857dvi-am: 858 859html: html-recursive 860 861html-am: 862 863info: info-recursive 864 865info-am: 866 867install-data-am: 868 869install-dvi: install-dvi-recursive 870 871install-dvi-am: 872 873install-exec-am: 874 875install-html: install-html-recursive 876 877install-html-am: 878 879install-info: install-info-recursive 880 881install-info-am: 882 883install-man: 884 885install-pdf: install-pdf-recursive 886 887install-pdf-am: 888 889install-ps: install-ps-recursive 890 891install-ps-am: 892 893installcheck-am: 894 895maintainer-clean: maintainer-clean-recursive 896 -rm -f Makefile 897maintainer-clean-am: distclean-am maintainer-clean-generic 898 899mostlyclean: mostlyclean-recursive 900 901mostlyclean-am: mostlyclean-compile mostlyclean-generic \ 902 mostlyclean-libtool 903 904pdf: pdf-recursive 905 906pdf-am: 907 908ps: ps-recursive 909 910ps-am: 911 912uninstall-am: 913 914.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) check-am \ 915 ctags-recursive install-am install-strip tags-recursive 916 917.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ 918 all all-am check check-TESTS check-am clean \ 919 clean-checkLTLIBRARIES clean-checkPROGRAMS clean-generic \ 920 clean-libtool ctags ctags-recursive distclean \ 921 distclean-compile distclean-generic distclean-libtool \ 922 distclean-tags distdir dvi dvi-am html html-am info info-am \ 923 install install-am install-data install-data-am install-dvi \ 924 install-dvi-am install-exec install-exec-am install-html \ 925 install-html-am install-info install-info-am install-man \ 926 install-pdf install-pdf-am install-ps install-ps-am \ 927 install-strip installcheck installcheck-am installdirs \ 928 installdirs-am maintainer-clean maintainer-clean-generic \ 929 mostlyclean mostlyclean-compile mostlyclean-generic \ 930 mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \ 931 uninstall uninstall-am 932 933 934# .s assembler, no preprocessing. 935# 936.s.o: 937 $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< 938.s.obj: 939 $(CCAS) $(COMPILE_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` 940.s.lo: 941 $(LIBTOOL) --mode=compile --tag=CC $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< 942 943# .S assembler, preprocessed with cpp. 944# 945# It's necessary to run $(CPP) separately, since it seems not all compilers 946# recognise .S files, in particular "cc" on HP-UX 10 and 11 doesn't (and 947# will silently do nothing if given a .S). 948# 949# For .lo we need a helper script, as described below for .asm.lo. 950# 951.S.o: 952 $(CPP) $(PREPROCESS_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< | grep -v '^#' >tmp-$*.s 953 $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ 954 $(RM_TMP) tmp-$*.s 955.S.obj: 956 $(CPP) $(PREPROCESS_FLAGS) `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` | grep -v '^#' >tmp-$*.s 957 $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ 958 $(RM_TMP) tmp-$*.s 959.S.lo: 960 $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/cpp-ccas --cpp="$(CPP) $(PREPROCESS_FLAGS)" $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< 961 962# .asm assembler, preprocessed with m4. 963# 964# .o and .obj are non-PIC and just need m4 followed by a compile. 965# 966# .lo is a bit tricky. Libtool (as of version 1.5) has foo.lo as a little 967# text file, and .libs/foo.o and foo.o as the PIC and non-PIC objects, 968# respectively. It'd be asking for lots of trouble to try to create foo.lo 969# ourselves, so instead arrange to invoke libtool like a --mode=compile, but 970# with a special m4-ccas script which first m4 preprocesses, then compiles. 971# --tag=CC is necessary since foo.asm is otherwise unknown to libtool. 972# 973# Libtool adds -DPIC when building a shared object and the .asm files look 974# for that. But it should be noted that the other PIC flags are on occasion 975# important too, in particular FreeBSD 2.2.8 gas 1.92.3 requires -k before 976# it accepts PIC constructs like @GOT, and gcc adds that flag only under 977# -fPIC. (Later versions of gas are happy to accept PIC stuff any time.) 978# 979.asm.o: 980 $(M4) -DOPERATION_$* `test -f '$<' || echo '$(srcdir)/'`$< >tmp-$*.s 981 $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ 982 $(RM_TMP) tmp-$*.s 983.asm.obj: 984 $(M4) -DOPERATION_$* `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` >tmp-$*.s 985 $(CCAS) $(COMPILE_FLAGS) tmp-$*.s -o $@ 986 $(RM_TMP) tmp-$*.s 987.asm.lo: 988 $(LIBTOOL) --mode=compile --tag=CC $(top_srcdir)/mpn/m4-ccas --m4="$(M4)" $(CCAS) $(COMPILE_FLAGS) `test -f '$<' || echo '$(srcdir)/'`$< 989 990# Tell versions [3.59,3.63) of GNU make to not export all variables. 991# Otherwise a system limit (for SysV at least) may be exceeded. 992.NOEXPORT: 993