]>
Commit | Line | Data |
---|---|---|
75d47db4 RL |
1 | # Note that some of these directories are filtered in Configure. Look for |
2 | # %skipdir there for further explanations. | |
77ae4f6f | 3 | |
e60a748a RL |
4 | SUBDIRS=crypto ssl apps util tools fuzz providers doc |
5 | IF[{- !$disabled{tests} -}] | |
6 | SUBDIRS=test | |
7 | ENDIF | |
77ae4f6f P |
8 | IF[{- !$disabled{'deprecated-3.0'} -}] |
9 | SUBDIRS=engines | |
10 | ENDIF | |
2ac569a6 | 11 | SUBDIRS=exporters |
9654924f | 12 | |
777a2882 | 13 | LIBS=libcrypto libssl |
25f2138b | 14 | INCLUDE[libcrypto]=. include |
0483f586 | 15 | INCLUDE[libssl]=. include |
777a2882 | 16 | DEPEND[libssl]=libcrypto |
fcf80c46 | 17 | |
27ffb86c RL |
18 | # Empty DEPEND "indices" means the dependencies are expected to be built |
19 | # unconditionally before anything else. | |
b4780134 | 20 | DEPEND[]=include/openssl/asn1.h \ |
0b282540 | 21 | include/openssl/asn1t.h \ |
dd731474 | 22 | include/openssl/bio.h \ |
798f9329 | 23 | include/openssl/cmp.h \ |
904e1f92 | 24 | include/openssl/cms.h \ |
e74e562f | 25 | include/openssl/conf.h \ |
e84b5fcc | 26 | include/openssl/core_names.h \ |
98c35dc4 | 27 | include/openssl/crmf.h \ |
15c3dcfc | 28 | include/openssl/crypto.h \ |
9d01ac71 | 29 | include/openssl/ct.h \ |
efffd8a6 | 30 | include/openssl/err.h \ |
1e14bca2 | 31 | include/openssl/ess.h \ |
31214258 | 32 | include/openssl/fipskey.h \ |
e82f4598 | 33 | include/openssl/lhash.h \ |
b4780134 | 34 | include/openssl/opensslv.h \ |
fd3ed85c | 35 | include/openssl/ocsp.h \ |
add33927 | 36 | include/openssl/pkcs12.h \ |
02199cc3 | 37 | include/openssl/pkcs7.h \ |
24c4ea95 | 38 | include/openssl/safestack.h \ |
22fbfe6a | 39 | include/openssl/srp.h \ |
6ac1cd10 | 40 | include/openssl/ssl.h \ |
9cedfc90 | 41 | include/openssl/ui.h \ |
e6623cfb | 42 | include/openssl/x509.h \ |
e144fd36 | 43 | include/openssl/x509v3.h \ |
c5a55811 | 44 | include/openssl/x509_vfy.h \ |
e84b5fcc P |
45 | include/crypto/bn_conf.h include/crypto/dso_conf.h \ |
46 | include/internal/param_names.h crypto/params_idx.c | |
9fcb9702 | 47 | |
b4780134 | 48 | GENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in |
0b282540 | 49 | GENERATE[include/openssl/asn1t.h]=include/openssl/asn1t.h.in |
dd731474 | 50 | GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in |
798f9329 | 51 | GENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in |
904e1f92 | 52 | GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in |
e74e562f | 53 | GENERATE[include/openssl/conf.h]=include/openssl/conf.h.in |
4d02d500 RL |
54 | # include/openssl/configuration.h is generated by configdata.pm |
55 | # We still need this information for the FIPS module checksum, but the attribute | |
56 | # 'skip' ensures that nothing is actually done with it. | |
57 | GENERATE[include/openssl/configuration.h]{skip}=include/openssl/configuration.h.in | |
98c35dc4 | 58 | GENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in |
15c3dcfc | 59 | GENERATE[include/openssl/crypto.h]=include/openssl/crypto.h.in |
9d01ac71 | 60 | GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in |
efffd8a6 | 61 | GENERATE[include/openssl/err.h]=include/openssl/err.h.in |
1e14bca2 | 62 | GENERATE[include/openssl/ess.h]=include/openssl/ess.h.in |
31214258 | 63 | GENERATE[include/openssl/fipskey.h]=include/openssl/fipskey.h.in |
e82f4598 | 64 | GENERATE[include/openssl/lhash.h]=include/openssl/lhash.h.in |
fd3ed85c | 65 | GENERATE[include/openssl/ocsp.h]=include/openssl/ocsp.h.in |
b4780134 | 66 | GENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in |
add33927 | 67 | GENERATE[include/openssl/pkcs12.h]=include/openssl/pkcs12.h.in |
02199cc3 | 68 | GENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in |
24c4ea95 | 69 | GENERATE[include/openssl/safestack.h]=include/openssl/safestack.h.in |
22fbfe6a | 70 | GENERATE[include/openssl/srp.h]=include/openssl/srp.h.in |
6ac1cd10 | 71 | GENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in |
9cedfc90 | 72 | GENERATE[include/openssl/ui.h]=include/openssl/ui.h.in |
e6623cfb | 73 | GENERATE[include/openssl/x509.h]=include/openssl/x509.h.in |
e144fd36 | 74 | GENERATE[include/openssl/x509v3.h]=include/openssl/x509v3.h.in |
c5a55811 | 75 | GENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in |
25f2138b | 76 | GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in |
25f2138b | 77 | GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in |
27ffb86c | 78 | |
b684ee2c RL |
79 | DEPEND[crypto/params_idx.c \ |
80 | include/internal/param_names.h \ | |
81 | include/openssl/core_names.h]=util/perl|OpenSSL/paramnames.pm | |
e84b5fcc P |
82 | GENERATE[crypto/params_idx.c]=crypto/params_idx.c.in |
83 | GENERATE[include/internal/param_names.h]=include/internal/param_names.h.in | |
84 | GENERATE[include/openssl/core_names.h]=include/openssl/core_names.h.in | |
85 | ||
7a061312 | 86 | IF[{- defined $target{shared_defflag} -}] |
ef2dfc99 RL |
87 | SHARED_SOURCE[libcrypto]=libcrypto.ld |
88 | SHARED_SOURCE[libssl]=libssl.ld | |
7a061312 | 89 | |
8effd8fa RL |
90 | GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto |
91 | GENERATE[libssl.ld]=util/libssl.num libssl | |
773e67ab | 92 | DEPEND[libcrypto.ld libssl.ld]=configdata.pm util/perl/OpenSSL/Ordinals.pm |
7a061312 RL |
93 | ENDIF |
94 | ||
6afb3634 | 95 | IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] |
7a061312 RL |
96 | GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto |
97 | GENERATE[libssl.rc]=util/mkrc.pl libssl | |
773e67ab | 98 | DEPEND[libcrypto.rc libssl.rc]=configdata.pm |
7a061312 RL |
99 | |
100 | SHARED_SOURCE[libcrypto]=libcrypto.rc | |
101 | SHARED_SOURCE[libssl]=libssl.rc | |
102 | ENDIF | |
2ac569a6 | 103 | |
c768cceb RL |
104 | # This file sets the build directory up for CMake inclusion |
105 | GENERATE[OpenSSLConfig.cmake]=exporters/cmake/OpenSSLConfig.cmake.in | |
106 | DEPEND[OpenSSLConfig.cmake]=builddata.pm | |
107 | GENERATE[OpenSSLConfigVersion.cmake]=exporters/cmake/OpenSSLConfigVersion.cmake.in | |
108 | DEPEND[OpenSSLConfigVersion.cmake]=builddata.pm | |
109 | DEPEND[OpenSSLConfigVersion.cmake]=OpenSSLConfig.cmake | |
110 | DEPEND[""]=OpenSSLConfigVersion.cmake | |
111 | ||
2ac569a6 RL |
112 | # This file sets the build directory up for pkg-config |
113 | GENERATE[libcrypto.pc]=exporters/pkg-config/libcrypto.pc.in | |
114 | DEPEND[libcrypto.pc]=builddata.pm | |
115 | GENERATE[libssl.pc]=exporters/pkg-config/libssl.pc.in | |
116 | DEPEND[libssl.pc]=builddata.pm | |
117 | GENERATE[openssl.pc]=exporters/pkg-config/openssl.pc.in | |
118 | DEPEND[openssl.pc]=builddata.pm | |
119 | DEPEND[openssl.pc]=libcrypto.pc libssl.pc | |
120 | ||
121 | GENERATE[builddata.pm]=util/mkinstallvars.pl \ | |
122 | PREFIX=. BINDIR=apps LIBDIR= INCLUDEDIR=include APPLINKDIR=ms \ | |
123 | ENGINESDIR=engines MODULESDIR=providers \ | |
124 | "VERSION=$(VERSION)" "LDLIBS=$(LIB_EX_LIBS)" | |
125 | ||
126 | DEPEND[""]=openssl.pc |