Address run-time linker problems: LD_PRELOAD issue on multi-ABI platforms
[openssl.git] / test / Makefile.ssl
1 #
2 # test/Makefile.ssl
3 #
4
5 DIR=            test
6 TOP=            ..
7 CC=             cc
8 INCLUDES=       -I$(TOP) -I../include $(KRB5_INCLUDES)
9 CFLAG=          -g
10 INSTALL_PREFIX=
11 OPENSSLDIR=     /usr/local/ssl
12 INSTALLTOP=     /usr/local/ssl
13 MAKEFILE=       Makefile.ssl
14 NEWMAKE=        make
15 MAKE=           $(NEWMAKE) -f $(MAKEFILE)
16 MAKEDEPPROG=    makedepend
17 MAKEDEPEND=     $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
18 PERL=           perl
19 # KRB5 stuff
20 KRB5_INCLUDES=
21 LIBKRB5=
22
23 PEX_LIBS=
24 EX_LIBS= #-lnsl -lsocket
25
26 CFLAGS= $(INCLUDES) $(CFLAG)
27
28 GENERAL=Makefile.ssl maketests.com \
29         tests.com testenc.com tx509.com trsa.com tcrl.com tsid.com treq.com \
30         tpkcs7.com tpkcs7d.com tverify.com testgen.com testss.com testssl.com \
31         testca.com VMSca-response.1 VMSca-response.2
32
33 DLIBCRYPTO= ../libcrypto.a
34 DLIBSSL= ../libssl.a
35 LIBCRYPTO= -L.. -lcrypto
36 LIBSSL= -L.. -lssl
37
38 BNTEST=         bntest
39 ECTEST=         ectest
40 ECDSATEST=      ecdsatest
41 ECDHTEST=       ecdhtest
42 EXPTEST=        exptest
43 IDEATEST=       ideatest
44 SHATEST=        shatest
45 SHA1TEST=       sha1test
46 SHA256TEST=     sha256t
47 SHA512TEST=     sha512t
48 MDC2TEST=       mdc2test
49 RMDTEST=        rmdtest
50 MD2TEST=        md2test
51 MD4TEST=        md4test
52 MD5TEST=        md5test
53 HMACTEST=       hmactest
54 RC2TEST=        rc2test
55 RC4TEST=        rc4test
56 RC5TEST=        rc5test
57 BFTEST=         bftest
58 CASTTEST=       casttest
59 DESTEST=        destest
60 RANDTEST=       randtest
61 DHTEST=         dhtest
62 DSATEST=        dsatest
63 METHTEST=       methtest
64 SSLTEST=        ssltest
65 RSATEST=        rsa_test
66 ENGINETEST=     enginetest
67 EVPTEST=        evp_test
68
69 TESTS=          alltests
70
71 EXE=    $(BNTEST)$(EXE_EXT) $(ECTEST)$(EXE_EXT)  $(ECDSATEST)$(EXE_EXT) $(ECDHTEST)$(EXE_EXT) $(IDEATEST)$(EXE_EXT) \
72         $(MD2TEST)$(EXE_EXT)  $(MD4TEST)$(EXE_EXT) $(MD5TEST)$(EXE_EXT) $(HMACTEST)$(EXE_EXT) \
73         $(RC2TEST)$(EXE_EXT) $(RC4TEST)$(EXE_EXT) $(RC5TEST)$(EXE_EXT) \
74         $(DESTEST)$(EXE_EXT) $(SHATEST)$(EXE_EXT) $(SHA1TEST)$(EXE_EXT) $(SHA256TEST)$(EXE_EXT) $(SHA512TEST)$(EXE_EXT) \
75         $(MDC2TEST)$(EXE_EXT) $(RMDTEST)$(EXE_EXT) \
76         $(RANDTEST)$(EXE_EXT) $(DHTEST)$(EXE_EXT) $(ENGINETEST)$(EXE_EXT) \
77         $(BFTEST)$(EXE_EXT) $(CASTTEST)$(EXE_EXT) $(SSLTEST)$(EXE_EXT) $(EXPTEST)$(EXE_EXT) $(DSATEST)$(EXE_EXT) $(RSATEST)$(EXE_EXT) \
78         $(EVPTEST)$(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 \
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
91 SRC=    $(BNTEST).c $(ECTEST).c  $(ECDSATEST).c $(ECDHTEST).c $(IDEATEST).c \
92         $(MD2TEST).c  $(MD4TEST).c $(MD5TEST).c \
93         $(HMACTEST).c \
94         $(RC2TEST).c $(RC4TEST).c $(RC5TEST).c \
95         $(DESTEST).c $(SHATEST).c $(SHA1TEST).c $(MDC2TEST).c $(RMDTEST).c \
96         $(RANDTEST).c $(DHTEST).c $(ENGINETEST).c $(CASTTEST).c \
97         $(BFTEST).c  $(SSLTEST).c $(DSATEST).c   $(EXPTEST).c $(RSATEST).c \
98         $(EVPTEST).c
99
100 EXHEADER= 
101 HEADER= $(EXHEADER)
102
103 ALL=    $(GENERAL) $(SRC) $(HEADER)
104
105 top:
106         (cd ..; $(MAKE) DIRS=$(DIR) TESTS=$(TESTS) all)
107
108 all:    exe
109
110 exe:    $(EXE) dummytest$(EXE_EXT)
111
112 files:
113         $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
114
115 links:
116         @sh $(TOP)/util/point.sh Makefile.ssl Makefile
117
118 generate: $(SRC)
119 $(SRC):
120         @sh $(TOP)/util/point.sh dummytest.c $@
121
122 errors:
123
124 install:
125
126 tags:
127         ctags $(SRC)
128
129 tests:  exe apps $(TESTS)
130
131 apps:
132         @(cd ..; $(MAKE) DIRS=apps all)
133
134 alltests: \
135         test_des test_idea test_sha test_md4 test_md5 test_hmac \
136         test_md2 test_mdc2 \
137         test_rmd test_rc2 test_rc4 test_rc5 test_bf test_cast test_aes \
138         test_rand test_bn test_ec test_ecdsa test_ecdh \
139         test_enc test_x509 test_rsa test_crl test_sid \
140         test_gen test_req test_pkcs7 test_verify test_dh test_dsa \
141         test_ss test_ca test_engine test_evp test_ssl
142
143 test_evp:
144         ../util/shlib_wrap.sh ./$(EVPTEST) evptests.txt
145
146 test_des:
147         ../util/shlib_wrap.sh ./$(DESTEST)
148
149 test_idea:
150         ../util/shlib_wrap.sh ./$(IDEATEST)
151
152 test_sha:
153         ../util/shlib_wrap.sh ./$(SHATEST)
154         ../util/shlib_wrap.sh ./$(SHA1TEST)
155         ../util/shlib_wrap.sh ./$(SHA256TEST)
156         ../util/shlib_wrap.sh ./$(SHA512TEST)
157
158 test_mdc2:
159         ../util/shlib_wrap.sh ./$(MDC2TEST)
160
161 test_md5:
162         ../util/shlib_wrap.sh ./$(MD5TEST)
163
164 test_md4:
165         ../util/shlib_wrap.sh ./$(MD4TEST)
166
167 test_hmac:
168         ../util/shlib_wrap.sh ./$(HMACTEST)
169
170 test_md2:
171         ../util/shlib_wrap.sh ./$(MD2TEST)
172
173 test_rmd:
174         ../util/shlib_wrap.sh ./$(RMDTEST)
175
176 test_bf:
177         ../util/shlib_wrap.sh ./$(BFTEST)
178
179 test_cast:
180         ../util/shlib_wrap.sh ./$(CASTTEST)
181
182 test_rc2:
183         ../util/shlib_wrap.sh ./$(RC2TEST)
184
185 test_rc4:
186         ../util/shlib_wrap.sh ./$(RC4TEST)
187
188 test_rc5:
189         ../util/shlib_wrap.sh ./$(RC5TEST)
190
191 test_rand:
192         ../util/shlib_wrap.sh ./$(RANDTEST)
193
194 test_enc:
195         @sh ./testenc
196
197 test_x509:
198         echo test normal x509v1 certificate
199         sh ./tx509 2>/dev/null
200         echo test first x509v3 certificate
201         sh ./tx509 v3-cert1.pem 2>/dev/null
202         echo test second x509v3 certificate
203         sh ./tx509 v3-cert2.pem 2>/dev/null
204
205 test_rsa:
206         @sh ./trsa 2>/dev/null
207         ../util/shlib_wrap.sh ./$(RSATEST)
208
209 test_crl:
210         @sh ./tcrl 2>/dev/null
211
212 test_sid:
213         @sh ./tsid 2>/dev/null
214
215 test_req:
216         @sh ./treq 2>/dev/null
217         @sh ./treq testreq2.pem 2>/dev/null
218
219 test_pkcs7:
220         @sh ./tpkcs7 2>/dev/null
221         @sh ./tpkcs7d 2>/dev/null
222
223 test_bn:
224         @echo starting big number library test, could take a while...
225         @../util/shlib_wrap.sh ./$(BNTEST) >tmp.bntest
226         @echo quit >>tmp.bntest
227         @echo "running bc"
228         @<tmp.bntest sh -c "`sh ./bctest ignore`" | $(PERL) -e '$$i=0; while (<STDIN>) {if (/^test (.*)/) {print STDERR "\nverify $$1";} elsif (!/^0$$/) {die "\nFailed! bc: $$_";} else {print STDERR "."; $$i++;}} print STDERR "\n$$i tests passed\n"'
229         @echo 'test a^b%c implementations'
230         ../util/shlib_wrap.sh ./$(EXPTEST)
231
232 test_ec:
233         @echo 'test elliptic curves'
234         ../util/shlib_wrap.sh ./$(ECTEST)
235
236 test_ecdsa:
237         @echo 'test ecdsa'
238         ../util/shlib_wrap.sh ./$(ECDSATEST)
239
240 test_ecdh:
241         @echo 'test ecdh'
242         ../util/shlib_wrap.sh ./$(ECDHTEST)
243
244 test_verify:
245         @echo "The following command should have some OK's and some failures"
246         @echo "There are definitly a few expired certificates"
247         ../util/shlib_wrap.sh ../apps/openssl verify -CApath ../certs ../certs/*.pem
248
249 test_dh:
250         @echo "Generate a set of DH parameters"
251         ../util/shlib_wrap.sh ./$(DHTEST)
252
253 test_dsa:
254         @echo "Generate a set of DSA parameters"
255         ../util/shlib_wrap.sh ./$(DSATEST)
256         ../util/shlib_wrap.sh ./$(DSATEST) -app2_1
257
258 test_gen:
259         @echo "Generate and verify a certificate request"
260         @sh ./testgen
261
262 test_ss keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
263                 intP1.ss intP2.ss: testss
264         @echo "Generate and certify a test certificate"
265         @sh ./testss
266         @cat certCA.ss certU.ss > intP1.ss
267         @cat certCA.ss certU.ss certP1.ss > intP2.ss
268
269 test_engine: 
270         @echo "Manipulate the ENGINE structures"
271         ../util/shlib_wrap.sh ./$(ENGINETEST)
272
273 test_ssl: keyU.ss certU.ss certCA.ss certP1.ss keyP1.ss certP2.ss keyP2.ss \
274                 intP1.ss intP2.ss
275         @echo "test SSL protocol"
276         @sh ./testssl keyU.ss certU.ss certCA.ss
277         @sh ./testsslproxy keyP1.ss certP1.ss intP1.ss
278         @sh ./testsslproxy keyP2.ss certP2.ss intP2.ss
279
280 test_ca:
281         @if ../util/shlib_wrap.sh ../apps/openssl no-rsa; then \
282           echo "skipping CA.sh test -- requires RSA"; \
283         else \
284           echo "Generate and certify a test certificate via the 'ca' program"; \
285           sh ./testca; \
286         fi
287
288 test_aes: #$(AESTEST)
289 #       @echo "test Rijndael"
290 #       ../util/shlib_wrap.sh ./$(AESTEST)
291
292 lint:
293         lint -DLINT $(INCLUDES) $(SRC)>fluff
294
295 depend:
296         $(MAKEDEPEND) -- $(CFLAG) $(INCLUDES) $(DEPFLAG) -- $(PROGS) $(SRC)
297
298 dclean:
299         $(PERL) -pe 'if (/^# DO NOT DELETE THIS LINE/) {print; exit(0);}' $(MAKEFILE) >Makefile.new
300         mv -f Makefile.new $(MAKEFILE)
301
302 clean:
303         rm -f .rnd tmp.bntest tmp.bctest *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log
304
305 $(DLIBSSL):
306         (cd ..; $(MAKE) DIRS=ssl all)
307
308 $(DLIBCRYPTO):
309         (cd ..; $(MAKE) DIRS=crypto all)
310
311 $(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO)
312         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
313                 shlib_target="$(SHLIB_TARGET)"; \
314         fi; \
315         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
316           LIBRARIES="$(DLIBCRYPTO)"; \
317         else \
318           LIBRARIES="$(LIBCRYPTO)"; \
319         fi; \
320         $(NEWMAKE) -f $(TOP)/Makefile.shared \
321                 APPNAME=$(RSATEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
322                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
323                 OBJECTS="$(RSATEST).o" \
324                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
325                 LIBRPATH=$(INSTALLTOP)/lib \
326                 link_app.$${shlib_target}
327
328 $(BNTEST)$(EXE_EXT): $(BNTEST).o $(DLIBCRYPTO)
329         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
330                 shlib_target="$(SHLIB_TARGET)"; \
331         fi; \
332         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
333           LIBRARIES="$(DLIBCRYPTO)"; \
334         else \
335           LIBRARIES="$(LIBCRYPTO)"; \
336         fi; \
337         $(NEWMAKE) -f $(TOP)/Makefile.shared \
338                 APPNAME=$(BNTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
339                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
340                 OBJECTS="$(BNTEST).o" \
341                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
342                 LIBRPATH=$(INSTALLTOP)/lib \
343                 link_app.$${shlib_target}
344
345 $(ECTEST)$(EXE_EXT): $(ECTEST).o $(DLIBCRYPTO)
346         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
347                 shlib_target="$(SHLIB_TARGET)"; \
348         fi; \
349         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
350           LIBRARIES="$(DLIBCRYPTO)"; \
351         else \
352           LIBRARIES="$(LIBCRYPTO)"; \
353         fi; \
354         $(NEWMAKE) -f $(TOP)/Makefile.shared \
355                 APPNAME=$(ECTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
356                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
357                 OBJECTS="$(ECTEST).o" \
358                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
359                 LIBRPATH=$(INSTALLTOP)/lib \
360                 link_app.$${shlib_target}
361
362 $(EXPTEST)$(EXE_EXT): $(EXPTEST).o $(DLIBCRYPTO)
363         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
364                 shlib_target="$(SHLIB_TARGET)"; \
365         fi; \
366         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
367           LIBRARIES="$(DLIBCRYPTO)"; \
368         else \
369           LIBRARIES="$(LIBCRYPTO)"; \
370         fi; \
371         $(NEWMAKE) -f $(TOP)/Makefile.shared \
372                 APPNAME=$(EXPTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
373                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
374                 OBJECTS="$(EXPTEST).o" \
375                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
376                 LIBRPATH=$(INSTALLTOP)/lib \
377                 link_app.$${shlib_target}
378
379 $(IDEATEST)$(EXE_EXT): $(IDEATEST).o $(DLIBCRYPTO)
380         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
381                 shlib_target="$(SHLIB_TARGET)"; \
382         fi; \
383         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
384           LIBRARIES="$(DLIBCRYPTO)"; \
385         else \
386           LIBRARIES="$(LIBCRYPTO)"; \
387         fi; \
388         $(NEWMAKE) -f $(TOP)/Makefile.shared \
389                 APPNAME=$(IDEATEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
390                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
391                 OBJECTS="$(IDEATEST).o" \
392                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
393                 LIBRPATH=$(INSTALLTOP)/lib \
394                 link_app.$${shlib_target}
395
396 $(MD2TEST)$(EXE_EXT): $(MD2TEST).o $(DLIBCRYPTO)
397         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
398                 shlib_target="$(SHLIB_TARGET)"; \
399         fi; \
400         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
401           LIBRARIES="$(DLIBCRYPTO)"; \
402         else \
403           LIBRARIES="$(LIBCRYPTO)"; \
404         fi; \
405         $(NEWMAKE) -f $(TOP)/Makefile.shared \
406                 APPNAME=$(MD2TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
407                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
408                 OBJECTS="$(MD2TEST).o" \
409                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
410                 LIBRPATH=$(INSTALLTOP)/lib \
411                 link_app.$${shlib_target}
412
413 $(SHATEST)$(EXE_EXT): $(SHATEST).o $(DLIBCRYPTO)
414         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
415                 shlib_target="$(SHLIB_TARGET)"; \
416         fi; \
417         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
418           LIBRARIES="$(DLIBCRYPTO)"; \
419         else \
420           LIBRARIES="$(LIBCRYPTO)"; \
421         fi; \
422         $(NEWMAKE) -f $(TOP)/Makefile.shared \
423                 APPNAME=$(SHATEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
424                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
425                 OBJECTS="$(SHATEST).o" \
426                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
427                 LIBRPATH=$(INSTALLTOP)/lib \
428                 link_app.$${shlib_target}
429
430 $(SHA1TEST)$(EXE_EXT): $(SHA1TEST).o $(DLIBCRYPTO)
431         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
432                 shlib_target="$(SHLIB_TARGET)"; \
433         fi; \
434         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
435           LIBRARIES="$(DLIBCRYPTO)"; \
436         else \
437           LIBRARIES="$(LIBCRYPTO)"; \
438         fi; \
439         $(NEWMAKE) -f $(TOP)/Makefile.shared \
440                 APPNAME=$(SHA1TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
441                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
442                 OBJECTS="$(SHA1TEST).o" \
443                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
444                 LIBRPATH=$(INSTALLTOP)/lib \
445                 link_app.$${shlib_target}
446
447 $(SHA256TEST)$(EXE_EXT): $(SHA256TEST).o $(DLIBCRYPTO)
448         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
449                 shlib_target="$(SHLIB_TARGET)"; \
450         fi; \
451         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
452           LIBRARIES="$(DLIBCRYPTO)"; \
453         else \
454           LIBRARIES="$(LIBCRYPTO)"; \
455         fi; \
456         $(NEWMAKE) -f $(TOP)/Makefile.shared \
457                 APPNAME=$(SHA256TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
458                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
459                 OBJECTS="$(SHA256TEST).o" \
460                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
461                 LIBRPATH=$(INSTALLTOP)/lib \
462                 link_app.$${shlib_target}
463
464 $(SHA512TEST)$(EXE_EXT): $(SHA512TEST).o $(DLIBCRYPTO)
465         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
466                 shlib_target="$(SHLIB_TARGET)"; \
467         fi; \
468         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
469           LIBRARIES="$(DLIBCRYPTO)"; \
470         else \
471           LIBRARIES="$(LIBCRYPTO)"; \
472         fi; \
473         $(NEWMAKE) -f $(TOP)/Makefile.shared \
474                 APPNAME=$(SHA512TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
475                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
476                 OBJECTS="$(SHA512TEST).o" \
477                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
478                 LIBRPATH=$(INSTALLTOP)/lib \
479                 link_app.$${shlib_target}
480
481 $(RMDTEST)$(EXE_EXT): $(RMDTEST).o $(DLIBCRYPTO)
482         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
483                 shlib_target="$(SHLIB_TARGET)"; \
484         fi; \
485         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
486           LIBRARIES="$(DLIBCRYPTO)"; \
487         else \
488           LIBRARIES="$(LIBCRYPTO)"; \
489         fi; \
490         $(NEWMAKE) -f $(TOP)/Makefile.shared \
491                 APPNAME=$(RMDTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
492                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
493                 OBJECTS="$(RMDTEST).o" \
494                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
495                 LIBRPATH=$(INSTALLTOP)/lib \
496                 link_app.$${shlib_target}
497
498 $(MDC2TEST)$(EXE_EXT): $(MDC2TEST).o $(DLIBCRYPTO)
499         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
500                 shlib_target="$(SHLIB_TARGET)"; \
501         fi; \
502         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
503           LIBRARIES="$(DLIBCRYPTO)"; \
504         else \
505           LIBRARIES="$(LIBCRYPTO)"; \
506         fi; \
507         $(NEWMAKE) -f $(TOP)/Makefile.shared \
508                 APPNAME=$(MDC2TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
509                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
510                 OBJECTS="$(MDC2TEST).o" \
511                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
512                 LIBRPATH=$(INSTALLTOP)/lib \
513                 link_app.$${shlib_target}
514
515 $(MD4TEST)$(EXE_EXT): $(MD4TEST).o $(DLIBCRYPTO)
516         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
517                 shlib_target="$(SHLIB_TARGET)"; \
518         fi; \
519         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
520           LIBRARIES="$(DLIBCRYPTO)"; \
521         else \
522           LIBRARIES="$(LIBCRYPTO)"; \
523         fi; \
524         $(NEWMAKE) -f $(TOP)/Makefile.shared \
525                 APPNAME=$(MD4TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
526                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
527                 OBJECTS="$(MD4TEST).o" \
528                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
529                 LIBRPATH=$(INSTALLTOP)/lib \
530                 link_app.$${shlib_target}
531
532 $(MD5TEST)$(EXE_EXT): $(MD5TEST).o $(DLIBCRYPTO)
533         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
534                 shlib_target="$(SHLIB_TARGET)"; \
535         fi; \
536         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
537           LIBRARIES="$(DLIBCRYPTO)"; \
538         else \
539           LIBRARIES="$(LIBCRYPTO)"; \
540         fi; \
541         $(NEWMAKE) -f $(TOP)/Makefile.shared \
542                 APPNAME=$(MD5TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
543                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
544                 OBJECTS="$(MD5TEST).o" \
545                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
546                 LIBRPATH=$(INSTALLTOP)/lib \
547                 link_app.$${shlib_target}
548
549 $(HMACTEST)$(EXE_EXT): $(HMACTEST).o $(DLIBCRYPTO)
550         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
551                 shlib_target="$(SHLIB_TARGET)"; \
552         fi; \
553         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
554           LIBRARIES="$(DLIBCRYPTO)"; \
555         else \
556           LIBRARIES="$(LIBCRYPTO)"; \
557         fi; \
558         $(NEWMAKE) -f $(TOP)/Makefile.shared \
559                 APPNAME=$(HMACTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
560                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
561                 OBJECTS="$(HMACTEST).o" \
562                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
563                 LIBRPATH=$(INSTALLTOP)/lib \
564                 link_app.$${shlib_target}
565
566 $(RC2TEST)$(EXE_EXT): $(RC2TEST).o $(DLIBCRYPTO)
567         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
568                 shlib_target="$(SHLIB_TARGET)"; \
569         fi; \
570         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
571           LIBRARIES="$(DLIBCRYPTO)"; \
572         else \
573           LIBRARIES="$(LIBCRYPTO)"; \
574         fi; \
575         $(NEWMAKE) -f $(TOP)/Makefile.shared \
576                 APPNAME=$(RC2TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
577                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
578                 OBJECTS="$(RC2TEST).o" \
579                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
580                 LIBRPATH=$(INSTALLTOP)/lib \
581                 link_app.$${shlib_target}
582
583 $(BFTEST)$(EXE_EXT): $(BFTEST).o $(DLIBCRYPTO)
584         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
585                 shlib_target="$(SHLIB_TARGET)"; \
586         fi; \
587         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
588           LIBRARIES="$(DLIBCRYPTO)"; \
589         else \
590           LIBRARIES="$(LIBCRYPTO)"; \
591         fi; \
592         $(NEWMAKE) -f $(TOP)/Makefile.shared \
593                 APPNAME=$(BFTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
594                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
595                 OBJECTS="$(BFTEST).o" \
596                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
597                 LIBRPATH=$(INSTALLTOP)/lib \
598                 link_app.$${shlib_target}
599
600 $(CASTTEST)$(EXE_EXT): $(CASTTEST).o $(DLIBCRYPTO)
601         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
602                 shlib_target="$(SHLIB_TARGET)"; \
603         fi; \
604         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
605           LIBRARIES="$(DLIBCRYPTO)"; \
606         else \
607           LIBRARIES="$(LIBCRYPTO)"; \
608         fi; \
609         $(NEWMAKE) -f $(TOP)/Makefile.shared \
610                 APPNAME=$(CASTTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
611                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
612                 OBJECTS="$(CASTTEST).o" \
613                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
614                 LIBRPATH=$(INSTALLTOP)/lib \
615                 link_app.$${shlib_target}
616
617 $(RC4TEST)$(EXE_EXT): $(RC4TEST).o $(DLIBCRYPTO)
618         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
619                 shlib_target="$(SHLIB_TARGET)"; \
620         fi; \
621         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
622           LIBRARIES="$(DLIBCRYPTO)"; \
623         else \
624           LIBRARIES="$(LIBCRYPTO)"; \
625         fi; \
626         $(NEWMAKE) -f $(TOP)/Makefile.shared \
627                 APPNAME=$(RC4TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
628                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
629                 OBJECTS="$(RC4TEST).o" \
630                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
631                 LIBRPATH=$(INSTALLTOP)/lib \
632                 link_app.$${shlib_target}
633
634 $(RC5TEST)$(EXE_EXT): $(RC5TEST).o $(DLIBCRYPTO)
635         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
636                 shlib_target="$(SHLIB_TARGET)"; \
637         fi; \
638         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
639           LIBRARIES="$(DLIBCRYPTO)"; \
640         else \
641           LIBRARIES="$(LIBCRYPTO)"; \
642         fi; \
643         $(NEWMAKE) -f $(TOP)/Makefile.shared \
644                 APPNAME=$(RC5TEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
645                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
646                 OBJECTS="$(RC5TEST).o" \
647                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
648                 LIBRPATH=$(INSTALLTOP)/lib \
649                 link_app.$${shlib_target}
650
651 $(DESTEST)$(EXE_EXT): $(DESTEST).o $(DLIBCRYPTO)
652         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
653                 shlib_target="$(SHLIB_TARGET)"; \
654         fi; \
655         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
656           LIBRARIES="$(DLIBCRYPTO)"; \
657         else \
658           LIBRARIES="$(LIBCRYPTO)"; \
659         fi; \
660         $(NEWMAKE) -f $(TOP)/Makefile.shared \
661                 APPNAME=$(DESTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
662                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
663                 OBJECTS="$(DESTEST).o" \
664                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
665                 LIBRPATH=$(INSTALLTOP)/lib \
666                 link_app.$${shlib_target}
667
668 $(RANDTEST)$(EXE_EXT): $(RANDTEST).o $(DLIBCRYPTO)
669         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
670                 shlib_target="$(SHLIB_TARGET)"; \
671         fi; \
672         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
673           LIBRARIES="$(DLIBCRYPTO)"; \
674         else \
675           LIBRARIES="$(LIBCRYPTO)"; \
676         fi; \
677         $(NEWMAKE) -f $(TOP)/Makefile.shared \
678                 APPNAME=$(RANDTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
679                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
680                 OBJECTS="$(RANDTEST).o" \
681                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
682                 LIBRPATH=$(INSTALLTOP)/lib \
683                 link_app.$${shlib_target}
684
685 $(DHTEST)$(EXE_EXT): $(DHTEST).o $(DLIBCRYPTO)
686         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
687                 shlib_target="$(SHLIB_TARGET)"; \
688         fi; \
689         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
690           LIBRARIES="$(DLIBCRYPTO)"; \
691         else \
692           LIBRARIES="$(LIBCRYPTO)"; \
693         fi; \
694         $(NEWMAKE) -f $(TOP)/Makefile.shared \
695                 APPNAME=$(DHTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
696                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
697                 OBJECTS="$(DHTEST).o" \
698                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
699                 LIBRPATH=$(INSTALLTOP)/lib \
700                 link_app.$${shlib_target}
701
702 $(DSATEST)$(EXE_EXT): $(DSATEST).o $(DLIBCRYPTO)
703         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
704                 shlib_target="$(SHLIB_TARGET)"; \
705         fi; \
706         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
707           LIBRARIES="$(DLIBCRYPTO)"; \
708         else \
709           LIBRARIES="$(LIBCRYPTO)"; \
710         fi; \
711         $(NEWMAKE) -f $(TOP)/Makefile.shared \
712                 APPNAME=$(DSATEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
713                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
714                 OBJECTS="$(DSATEST).o" \
715                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
716                 LIBRPATH=$(INSTALLTOP)/lib \
717                 link_app.$${shlib_target}
718
719 $(METHTEST)$(EXE_EXT): $(METHTEST).o $(DLIBCRYPTO)
720         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
721                 shlib_target="$(SHLIB_TARGET)"; \
722         fi; \
723         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
724           LIBRARIES="$(DLIBCRYPTO)"; \
725         else \
726           LIBRARIES="$(LIBCRYPTO)"; \
727         fi; \
728         $(NEWMAKE) -f $(TOP)/Makefile.shared \
729                 APPNAME=$(METHTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
730                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
731                 OBJECTS="$(METHTEST).o" \
732                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
733                 LIBRPATH=$(INSTALLTOP)/lib \
734                 link_app.$${shlib_target}
735
736 $(SSLTEST)$(EXE_EXT): $(SSLTEST).o $(DLIBSSL) $(DLIBCRYPTO)
737         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
738                 shlib_target="$(SHLIB_TARGET)"; \
739         fi; \
740         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
741           LIBRARIES="$(DLIBSSL) $(LIBKRB5) $(DLIBCRYPTO)"; \
742         else \
743           LIBRARIES="$(LIBSSL) $(LIBKRB5) $(LIBCRYPTO)"; \
744         fi; \
745         $(NEWMAKE) -f $(TOP)/Makefile.shared \
746                 APPNAME=$(SSLTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
747                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
748                 OBJECTS="$(SSLTEST).o" \
749                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
750                 LIBRPATH=$(INSTALLTOP)/lib \
751                 link_app.$${shlib_target}
752
753 $(ENGINETEST)$(EXE_EXT): $(ENGINETEST).o $(DLIBCRYPTO)
754         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
755                 shlib_target="$(SHLIB_TARGET)"; \
756         fi; \
757         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
758           LIBRARIES="$(DLIBCRYPTO)"; \
759         else \
760           LIBRARIES="$(LIBCRYPTO)"; \
761         fi; \
762         $(NEWMAKE) -f $(TOP)/Makefile.shared \
763                 APPNAME=$(ENGINETEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
764                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
765                 OBJECTS="$(ENGINETEST).o" \
766                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
767                 LIBRPATH=$(INSTALLTOP)/lib \
768                 link_app.$${shlib_target}
769
770 $(EVPTEST)$(EXE_EXT): $(EVPTEST).o $(DLIBCRYPTO)
771         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
772                 shlib_target="$(SHLIB_TARGET)"; \
773         fi; \
774         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
775           LIBRARIES="$(DLIBCRYPTO)"; \
776         else \
777           LIBRARIES="$(LIBCRYPTO)"; \
778         fi; \
779         $(NEWMAKE) -f $(TOP)/Makefile.shared \
780                 APPNAME=$(EVPTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
781                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
782                 OBJECTS="$(EVPTEST).o" \
783                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
784                 LIBRPATH=$(INSTALLTOP)/lib \
785                 link_app.$${shlib_target}
786
787 $(ECDSATEST)$(EXE_EXT): $(ECDSATEST).o $(DLIBCRYPTO)
788         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
789                 shlib_target="$(SHLIB_TARGET)"; \
790         fi; \
791         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
792           LIBRARIES="$(DLIBCRYPTO)"; \
793         else \
794           LIBRARIES="$(LIBCRYPTO)"; \
795         fi; \
796         $(NEWMAKE) -f $(TOP)/Makefile.shared \
797                 APPNAME=$(ECDSATEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
798                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
799                 OBJECTS="$(ECDSATEST).o" \
800                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
801                 LIBRPATH=$(INSTALLTOP)/lib \
802                 link_app.$${shlib_target}
803
804 $(ECDHTEST)$(EXE_EXT): $(ECDHTEST).o $(DLIBCRYPTO)
805         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
806                 shlib_target="$(SHLIB_TARGET)"; \
807         fi; \
808         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
809           LIBRARIES="$(DLIBCRYPTO)"; \
810         else \
811           LIBRARIES="$(LIBCRYPTO)"; \
812         fi; \
813         $(NEWMAKE) -f $(TOP)/Makefile.shared \
814                 APPNAME=$(ECDHTEST)$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
815                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
816                 OBJECTS="$(ECDHTEST).o" \
817                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
818                 LIBRPATH=$(INSTALLTOP)/lib \
819                 link_app.$${shlib_target}
820
821 #$(AESTEST).o: $(AESTEST).c
822 #       $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c
823
824 #$(AESTEST)$(EXE_EXT): $(AESTEST).o $(DLIBCRYPTO)
825 #       if [ "$(SHLIB_TARGET)" = "hpux-shared" -o "$(SHLIB_TARGET)" = "darwin-shared" ] ; then \
826 #         $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(DLIBCRYPTO) $(EX_LIBS) ; \
827 #       else \
828 #         $(CC) -o $(AESTEST)$(EXE_EXT) $(CFLAGS) $(AESTEST).o $(PEX_LIBS) $(LIBCRYPTO) $(EX_LIBS) ; \
829 #       fi
830
831 dummytest$(EXE_EXT): dummytest.o $(DLIBCRYPTO)
832         shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
833                 shlib_target="$(SHLIB_TARGET)"; \
834         fi; \
835         if [ "$${shlib_target}" = "hpux-shared" -o "$${shlib_target}" = "darwin-shared" ] ; then \
836           LIBRARIES="$(DLIBCRYPTO)"; \
837         else \
838           LIBRARIES="$(LIBCRYPTO)"; \
839         fi; \
840         $(NEWMAKE) -f $(TOP)/Makefile.shared \
841                 APPNAME=dummytest$(EXE_EXT) CC="$(CC)" CFLAGS="$(CFLAGS)" \
842                 LDFLAGS="$(LDFLAGS)" SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
843                 OBJECTS="dummytest.o" \
844                 LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \
845                 LIBRPATH=$(INSTALLTOP)/lib \
846                 link_app.$${shlib_target}
847         @for i in `ls ../*.dll 2>/dev/null`; do cp -p $$i .; done; exit 0
848
849 # DO NOT DELETE THIS LINE -- make depend depends on it.
850
851 bftest.o: ../e_os.h ../include/openssl/blowfish.h ../include/openssl/e_os2.h
852 bftest.o: ../include/openssl/opensslconf.h bftest.c
853 bntest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
854 bntest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
855 bntest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
856 bntest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
857 bntest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
858 bntest.o: ../include/openssl/ecdsa.h ../include/openssl/err.h
859 bntest.o: ../include/openssl/evp.h ../include/openssl/lhash.h
860 bntest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
861 bntest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
862 bntest.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
863 bntest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
864 bntest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
865 bntest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
866 bntest.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h bntest.c
867 casttest.o: ../e_os.h ../include/openssl/cast.h ../include/openssl/e_os2.h
868 casttest.o: ../include/openssl/opensslconf.h casttest.c
869 destest.o: ../include/openssl/des.h ../include/openssl/des_old.h
870 destest.o: ../include/openssl/e_os2.h ../include/openssl/opensslconf.h
871 destest.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
872 destest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
873 destest.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h destest.c
874 dhtest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
875 dhtest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
876 dhtest.o: ../include/openssl/e_os2.h ../include/openssl/err.h
877 dhtest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
878 dhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
879 dhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
880 dhtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h dhtest.c
881 dsatest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
882 dsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
883 dsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
884 dsatest.o: ../include/openssl/err.h ../include/openssl/lhash.h
885 dsatest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
886 dsatest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
887 dsatest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
888 dsatest.o: ../include/openssl/symhacks.h dsatest.c
889 ecdhtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
890 ecdhtest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
891 ecdhtest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
892 ecdhtest.o: ../include/openssl/ecdh.h ../include/openssl/err.h
893 ecdhtest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
894 ecdhtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
895 ecdhtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
896 ecdhtest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
897 ecdhtest.o: ../include/openssl/sha.h ../include/openssl/stack.h
898 ecdhtest.o: ../include/openssl/symhacks.h ecdhtest.c
899 ecdsatest.o: ../include/openssl/asn1.h ../include/openssl/bio.h
900 ecdsatest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
901 ecdsatest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
902 ecdsatest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
903 ecdsatest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
904 ecdsatest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
905 ecdsatest.o: ../include/openssl/err.h ../include/openssl/evp.h
906 ecdsatest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
907 ecdsatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
908 ecdsatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
909 ecdsatest.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
910 ecdsatest.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
911 ecdsatest.o: ../include/openssl/sha.h ../include/openssl/stack.h
912 ecdsatest.o: ../include/openssl/store.h ../include/openssl/symhacks.h
913 ecdsatest.o: ../include/openssl/ui.h ../include/openssl/x509.h
914 ecdsatest.o: ../include/openssl/x509_vfy.h ecdsatest.c
915 ectest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
916 ectest.o: ../include/openssl/bn.h ../include/openssl/crypto.h
917 ectest.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
918 ectest.o: ../include/openssl/engine.h ../include/openssl/err.h
919 ectest.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
920 ectest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
921 ectest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
922 ectest.o: ../include/openssl/rand.h ../include/openssl/safestack.h
923 ectest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h ectest.c
924 enginetest.o: ../include/openssl/bio.h ../include/openssl/buffer.h
925 enginetest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
926 enginetest.o: ../include/openssl/engine.h ../include/openssl/err.h
927 enginetest.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
928 enginetest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
929 enginetest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
930 enginetest.o: ../include/openssl/symhacks.h enginetest.c
931 evp_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
932 evp_test.o: ../include/openssl/conf.h ../include/openssl/crypto.h
933 evp_test.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
934 evp_test.o: ../include/openssl/err.h ../include/openssl/evp.h
935 evp_test.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
936 evp_test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
937 evp_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
938 evp_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
939 evp_test.o: ../include/openssl/symhacks.h evp_test.c
940 exptest.o: ../e_os.h ../include/openssl/bio.h ../include/openssl/bn.h
941 exptest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
942 exptest.o: ../include/openssl/err.h ../include/openssl/lhash.h
943 exptest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
944 exptest.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
945 exptest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
946 exptest.o: ../include/openssl/symhacks.h exptest.c
947 hmactest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
948 hmactest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
949 hmactest.o: ../include/openssl/evp.h ../include/openssl/hmac.h
950 hmactest.o: ../include/openssl/md5.h ../include/openssl/obj_mac.h
951 hmactest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
952 hmactest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
953 hmactest.o: ../include/openssl/safestack.h ../include/openssl/stack.h
954 hmactest.o: ../include/openssl/symhacks.h hmactest.c
955 ideatest.o: ../e_os.h ../include/openssl/e_os2.h ../include/openssl/idea.h
956 ideatest.o: ../include/openssl/opensslconf.h ideatest.c
957 md2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
958 md2test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
959 md2test.o: ../include/openssl/evp.h ../include/openssl/md2.h
960 md2test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
961 md2test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
962 md2test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
963 md2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md2test.c
964 md4test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
965 md4test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
966 md4test.o: ../include/openssl/evp.h ../include/openssl/md4.h
967 md4test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
968 md4test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
969 md4test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
970 md4test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md4test.c
971 md5test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
972 md5test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
973 md5test.o: ../include/openssl/evp.h ../include/openssl/md5.h
974 md5test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
975 md5test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
976 md5test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
977 md5test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h md5test.c
978 mdc2test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
979 mdc2test.o: ../include/openssl/crypto.h ../include/openssl/des.h
980 mdc2test.o: ../include/openssl/des_old.h ../include/openssl/e_os2.h
981 mdc2test.o: ../include/openssl/evp.h ../include/openssl/mdc2.h
982 mdc2test.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
983 mdc2test.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
984 mdc2test.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
985 mdc2test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
986 mdc2test.o: ../include/openssl/ui.h ../include/openssl/ui_compat.h mdc2test.c
987 randtest.o: ../e_os.h ../include/openssl/e_os2.h
988 randtest.o: ../include/openssl/opensslconf.h ../include/openssl/ossl_typ.h
989 randtest.o: ../include/openssl/rand.h randtest.c
990 rc2test.o: ../e_os.h ../include/openssl/e_os2.h
991 rc2test.o: ../include/openssl/opensslconf.h ../include/openssl/rc2.h rc2test.c
992 rc4test.o: ../e_os.h ../include/openssl/e_os2.h
993 rc4test.o: ../include/openssl/opensslconf.h ../include/openssl/rc4.h
994 rc4test.o: ../include/openssl/sha.h rc4test.c
995 rc5test.o: ../e_os.h ../include/openssl/e_os2.h
996 rc5test.o: ../include/openssl/opensslconf.h ../include/openssl/rc5.h rc5test.c
997 rmdtest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
998 rmdtest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
999 rmdtest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
1000 rmdtest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
1001 rmdtest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
1002 rmdtest.o: ../include/openssl/ripemd.h ../include/openssl/safestack.h
1003 rmdtest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h rmdtest.c
1004 rsa_test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
1005 rsa_test.o: ../include/openssl/bn.h ../include/openssl/crypto.h
1006 rsa_test.o: ../include/openssl/e_os2.h ../include/openssl/err.h
1007 rsa_test.o: ../include/openssl/lhash.h ../include/openssl/opensslconf.h
1008 rsa_test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
1009 rsa_test.o: ../include/openssl/rand.h ../include/openssl/rsa.h
1010 rsa_test.o: ../include/openssl/safestack.h ../include/openssl/stack.h
1011 rsa_test.o: ../include/openssl/symhacks.h rsa_test.c
1012 sha1test.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
1013 sha1test.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
1014 sha1test.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
1015 sha1test.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
1016 sha1test.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
1017 sha1test.o: ../include/openssl/safestack.h ../include/openssl/sha.h
1018 sha1test.o: ../include/openssl/stack.h ../include/openssl/symhacks.h sha1test.c
1019 shatest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
1020 shatest.o: ../include/openssl/crypto.h ../include/openssl/e_os2.h
1021 shatest.o: ../include/openssl/evp.h ../include/openssl/obj_mac.h
1022 shatest.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
1023 shatest.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
1024 shatest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
1025 shatest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h shatest.c
1026 ssltest.o: ../e_os.h ../include/openssl/asn1.h ../include/openssl/bio.h
1027 ssltest.o: ../include/openssl/bn.h ../include/openssl/buffer.h
1028 ssltest.o: ../include/openssl/comp.h ../include/openssl/conf.h
1029 ssltest.o: ../include/openssl/crypto.h ../include/openssl/dh.h
1030 ssltest.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
1031 ssltest.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
1032 ssltest.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
1033 ssltest.o: ../include/openssl/err.h ../include/openssl/evp.h
1034 ssltest.o: ../include/openssl/kssl.h ../include/openssl/lhash.h
1035 ssltest.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
1036 ssltest.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
1037 ssltest.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
1038 ssltest.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
1039 ssltest.o: ../include/openssl/rand.h ../include/openssl/rsa.h
1040 ssltest.o: ../include/openssl/safestack.h ../include/openssl/sha.h
1041 ssltest.o: ../include/openssl/ssl.h ../include/openssl/ssl2.h
1042 ssltest.o: ../include/openssl/ssl23.h ../include/openssl/ssl3.h
1043 ssltest.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
1044 ssltest.o: ../include/openssl/tls1.h ../include/openssl/x509.h
1045 ssltest.o: ../include/openssl/x509_vfy.h ../include/openssl/x509v3.h ssltest.c