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