30f94a2385c73eed487f9d469df02319ee4c8cdf
[openssl.git] / test / build.info
1 IF[{- !$disabled{tests} -}]
2   PROGRAMS=\
3           aborttest \
4           sanitytest bntest \
5           ectest ecdsatest ecdhtest gmdifftest pbelutest ideatest \
6           md2test md4test md5test \
7           hmactest wp_test \
8           rc2test rc4test rc5test \
9           destest sha1test sha256t sha512t \
10           mdc2test rmdtest \
11           randtest dhtest enginetest casttest \
12           bftest ssltest_old dsatest exptest rsa_test \
13           evp_test evp_extra_test igetest v3nametest v3ext \
14           danetest heartbeat_test p5_crpt2_test \
15           constant_time_test verify_extra_test clienthellotest \
16           packettest asynctest secmemtest srptest memleaktest \
17           dtlsv1listentest ct_test threadstest afalgtest d2i_test \
18           ssl_test_ctx_test ssl_test x509aux cipherlist_test asynciotest \
19           bioprinttest sslapitest
20
21   SOURCE[aborttest]=aborttest.c
22   INCLUDE[aborttest]=../include
23   DEPEND[aborttest]=../libcrypto
24
25   SOURCE[sanitytest]=sanitytest.c
26   INCLUDE[sanitytest]=../include
27   DEPEND[sanitytest]=../libcrypto
28
29   SOURCE[bntest]=bntest.c
30   INCLUDE[bntest]=.. ../crypto/include ../include
31   DEPEND[bntest]=../libcrypto
32
33   SOURCE[ectest]=ectest.c
34   INCLUDE[ectest]=../include
35   DEPEND[ectest]=../libcrypto
36
37   SOURCE[ecdsatest]=ecdsatest.c
38   INCLUDE[ecdsatest]=../include
39   DEPEND[ecdsatest]=../libcrypto
40
41   SOURCE[ecdhtest]=ecdhtest.c
42   INCLUDE[ecdhtest]=../include
43   DEPEND[ecdhtest]=../libcrypto
44
45   SOURCE[gmdifftest]=gmdifftest.c
46   INCLUDE[gmdifftest]=../include
47   DEPEND[gmdifftest]=../libcrypto
48
49   SOURCE[pbelutest]=pbelutest.c
50   INCLUDE[pbelutest]=../include
51   DEPEND[pbelutest]=../libcrypto
52
53   SOURCE[ideatest]=ideatest.c
54   INCLUDE[ideatest]=../include
55   DEPEND[ideatest]=../libcrypto
56
57   SOURCE[md2test]=md2test.c
58   INCLUDE[md2test]=../include
59   DEPEND[md2test]=../libcrypto
60
61   SOURCE[md4test]=md4test.c
62   INCLUDE[md4test]=../include
63   DEPEND[md4test]=../libcrypto
64
65   SOURCE[md5test]=md5test.c
66   INCLUDE[md5test]=../include
67   DEPEND[md5test]=../libcrypto
68
69   SOURCE[hmactest]=hmactest.c
70   INCLUDE[hmactest]=../include
71   DEPEND[hmactest]=../libcrypto
72
73   SOURCE[wp_test]=wp_test.c
74   INCLUDE[wp_test]=../include
75   DEPEND[wp_test]=../libcrypto
76
77   SOURCE[rc2test]=rc2test.c
78   INCLUDE[rc2test]=../include
79   DEPEND[rc2test]=../libcrypto
80
81   SOURCE[rc4test]=rc4test.c
82   INCLUDE[rc4test]=../include
83   DEPEND[rc4test]=../libcrypto
84
85   SOURCE[rc5test]=rc5test.c
86   INCLUDE[rc5test]=../include
87   DEPEND[rc5test]=../libcrypto
88
89   SOURCE[destest]=destest.c
90   INCLUDE[destest]=../include
91   DEPEND[destest]=../libcrypto
92
93   SOURCE[sha1test]=sha1test.c
94   INCLUDE[sha1test]=../include
95   DEPEND[sha1test]=../libcrypto
96
97   SOURCE[sha256t]=sha256t.c
98   INCLUDE[sha256t]=../include
99   DEPEND[sha256t]=../libcrypto
100
101   SOURCE[sha512t]=sha512t.c
102   INCLUDE[sha512t]=../include
103   DEPEND[sha512t]=../libcrypto
104
105   SOURCE[mdc2test]=mdc2test.c
106   INCLUDE[mdc2test]=../include
107   DEPEND[mdc2test]=../libcrypto
108
109   SOURCE[rmdtest]=rmdtest.c
110   INCLUDE[rmdtest]=../include
111   DEPEND[rmdtest]=../libcrypto
112
113   SOURCE[randtest]=randtest.c
114   INCLUDE[randtest]=../include
115   DEPEND[randtest]=../libcrypto
116
117   SOURCE[dhtest]=dhtest.c
118   INCLUDE[dhtest]=../include
119   DEPEND[dhtest]=../libcrypto
120
121   SOURCE[enginetest]=enginetest.c
122   INCLUDE[enginetest]=../include
123   DEPEND[enginetest]=../libcrypto
124
125   SOURCE[casttest]=casttest.c
126   INCLUDE[casttest]=../include
127   DEPEND[casttest]=../libcrypto
128
129   SOURCE[bftest]=bftest.c
130   INCLUDE[bftest]=../include
131   DEPEND[bftest]=../libcrypto
132
133   SOURCE[ssltest_old]=ssltest_old.c
134   INCLUDE[ssltest_old]=.. ../include
135   DEPEND[ssltest_old]=../libcrypto ../libssl
136
137   SOURCE[dsatest]=dsatest.c
138   INCLUDE[dsatest]=../include
139   DEPEND[dsatest]=../libcrypto
140
141   SOURCE[exptest]=exptest.c
142   INCLUDE[exptest]=../include
143   DEPEND[exptest]=../libcrypto
144
145   SOURCE[rsa_test]=rsa_test.c
146   INCLUDE[rsa_test]=.. ../include
147   DEPEND[rsa_test]=../libcrypto
148
149   SOURCE[evp_test]=evp_test.c
150   INCLUDE[evp_test]=../include
151   DEPEND[evp_test]=../libcrypto
152
153   SOURCE[evp_extra_test]=evp_extra_test.c
154   INCLUDE[evp_extra_test]=../include
155   DEPEND[evp_extra_test]=../libcrypto
156
157   SOURCE[igetest]=igetest.c
158   INCLUDE[igetest]=.. ../include
159   DEPEND[igetest]=../libcrypto
160
161   SOURCE[v3nametest]=v3nametest.c
162   INCLUDE[v3nametest]=../include
163   DEPEND[v3nametest]=../libcrypto
164
165   SOURCE[v3ext]=v3ext.c
166   INCLUDE[v3ext]=../include
167   DEPEND[v3ext]=../libcrypto
168
169   SOURCE[danetest]=danetest.c
170   INCLUDE[danetest]=../include
171   DEPEND[danetest]=../libcrypto ../libssl
172
173   SOURCE[heartbeat_test]=heartbeat_test.c testutil.c
174   INCLUDE[heartbeat_test]=.. ../include
175   DEPEND[heartbeat_test]=../libcrypto ../libssl
176
177   SOURCE[p5_crpt2_test]=p5_crpt2_test.c
178   INCLUDE[p5_crpt2_test]=../include
179   DEPEND[p5_crpt2_test]=../libcrypto
180
181   SOURCE[constant_time_test]=constant_time_test.c
182   INCLUDE[constant_time_test]=.. ../include
183   DEPEND[constant_time_test]=../libcrypto
184
185   SOURCE[verify_extra_test]=verify_extra_test.c
186   INCLUDE[verify_extra_test]=../include
187   DEPEND[verify_extra_test]=../libcrypto
188
189   SOURCE[clienthellotest]=clienthellotest.c
190   INCLUDE[clienthellotest]=../include
191   DEPEND[clienthellotest]=../libcrypto ../libssl
192
193   SOURCE[packettest]=packettest.c
194   INCLUDE[packettest]=../include
195   DEPEND[packettest]=../libcrypto
196
197   SOURCE[asynctest]=asynctest.c
198   INCLUDE[asynctest]=.. ../include
199   DEPEND[asynctest]=../libcrypto
200
201   SOURCE[secmemtest]=secmemtest.c
202   INCLUDE[secmemtest]=../include
203   DEPEND[secmemtest]=../libcrypto
204
205   SOURCE[srptest]=srptest.c
206   INCLUDE[srptest]=../include
207   DEPEND[srptest]=../libcrypto
208
209   SOURCE[memleaktest]=memleaktest.c
210   INCLUDE[memleaktest]=../include
211   DEPEND[memleaktest]=../libcrypto
212
213   SOURCE[dtlsv1listentest]=dtlsv1listentest.c
214   INCLUDE[dtlsv1listentest]=.. ../include
215   DEPEND[dtlsv1listentest]=../libssl
216
217   SOURCE[ct_test]=ct_test.c testutil.c
218   INCLUDE[ct_test]=../crypto/include ../include
219   DEPEND[ct_test]=../libcrypto
220
221   SOURCE[threadstest]=threadstest.c
222   INCLUDE[threadstest]=.. ../include
223   DEPEND[threadstest]=../libcrypto
224
225   SOURCE[afalgtest]=afalgtest.c
226   INCLUDE[afalgtest]=.. ../include
227   DEPEND[afalgtest]=../libcrypto
228
229   SOURCE[d2i_test]=d2i_test.c testutil.c
230   INCLUDE[d2i_test]=.. ../include
231   DEPEND[d2i_test]=../libcrypto
232
233   SOURCE[ssl_test_ctx_test]=ssl_test_ctx_test.c ssl_test_ctx.c testutil.c
234   INCLUDE[ssl_test_ctx_test]=.. ../include
235   DEPEND[ssl_test_ctx_test]=../libcrypto
236
237   SOURCE[ssl_test]=ssl_test.c ssl_test_ctx.c testutil.c handshake_helper.c
238   INCLUDE[ssl_test]=.. ../include
239   DEPEND[ssl_test]=../libcrypto ../libssl
240
241   SOURCE[cipherlist_test]=cipherlist_test.c testutil.c
242   INCLUDE[cipherlist_test]=.. ../include
243   DEPEND[cipherlist_test]=../libcrypto ../libssl
244
245   INCLUDE[testutil.o]=..
246   INCLUDE[ssl_test_ctx.o]=../include
247   INCLUDE[handshake_helper.o]=../include
248   INCLUDE[ssltestlib.o]=../include
249
250   SOURCE[x509aux]=x509aux.c
251   INCLUDE[x509aux]=../include
252   DEPEND[x509aux]=../libcrypto
253
254   SOURCE[asynciotest]=asynciotest.c ssltestlib.c
255   INCLUDE[asynciotest]=../include
256   DEPEND[asynciotest]=../libcrypto ../libssl
257
258   SOURCE[bioprinttest]=bioprinttest.c
259   INCLUDE[bioprinttest]=../include
260   DEPEND[bioprinttest]=../libcrypto
261   {-
262    use File::Spec::Functions;
263    use File::Basename;
264    use if $^O ne "VMS", 'File::Glob' => qw/glob/;
265
266    my @nogo_headers = ( "asn1_mac.h",
267                         "__decc_include_prologue.h",
268                         "__decc_include_epilogue.h" );
269    my @headerfiles = glob catfile($sourcedir,
270                                   updir(), "include", "openssl", "*.h");
271
272    foreach my $headerfile (@headerfiles) {
273        my $name = basename($headerfile, ".h");
274        next if $disabled{$name};
275        next if grep { $_ eq lc("$name.h") } @nogo_headers;
276        $OUT .= <<"_____";
277
278   PROGRAMS=buildtest_$name
279   GENERATE[buildtest_$name.c]=generate_buildtest.pl $name
280   SOURCE[buildtest_$name]=buildtest_$name.c
281   INCLUDE[buildtest_$name]=../include
282   DEPEND[buildtest_$name]=../libssl ../libcrypto
283 _____
284    }
285   -}
286
287   SOURCE[sslapitest]=sslapitest.c ssltestlib.c testutil.c
288   INCLUDE[sslapitest]=../include
289   DEPEND[sslapitest]=../libcrypto ../libssl
290 ENDIF