205 lines
3.9 KiB
PHP
205 lines
3.9 KiB
PHP
|
# $NetBSD: Makefile.inc,v 1.2 2013/11/29 08:03:42 mrg Exp $
|
||
|
|
||
|
SRCS+= \
|
||
|
random.c \
|
||
|
toom_interpolate_7pts.c \
|
||
|
divrem_2.c \
|
||
|
sbpi1_divappr_q.c \
|
||
|
random2.c \
|
||
|
mu_bdiv_q.c \
|
||
|
mulmid_basecase.c \
|
||
|
jacobi_2.c \
|
||
|
toom32_mul.c \
|
||
|
toom44_mul.c \
|
||
|
toom8h_mul.c \
|
||
|
toom2_sqr.c \
|
||
|
zero.c \
|
||
|
mod_1_4.c \
|
||
|
gcdext.c \
|
||
|
add_err3_n.c \
|
||
|
binvert.c \
|
||
|
mu_div_q.c \
|
||
|
invertappr.c \
|
||
|
add_n_sub_n.c \
|
||
|
dump.c \
|
||
|
mu_divappr_q.c \
|
||
|
dcpi1_div_qr.c \
|
||
|
hgcd_reduce.c \
|
||
|
matrix22_mul1_inverse_vector.c \
|
||
|
tabselect.c \
|
||
|
toom6_sqr.c \
|
||
|
divrem_1.c \
|
||
|
hgcd_step.c \
|
||
|
sub_err3_n.c \
|
||
|
mod_1.c \
|
||
|
toom42_mulmid.c \
|
||
|
divexact.c \
|
||
|
jacobi.c \
|
||
|
powlo.c \
|
||
|
mul.c \
|
||
|
set_str.c \
|
||
|
toom42_mul.c \
|
||
|
toom54_mul.c \
|
||
|
toom_interpolate_6pts.c \
|
||
|
dcpi1_divappr_q.c \
|
||
|
toom_eval_dgr3_pm2.c \
|
||
|
mod_1_3.c \
|
||
|
toom_couple_handling.c \
|
||
|
add.c \
|
||
|
div_qr_2.c \
|
||
|
toom_interpolate_12pts.c \
|
||
|
perfsqr.c \
|
||
|
toom53_mul.c \
|
||
|
toom_eval_pm2exp.c \
|
||
|
mu_div_qr.c \
|
||
|
toom_interpolate_16pts.c \
|
||
|
bdiv_q.c \
|
||
|
toom22_mul.c \
|
||
|
bsqrtinv.c \
|
||
|
toom4_sqr.c \
|
||
|
div_q.c \
|
||
|
jacbase.c \
|
||
|
hgcd_matrix.c \
|
||
|
mullo_n.c \
|
||
|
toom33_mul.c \
|
||
|
toom_eval_dgr3_pm1.c \
|
||
|
mod_1_2.c \
|
||
|
sub_1.c \
|
||
|
add_err2_n.c \
|
||
|
trialdiv.c \
|
||
|
add_1.c \
|
||
|
sqr_basecase.c \
|
||
|
toom_interpolate_5pts.c \
|
||
|
sbpi1_bdiv_q.c \
|
||
|
pre_mod_1.c \
|
||
|
hgcd.c \
|
||
|
sqrtrem.c \
|
||
|
bdiv_q_1.c \
|
||
|
gcdext_1.c \
|
||
|
toom63_mul.c \
|
||
|
div_qr_2u_pi1.c \
|
||
|
mul_basecase.c \
|
||
|
toom8_sqr.c \
|
||
|
neg.c \
|
||
|
gcdext_lehmer.c \
|
||
|
divis.c \
|
||
|
dcpi1_div_q.c \
|
||
|
toom_eval_pm2.c \
|
||
|
hgcd2.c \
|
||
|
toom62_mul.c \
|
||
|
comb_tables.c \
|
||
|
sbpi1_bdiv_qr.c \
|
||
|
sub_err2_n.c \
|
||
|
scan1.c \
|
||
|
brootinv.c \
|
||
|
pre_divrem_1.c \
|
||
|
perfpow.c \
|
||
|
get_str.c \
|
||
|
mulmod_bnm1.c \
|
||
|
mullo_basecase.c \
|
||
|
tdiv_qr.c \
|
||
|
div_qr_2n_pi1.c \
|
||
|
toom43_mul.c \
|
||
|
mod_1_1.c \
|
||
|
matrix22_mul.c \
|
||
|
powm_sec.c \
|
||
|
divrem.c \
|
||
|
bsqrt.c \
|
||
|
gcd_1.c \
|
||
|
dcpi1_bdiv_qr.c \
|
||
|
mul_n.c \
|
||
|
redc_2.c \
|
||
|
toom6h_mul.c \
|
||
|
sqrmod_bnm1.c \
|
||
|
mul_fft.c \
|
||
|
mulmid.c \
|
||
|
powm.c \
|
||
|
rootrem.c \
|
||
|
toom_interpolate_8pts.c \
|
||
|
remove.c \
|
||
|
dive_1.c \
|
||
|
cmp.c \
|
||
|
toom_eval_pm1.c \
|
||
|
hgcd_appr.c \
|
||
|
scan0.c \
|
||
|
gcd_subdiv_step.c \
|
||
|
sbpi1_div_qr.c \
|
||
|
invert.c \
|
||
|
sub.c \
|
||
|
toom_eval_pm2rexp.c \
|
||
|
broot.c \
|
||
|
dcpi1_bdiv_q.c \
|
||
|
hgcd2_jacobi.c \
|
||
|
add_err1_n.c \
|
||
|
mulmid_n.c \
|
||
|
redc_1.c \
|
||
|
sqr.c \
|
||
|
nussbaumer_mul.c \
|
||
|
mu_bdiv_qr.c \
|
||
|
pow_1.c \
|
||
|
get_d.c \
|
||
|
toom52_mul.c \
|
||
|
sbpi1_div_q.c \
|
||
|
diveby3.c \
|
||
|
fib2_ui.c \
|
||
|
bdiv_qr.c \
|
||
|
hgcd_jacobi.c \
|
||
|
toom3_sqr.c \
|
||
|
gcd.c \
|
||
|
redc_n.c \
|
||
|
sub_err1_n.c \
|
||
|
|
||
|
C_SRCS_LIST= \
|
||
|
sb_div_r_sec.c mpn/generic/sb_div_sec.c \
|
||
|
hamdist.c mpn/generic/popham.c \
|
||
|
popcount.c mpn/generic/popham.c \
|
||
|
sbpi1_div_qr_sec.c mpn/generic/sbpi1_div_sec.c \
|
||
|
sb_div_qr_sec.c mpn/generic/sb_div_sec.c \
|
||
|
sbpi1_div_r_sec.c mpn/generic/sbpi1_div_sec.c \
|
||
|
|
||
|
ASM_SRCS_LIST= \
|
||
|
nand_n.asm mpn/arm/logops_n.asm \
|
||
|
rsh1sub_n.asm mpn/arm/rsh1aors_n.asm \
|
||
|
add_n.asm mpn/arm/aors_n.asm \
|
||
|
rsh1add_n.asm mpn/arm/rsh1aors_n.asm \
|
||
|
sublsh1_n.asm mpn/arm/aorslsh1_n.asm \
|
||
|
addcnd_n.asm mpn/arm/aorscnd_n.asm \
|
||
|
xor_n.asm mpn/arm/logops_n.asm \
|
||
|
submul_1.asm mpn/arm/aorsmul_1.asm \
|
||
|
nior_n.asm mpn/arm/logops_n.asm \
|
||
|
lshift.asm mpn/arm/lshift.asm \
|
||
|
and_n.asm mpn/arm/logops_n.asm \
|
||
|
mul_1.asm mpn/arm/mul_1.asm \
|
||
|
copyd.asm mpn/arm/copyd.asm \
|
||
|
bdiv_dbm1c.asm mpn/arm/bdiv_dbm1c.asm \
|
||
|
udiv.asm mpn/arm/udiv.asm \
|
||
|
andn_n.asm mpn/arm/logops_n.asm \
|
||
|
com.asm mpn/arm/com.asm \
|
||
|
copyi.asm mpn/arm/copyi.asm \
|
||
|
subcnd_n.asm mpn/arm/aorscnd_n.asm \
|
||
|
rshift.asm mpn/arm/rshift.asm \
|
||
|
iorn_n.asm mpn/arm/logops_n.asm \
|
||
|
ior_n.asm mpn/arm/logops_n.asm \
|
||
|
mod_34lsub1.asm mpn/arm/mod_34lsub1.asm \
|
||
|
xnor_n.asm mpn/arm/logops_n.asm \
|
||
|
lshiftc.asm mpn/arm/lshiftc.asm \
|
||
|
mode1o.asm mpn/arm/mode1o.asm \
|
||
|
addlsh1_n.asm mpn/arm/aorslsh1_n.asm \
|
||
|
invert_limb.asm mpn/arm/invert_limb.asm \
|
||
|
addmul_1.asm mpn/arm/aorsmul_1.asm \
|
||
|
sub_n.asm mpn/arm/aors_n.asm \
|
||
|
|
||
|
gen-trialdivtab: gen-trialdivtab.c
|
||
|
${HOST_CC} -o ${.OBJDIR}/gen-trialdivtab ${.ALLSRC} -lm
|
||
|
|
||
|
GMP_LIMB_BITS=32
|
||
|
|
||
|
trialdiv.c: trialdivtab.h
|
||
|
trialdivtab.h: gen-trialdivtab
|
||
|
${.OBJDIR}/gen-trialdivtab $(GMP_LIMB_BITS) 8000 > ${.OBJDIR}/trialdivtab.h
|
||
|
|
||
|
CLEANFILES+= trialdivtab.h
|
||
|
|
||
|
M4FLAGS= -DPIC
|
||
|
COPTS+= -fPIC
|