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 | SUBDIRS=exporters
|
---|
12 |
|
---|
13 | LIBS=libcrypto libssl
|
---|
14 | INCLUDE[libcrypto]=. include
|
---|
15 | INCLUDE[libssl]=. include
|
---|
16 | DEPEND[libssl]=libcrypto
|
---|
17 |
|
---|
18 | # Empty DEPEND "indices" means the dependencies are expected to be built
|
---|
19 | # unconditionally before anything else.
|
---|
20 | DEPEND[]=include/openssl/asn1.h \
|
---|
21 | include/openssl/asn1t.h \
|
---|
22 | include/openssl/bio.h \
|
---|
23 | include/openssl/cmp.h \
|
---|
24 | include/openssl/cms.h \
|
---|
25 | include/openssl/conf.h \
|
---|
26 | include/openssl/core_names.h \
|
---|
27 | include/openssl/crmf.h \
|
---|
28 | include/openssl/crypto.h \
|
---|
29 | include/openssl/ct.h \
|
---|
30 | include/openssl/err.h \
|
---|
31 | include/openssl/ess.h \
|
---|
32 | include/openssl/fipskey.h \
|
---|
33 | include/openssl/lhash.h \
|
---|
34 | include/openssl/opensslv.h \
|
---|
35 | include/openssl/ocsp.h \
|
---|
36 | include/openssl/pkcs12.h \
|
---|
37 | include/openssl/pkcs7.h \
|
---|
38 | include/openssl/safestack.h \
|
---|
39 | include/openssl/srp.h \
|
---|
40 | include/openssl/ssl.h \
|
---|
41 | include/openssl/ui.h \
|
---|
42 | include/openssl/x509.h \
|
---|
43 | include/openssl/x509v3.h \
|
---|
44 | include/openssl/x509_vfy.h \
|
---|
45 | include/crypto/bn_conf.h include/crypto/dso_conf.h \
|
---|
46 | include/internal/param_names.h crypto/params_idx.c
|
---|
47 |
|
---|
48 | GENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in
|
---|
49 | GENERATE[include/openssl/asn1t.h]=include/openssl/asn1t.h.in
|
---|
50 | GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in
|
---|
51 | GENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in
|
---|
52 | GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in
|
---|
53 | GENERATE[include/openssl/conf.h]=include/openssl/conf.h.in
|
---|
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
|
---|
58 | GENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in
|
---|
59 | GENERATE[include/openssl/crypto.h]=include/openssl/crypto.h.in
|
---|
60 | GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in
|
---|
61 | GENERATE[include/openssl/err.h]=include/openssl/err.h.in
|
---|
62 | GENERATE[include/openssl/ess.h]=include/openssl/ess.h.in
|
---|
63 | GENERATE[include/openssl/fipskey.h]=include/openssl/fipskey.h.in
|
---|
64 | GENERATE[include/openssl/lhash.h]=include/openssl/lhash.h.in
|
---|
65 | GENERATE[include/openssl/ocsp.h]=include/openssl/ocsp.h.in
|
---|
66 | GENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in
|
---|
67 | GENERATE[include/openssl/pkcs12.h]=include/openssl/pkcs12.h.in
|
---|
68 | GENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in
|
---|
69 | GENERATE[include/openssl/safestack.h]=include/openssl/safestack.h.in
|
---|
70 | GENERATE[include/openssl/srp.h]=include/openssl/srp.h.in
|
---|
71 | GENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in
|
---|
72 | GENERATE[include/openssl/ui.h]=include/openssl/ui.h.in
|
---|
73 | GENERATE[include/openssl/x509.h]=include/openssl/x509.h.in
|
---|
74 | GENERATE[include/openssl/x509v3.h]=include/openssl/x509v3.h.in
|
---|
75 | GENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in
|
---|
76 | GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in
|
---|
77 | GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in
|
---|
78 |
|
---|
79 | DEPEND[crypto/params_idx.c \
|
---|
80 | include/internal/param_names.h \
|
---|
81 | include/openssl/core_names.h]=util/perl|OpenSSL/paramnames.pm
|
---|
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 |
|
---|
86 | IF[{- defined $target{shared_defflag} -}]
|
---|
87 | SHARED_SOURCE[libcrypto]=libcrypto.ld
|
---|
88 | SHARED_SOURCE[libssl]=libssl.ld
|
---|
89 |
|
---|
90 | GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto
|
---|
91 | GENERATE[libssl.ld]=util/libssl.num libssl
|
---|
92 | DEPEND[libcrypto.ld libssl.ld]=configdata.pm util/perl/OpenSSL/Ordinals.pm
|
---|
93 | ENDIF
|
---|
94 |
|
---|
95 | IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}]
|
---|
96 | GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
|
---|
97 | GENERATE[libssl.rc]=util/mkrc.pl libssl
|
---|
98 | DEPEND[libcrypto.rc libssl.rc]=configdata.pm
|
---|
99 |
|
---|
100 | SHARED_SOURCE[libcrypto]=libcrypto.rc
|
---|
101 | SHARED_SOURCE[libssl]=libssl.rc
|
---|
102 | ENDIF
|
---|
103 |
|
---|
104 | # This file sets the build directory up for CMake inclusion
|
---|
105 | # Note: This generation of OpenSSLConfig[Version].cmake is used
|
---|
106 | # for building openssl locally, and so the build variables are
|
---|
107 | # taken from builddata.pm rather than installdata.pm. For exportable
|
---|
108 | # versions of these generated files, you'll find them in the exporters
|
---|
109 | # directory
|
---|
110 | GENERATE[OpenSSLConfig.cmake]=exporters/cmake/OpenSSLConfig.cmake.in
|
---|
111 | DEPEND[OpenSSLConfig.cmake]=builddata.pm
|
---|
112 | GENERATE[OpenSSLConfigVersion.cmake]=exporters/cmake/OpenSSLConfigVersion.cmake.in
|
---|
113 | DEPEND[OpenSSLConfigVersion.cmake]=builddata.pm
|
---|
114 | DEPEND[OpenSSLConfigVersion.cmake]=OpenSSLConfig.cmake
|
---|
115 | DEPEND[""]=OpenSSLConfigVersion.cmake
|
---|
116 |
|
---|
117 | # This file sets the build directory up for pkg-config
|
---|
118 | GENERATE[libcrypto.pc]=exporters/pkg-config/libcrypto.pc.in
|
---|
119 | DEPEND[libcrypto.pc]=builddata.pm
|
---|
120 | GENERATE[libssl.pc]=exporters/pkg-config/libssl.pc.in
|
---|
121 | DEPEND[libssl.pc]=builddata.pm
|
---|
122 | GENERATE[openssl.pc]=exporters/pkg-config/openssl.pc.in
|
---|
123 | DEPEND[openssl.pc]=builddata.pm
|
---|
124 | DEPEND[openssl.pc]=libcrypto.pc libssl.pc
|
---|
125 |
|
---|
126 | GENERATE[builddata.pm]=util/mkinstallvars.pl \
|
---|
127 | PREFIX=. BINDIR=apps APPLINKDIR=ms \
|
---|
128 | LIBDIR= INCLUDEDIR=include "INCLUDEDIR=$(SRCDIR)/include" \
|
---|
129 | ENGINESDIR=engines MODULESDIR=providers \
|
---|
130 | "VERSION=$(VERSION)" "LDLIBS=$(LIB_EX_LIBS)"
|
---|
131 |
|
---|
132 | DEPEND[""]=openssl.pc
|
---|