build.info 9.5 KB
Newer Older
1
{- use File::Spec::Functions qw/catdir rel2abs/; -}
M
Matt Caswell 已提交
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
IF[{- !$disabled{tests} -}]
  PROGRAMS=\
          aborttest \
          nptest bntest \
          ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
          md2test md4test md5test \
          hmactest wp_test \
          rc2test rc4test rc5test \
          destest sha1test sha256t sha512t \
          mdc2test rmdtest \
          randtest dhtest enginetest casttest \
          bftest ssltest_old dsatest exptest rsa_test \
          evp_test evp_extra_test igetest v3nametest \
          danetest heartbeat_test p5_crpt2_test \
          constant_time_test verify_extra_test clienthellotest \
          packettest asynctest secmemtest srptest memleaktest \
          dtlsv1listentest ct_test threadstest afalgtest d2i_test \
M
Matt Caswell 已提交
19
          ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest
M
Matt Caswell 已提交
20 21

  SOURCE[aborttest]=aborttest.c
22
  INCLUDE[aborttest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
23 24 25
  DEPEND[aborttest]=../libcrypto

  SOURCE[nptest]=nptest.c
26
  INCLUDE[nptest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
27 28 29
  DEPEND[nptest]=../libcrypto

  SOURCE[bntest]=bntest.c
30
  INCLUDE[bntest]="{- rel2abs(catdir($builddir,"../crypto/include")) -}" "{- rel2abs(catdir($builddir,"../include")) -}" .. ../crypto/include ../include
M
Matt Caswell 已提交
31 32 33
  DEPEND[bntest]=../libcrypto

  SOURCE[ectest]=ectest.c
34
  INCLUDE[ectest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
35 36 37
  DEPEND[ectest]=../libcrypto

  SOURCE[ecdsatest]=ecdsatest.c
38
  INCLUDE[ecdsatest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
39 40 41
  DEPEND[ecdsatest]=../libcrypto

  SOURCE[ecdhtest]=ecdhtest.c
42
  INCLUDE[ecdhtest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
43 44 45
  DEPEND[ecdhtest]=../libcrypto

  SOURCE[gmdifftest]=gmdifftest.c
46
  INCLUDE[gmdifftest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
47 48 49
  DEPEND[gmdifftest]=../libcrypto

  SOURCE[pbelutest]=pbelutest.c
50
  INCLUDE[pbelutest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
51 52 53
  DEPEND[pbelutest]=../libcrypto

  SOURCE[ideatest]=ideatest.c
54
  INCLUDE[ideatest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
55 56 57
  DEPEND[ideatest]=../libcrypto

  SOURCE[md2test]=md2test.c
58
  INCLUDE[md2test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
59 60 61
  DEPEND[md2test]=../libcrypto

  SOURCE[md4test]=md4test.c
62
  INCLUDE[md4test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
63 64 65
  DEPEND[md4test]=../libcrypto

  SOURCE[md5test]=md5test.c
66
  INCLUDE[md5test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
67 68 69
  DEPEND[md5test]=../libcrypto

  SOURCE[hmactest]=hmactest.c
70
  INCLUDE[hmactest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
71 72 73
  DEPEND[hmactest]=../libcrypto

  SOURCE[wp_test]=wp_test.c
74
  INCLUDE[wp_test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
75 76 77
  DEPEND[wp_test]=../libcrypto

  SOURCE[rc2test]=rc2test.c
78
  INCLUDE[rc2test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
79 80 81
  DEPEND[rc2test]=../libcrypto

  SOURCE[rc4test]=rc4test.c
82
  INCLUDE[rc4test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
83 84 85
  DEPEND[rc4test]=../libcrypto

  SOURCE[rc5test]=rc5test.c
86
  INCLUDE[rc5test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
87 88 89
  DEPEND[rc5test]=../libcrypto

  SOURCE[destest]=destest.c
90
  INCLUDE[destest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
91 92 93
  DEPEND[destest]=../libcrypto

  SOURCE[sha1test]=sha1test.c
94
  INCLUDE[sha1test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
95 96 97
  DEPEND[sha1test]=../libcrypto

  SOURCE[sha256t]=sha256t.c
98
  INCLUDE[sha256t]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
99 100 101
  DEPEND[sha256t]=../libcrypto

  SOURCE[sha512t]=sha512t.c
102
  INCLUDE[sha512t]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
103 104 105
  DEPEND[sha512t]=../libcrypto

  SOURCE[mdc2test]=mdc2test.c
106
  INCLUDE[mdc2test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
107 108 109
  DEPEND[mdc2test]=../libcrypto

  SOURCE[rmdtest]=rmdtest.c
110
  INCLUDE[rmdtest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
111 112 113
  DEPEND[rmdtest]=../libcrypto

  SOURCE[randtest]=randtest.c
114
  INCLUDE[randtest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
115
  DEPEND[randtest]=../libcrypto
116

M
Matt Caswell 已提交
117
  SOURCE[dhtest]=dhtest.c
118
  INCLUDE[dhtest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
119
  DEPEND[dhtest]=../libcrypto
120

M
Matt Caswell 已提交
121
  SOURCE[enginetest]=enginetest.c
122
  INCLUDE[enginetest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
123
  DEPEND[enginetest]=../libcrypto
124

M
Matt Caswell 已提交
125
  SOURCE[casttest]=casttest.c
126
  INCLUDE[casttest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
127
  DEPEND[casttest]=../libcrypto
128

M
Matt Caswell 已提交
129
  SOURCE[bftest]=bftest.c
130
  INCLUDE[bftest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
131
  DEPEND[bftest]=../libcrypto
132

M
Matt Caswell 已提交
133
  SOURCE[ssltest_old]=ssltest_old.c
134
  INCLUDE[ssltest_old]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
135
  DEPEND[ssltest_old]=../libcrypto ../libssl
136

M
Matt Caswell 已提交
137
  SOURCE[dsatest]=dsatest.c
138
  INCLUDE[dsatest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
139
  DEPEND[dsatest]=../libcrypto
140

M
Matt Caswell 已提交
141
  SOURCE[exptest]=exptest.c
142
  INCLUDE[exptest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
143
  DEPEND[exptest]=../libcrypto
144

M
Matt Caswell 已提交
145
  SOURCE[rsa_test]=rsa_test.c
146
  INCLUDE[rsa_test]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
147
  DEPEND[rsa_test]=../libcrypto
148

M
Matt Caswell 已提交
149
  SOURCE[evp_test]=evp_test.c
150
  INCLUDE[evp_test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
151
  DEPEND[evp_test]=../libcrypto
152

M
Matt Caswell 已提交
153
  SOURCE[evp_extra_test]=evp_extra_test.c
154
  INCLUDE[evp_extra_test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
155
  DEPEND[evp_extra_test]=../libcrypto
156

M
Matt Caswell 已提交
157
  SOURCE[igetest]=igetest.c
158
  INCLUDE[igetest]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
159
  DEPEND[igetest]=../libcrypto
160

M
Matt Caswell 已提交
161
  SOURCE[v3nametest]=v3nametest.c
162
  INCLUDE[v3nametest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
163
  DEPEND[v3nametest]=../libcrypto
164

M
Matt Caswell 已提交
165
  SOURCE[danetest]=danetest.c
166
  INCLUDE[danetest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
167
  DEPEND[danetest]=../libcrypto ../libssl
168

M
Matt Caswell 已提交
169
  SOURCE[heartbeat_test]=heartbeat_test.c testutil.c
170
  INCLUDE[heartbeat_test]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
171
  DEPEND[heartbeat_test]=../libcrypto ../libssl
172

M
Matt Caswell 已提交
173
  SOURCE[p5_crpt2_test]=p5_crpt2_test.c
174
  INCLUDE[p5_crpt2_test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
175
  DEPEND[p5_crpt2_test]=../libcrypto
176

M
Matt Caswell 已提交
177
  SOURCE[constant_time_test]=constant_time_test.c
178
  INCLUDE[constant_time_test]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
179
  DEPEND[constant_time_test]=../libcrypto
180

M
Matt Caswell 已提交
181
  SOURCE[verify_extra_test]=verify_extra_test.c
182
  INCLUDE[verify_extra_test]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
183
  DEPEND[verify_extra_test]=../libcrypto
184

M
Matt Caswell 已提交
185
  SOURCE[clienthellotest]=clienthellotest.c
186
  INCLUDE[clienthellotest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
187
  DEPEND[clienthellotest]=../libcrypto ../libssl
188

M
Matt Caswell 已提交
189
  SOURCE[packettest]=packettest.c
190
  INCLUDE[packettest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
191
  DEPEND[packettest]=../libcrypto
192

M
Matt Caswell 已提交
193
  SOURCE[asynctest]=asynctest.c
194
  INCLUDE[asynctest]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
195
  DEPEND[asynctest]=../libcrypto
196

M
Matt Caswell 已提交
197
  SOURCE[secmemtest]=secmemtest.c
198
  INCLUDE[secmemtest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
199
  DEPEND[secmemtest]=../libcrypto
200

M
Matt Caswell 已提交
201
  SOURCE[srptest]=srptest.c
202
  INCLUDE[srptest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
203
  DEPEND[srptest]=../libcrypto
204

M
Matt Caswell 已提交
205
  SOURCE[memleaktest]=memleaktest.c
206
  INCLUDE[memleaktest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
207
  DEPEND[memleaktest]=../libcrypto
208

M
Matt Caswell 已提交
209
  SOURCE[dtlsv1listentest]=dtlsv1listentest.c
210
  INCLUDE[dtlsv1listentest]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
211
  DEPEND[dtlsv1listentest]=../libssl
R
Rich Salz 已提交
212

M
Matt Caswell 已提交
213
  SOURCE[ct_test]=ct_test.c testutil.c
214
  INCLUDE[ct_test]="{- rel2abs(catdir($builddir,"../include")) -}" ../crypto/include ../include
M
Matt Caswell 已提交
215
  DEPEND[ct_test]=../libcrypto
216

M
Matt Caswell 已提交
217
  SOURCE[threadstest]=threadstest.c
218
  INCLUDE[threadstest]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
219
  DEPEND[threadstest]=../libcrypto
220

M
Matt Caswell 已提交
221
  SOURCE[afalgtest]=afalgtest.c
222
  INCLUDE[afalgtest]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
223
  DEPEND[afalgtest]=../libcrypto
C
clucey 已提交
224

M
Matt Caswell 已提交
225
  SOURCE[d2i_test]=d2i_test.c testutil.c
226
  INCLUDE[d2i_test]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
M
Matt Caswell 已提交
227
  DEPEND[d2i_test]=../libcrypto
E
Emilia Kasper 已提交
228

M
Matt Caswell 已提交
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
M
Matt Caswell 已提交
231
  DEPEND[ssl_test_ctx_test]=../libcrypto
E
Emilia Kasper 已提交
232

M
Matt Caswell 已提交
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
M
Matt Caswell 已提交
235
  DEPEND[ssl_test]=../libcrypto ../libssl
E
Emilia Kasper 已提交
236

E
Emilia Kasper 已提交
237
  SOURCE[cipherlist_test]=cipherlist_test.c testutil.c
238
  INCLUDE[cipherlist_test]="{- rel2abs(catdir($builddir,"../include")) -}" .. ../include
E
Emilia Kasper 已提交
239 240
  DEPEND[cipherlist_test]=../libcrypto ../libssl

M
Matt Caswell 已提交
241
  INCLUDE[testutil.o]=..
242 243
  INCLUDE[ssl_test_ctx.o]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
  INCLUDE[handshake_helper.o]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
244 245

  SOURCE[x509aux]=x509aux.c
246
  INCLUDE[x509aux]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
247
  DEPEND[x509aux]=../libcrypto
M
Matt Caswell 已提交
248 249

  SOURCE[asynciotest]=asynciotest.c
250
  INCLUDE[asynciotest]="{- rel2abs(catdir($builddir,"../include")) -}" ../include
M
Matt Caswell 已提交
251
  DEPEND[asynciotest]=../libcrypto ../libssl
M
Matt Caswell 已提交
252
ENDIF