2008-04-17 17:03:07 -04:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
# Copyright 1996, 1998, 1999, 2000, 2001, 2002, 2005 Free Software Foundation,
|
|
|
|
# Inc.
|
|
|
|
#
|
|
|
|
# This file is part of the GNU MP Library.
|
|
|
|
#
|
|
|
|
# The GNU MP Library is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2.1 of the License, or (at your
|
|
|
|
# option) any later version.
|
|
|
|
#
|
|
|
|
# The GNU MP Library is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
|
|
|
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
|
|
|
# License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
|
|
# along with the GNU MP Library; see the file COPYING.LIB. If not, write to
|
|
|
|
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
|
|
|
# MA 02110-1301, USA.
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDES = -D__GMP_WITHIN_GMP -I$(top_srcdir) \
|
|
|
|
-DOPERATION_`echo $* | sed 's/_$$//'`
|
|
|
|
|
|
|
|
OFILES = @mpn_objects@
|
|
|
|
|
|
|
|
|
|
|
|
# All possible mpn normal and optional function files are listed here, to
|
|
|
|
# get automake to generate ansi2knr rules for each. Such rules will be
|
|
|
|
# ignored for any that are instead implemented with a .asm (or whatever) for
|
|
|
|
# a particular target.
|
|
|
|
#
|
|
|
|
nodist_EXTRA_libmpn_la_SOURCES = \
|
2009-02-19 18:22:30 -05:00
|
|
|
add.c add_1.c add_n.c addadd_n.c addsub_n.c \
|
2008-04-17 17:03:07 -04:00
|
|
|
addmul_1.c addmul_2.c addmul_3.c addmul_4.c addmul_5.c addmul_6.c \
|
|
|
|
addmul_7.c addmul_8.c \
|
|
|
|
and_n.c andn_n.c bdivmod.c \
|
|
|
|
cmp.c com_n.c copyd.c copyi.c \
|
2009-03-31 19:56:06 -04:00
|
|
|
dc_divrem_n.c dive_1.c diveby3.c divebyff.c divis.c divrem.c divrem_1.c \
|
|
|
|
divrem_euclidean_qr_1.c divrem_euclidean_r_1.c \
|
|
|
|
divebyBm1of.c divrem_2.c dump.c fib2_ui.c \
|
2008-10-11 02:56:15 -04:00
|
|
|
bgcd.c gcd.c hgcd.c hgcd2.c lgcd.c ngcd.c ngcd_matrix.c ngcd_step.c \
|
|
|
|
nhgcd2.c rgcd.c sgcd.c \
|
2008-04-17 17:03:07 -04:00
|
|
|
gcd_finda.c gcd_1.c gcdext.c get_d.c get_str.c \
|
2009-05-13 22:44:19 -04:00
|
|
|
hamdist.c invert_limb.c lshift1.c rshift1.c lshift2.c rshift2.c \
|
2008-04-17 17:03:07 -04:00
|
|
|
ior_n.c iorn_n.c jacbase.c lshift.c mod_1.c mod_34lsub1.c mode1o.c \
|
2009-05-10 03:12:38 -04:00
|
|
|
mul.c mul_1.c mul_2.c mul_fft.c mul_n.c mul_basecase.c toom3_mul.c \
|
|
|
|
toom3_mul_n.c toom4_mul_n.c toom7_mul_n.c \
|
2008-04-17 17:03:07 -04:00
|
|
|
mullow_n.c mullow_basecase.c nand_n.c nior_n.c perfsqr.c popcount.c \
|
2009-03-31 19:56:06 -04:00
|
|
|
pre_divrem_1.c pre_mod_1.c pow_1.c random.c random2.c rshift.c \
|
2009-02-19 18:22:30 -05:00
|
|
|
rootrem.c redc_basecase.c sb_divrem_mn.c scan0.c scan1.c set_str.c \
|
2008-04-17 17:03:07 -04:00
|
|
|
sqr_basecase.c sqr_diagonal.c \
|
2009-05-10 03:12:38 -04:00
|
|
|
sqrtrem.c sub.c sub_1.c sub_n.c subadd_n.c submul_1.c \
|
2008-04-17 17:03:07 -04:00
|
|
|
tdiv_qr.c udiv_qrnnd.c udiv_w_sdiv.c xor_n.c xnor_n.c
|
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libmpn.la
|
|
|
|
nodist_libmpn_la_SOURCES = fib_table.c mp_bases.c
|
|
|
|
libmpn_la_LIBADD = $(OFILES)
|
|
|
|
libmpn_la_DEPENDENCIES = $(OFILES)
|
|
|
|
|
|
|
|
TARG_DIST = a29k alpha arm clipper cray generic i960 ia64 lisp m68k \
|
|
|
|
m88k mips32 mips64 ns32k pa32 pa64 power powerpc32 powerpc64 pyr s390 sh \
|
|
|
|
sparc32 sparc64 thumb vax x86 x86_64 z8000 z8000x
|
|
|
|
|
|
|
|
EXTRA_DIST = asm-defs.m4 cpp-ccas m4-ccas $(TARG_DIST)
|
|
|
|
|
|
|
|
|
|
|
|
# These are BUILT_SOURCES at the top-level, so normally they're built before
|
|
|
|
# recursing into this directory.
|
|
|
|
#
|
|
|
|
fib_table.c:
|
|
|
|
cd ..; $(MAKE) $(AM_MAKEFLAGS) mpn/fib_table.c
|
|
|
|
mp_bases.c:
|
|
|
|
cd ..; $(MAKE) $(AM_MAKEFLAGS) mpn/mp_bases.c
|
|
|
|
perfsqr.h:
|
|
|
|
cd ..; $(MAKE) $(AM_MAKEFLAGS) mpn/perfsqr.h
|
|
|
|
|
|
|
|
|
|
|
|
include Makeasm.am
|