]>
Commit | Line | Data |
---|---|---|
2ad75c6c RL |
1 | SUBDIRS=lib |
2 | ||
989b2ad7 RL |
3 | # Program init source, that don't have direct linkage with the rest of the |
4 | # source, and can therefore not be part of a library. | |
5 | IF[{- !$disabled{uplink} -}] | |
6 | $INITSRC=../ms/applink.c | |
7 | ENDIF | |
8 | IF[{- $config{target} =~ /^vms-/ -}] | |
9 | $INITSRC=vms_decc_init.c | |
10 | ENDIF | |
11 | ||
989b2ad7 | 12 | # Source for the 'openssl' program |
2ad75c6c | 13 | $OPENSSLSRC=\ |
da750b15 | 14 | openssl.c \ |
f2431fe7 | 15 | asn1parse.c ca.c ciphers.c crl.c crl2pkcs7.c dgst.c \ |
1ae56f2f RS |
16 | enc.c errstr.c \ |
17 | genpkey.c kdf.c mac.c nseq.c passwd.c pkcs7.c \ | |
c5f87134 P |
18 | pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c rand.c req.c \ |
19 | s_client.c s_server.c s_time.c sess_id.c smime.c speed.c \ | |
1ae56f2f | 20 | spkac.c verify.c version.c x509.c rehash.c storeutl.c \ |
b536880c | 21 | list.c info.c fipsinstall.c pkcs12.c |
1ae56f2f RS |
22 | IF[{- !$disabled{'ec'} -}] |
23 | $OPENSSLSRC=$OPENSSLSRC ec.c ecparam.c | |
24 | ENDIF | |
25 | IF[{- !$disabled{'ocsp'} -}] | |
26 | $OPENSSLSRC=$OPENSSLSRC ocsp.c | |
27 | ENDIF | |
28 | IF[{- !$disabled{'srp'} -}] | |
29 | $OPENSSLSRC=$OPENSSLSRC srp.c | |
30 | ENDIF | |
31 | IF[{- !$disabled{'ts'} -}] | |
32 | $OPENSSLSRC=$OPENSSLSRC ts.c | |
33 | ENDIF | |
61b2afb5 P |
34 | IF[{- !$disabled{'dh'} -}] |
35 | $OPENSSLSRC=$OPENSSLSRC dhparam.c | |
36 | ENDIF | |
37 | IF[{- !$disabled{'dsa'} -}] | |
38 | $OPENSSLSRC=$OPENSSLSRC dsa.c dsaparam.c gendsa.c | |
39 | ENDIF | |
40 | IF[{- !$disabled{'engine'} -}] | |
41 | $OPENSSLSRC=$OPENSSLSRC engine.c | |
42 | ENDIF | |
43 | IF[{- !$disabled{'rsa'} -}] | |
44 | $OPENSSLSRC=$OPENSSLSRC rsa.c genrsa.c | |
45 | ENDIF | |
a3f1fc25 | 46 | IF[{- !$disabled{'deprecated-3.0'} -}] |
1ae56f2f | 47 | IF[{- !$disabled{'rsa'} -}] |
61b2afb5 | 48 | $OPENSSLSRC=$OPENSSLSRC rsautl.c |
1ae56f2f | 49 | ENDIF |
a3f1fc25 | 50 | ENDIF |
5c42f7aa RS |
51 | IF[{- !$disabled{'cms'} -}] |
52 | $OPENSSLSRC=$OPENSSLSRC cms.c | |
53 | ENDIF | |
62dcd2aa | 54 | IF[{- !$disabled{'cmp'} -}] |
ee56cec7 | 55 | $OPENSSLSRC=$OPENSSLSRC cmp.c lib/cmp_mock_srv.c |
62dcd2aa | 56 | ENDIF |
989b2ad7 | 57 | |
d90a6beb MC |
58 | IF[{- !$disabled{apps} -}] |
59 | PROGRAMS=openssl | |
989b2ad7 | 60 | SOURCE[openssl]=$INITSRC $OPENSSLSRC |
5674466e | 61 | INCLUDE[openssl]=.. ../include include |
d6baf09f | 62 | DEPEND[openssl]=libapps.a ../libssl |
777a2882 | 63 | |
da750b15 RL |
64 | # The nocheck attribute is picked up by progs.pl as a signal not to look |
65 | # at that file; some systems may have locked it as the output file, and | |
66 | # therefore don't allow it to be read at the same time, making progs.pl | |
67 | # fail. | |
68 | SOURCE[openssl]{nocheck}=progs.c | |
69 | DEPEND[${OPENSSLSRC/.c/.o} progs.o]=progs.h | |
bba402ec RL |
70 | GENERATE[progs.c]=progs.pl "-C" $(APPS_OPENSSL) |
71 | GENERATE[progs.h]=progs.pl "-H" $(APPS_OPENSSL) | |
a3f1fc25 RL |
72 | # progs.pl tries to read all 'openssl' sources, including progs.c, so we make |
73 | # sure things are generated in the correct order. | |
74 | DEPEND[progs.h]=progs.c | |
c6601bd2 RL |
75 | # Because the files to look through may change (depends on $OPENSSLSRC), |
76 | # always depend on a changed configuration. | |
77 | DEPEND[progs.c]=../configdata.pm | |
a3f1fc25 | 78 | |
6afb3634 | 79 | IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] |
989b2ad7 RL |
80 | GENERATE[openssl.rc]=../util/mkrc.pl openssl |
81 | SOURCE[openssl]=openssl.rc | |
82 | ENDIF | |
83900628 | 83 | |
994e86a9 | 84 | SCRIPTS{misc}=CA.pl |
d90a6beb | 85 | SOURCE[CA.pl]=CA.pl.in |
994e86a9 RL |
86 | # linkname tells build files that a symbolic link or copy of this script |
87 | # without extension must be installed as well. Unix or Unix lookalike only. | |
88 | SCRIPTS{misc,linkname=tsget}=tsget.pl | |
d8356e1b | 89 | SOURCE[tsget.pl]=tsget.in |
d90a6beb | 90 | ENDIF |