]>
Commit | Line | Data |
---|---|---|
e8461ee1 | 1 | {- use File::Spec::Functions qw/catdir rel2abs/; -} |
d90a6beb MC |
2 | IF[{- !$disabled{tests} -}] |
3 | PROGRAMS=\ | |
4 | aborttest \ | |
5 | nptest bntest \ | |
6 | ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \ | |
7 | md2test md4test md5test \ | |
8 | hmactest wp_test \ | |
9 | rc2test rc4test rc5test \ | |
10 | destest sha1test sha256t sha512t \ | |
11 | mdc2test rmdtest \ | |
12 | randtest dhtest enginetest casttest \ | |
13 | bftest ssltest_old dsatest exptest rsa_test \ | |
14 | evp_test evp_extra_test igetest v3nametest \ | |
15 | danetest heartbeat_test p5_crpt2_test \ | |
16 | constant_time_test verify_extra_test clienthellotest \ | |
17 | packettest asynctest secmemtest srptest memleaktest \ | |
18 | dtlsv1listentest ct_test threadstest afalgtest d2i_test \ | |
19 | ssl_test_ctx_test ssl_test | |
20 | ||
21 | SOURCE[aborttest]=aborttest.c | |
22 | INCLUDE[aborttest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
23 | DEPEND[aborttest]=../libcrypto | |
24 | ||
25 | SOURCE[nptest]=nptest.c | |
26 | INCLUDE[nptest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
27 | DEPEND[nptest]=../libcrypto | |
28 | ||
29 | SOURCE[bntest]=bntest.c | |
30 | INCLUDE[bntest]={- rel2abs(catdir($builddir,"../crypto/include")) -} {- rel2abs(catdir($builddir,"../include")) -} .. ../crypto/include ../include | |
31 | DEPEND[bntest]=../libcrypto | |
32 | ||
33 | SOURCE[ectest]=ectest.c | |
34 | INCLUDE[ectest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
35 | DEPEND[ectest]=../libcrypto | |
36 | ||
37 | SOURCE[ecdsatest]=ecdsatest.c | |
38 | INCLUDE[ecdsatest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
39 | DEPEND[ecdsatest]=../libcrypto | |
40 | ||
41 | SOURCE[ecdhtest]=ecdhtest.c | |
42 | INCLUDE[ecdhtest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
43 | DEPEND[ecdhtest]=../libcrypto | |
44 | ||
45 | SOURCE[gmdifftest]=gmdifftest.c | |
46 | INCLUDE[gmdifftest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
47 | DEPEND[gmdifftest]=../libcrypto | |
48 | ||
49 | SOURCE[pbelutest]=pbelutest.c | |
50 | INCLUDE[pbelutest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
51 | DEPEND[pbelutest]=../libcrypto | |
52 | ||
53 | SOURCE[ideatest]=ideatest.c | |
54 | INCLUDE[ideatest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
55 | DEPEND[ideatest]=../libcrypto | |
56 | ||
57 | SOURCE[md2test]=md2test.c | |
58 | INCLUDE[md2test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
59 | DEPEND[md2test]=../libcrypto | |
60 | ||
61 | SOURCE[md4test]=md4test.c | |
62 | INCLUDE[md4test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
63 | DEPEND[md4test]=../libcrypto | |
64 | ||
65 | SOURCE[md5test]=md5test.c | |
66 | INCLUDE[md5test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
67 | DEPEND[md5test]=../libcrypto | |
68 | ||
69 | SOURCE[hmactest]=hmactest.c | |
70 | INCLUDE[hmactest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
71 | DEPEND[hmactest]=../libcrypto | |
72 | ||
73 | SOURCE[wp_test]=wp_test.c | |
74 | INCLUDE[wp_test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
75 | DEPEND[wp_test]=../libcrypto | |
76 | ||
77 | SOURCE[rc2test]=rc2test.c | |
78 | INCLUDE[rc2test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
79 | DEPEND[rc2test]=../libcrypto | |
80 | ||
81 | SOURCE[rc4test]=rc4test.c | |
82 | INCLUDE[rc4test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
83 | DEPEND[rc4test]=../libcrypto | |
84 | ||
85 | SOURCE[rc5test]=rc5test.c | |
86 | INCLUDE[rc5test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
87 | DEPEND[rc5test]=../libcrypto | |
88 | ||
89 | SOURCE[destest]=destest.c | |
90 | INCLUDE[destest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
91 | DEPEND[destest]=../libcrypto | |
92 | ||
93 | SOURCE[sha1test]=sha1test.c | |
94 | INCLUDE[sha1test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
95 | DEPEND[sha1test]=../libcrypto | |
96 | ||
97 | SOURCE[sha256t]=sha256t.c | |
98 | INCLUDE[sha256t]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
99 | DEPEND[sha256t]=../libcrypto | |
100 | ||
101 | SOURCE[sha512t]=sha512t.c | |
102 | INCLUDE[sha512t]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
103 | DEPEND[sha512t]=../libcrypto | |
104 | ||
105 | SOURCE[mdc2test]=mdc2test.c | |
106 | INCLUDE[mdc2test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
107 | DEPEND[mdc2test]=../libcrypto | |
108 | ||
109 | SOURCE[rmdtest]=rmdtest.c | |
110 | INCLUDE[rmdtest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
111 | DEPEND[rmdtest]=../libcrypto | |
112 | ||
113 | SOURCE[randtest]=randtest.c | |
114 | INCLUDE[randtest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
115 | DEPEND[randtest]=../libcrypto | |
777a2882 | 116 | |
d90a6beb MC |
117 | SOURCE[dhtest]=dhtest.c |
118 | INCLUDE[dhtest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
119 | DEPEND[dhtest]=../libcrypto | |
777a2882 | 120 | |
d90a6beb MC |
121 | SOURCE[enginetest]=enginetest.c |
122 | INCLUDE[enginetest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
123 | DEPEND[enginetest]=../libcrypto | |
777a2882 | 124 | |
d90a6beb MC |
125 | SOURCE[casttest]=casttest.c |
126 | INCLUDE[casttest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
127 | DEPEND[casttest]=../libcrypto | |
777a2882 | 128 | |
d90a6beb MC |
129 | SOURCE[bftest]=bftest.c |
130 | INCLUDE[bftest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
131 | DEPEND[bftest]=../libcrypto | |
777a2882 | 132 | |
d90a6beb MC |
133 | SOURCE[ssltest_old]=ssltest_old.c |
134 | INCLUDE[ssltest_old]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
135 | DEPEND[ssltest_old]=../libcrypto ../libssl | |
777a2882 | 136 | |
d90a6beb MC |
137 | SOURCE[dsatest]=dsatest.c |
138 | INCLUDE[dsatest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
139 | DEPEND[dsatest]=../libcrypto | |
777a2882 | 140 | |
d90a6beb MC |
141 | SOURCE[exptest]=exptest.c |
142 | INCLUDE[exptest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
143 | DEPEND[exptest]=../libcrypto | |
777a2882 | 144 | |
d90a6beb MC |
145 | SOURCE[rsa_test]=rsa_test.c |
146 | INCLUDE[rsa_test]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
147 | DEPEND[rsa_test]=../libcrypto | |
777a2882 | 148 | |
d90a6beb MC |
149 | SOURCE[evp_test]=evp_test.c |
150 | INCLUDE[evp_test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
151 | DEPEND[evp_test]=../libcrypto | |
777a2882 | 152 | |
d90a6beb MC |
153 | SOURCE[evp_extra_test]=evp_extra_test.c |
154 | INCLUDE[evp_extra_test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
155 | DEPEND[evp_extra_test]=../libcrypto | |
777a2882 | 156 | |
d90a6beb MC |
157 | SOURCE[igetest]=igetest.c |
158 | INCLUDE[igetest]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
159 | DEPEND[igetest]=../libcrypto | |
777a2882 | 160 | |
d90a6beb MC |
161 | SOURCE[v3nametest]=v3nametest.c |
162 | INCLUDE[v3nametest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
163 | DEPEND[v3nametest]=../libcrypto | |
777a2882 | 164 | |
d90a6beb MC |
165 | SOURCE[danetest]=danetest.c |
166 | INCLUDE[danetest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
167 | DEPEND[danetest]=../libcrypto ../libssl | |
777a2882 | 168 | |
d90a6beb MC |
169 | SOURCE[heartbeat_test]=heartbeat_test.c testutil.c |
170 | INCLUDE[heartbeat_test]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
171 | DEPEND[heartbeat_test]=../libcrypto ../libssl | |
777a2882 | 172 | |
d90a6beb MC |
173 | SOURCE[p5_crpt2_test]=p5_crpt2_test.c |
174 | INCLUDE[p5_crpt2_test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
175 | DEPEND[p5_crpt2_test]=../libcrypto | |
777a2882 | 176 | |
d90a6beb MC |
177 | SOURCE[constant_time_test]=constant_time_test.c |
178 | INCLUDE[constant_time_test]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
179 | DEPEND[constant_time_test]=../libcrypto | |
777a2882 | 180 | |
d90a6beb MC |
181 | SOURCE[verify_extra_test]=verify_extra_test.c |
182 | INCLUDE[verify_extra_test]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
183 | DEPEND[verify_extra_test]=../libcrypto | |
777a2882 | 184 | |
d90a6beb MC |
185 | SOURCE[clienthellotest]=clienthellotest.c |
186 | INCLUDE[clienthellotest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
187 | DEPEND[clienthellotest]=../libcrypto ../libssl | |
777a2882 | 188 | |
d90a6beb MC |
189 | SOURCE[packettest]=packettest.c |
190 | INCLUDE[packettest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
191 | DEPEND[packettest]=../libcrypto | |
777a2882 | 192 | |
d90a6beb MC |
193 | SOURCE[asynctest]=asynctest.c |
194 | INCLUDE[asynctest]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
195 | DEPEND[asynctest]=../libcrypto | |
777a2882 | 196 | |
d90a6beb MC |
197 | SOURCE[secmemtest]=secmemtest.c |
198 | INCLUDE[secmemtest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
199 | DEPEND[secmemtest]=../libcrypto | |
777a2882 | 200 | |
d90a6beb MC |
201 | SOURCE[srptest]=srptest.c |
202 | INCLUDE[srptest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
203 | DEPEND[srptest]=../libcrypto | |
777a2882 | 204 | |
d90a6beb MC |
205 | SOURCE[memleaktest]=memleaktest.c |
206 | INCLUDE[memleaktest]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
207 | DEPEND[memleaktest]=../libcrypto | |
04949088 | 208 | |
d90a6beb MC |
209 | SOURCE[dtlsv1listentest]=dtlsv1listentest.c |
210 | INCLUDE[dtlsv1listentest]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
211 | DEPEND[dtlsv1listentest]=../libssl | |
9666ffb3 | 212 | |
d90a6beb MC |
213 | SOURCE[ct_test]=ct_test.c testutil.c |
214 | INCLUDE[ct_test]={- rel2abs(catdir($builddir,"../include")) -} ../crypto/include ../include | |
215 | DEPEND[ct_test]=../libcrypto | |
71a04cfc | 216 | |
d90a6beb MC |
217 | SOURCE[threadstest]=threadstest.c |
218 | INCLUDE[threadstest]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
219 | DEPEND[threadstest]=../libcrypto | |
b37d6abf | 220 | |
d90a6beb MC |
221 | SOURCE[afalgtest]=afalgtest.c |
222 | INCLUDE[afalgtest]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
223 | DEPEND[afalgtest]=../libcrypto | |
d2458440 | 224 | |
d90a6beb MC |
225 | SOURCE[d2i_test]=d2i_test.c testutil.c |
226 | INCLUDE[d2i_test]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
227 | DEPEND[d2i_test]=../libcrypto | |
1400f013 | 228 | |
d90a6beb MC |
229 | SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c ssl_test_ctx.c testutil.c |
230 | INCLUDE[ssl_test_ctx_test]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
231 | DEPEND[ssl_test_ctx_test]=../libcrypto | |
453dfd8d | 232 | |
d90a6beb MC |
233 | SOURCE[ssl_test]=ssl_test.c ssl_test_ctx.c testutil.c handshake_helper.c |
234 | INCLUDE[ssl_test]={- rel2abs(catdir($builddir,"../include")) -} .. ../include | |
235 | DEPEND[ssl_test]=../libcrypto ../libssl | |
453dfd8d | 236 | |
d90a6beb MC |
237 | INCLUDE[testutil.o]=.. |
238 | INCLUDE[ssl_test_ctx.o]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
239 | INCLUDE[handshake_helper.o]={- rel2abs(catdir($builddir,"../include")) -} ../include | |
240 | ENDIF |