Hash :
01c97f3f
Author :
Thomas de Grivel
Date :
2024-07-04T18:21:34
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
#!/bin/sh
## c3
## Copyright 2022-2024 kmx.io <contact@kmx.io>
##
## Permission is hereby granted to use this software granted the above
## copyright notice and this permission paragraph are included in all
## copies and substantial portions of this software.
##
## THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
## PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
## AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
## THIS SOFTWARE.
. ../config.subr
echo "$PWD/update_sources"
echo "# sources.mk generated by update_sources" > ${SOURCES_MK}
echo "# sources.sh generated by update_sources" > ${SOURCES_SH}
HEADERS="$(ls *.h | sort)"
sources HEADERS "$HEADERS"
SOURCES="$(ls *.c | sort)"
sources SOURCES "$SOURCES"
LO_SOURCES="$SOURCES
../libtommath/bn_cutoffs.c
../libtommath/bn_mp_2expt.c
../libtommath/bn_mp_abs.c
../libtommath/bn_mp_add.c
../libtommath/bn_mp_add_d.c
../libtommath/bn_mp_and.c
../libtommath/bn_mp_clamp.c
../libtommath/bn_mp_clear.c
../libtommath/bn_mp_clear_multi.c
../libtommath/bn_mp_cmp.c
../libtommath/bn_mp_cmp_d.c
../libtommath/bn_mp_cmp_mag.c
../libtommath/bn_mp_cnt_lsb.c
../libtommath/bn_mp_complement.c
../libtommath/bn_mp_copy.c
../libtommath/bn_mp_count_bits.c
../libtommath/bn_mp_div.c
../libtommath/bn_mp_div_2.c
../libtommath/bn_mp_div_2d.c
../libtommath/bn_mp_div_3.c
../libtommath/bn_mp_div_d.c
../libtommath/bn_mp_dr_is_modulus.c
../libtommath/bn_mp_dr_reduce.c
../libtommath/bn_mp_dr_setup.c
../libtommath/bn_mp_error_to_string.c
../libtommath/bn_mp_exch.c
../libtommath/bn_mp_exptmod.c
../libtommath/bn_mp_gcd.c
../libtommath/bn_mp_get_double.c
../libtommath/bn_mp_get_i32.c
../libtommath/bn_mp_get_i64.c
../libtommath/bn_mp_get_mag_u32.c
../libtommath/bn_mp_get_mag_u64.c
../libtommath/bn_mp_grow.c
../libtommath/bn_mp_init.c
../libtommath/bn_mp_init_copy.c
../libtommath/bn_mp_init_multi.c
../libtommath/bn_mp_init_size.c
../libtommath/bn_mp_invmod.c
../libtommath/bn_mp_lcm.c
../libtommath/bn_mp_lshd.c
../libtommath/bn_mp_mod.c
../libtommath/bn_mp_mod_2d.c
../libtommath/bn_mp_montgomery_calc_normalization.c
../libtommath/bn_mp_montgomery_reduce.c
../libtommath/bn_mp_montgomery_setup.c
../libtommath/bn_mp_mul.c
../libtommath/bn_mp_mul_2.c
../libtommath/bn_mp_mul_2d.c
../libtommath/bn_mp_mul_d.c
../libtommath/bn_mp_mulmod.c
../libtommath/bn_mp_neg.c
../libtommath/bn_mp_or.c
../libtommath/bn_mp_radix_size.c
../libtommath/bn_mp_reduce.c
../libtommath/bn_mp_reduce_2k.c
../libtommath/bn_mp_reduce_2k_l.c
../libtommath/bn_mp_reduce_2k_setup.c
../libtommath/bn_mp_reduce_2k_setup_l.c
../libtommath/bn_mp_reduce_is_2k.c
../libtommath/bn_mp_reduce_is_2k_l.c
../libtommath/bn_mp_reduce_setup.c
../libtommath/bn_mp_rshd.c
../libtommath/bn_mp_set.c
../libtommath/bn_mp_set_double.c
../libtommath/bn_mp_set_i32.c
../libtommath/bn_mp_set_i64.c
../libtommath/bn_mp_set_l.c
../libtommath/bn_mp_set_u32.c
../libtommath/bn_mp_set_u64.c
../libtommath/bn_mp_set_ul.c
../libtommath/bn_mp_sqr.c
../libtommath/bn_mp_sqrt.c
../libtommath/bn_mp_sub.c
../libtommath/bn_mp_sub_d.c
../libtommath/bn_mp_xor.c
../libtommath/bn_mp_zero.c
../libtommath/bn_s_mp_add.c
../libtommath/bn_s_mp_balance_mul.c
../libtommath/bn_s_mp_exptmod.c
../libtommath/bn_s_mp_exptmod_fast.c
../libtommath/bn_s_mp_invmod_fast.c
../libtommath/bn_s_mp_invmod_slow.c
../libtommath/bn_s_mp_karatsuba_mul.c
../libtommath/bn_s_mp_karatsuba_sqr.c
../libtommath/bn_s_mp_montgomery_reduce_fast.c
../libtommath/bn_s_mp_mul_digs.c
../libtommath/bn_s_mp_mul_digs_fast.c
../libtommath/bn_s_mp_mul_high_digs.c
../libtommath/bn_s_mp_mul_high_digs_fast.c
../libtommath/bn_s_mp_rand_platform.c
../libtommath/bn_s_mp_sqr.c
../libtommath/bn_s_mp_sqr_fast.c
../libtommath/bn_s_mp_sub.c
../libtommath/bn_s_mp_toom_mul.c
../libtommath/bn_s_mp_toom_sqr.c
"
sources LO_SOURCES "$LO_SOURCES"
update_sources_mk
update_sources_sh