Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / heimdal / dist / lib / hcrypto / libtommath / NTMakefile
blobed577e5676f5c9158a858bdb168a7432cf7d454d
1 ########################################################################
3 # Copyright (c) 2009, Secure Endpoints Inc.
4 # All rights reserved.
5
6 # Redistribution and use in source and binary forms, with or without
7 # modification, are permitted provided that the following conditions
8 # are met:
9
10 # - Redistributions of source code must retain the above copyright
11 #   notice, this list of conditions and the following disclaimer.
12
13 # - Redistributions in binary form must reproduce the above copyright
14 #   notice, this list of conditions and the following disclaimer in
15 #   the documentation and/or other materials provided with the
16 #   distribution.
17
18 # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
19 # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
20 # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
21 # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
22 # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
23 # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
24 # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26 # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
28 # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29 # POSSIBILITY OF SUCH DAMAGE.
30
32 RELDIR=lib\hcrypto\libtommath
34 !include ../../../windows/NTMakefile.w32
36 INCFILES=       \
37         $(INCDIR)\tommath.h             \
38         $(INCDIR)\tommath_class.h       \
39         $(INCDIR)\tommath_superclass.h
41 libltm_OBJs=    \
42         $(OBJ)\bncore.obj               \
43         $(OBJ)\bn_mp_init.obj           \
44         $(OBJ)\bn_mp_clear.obj          \
45         $(OBJ)\bn_mp_exch.obj           \
46         $(OBJ)\bn_mp_grow.obj           \
47         $(OBJ)\bn_mp_shrink.obj         \
48         $(OBJ)\bn_mp_clamp.obj          \
49         $(OBJ)\bn_mp_zero.obj           \
50         $(OBJ)\bn_mp_zero_multi.obj     \
51         $(OBJ)\bn_mp_set.obj            \
52         $(OBJ)\bn_mp_set_int.obj        \
53         $(OBJ)\bn_mp_init_size.obj      \
54         $(OBJ)\bn_mp_copy.obj           \
55         $(OBJ)\bn_mp_init_copy.obj      \
56         $(OBJ)\bn_mp_abs.obj            \
57         $(OBJ)\bn_mp_neg.obj            \
58         $(OBJ)\bn_mp_cmp_mag.obj        \
59         $(OBJ)\bn_mp_cmp.obj            \
60         $(OBJ)\bn_mp_cmp_d.obj          \
61         $(OBJ)\bn_mp_rshd.obj           \
62         $(OBJ)\bn_mp_lshd.obj           \
63         $(OBJ)\bn_mp_mod_2d.obj         \
64         $(OBJ)\bn_mp_div_2d.obj         \
65         $(OBJ)\bn_mp_mul_2d.obj         \
66         $(OBJ)\bn_mp_div_2.obj          \
67         $(OBJ)\bn_mp_mul_2.obj          \
68         $(OBJ)\bn_s_mp_add.obj          \
69         $(OBJ)\bn_s_mp_sub.obj          \
70         $(OBJ)\bn_fast_s_mp_mul_digs.obj        \
71         $(OBJ)\bn_s_mp_mul_digs.obj     \
72         $(OBJ)\bn_fast_s_mp_mul_high_digs.obj \
73         $(OBJ)\bn_s_mp_mul_high_digs.obj        \
74         $(OBJ)\bn_fast_s_mp_sqr.obj     \
75         $(OBJ)\bn_s_mp_sqr.obj          \
76         $(OBJ)\bn_mp_add.obj            \
77         $(OBJ)\bn_mp_sub.obj            \
78         $(OBJ)\bn_mp_karatsuba_mul.obj  \
79         $(OBJ)\bn_mp_mul.obj            \
80         $(OBJ)\bn_mp_karatsuba_sqr.obj  \
81         $(OBJ)\bn_mp_sqr.obj            \
82         $(OBJ)\bn_mp_div.obj            \
83         $(OBJ)\bn_mp_mod.obj            \
84         $(OBJ)\bn_mp_add_d.obj          \
85         $(OBJ)\bn_mp_sub_d.obj          \
86         $(OBJ)\bn_mp_mul_d.obj          \
87         $(OBJ)\bn_mp_div_d.obj          \
88         $(OBJ)\bn_mp_mod_d.obj          \
89         $(OBJ)\bn_mp_expt_d.obj         \
90         $(OBJ)\bn_mp_addmod.obj         \
91         $(OBJ)\bn_mp_submod.obj         \
92         $(OBJ)\bn_mp_mulmod.obj         \
93         $(OBJ)\bn_mp_sqrmod.obj         \
94         $(OBJ)\bn_mp_gcd.obj            \
95         $(OBJ)\bn_mp_lcm.obj            \
96         $(OBJ)\bn_fast_mp_invmod.obj    \
97         $(OBJ)\bn_mp_invmod.obj         \
98         $(OBJ)\bn_mp_reduce.obj         \
99         $(OBJ)\bn_mp_montgomery_setup.obj       \
100         $(OBJ)\bn_fast_mp_montgomery_reduce.obj \
101         $(OBJ)\bn_mp_montgomery_reduce.obj \
102         $(OBJ)\bn_mp_exptmod_fast.obj   \
103         $(OBJ)\bn_mp_exptmod.obj        \
104         $(OBJ)\bn_mp_2expt.obj          \
105         $(OBJ)\bn_mp_n_root.obj         \
106         $(OBJ)\bn_mp_jacobi.obj         \
107         $(OBJ)\bn_reverse.obj           \
108         $(OBJ)\bn_mp_count_bits.obj     \
109         $(OBJ)\bn_mp_read_unsigned_bin.obj \
110         $(OBJ)\bn_mp_read_signed_bin.obj        \
111         $(OBJ)\bn_mp_to_unsigned_bin.obj        \
112         $(OBJ)\bn_mp_to_signed_bin.obj  \
113         $(OBJ)\bn_mp_unsigned_bin_size.obj \
114         $(OBJ)\bn_mp_signed_bin_size.obj        \
115         $(OBJ)\bn_mp_xor.obj            \
116         $(OBJ)\bn_mp_and.obj            \
117         $(OBJ)\bn_mp_or.obj             \
118         $(OBJ)\bn_mp_rand.obj           \
119         $(OBJ)\bn_mp_montgomery_calc_normalization.obj  \
120         $(OBJ)\bn_mp_prime_is_divisible.obj     \
121         $(OBJ)\bn_prime_tab.obj         \
122         $(OBJ)\bn_mp_prime_fermat.obj   \
123         $(OBJ)\bn_mp_prime_miller_rabin.obj \
124         $(OBJ)\bn_mp_prime_is_prime.obj \
125         $(OBJ)\bn_mp_prime_next_prime.obj       \
126         $(OBJ)\bn_mp_find_prime.obj     \
127         $(OBJ)\bn_mp_isprime.obj        \
128         $(OBJ)\bn_mp_dr_reduce.obj      \
129         $(OBJ)\bn_mp_dr_is_modulus.obj  \
130         $(OBJ)\bn_mp_dr_setup.obj       \
131         $(OBJ)\bn_mp_reduce_setup.obj   \
132         $(OBJ)\bn_mp_toom_mul.obj       \
133         $(OBJ)\bn_mp_toom_sqr.obj       \
134         $(OBJ)\bn_mp_div_3.obj          \
135         $(OBJ)\bn_s_mp_exptmod.obj      \
136         $(OBJ)\bn_mp_reduce_2k.obj      \
137         $(OBJ)\bn_mp_reduce_is_2k.obj   \
138         $(OBJ)\bn_mp_reduce_2k_setup.obj        \
139         $(OBJ)\bn_mp_reduce_2k_l.obj    \
140         $(OBJ)\bn_mp_reduce_is_2k_l.obj \
141         $(OBJ)\bn_mp_reduce_2k_setup_l.obj \
142         $(OBJ)\bn_mp_radix_smap.obj     \
143         $(OBJ)\bn_mp_read_radix.obj     \
144         $(OBJ)\bn_mp_toradix.obj        \
145         $(OBJ)\bn_mp_radix_size.obj     \
146         $(OBJ)\bn_mp_fread.obj          \
147         $(OBJ)\bn_mp_fwrite.obj         \
148         $(OBJ)\bn_mp_cnt_lsb.obj        \
149         $(OBJ)\bn_error.obj             \
150         $(OBJ)\bn_mp_init_multi.obj     \
151         $(OBJ)\bn_mp_clear_multi.obj    \
152         $(OBJ)\bn_mp_exteuclid.obj      \
153         $(OBJ)\bn_mp_toradix_n.obj      \
154         $(OBJ)\bn_mp_prime_random_ex.obj        \
155         $(OBJ)\bn_mp_get_int.obj        \
156         $(OBJ)\bn_mp_sqrt.obj           \
157         $(OBJ)\bn_mp_is_square.obj      \
158         $(OBJ)\bn_mp_init_set.obj       \
159         $(OBJ)\bn_mp_init_set_int.obj   \
160         $(OBJ)\bn_mp_invmod_slow.obj    \
161         $(OBJ)\bn_mp_prime_rabin_miller_trials.obj \
162         $(OBJ)\bn_mp_to_signed_bin_n.obj        \
163         $(OBJ)\bn_mp_to_unsigned_bin_n.obj
165 $(LIBLTM): $(libltm_OBJs)
166         $(LIBCON)
168 all:: $(INCFILES) $(LIBLTM)