]>
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 RL |
13 | $OPENSSLSRC=\ |
14 | openssl.c progs.c \ | |
5c42f7aa | 15 | asn1pars.c ca.c ciphers.c crl.c crl2p7.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 \ |
fa9e541d | 21 | list.c info.c fipsinstall.c |
1ae56f2f RS |
22 | IF[{- !$disabled{'des'} -}] |
23 | $OPENSSLSRC=$OPENSSLSRC pkcs12.c | |
24 | ENDIF | |
25 | IF[{- !$disabled{'ec'} -}] | |
26 | $OPENSSLSRC=$OPENSSLSRC ec.c ecparam.c | |
27 | ENDIF | |
28 | IF[{- !$disabled{'ocsp'} -}] | |
29 | $OPENSSLSRC=$OPENSSLSRC ocsp.c | |
30 | ENDIF | |
31 | IF[{- !$disabled{'srp'} -}] | |
32 | $OPENSSLSRC=$OPENSSLSRC srp.c | |
33 | ENDIF | |
34 | IF[{- !$disabled{'ts'} -}] | |
35 | $OPENSSLSRC=$OPENSSLSRC ts.c | |
36 | ENDIF | |
61b2afb5 P |
37 | IF[{- !$disabled{'dh'} -}] |
38 | $OPENSSLSRC=$OPENSSLSRC dhparam.c | |
39 | ENDIF | |
40 | IF[{- !$disabled{'dsa'} -}] | |
41 | $OPENSSLSRC=$OPENSSLSRC dsa.c dsaparam.c gendsa.c | |
42 | ENDIF | |
43 | IF[{- !$disabled{'engine'} -}] | |
44 | $OPENSSLSRC=$OPENSSLSRC engine.c | |
45 | ENDIF | |
46 | IF[{- !$disabled{'rsa'} -}] | |
47 | $OPENSSLSRC=$OPENSSLSRC rsa.c genrsa.c | |
48 | ENDIF | |
a3f1fc25 | 49 | IF[{- !$disabled{'deprecated-3.0'} -}] |
1ae56f2f | 50 | IF[{- !$disabled{'rsa'} -}] |
61b2afb5 | 51 | $OPENSSLSRC=$OPENSSLSRC rsautl.c |
1ae56f2f | 52 | ENDIF |
a3f1fc25 | 53 | ENDIF |
5c42f7aa RS |
54 | IF[{- !$disabled{'cms'} -}] |
55 | $OPENSSLSRC=$OPENSSLSRC cms.c | |
56 | ENDIF | |
62dcd2aa | 57 | IF[{- !$disabled{'cmp'} -}] |
8d9a4d83 | 58 | $OPENSSLSRC=$OPENSSLSRC cmp.c cmp_mock_srv.c |
62dcd2aa | 59 | ENDIF |
989b2ad7 | 60 | |
d90a6beb MC |
61 | IF[{- !$disabled{apps} -}] |
62 | PROGRAMS=openssl | |
989b2ad7 | 63 | SOURCE[openssl]=$INITSRC $OPENSSLSRC |
5674466e | 64 | INCLUDE[openssl]=.. ../include include |
d6baf09f | 65 | DEPEND[openssl]=libapps.a ../libssl |
777a2882 | 66 | |
a3f1fc25 RL |
67 | DEPEND[${OPENSSLSRC/.c/.o}]=progs.h |
68 | GENERATE[progs.c]=progs.pl -C $(APPS_OPENSSL) | |
69 | GENERATE[progs.h]=progs.pl -H $(APPS_OPENSSL) | |
70 | # progs.pl tries to read all 'openssl' sources, including progs.c, so we make | |
71 | # sure things are generated in the correct order. | |
72 | DEPEND[progs.h]=progs.c | |
c6601bd2 RL |
73 | # Because the files to look through may change (depends on $OPENSSLSRC), |
74 | # always depend on a changed configuration. | |
75 | DEPEND[progs.c]=../configdata.pm | |
a3f1fc25 | 76 | |
6afb3634 | 77 | IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] |
989b2ad7 RL |
78 | GENERATE[openssl.rc]=../util/mkrc.pl openssl |
79 | SOURCE[openssl]=openssl.rc | |
80 | ENDIF | |
83900628 | 81 | |
994e86a9 | 82 | SCRIPTS{misc}=CA.pl |
d90a6beb | 83 | SOURCE[CA.pl]=CA.pl.in |
994e86a9 RL |
84 | # linkname tells build files that a symbolic link or copy of this script |
85 | # without extension must be installed as well. Unix or Unix lookalike only. | |
86 | SCRIPTS{misc,linkname=tsget}=tsget.pl | |
d8356e1b | 87 | SOURCE[tsget.pl]=tsget.in |
d90a6beb | 88 | ENDIF |