1 | # Note that some of these directories are filtered in Configure. Look for
|
---|
2 | # %skipdir there for further explanations.
|
---|
3 |
|
---|
4 | SUBDIRS=crypto ssl apps util tools fuzz providers doc
|
---|
5 | IF[{- !$disabled{tests} -}]
|
---|
6 | SUBDIRS=test
|
---|
7 | ENDIF
|
---|
8 | IF[{- !$disabled{'deprecated-3.0'} -}]
|
---|
9 | SUBDIRS=engines
|
---|
10 | ENDIF
|
---|
11 |
|
---|
12 | LIBS=libcrypto libssl
|
---|
13 | INCLUDE[libcrypto]=. include
|
---|
14 | INCLUDE[libssl]=. include
|
---|
15 | DEPEND[libssl]=libcrypto
|
---|
16 |
|
---|
17 | # Empty DEPEND "indices" means the dependencies are expected to be built
|
---|
18 | # unconditionally before anything else.
|
---|
19 | DEPEND[]=include/openssl/asn1.h \
|
---|
20 | include/openssl/asn1t.h \
|
---|
21 | include/openssl/bio.h \
|
---|
22 | include/openssl/cmp.h \
|
---|
23 | include/openssl/cms.h \
|
---|
24 | include/openssl/conf.h \
|
---|
25 | include/openssl/crmf.h \
|
---|
26 | include/openssl/crypto.h \
|
---|
27 | include/openssl/ct.h \
|
---|
28 | include/openssl/err.h \
|
---|
29 | include/openssl/ess.h \
|
---|
30 | include/openssl/fipskey.h \
|
---|
31 | include/openssl/lhash.h \
|
---|
32 | include/openssl/opensslv.h \
|
---|
33 | include/openssl/ocsp.h \
|
---|
34 | include/openssl/pkcs12.h \
|
---|
35 | include/openssl/pkcs7.h \
|
---|
36 | include/openssl/safestack.h \
|
---|
37 | include/openssl/srp.h \
|
---|
38 | include/openssl/ssl.h \
|
---|
39 | include/openssl/ui.h \
|
---|
40 | include/openssl/x509.h \
|
---|
41 | include/openssl/x509v3.h \
|
---|
42 | include/openssl/x509_vfy.h \
|
---|
43 | include/crypto/bn_conf.h include/crypto/dso_conf.h
|
---|
44 |
|
---|
45 | GENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in
|
---|
46 | GENERATE[include/openssl/asn1t.h]=include/openssl/asn1t.h.in
|
---|
47 | GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in
|
---|
48 | GENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in
|
---|
49 | GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in
|
---|
50 | GENERATE[include/openssl/conf.h]=include/openssl/conf.h.in
|
---|
51 | # include/openssl/configuration.h is generated by configdata.pm
|
---|
52 | # We still need this information for the FIPS module checksum, but the attribute
|
---|
53 | # 'skip' ensures that nothing is actually done with it.
|
---|
54 | GENERATE[include/openssl/configuration.h]{skip}=include/openssl/configuration.h.in
|
---|
55 | GENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in
|
---|
56 | GENERATE[include/openssl/crypto.h]=include/openssl/crypto.h.in
|
---|
57 | GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in
|
---|
58 | GENERATE[include/openssl/err.h]=include/openssl/err.h.in
|
---|
59 | GENERATE[include/openssl/ess.h]=include/openssl/ess.h.in
|
---|
60 | GENERATE[include/openssl/fipskey.h]=include/openssl/fipskey.h.in
|
---|
61 | GENERATE[include/openssl/lhash.h]=include/openssl/lhash.h.in
|
---|
62 | GENERATE[include/openssl/ocsp.h]=include/openssl/ocsp.h.in
|
---|
63 | GENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in
|
---|
64 | GENERATE[include/openssl/pkcs12.h]=include/openssl/pkcs12.h.in
|
---|
65 | GENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in
|
---|
66 | GENERATE[include/openssl/safestack.h]=include/openssl/safestack.h.in
|
---|
67 | GENERATE[include/openssl/srp.h]=include/openssl/srp.h.in
|
---|
68 | GENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in
|
---|
69 | GENERATE[include/openssl/ui.h]=include/openssl/ui.h.in
|
---|
70 | GENERATE[include/openssl/x509.h]=include/openssl/x509.h.in
|
---|
71 | GENERATE[include/openssl/x509v3.h]=include/openssl/x509v3.h.in
|
---|
72 | GENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in
|
---|
73 | GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in
|
---|
74 | GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in
|
---|
75 |
|
---|
76 | IF[{- defined $target{shared_defflag} -}]
|
---|
77 | SHARED_SOURCE[libcrypto]=libcrypto.ld
|
---|
78 | SHARED_SOURCE[libssl]=libssl.ld
|
---|
79 |
|
---|
80 | GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto
|
---|
81 | GENERATE[libssl.ld]=util/libssl.num libssl
|
---|
82 | DEPEND[libcrypto.ld libssl.ld]=configdata.pm util/perl/OpenSSL/Ordinals.pm
|
---|
83 | ENDIF
|
---|
84 |
|
---|
85 | IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}]
|
---|
86 | GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
|
---|
87 | GENERATE[libssl.rc]=util/mkrc.pl libssl
|
---|
88 | DEPEND[libcrypto.rc libssl.rc]=configdata.pm
|
---|
89 |
|
---|
90 | SHARED_SOURCE[libcrypto]=libcrypto.rc
|
---|
91 | SHARED_SOURCE[libssl]=libssl.rc
|
---|
92 | ENDIF
|
---|