make update
[openssl.git] / test / Makefile
1 #
2 # test/Makefile
3 #
4
5 DIR=            test
6 TOP=            ..
7 CC=             cc
8 INCLUDES=       -I$(TOP) -I../include $(KRB5_INCLUDES)
9 CFLAG=          -g
10 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
11 PERL=           perl
12 # KRB5 stuff
13 KRB5_INCLUDES=
14 LIBKRB5=
15
16 PEX_LIBS=
17 EX_LIBS= #-lnsl -lsocket
18
19 CFLAGS= $(INCLUDES) $(CFLAG)
20
21 GENERAL=Makefile maketests.com \
22         tests.com testenc.com tx509.com trsa.com tcrl.com tsid.com treq.com \
23         tpkcs7.com tpkcs7d.com tverify.com testgen.com testss.com testssl.com \
24         testca.com VMSca-response.1 VMSca-response.2
25
26 DLIBCRYPTO= ../libcrypto.a
27 DLIBSSL= ../libssl.a
28 LIBCRYPTO= -L.. -lcrypto
29 LIBSSL= -L.. -lssl
30
31 BNTEST=         bntest
32 ECTEST=         ectest
33 ECDSATEST=      ecdsatest
34 ECDHTEST=       ecdhtest
35 EXPTEST=        exptest
36 IDEATEST=       ideatest
37 SHATEST=        shatest
38 SHA1TEST=       sha1test
39 SHA256TEST=     sha256t
40 SHA512TEST=     sha512t
41 MDC2TEST=       mdc2test
42 RMDTEST=        rmdtest
43 MD2TEST=        md2test
44 MD4TEST=        md4test
45 MD5TEST=        md5test
46 HMACTEST=       hmactest
47 WPTEST=         wp_test
48 RC2TEST=        rc2test
49 RC4TEST=        rc4test
50 RC5TEST=        rc5test
51 BFTEST=         bftest
52 CASTTEST=       casttest
53 DESTEST=        destest
54 RANDTEST=       randtest
55 DHTEST=         dhtest
56 DSATEST=        dsatest
57 METHTEST=       methtest
58 SSLTEST=        ssltest
59 RSATEST=        rsa_test
60 ENGINETEST=     enginetest
61 EVPTEST=        evp_test
62 IGETEST=        igetest
63 JPAKETEST=      jpaketest
64 SRPTEST=        srptest
65 ASN1TEST=       asn1test
66 HEARTBEATTEST= heartbeat_test
67
68 TESTS=          alltests
69
70 EXE=    $(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT)  $(ECDSATEST)$(EXE_EXT) $(ECDHTEST)$(EXE_EXT) $(IDEATEST)$(EXE_EXT) \
71         $(MD2TEST)$(EXE_EXT)  $(MD4TEST)$(EXE_EXT) $(MD5TEST)$(EXE_EXT) $(HMACTEST)$(EXE_EXT) $(WPTEST)$(EXE_EXT) \
72         $(RC2TEST)$(EXE_EXT) $(RC4TEST)$(EXE_EXT) $(RC5TEST)$(EXE_EXT) \
73         $(DESTEST)$(EXE_EXT) $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT) \
74         $(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \
75         $(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \
76         $(BFTEST)$(EXE_EXT) $(CASTTEST)$(EXE_EXT) $(SSLTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) $(DSATEST)$(EXE_EXT) $(RSATEST)$(EXE_EXT) \
77         $(EVPTEST)$(EXE_EXT) $(IGETEST)$(EXE_EXT) $(JPAKETEST)$(EXE_EXT) $(SRPTEST)$(EXE_EXT) \
78         $(ASN1TEST)$(EXE_EXT) $(HEARTBEATTEST)$(EXE_EXT)
79
80 # $(METHTEST)$(EXE_EXT)
81
82 OBJ=    $(BNTEST).o $(ECTEST).o  $(ECDSATEST).o $(ECDHTEST).o $(IDEATEST).o \
83         $(MD2TEST).o $(MD4TEST).o $(MD5TEST).o \
84         $(HMACTEST).o $(WPTEST).o \
85         $(RC2TEST).o $(RC4TEST).o $(RC5TEST).o \
86         $(DESTEST).o $(SHATEST).o $(SHA1TEST).o $(SHA256TEST).o $(SHA512TEST).o \
87         $(MDC2TEST).o $(RMDTEST).o \
88         $(RANDTEST).o $(DHTEST).o $(ENGINETEST).o $(CASTTEST).o \
89         $(BFTEST).o  $(SSLTEST).o  $(DSATEST).o  $(EXPTEST).o $(RSATEST).o \
90         $(EVPTEST).o $(IGETEST).o $(JPAKETEST).o $(ASN1TEST).o $(HEARTBEATTEST).o
91
92 SRC=    $(BNTEST).c $(ECTEST).c  $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \
93         $(MD2TEST).c  $(MD4TEST).c $(MD5TEST).c \
94         $(HMACTEST).c $(WPTEST).c \
95         $(RC2TEST).c $(RC4TEST).c $(RC5TEST).c \
96         $(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \
97         $(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \
98         $(BFTEST).c  $(SSLTEST).c $(DSATEST).c   $(EXPTEST).c $(RSATEST).c \
99         $(EVPTEST).c $(IGETEST).c $(JPAKETEST).c $(SRPTEST).c $(ASN1TEST).c \
100         $(HEARTBEATTEST).c
101
102 EXHEADER= 
103 HEADER= $(EXHEADER)
104
105 ALL=    $(GENERAL) $(SRC) $(HEADER)
106
107 top:
108         (cd ..; $(MAKE) DIRS=$(DIR) TESTS=$(TESTS) all)
109
110 all:    exe
111
112 exe:    $(EXE) dummytest$(EXE_EXT)
113
114 files:
115         $(PERL) $(TOP)/util/files.pl Makefile >> $(TOP)/MINFO
116
117 links:
118
119 generate: $(SRC)
120 $(SRC):
121         @sh $(TOP)/util/point.sh dummytest.c $@
122
123 errors:
124
125 install:
126
127 tags:
128         ctags $(SRC)
129
130 tests:  exe apps $(TESTS)
131
132 apps:
133         @(cd ..; $(MAKE) DIRS=apps all)
134
135 alltests: \
136         test_des test_idea test_sha test_md4 test_md5 test_hmac \
137         test_md2 test_mdc2 test_wp \
138         test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \
139         test_rand test_bn test_ec test_ecdsa test_ecdh \
140         test_enc test_x509 test_rsa test_crl test_sid \
141         test_gen test_req test_pkcs7 test_verify test_dh test_dsa \
142         test_ss test_ca test_engine test_evp test_ssl test_tsa test_ige \
143         test_jpake test_srp test_cms test_heartbeat
144
145 test_evp:
146         ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
147
148 test_des:
149         ../util/shlib_wrap.sh ./$(DESTEST)
150
151 test_idea:
152         ../util/shlib_wrap.sh ./$(IDEATEST)
153
154 test_sha:
155         ../util/shlib_wrap.sh ./$(SHATEST)
156         ../util/shlib_wrap.sh ./$(SHA1TEST)
157         ../util/shlib_wrap.sh ./$(SHA256TEST)
158         ../util/shlib_wrap.sh ./$(SHA512TEST)
159
160 test_mdc2:
161         ../util/shlib_wrap.sh ./$(MDC2TEST)
162
163 test_md5:
164         ../util/shlib_wrap.sh ./$(MD5TEST)
165
166 test_md4:
167         ../util/shlib_wrap.sh ./$(MD4TEST)
168
169 test_hmac:
170         ../util/shlib_wrap.sh ./$(HMACTEST)
171
172 test_wp:
173         ../util/shlib_wrap.sh ./$(WPTEST)
174
175 test_md2:
176         ../util/shlib_wrap.sh ./$(MD2TEST)
177
178 test_rmd:
179         ../util/shlib_wrap.sh ./$(RMDTEST)
180
181 test_bf:
182         ../util/shlib_wrap.sh ./$(BFTEST)
183
184 test_cast:
185         ../util/shlib_wrap.sh ./$(CASTTEST)
186
187 test_rc2:
188         ../util/shlib_wrap.sh ./$(RC2TEST)
189
190 test_rc4:
191         ../util/shlib_wrap.sh ./$(RC4TEST)
192
193 test_rc5:
194         ../util/shlib_wrap.sh ./$(RC5TEST)
195
196 test_rand:
197         ../util/shlib_wrap.sh ./$(RANDTEST)
198
199 test_enc:
200         @sh ./testenc
201
202 test_x509:
203         echo test normal x509v1 certificate
204         sh ./tx509 2>/dev/null
205         echo test first x509v3 certificate
206         sh ./tx509 v3-cert1.pem 2>/dev/null
207         echo test second x509v3 certificate
208         sh ./tx509 v3-cert2.pem 2>/dev/null
209
210 test_rsa: $(RSATEST)$(EXE_EXT)
211         @sh ./trsa 2>/dev/null
212         ../util/shlib_wrap.sh ./$(RSATEST)
213
214 test_crl:
215         @sh ./tcrl 2>/dev/null
216
217 test_sid:
218         @sh ./tsid 2>/dev/null
219
220 test_req:
221         @sh ./treq 2>/dev/null
222         @sh ./treq testreq2.pem 2>/dev/null
223
224 test_pkcs7:
225         @sh ./tpkcs7 2>/dev/null
226         @sh ./tpkcs7d 2>/dev/null
227
228 test_bn:
229         @echo starting big number library test, could take a while...
230         @../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
231         @echo quit >>tmp.bntest
232         @echo "running bc"
233         @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0\r?$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'
234         @echo 'test a^b%c implementations'
235         ../util/shlib_wrap.sh ./$(EXPTEST)
236
237 test_ec:
238         @echo 'test elliptic curves'
239         ../util/shlib_wrap.sh ./$(ECTEST)
240
241 test_ecdsa:
242         @echo 'test ecdsa'
243         ../util/shlib_wrap.sh ./$(ECDSATEST)
244
245 test_ecdh:
246         @echo 'test ecdh'
247         ../util/shlib_wrap.sh ./$(ECDHTEST)
248
249 test_verify:
250         @echo "The following command should have some OK's and some failures"
251         @echo "There are definitly a few expired certificates"
252         ../util/shlib_wrap.sh ../apps/openssl verify -CApath ../certs/demo ../certs/demo/*.pem
253
254 test_dh:
255         @echo "Generate a set of DH parameters"
256         ../util/shlib_wrap.sh ./$(DHTEST)
257
258 test_dsa:
259         @echo "Generate a set of DSA parameters"
260         ../util/shlib_wrap.sh ./$(DSATEST)
261         ../util/shlib_wrap.sh ./$(DSATEST) -app2_1
262
263 test_gen:
264         @echo "Generate and verify a certificate request"
265         @sh ./testgen
266
267 test_ss keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
268                 intP1.ss intP2.ss: testss
269         @echo "Generate and certify a test certificate"
270         @sh ./testss
271         @cat certCA.ss certU.ss > intP1.ss
272         @cat certCA.ss certU.ss certP1.ss > intP2.ss
273
274 test_engine: 
275         @echo "Manipulate the ENGINE structures"
276         ../util/shlib_wrap.sh ./$(ENGINETEST)
277
278 test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
279                 intP1.ss intP2.ss
280         @echo "test SSL protocol"
281         @if [ -n "$(FIPSCANLIB)" ]; then \
282           sh ./testfipsssl keyU.ss certU.ss certCA.ss; \
283         fi
284         ../util/shlib_wrap.sh ./$(SSLTEST) -test_cipherlist
285         @sh ./testssl keyU.ss certU.ss certCA.ss
286         @sh ./testsslproxy keyP1.ss certP1.ss intP1.ss
287         @sh ./testsslproxy keyP2.ss certP2.ss intP2.ss
288
289 test_ca:
290         @if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
291           echo "skipping CA.sh test -- requires RSA"; \
292         else \
293           echo "Generate and certify a test certificate via the 'ca' program"; \
294           sh ./testca; \
295         fi
296
297 test_aes: #$(AESTEST)
298 #       @echo "test Rijndael"
299 #       ../util/shlib_wrap.sh ./$(AESTEST)
300
301 test_tsa:
302         @if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
303           echo "skipping testtsa test -- requires RSA"; \
304         else \
305           sh ./testtsa; \
306         fi
307
308 test_ige: $(IGETEST)$(EXE_EXT)
309         @echo "Test IGE mode"
310         ../util/shlib_wrap.sh ./$(IGETEST)
311
312 test_jpake: $(JPAKETEST)$(EXE_EXT)
313         @echo "Test JPAKE"
314         ../util/shlib_wrap.sh ./$(JPAKETEST)
315
316 test_cms:
317         @echo "CMS consistency test"
318         $(PERL) cms-test.pl
319
320 test_srp: $(SRPTEST)$(EXE_EXT)
321         @echo "Test SRP"
322         ../util/shlib_wrap.sh ./srptest
323
324 test_heartbeat: $(HEARTBEATTEST)$(EXE_EXT)
325         ../util/shlib_wrap.sh ./$(HEARTBEATTEST)
326
327 lint:
328         lint -DLINT $(INCLUDES) $(SRC)>fluff
329
330 depend:
331         @if [ -z "$(THIS)" ]; then \
332             $(MAKE) -f $(TOP)/Makefile reflect THIS=$@; \
333         else \
334             $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC); \
335         fi
336
337 dclean:
338         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
339         mv -f Makefile.new $(MAKEFILE)
340         rm -f $(SRC) $(SHA256TEST).c $(SHA512TEST).c evptests.txt newkey.pem testkey.pem \
341                         testreq.pem
342
343 clean:
344         rm -f .rnd tmp.bntest tmp.bctest *.o *.obj *.dll lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log dummytest
345
346 $(DLIBSSL):
347         (cd ..; $(MAKE) DIRS=ssl all)
348
349 $(DLIBCRYPTO):
350         (cd ..; $(MAKE) DIRS=crypto all)
351
352 BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
353                 shlib_target="$(SHLIB_TARGET)"; \
354         fi; \
355         LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \
356         $(MAKE) -f $(TOP)/Makefile.shared -e \
357                 CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
358                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
359                 link_app.$${shlib_target}
360
361 FIPS_BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
362                 shlib_target="$(SHLIB_TARGET)"; \
363         fi; \
364         LIBRARIES="$(LIBSSL) $(LIBCRYPTO) $(LIBKRB5)"; \
365         if [ -z "$(SHARED_LIBS)" -a -n "$(FIPSCANLIB)" ] ; then \
366                 FIPSLD_CC="$(CC)"; CC=$(FIPSDIR)/bin/fipsld; export CC FIPSLD_CC; \
367         fi; \
368         $(MAKE) -f $(TOP)/Makefile.shared -e \
369                 CC="$${CC}" APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
370                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
371                 link_app.$${shlib_target}
372
373 BUILD_CMD_STATIC=shlib_target=; \
374         LIBRARIES="$(DLIBSSL) $(DLIBCRYPTO) $(LIBKRB5)"; \
375         $(MAKE) -f $(TOP)/Makefile.shared -e \
376                 APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \
377                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
378                 link_app.$${shlib_target}
379
380 $(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
381         @target=$(RSATEST); $(BUILD_CMD)
382
383 $(BNTEST)$(EXE_EXT): $(BNTEST).o $(DLIBCRYPTO)
384         @target=$(BNTEST); $(BUILD_CMD)
385
386 $(ECTEST)$(EXE_EXT): $(ECTEST).o $(DLIBCRYPTO)
387         @target=$(ECTEST); $(BUILD_CMD)
388
389 $(EXPTEST)$(EXE_EXT): $(EXPTEST).o $(DLIBCRYPTO)
390         @target=$(EXPTEST); $(BUILD_CMD)
391
392 $(IDEATEST)$(EXE_EXT): $(IDEATEST).o $(DLIBCRYPTO)
393         @target=$(IDEATEST); $(BUILD_CMD)
394
395 $(MD2TEST)$(EXE_EXT): $(MD2TEST).o $(DLIBCRYPTO)
396         @target=$(MD2TEST); $(BUILD_CMD)
397
398 $(SHATEST)$(EXE_EXT): $(SHATEST).o $(DLIBCRYPTO)
399         @target=$(SHATEST); $(BUILD_CMD)
400
401 $(SHA1TEST)$(EXE_EXT): $(SHA1TEST).o $(DLIBCRYPTO)
402         @target=$(SHA1TEST); $(BUILD_CMD)
403
404 $(SHA256TEST)$(EXE_EXT): $(SHA256TEST).o $(DLIBCRYPTO)
405         @target=$(SHA256TEST); $(BUILD_CMD)
406
407 $(SHA512TEST)$(EXE_EXT): $(SHA512TEST).o $(DLIBCRYPTO)
408         @target=$(SHA512TEST); $(BUILD_CMD)
409
410 $(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO)
411         @target=$(RMDTEST); $(BUILD_CMD)
412
413 $(MDC2TEST)$(EXE_EXT): $(MDC2TEST).o $(DLIBCRYPTO)
414         @target=$(MDC2TEST); $(BUILD_CMD)
415
416 $(MD4TEST)$(EXE_EXT): $(MD4TEST).o $(DLIBCRYPTO)
417         @target=$(MD4TEST); $(BUILD_CMD)
418
419 $(MD5TEST)$(EXE_EXT): $(MD5TEST).o $(DLIBCRYPTO)
420         @target=$(MD5TEST); $(BUILD_CMD)
421
422 $(HMACTEST)$(EXE_EXT): $(HMACTEST).o $(DLIBCRYPTO)
423         @target=$(HMACTEST); $(BUILD_CMD)
424
425 $(WPTEST)$(EXE_EXT): $(WPTEST).o $(DLIBCRYPTO)
426         @target=$(WPTEST); $(BUILD_CMD)
427
428 $(RC2TEST)$(EXE_EXT): $(RC2TEST).o $(DLIBCRYPTO)
429         @target=$(RC2TEST); $(BUILD_CMD)
430
431 $(BFTEST)$(EXE_EXT): $(BFTEST).o $(DLIBCRYPTO)
432         @target=$(BFTEST); $(BUILD_CMD)
433
434 $(CASTTEST)$(EXE_EXT): $(CASTTEST).o $(DLIBCRYPTO)
435         @target=$(CASTTEST); $(BUILD_CMD)
436
437 $(RC4TEST)$(EXE_EXT): $(RC4TEST).o $(DLIBCRYPTO)
438         @target=$(RC4TEST); $(BUILD_CMD)
439
440 $(RC5TEST)$(EXE_EXT): $(RC5TEST).o $(DLIBCRYPTO)
441         @target=$(RC5TEST); $(BUILD_CMD)
442
443 $(DESTEST)$(EXE_EXT): $(DESTEST).o $(DLIBCRYPTO)
444         @target=$(DESTEST); $(BUILD_CMD)
445
446 $(RANDTEST)$(EXE_EXT): $(RANDTEST).o $(DLIBCRYPTO)
447         @target=$(RANDTEST); $(BUILD_CMD)
448
449 $(DHTEST)$(EXE_EXT): $(DHTEST).o $(DLIBCRYPTO)
450         @target=$(DHTEST); $(BUILD_CMD)
451
452 $(DSATEST)$(EXE_EXT): $(DSATEST).o $(DLIBCRYPTO)
453         @target=$(DSATEST); $(BUILD_CMD)
454
455 $(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO)
456         @target=$(METHTEST); $(BUILD_CMD)
457
458 $(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO)
459         @target=$(SSLTEST); $(FIPS_BUILD_CMD)
460
461 $(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO)
462         @target=$(ENGINETEST); $(BUILD_CMD)
463
464 $(EVPTEST)$(EXE_EXT): $(EVPTEST).o $(DLIBCRYPTO)
465         @target=$(EVPTEST); $(BUILD_CMD)
466
467 $(ECDSATEST)$(EXE_EXT): $(ECDSATEST).o $(DLIBCRYPTO)
468         @target=$(ECDSATEST); $(BUILD_CMD)
469
470 $(ECDHTEST)$(EXE_EXT): $(ECDHTEST).o $(DLIBCRYPTO)
471         @target=$(ECDHTEST); $(BUILD_CMD)
472
473 $(IGETEST)$(EXE_EXT): $(IGETEST).o $(DLIBCRYPTO)
474         @target=$(IGETEST); $(BUILD_CMD)
475
476 $(JPAKETEST)$(EXE_EXT): $(JPAKETEST).o $(DLIBCRYPTO)
477         @target=$(JPAKETEST); $(BUILD_CMD)
478
479 $(ASN1TEST)$(EXE_EXT): $(ASN1TEST).o $(DLIBCRYPTO)
480         @target=$(ASN1TEST); $(BUILD_CMD)
481
482 $(SRPTEST)$(EXE_EXT): $(SRPTEST).o $(DLIBCRYPTO)
483         @target=$(SRPTEST); $(BUILD_CMD)
484
485 $(HEARTBEATTEST)$(EXE_EXT): $(HEARTBEATTEST).o $(DLIBCRYPTO)
486         @target=$(HEARTBEATTEST); $(BUILD_CMD_STATIC)
487
488 #$(AESTEST).o: $(AESTEST).c
489 #       $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
490
491 #$(AESTEST)$(EXE_EXT): $(AESTEST).o $(DLIBCRYPTO)
492 #       if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \
493 #         $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \
494 #       else \
495 #         $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \
496 #       fi
497
498 dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
499         @target=dummytest; $(BUILD_CMD)
500
501 # DO NOT DELETE THIS LINE -- make depend depends on it.
502
503 asn1test.o: ../include/openssl/asn1.h ../include/openssl/asn1_mac.h
504 asn1test.o: ../include/openssl/bio.h ../include/openssl/buffer.h
505 asn1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
506 asn1test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
507 asn1test.o: ../include/openssl/ecdsa.h ../include/openssl/evp.h
508 asn1test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
509 asn1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
510 asn1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
511 asn1test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
512 asn1test.o: ../include/openssl/sha.h ../include/openssl/stack.h
513 asn1test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
514 asn1test.o: ../include/openssl/x509_vfy.h asn1test.c
515 bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h
516 bftest.o: ../include/openssl/opensslconf.h bftest.c
517 bntest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
518 bntest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
519 bntest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
520 bntest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
521 bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
522 bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
523 bntest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
524 bntest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
525 bntest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
526 bntest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
527 bntest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
528 bntest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
529 bntest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
530 bntest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h bntest.c
531 casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h
532 casttest.o: ../include/openssl/opensslconf.h casttest.c
533 destest.o: ../include/openssl/des.h ../include/openssl/des_old.h
534 destest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
535 destest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
536 destest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
537 destest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h destest.c
538 dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
539 dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
540 dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
541 dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
542 dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
543 dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
544 dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c
545 dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
546 dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
547 dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
548 dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h
549 dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
550 dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
551 dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
552 dsatest.o: ../include/openssl/symhacks.h dsatest.c
553 ecdhtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
554 ecdhtest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
555 ecdhtest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
556 ecdhtest.o: ../include/openssl/ecdh.h ../include/openssl/err.h
557 ecdhtest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
558 ecdhtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
559 ecdhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
560 ecdhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
561 ecdhtest.o: ../include/openssl/sha.h ../include/openssl/stack.h
562 ecdhtest.o: ../include/openssl/symhacks.h ecdhtest.c
563 ecdsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
564 ecdsatest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
565 ecdsatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
566 ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
567 ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
568 ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h
569 ecdsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
570 ecdsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
571 ecdsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
572 ecdsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
573 ecdsatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
574 ecdsatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
575 ecdsatest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
576 ecdsatest.o: ecdsatest.c
577 ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
578 ectest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
579 ectest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
580 ectest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
581 ectest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
582 ectest.o: ../include/openssl/err.h ../include/openssl/evp.h
583 ectest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
584 ectest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
585 ectest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
586 ectest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
587 ectest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
588 ectest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
589 ectest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h ectest.c
590 enginetest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
591 enginetest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
592 enginetest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
593 enginetest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
594 enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h
595 enginetest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
596 enginetest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
597 enginetest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
598 enginetest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
599 enginetest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
600 enginetest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
601 enginetest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
602 enginetest.o: enginetest.c
603 evp_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
604 evp_test.o: ../include/openssl/buffer.h ../include/openssl/conf.h
605 evp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
606 evp_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
607 evp_test.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
608 evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h
609 evp_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
610 evp_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
611 evp_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
612 evp_test.o: ../include/openssl/pkcs7.h ../include/openssl/safestack.h
613 evp_test.o: ../include/openssl/sha.h ../include/openssl/stack.h
614 evp_test.o: ../include/openssl/symhacks.h ../include/openssl/x509.h
615 evp_test.o: ../include/openssl/x509_vfy.h evp_test.c
616 exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
617 exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
618 exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
619 exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
620 exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
621 exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
622 exptest.o: ../include/openssl/symhacks.h exptest.c
623 heartbeat_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
624 heartbeat_test.o: ../include/openssl/buffer.h ../include/openssl/comp.h
625 heartbeat_test.o: ../include/openssl/crypto.h ../include/openssl/dsa.h
626 heartbeat_test.o: ../include/openssl/dtls1.h ../include/openssl/e_os2.h
627 heartbeat_test.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
628 heartbeat_test.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
629 heartbeat_test.o: ../include/openssl/evp.h ../include/openssl/hmac.h
630 heartbeat_test.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
631 heartbeat_test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
632 heartbeat_test.o: ../include/openssl/opensslconf.h
633 heartbeat_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
634 heartbeat_test.o: ../include/openssl/pem.h ../include/openssl/pem2.h
635 heartbeat_test.o: ../include/openssl/pkcs7.h ../include/openssl/pqueue.h
636 heartbeat_test.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
637 heartbeat_test.o: ../include/openssl/sha.h ../include/openssl/srtp.h
638 heartbeat_test.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
639 heartbeat_test.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h
640 heartbeat_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
641 heartbeat_test.o: ../include/openssl/tls1.h ../include/openssl/x509.h
642 heartbeat_test.o: ../include/openssl/x509_vfy.h ../ssl/ssl_locl.h
643 heartbeat_test.o: ../test/testutil.h heartbeat_test.c
644 hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
645 hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
646 hmactest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
647 hmactest.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h
648 hmactest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
649 hmactest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
650 hmactest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
651 hmactest.o: ../include/openssl/symhacks.h hmactest.c
652 ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h
653 ideatest.o: ../include/openssl/opensslconf.h ideatest.c
654 igetest.o: ../include/openssl/aes.h ../include/openssl/e_os2.h
655 igetest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
656 igetest.o: ../include/openssl/rand.h igetest.c
657 jpaketest.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
658 jpaketest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
659 jpaketest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
660 jpaketest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
661 jpaketest.o: ../include/openssl/symhacks.h jpaketest.c
662 md2test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
663 md2test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
664 md2test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
665 md2test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
666 md2test.o: ../include/openssl/symhacks.h md2test.c
667 md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
668 md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
669 md4test.o: ../include/openssl/evp.h ../include/openssl/md4.h
670 md4test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
671 md4test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
672 md4test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
673 md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md4test.c
674 md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
675 md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
676 md5test.o: ../include/openssl/evp.h ../include/openssl/md5.h
677 md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
678 md5test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
679 md5test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
680 md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c
681 mdc2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
682 mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
683 mdc2test.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h
684 mdc2test.o: ../include/openssl/evp.h ../include/openssl/mdc2.h
685 mdc2test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
686 mdc2test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
687 mdc2test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
688 mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
689 mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c
690 randtest.o: ../e_os.h ../include/openssl/e_os2.h
691 randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
692 randtest.o: ../include/openssl/rand.h randtest.c
693 rc2test.o: ../e_os.h ../include/openssl/e_os2.h
694 rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c
695 rc4test.o: ../e_os.h ../include/openssl/e_os2.h
696 rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h
697 rc4test.o: ../include/openssl/sha.h rc4test.c
698 rc5test.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
699 rc5test.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
700 rc5test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
701 rc5test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
702 rc5test.o: ../include/openssl/symhacks.h rc5test.c
703 rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
704 rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
705 rmdtest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
706 rmdtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
707 rmdtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
708 rmdtest.o: ../include/openssl/ripemd.h ../include/openssl/safestack.h
709 rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h rmdtest.c
710 rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
711 rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h
712 rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
713 rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
714 rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
715 rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h
716 rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
717 rsa_test.o: ../include/openssl/symhacks.h rsa_test.c
718 sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
719 sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
720 sha1test.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
721 sha1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
722 sha1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
723 sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
724 sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h sha1test.c
725 shatest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
726 shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
727 shatest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
728 shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
729 shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
730 shatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
731 shatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h shatest.c
732 srptest.o: ../include/openssl/bio.h ../include/openssl/bn.h
733 srptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
734 srptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
735 srptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
736 srptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
737 srptest.o: ../include/openssl/safestack.h ../include/openssl/srp.h
738 srptest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h srptest.c
739 ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
740 ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
741 ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h
742 ssltest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
743 ssltest.o: ../include/openssl/dsa.h ../include/openssl/dtls1.h
744 ssltest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
745 ssltest.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
746 ssltest.o: ../include/openssl/engine.h ../include/openssl/err.h
747 ssltest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
748 ssltest.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
749 ssltest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
750 ssltest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
751 ssltest.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
752 ssltest.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
753 ssltest.o: ../include/openssl/pqueue.h ../include/openssl/rand.h
754 ssltest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
755 ssltest.o: ../include/openssl/sha.h ../include/openssl/srp.h
756 ssltest.o: ../include/openssl/srtp.h ../include/openssl/ssl.h
757 ssltest.o: ../include/openssl/ssl2.h ../include/openssl/ssl23.h
758 ssltest.o: ../include/openssl/ssl3.h ../include/openssl/stack.h
759 ssltest.o: ../include/openssl/symhacks.h ../include/openssl/tls1.h
760 ssltest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
761 ssltest.o: ../include/openssl/x509v3.h ssltest.c
762 wp_test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
763 wp_test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
764 wp_test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
765 wp_test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
766 wp_test.o: ../include/openssl/whrlpool.h wp_test.c