2018-11-03 18:38:04 +01:00
|
|
|
# Note that some of these directories are filtered in Configure. Look for
|
|
|
|
# %skipdir there for further explanations.
|
2020-04-22 10:38:10 +10:00
|
|
|
|
2021-02-05 15:39:32 +01:00
|
|
|
SUBDIRS=crypto ssl apps util tools fuzz providers doc
|
|
|
|
IF[{- !$disabled{tests} -}]
|
|
|
|
SUBDIRS=test
|
|
|
|
ENDIF
|
2020-04-22 10:38:10 +10:00
|
|
|
IF[{- !$disabled{'deprecated-3.0'} -}]
|
|
|
|
SUBDIRS=engines
|
|
|
|
ENDIF
|
2018-11-03 18:26:35 +01:00
|
|
|
|
2016-01-29 23:33:10 +01:00
|
|
|
LIBS=libcrypto libssl
|
2019-09-28 00:45:33 +02:00
|
|
|
INCLUDE[libcrypto]=. include
|
2016-06-29 22:59:50 +02:00
|
|
|
INCLUDE[libssl]=. include
|
2016-01-29 23:33:10 +01:00
|
|
|
DEPEND[libssl]=libcrypto
|
2016-01-30 05:45:29 +01:00
|
|
|
|
2016-06-13 22:01:08 +02:00
|
|
|
# Empty DEPEND "indices" means the dependencies are expected to be built
|
|
|
|
# unconditionally before anything else.
|
2020-09-03 14:35:41 +01:00
|
|
|
DEPEND[]=include/openssl/asn1.h \
|
2020-09-03 15:56:05 +01:00
|
|
|
include/openssl/asn1t.h \
|
2020-09-03 16:06:16 +01:00
|
|
|
include/openssl/bio.h \
|
2020-09-03 14:45:54 +01:00
|
|
|
include/openssl/cmp.h \
|
2020-09-03 14:55:08 +01:00
|
|
|
include/openssl/cms.h \
|
2020-09-03 16:14:28 +01:00
|
|
|
include/openssl/conf.h \
|
2020-09-03 14:35:41 +01:00
|
|
|
include/openssl/configuration.h \
|
2020-09-03 15:45:01 +01:00
|
|
|
include/openssl/crmf.h \
|
2020-09-03 16:24:47 +01:00
|
|
|
include/openssl/crypto.h \
|
2020-09-03 15:50:09 +01:00
|
|
|
include/openssl/ct.h \
|
2020-09-11 13:51:58 +01:00
|
|
|
include/openssl/err.h \
|
2020-09-03 16:01:51 +01:00
|
|
|
include/openssl/ess.h \
|
2020-06-29 12:20:41 +10:00
|
|
|
include/openssl/fipskey.h \
|
2020-10-29 12:46:28 +00:00
|
|
|
include/openssl/lhash.h \
|
2020-09-03 14:35:41 +01:00
|
|
|
include/openssl/opensslv.h \
|
2020-09-03 15:05:30 +01:00
|
|
|
include/openssl/ocsp.h \
|
2020-09-03 16:35:20 +01:00
|
|
|
include/openssl/pkcs12.h \
|
2020-09-03 15:20:03 +01:00
|
|
|
include/openssl/pkcs7.h \
|
2020-09-03 14:10:41 +01:00
|
|
|
include/openssl/safestack.h \
|
2020-09-03 15:31:44 +01:00
|
|
|
include/openssl/srp.h \
|
2020-09-02 16:15:06 +01:00
|
|
|
include/openssl/ssl.h \
|
2020-09-03 16:39:36 +01:00
|
|
|
include/openssl/ui.h \
|
2020-09-03 10:23:44 +01:00
|
|
|
include/openssl/x509.h \
|
2020-09-03 12:46:08 +01:00
|
|
|
include/openssl/x509v3.h \
|
2020-09-03 15:37:45 +01:00
|
|
|
include/openssl/x509_vfy.h \
|
2021-02-04 12:58:35 +01:00
|
|
|
include/crypto/bn_conf.h include/crypto/dso_conf.h
|
2019-10-12 17:45:56 -04:00
|
|
|
|
2020-09-03 14:35:41 +01:00
|
|
|
GENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in
|
2020-09-03 15:56:05 +01:00
|
|
|
GENERATE[include/openssl/asn1t.h]=include/openssl/asn1t.h.in
|
2020-09-03 16:06:16 +01:00
|
|
|
GENERATE[include/openssl/bio.h]=include/openssl/bio.h.in
|
2020-09-03 14:45:54 +01:00
|
|
|
GENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in
|
2020-09-03 14:55:08 +01:00
|
|
|
GENERATE[include/openssl/cms.h]=include/openssl/cms.h.in
|
2020-09-03 16:14:28 +01:00
|
|
|
GENERATE[include/openssl/conf.h]=include/openssl/conf.h.in
|
2020-09-03 15:45:01 +01:00
|
|
|
GENERATE[include/openssl/configuration.h]=include/openssl/configuration.h.in
|
|
|
|
GENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in
|
2020-09-03 16:24:47 +01:00
|
|
|
GENERATE[include/openssl/crypto.h]=include/openssl/crypto.h.in
|
2020-09-03 15:50:09 +01:00
|
|
|
GENERATE[include/openssl/ct.h]=include/openssl/ct.h.in
|
2020-09-11 13:51:58 +01:00
|
|
|
GENERATE[include/openssl/err.h]=include/openssl/err.h.in
|
2020-09-03 16:01:51 +01:00
|
|
|
GENERATE[include/openssl/ess.h]=include/openssl/ess.h.in
|
2020-06-29 12:20:41 +10:00
|
|
|
GENERATE[include/openssl/fipskey.h]=include/openssl/fipskey.h.in
|
2020-10-29 12:46:28 +00:00
|
|
|
GENERATE[include/openssl/lhash.h]=include/openssl/lhash.h.in
|
2020-09-03 15:05:30 +01:00
|
|
|
GENERATE[include/openssl/ocsp.h]=include/openssl/ocsp.h.in
|
2020-09-03 14:35:41 +01:00
|
|
|
GENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in
|
2020-09-03 16:35:20 +01:00
|
|
|
GENERATE[include/openssl/pkcs12.h]=include/openssl/pkcs12.h.in
|
2020-09-03 15:20:03 +01:00
|
|
|
GENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in
|
2020-09-03 14:10:41 +01:00
|
|
|
GENERATE[include/openssl/safestack.h]=include/openssl/safestack.h.in
|
2020-09-03 15:31:44 +01:00
|
|
|
GENERATE[include/openssl/srp.h]=include/openssl/srp.h.in
|
2020-09-02 16:15:06 +01:00
|
|
|
GENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in
|
2020-09-03 16:39:36 +01:00
|
|
|
GENERATE[include/openssl/ui.h]=include/openssl/ui.h.in
|
2020-09-03 10:23:44 +01:00
|
|
|
GENERATE[include/openssl/x509.h]=include/openssl/x509.h.in
|
2020-09-03 12:46:08 +01:00
|
|
|
GENERATE[include/openssl/x509v3.h]=include/openssl/x509v3.h.in
|
2020-09-03 15:37:45 +01:00
|
|
|
GENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in
|
2019-09-28 00:45:33 +02:00
|
|
|
GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in
|
|
|
|
GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in
|
2016-06-13 22:01:08 +02:00
|
|
|
|
2017-12-04 14:59:27 +01:00
|
|
|
IF[{- defined $target{shared_defflag} -}]
|
2018-09-30 14:44:59 +02:00
|
|
|
SHARED_SOURCE[libcrypto]=libcrypto.ld
|
|
|
|
SHARED_SOURCE[libssl]=libssl.ld
|
2017-12-04 14:59:27 +01:00
|
|
|
|
2018-09-14 14:59:40 +02:00
|
|
|
GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto
|
|
|
|
GENERATE[libssl.ld]=util/libssl.num libssl
|
2017-12-04 14:59:27 +01:00
|
|
|
ENDIF
|
|
|
|
|
|
|
|
IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
|
|
|
|
GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
|
|
|
|
GENERATE[libssl.rc]=util/mkrc.pl libssl
|
|
|
|
|
|
|
|
SHARED_SOURCE[libcrypto]=libcrypto.rc
|
|
|
|
SHARED_SOURCE[libssl]=libssl.rc
|
|
|
|
ENDIF
|