1e4520c8bSEnji Cooper# Note that some of these directories are filtered in Configure. Look for 2e4520c8bSEnji Cooper# %skipdir there for further explanations. 3e4520c8bSEnji Cooper 4e4520c8bSEnji CooperSUBDIRS=crypto ssl apps util tools fuzz providers doc 5e4520c8bSEnji CooperIF[{- !$disabled{tests} -}] 6e4520c8bSEnji Cooper SUBDIRS=test 7e4520c8bSEnji CooperENDIF 829536654SEnji CooperIF[{- !$disabled{demos} -}] 929536654SEnji Cooper SUBDIRS=demos 1029536654SEnji CooperENDIF 11e4520c8bSEnji CooperIF[{- !$disabled{'deprecated-3.0'} -}] 12e4520c8bSEnji Cooper SUBDIRS=engines 13e4520c8bSEnji CooperENDIF 1429536654SEnji CooperSUBDIRS=exporters 15e4520c8bSEnji Cooper 16a43ce912SJung-uk KimLIBS=libcrypto libssl 17aa144cedSJung-uk KimINCLUDE[libcrypto]=. include 18a43ce912SJung-uk KimINCLUDE[libssl]=. include 19a43ce912SJung-uk KimDEPEND[libssl]=libcrypto 20a43ce912SJung-uk Kim 21a43ce912SJung-uk Kim# Empty DEPEND "indices" means the dependencies are expected to be built 22a43ce912SJung-uk Kim# unconditionally before anything else. 23e4520c8bSEnji CooperDEPEND[]=include/openssl/asn1.h \ 24e4520c8bSEnji Cooper include/openssl/asn1t.h \ 25e4520c8bSEnji Cooper include/openssl/bio.h \ 26e4520c8bSEnji Cooper include/openssl/cmp.h \ 27e4520c8bSEnji Cooper include/openssl/cms.h \ 28e4520c8bSEnji Cooper include/openssl/conf.h \ 2929536654SEnji Cooper include/openssl/comp.h \ 3029536654SEnji Cooper include/openssl/core_names.h \ 31e4520c8bSEnji Cooper include/openssl/crmf.h \ 32e4520c8bSEnji Cooper include/openssl/crypto.h \ 33e4520c8bSEnji Cooper include/openssl/ct.h \ 34e4520c8bSEnji Cooper include/openssl/err.h \ 35e4520c8bSEnji Cooper include/openssl/ess.h \ 36e4520c8bSEnji Cooper include/openssl/fipskey.h \ 37e4520c8bSEnji Cooper include/openssl/lhash.h \ 38e4520c8bSEnji Cooper include/openssl/opensslv.h \ 39e4520c8bSEnji Cooper include/openssl/ocsp.h \ 40e4520c8bSEnji Cooper include/openssl/pkcs12.h \ 41e4520c8bSEnji Cooper include/openssl/pkcs7.h \ 42e4520c8bSEnji Cooper include/openssl/safestack.h \ 43e4520c8bSEnji Cooper include/openssl/srp.h \ 44e4520c8bSEnji Cooper include/openssl/ssl.h \ 45e4520c8bSEnji Cooper include/openssl/ui.h \ 46e4520c8bSEnji Cooper include/openssl/x509.h \ 47e4520c8bSEnji Cooper include/openssl/x509v3.h \ 4829536654SEnji Cooper include/openssl/x509_acert.h \ 49e4520c8bSEnji Cooper include/openssl/x509_vfy.h \ 5029536654SEnji Cooper include/crypto/bn_conf.h include/crypto/dso_conf.h \ 5129536654SEnji Cooper include/internal/param_names.h crypto/params_idx.c 52e4520c8bSEnji Cooper 53e4520c8bSEnji CooperGENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in 54e4520c8bSEnji CooperGENERATE[include/openssl/asn1t.h]=include/openssl/asn1t.h.in 55e4520c8bSEnji CooperGENERATE[include/openssl/bio.h]=include/openssl/bio.h.in 56e4520c8bSEnji CooperGENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in 57e4520c8bSEnji CooperGENERATE[include/openssl/cms.h]=include/openssl/cms.h.in 58e4520c8bSEnji CooperGENERATE[include/openssl/conf.h]=include/openssl/conf.h.in 5929536654SEnji CooperGENERATE[include/openssl/comp.h]=include/openssl/comp.h.in 60e4520c8bSEnji Cooper# include/openssl/configuration.h is generated by configdata.pm 61e4520c8bSEnji Cooper# We still need this information for the FIPS module checksum, but the attribute 62e4520c8bSEnji Cooper# 'skip' ensures that nothing is actually done with it. 63e4520c8bSEnji CooperGENERATE[include/openssl/configuration.h]{skip}=include/openssl/configuration.h.in 64e4520c8bSEnji CooperGENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in 65e4520c8bSEnji CooperGENERATE[include/openssl/crypto.h]=include/openssl/crypto.h.in 66e4520c8bSEnji CooperGENERATE[include/openssl/ct.h]=include/openssl/ct.h.in 67e4520c8bSEnji CooperGENERATE[include/openssl/err.h]=include/openssl/err.h.in 68e4520c8bSEnji CooperGENERATE[include/openssl/ess.h]=include/openssl/ess.h.in 69e4520c8bSEnji CooperGENERATE[include/openssl/fipskey.h]=include/openssl/fipskey.h.in 70e4520c8bSEnji CooperGENERATE[include/openssl/lhash.h]=include/openssl/lhash.h.in 71e4520c8bSEnji CooperGENERATE[include/openssl/ocsp.h]=include/openssl/ocsp.h.in 72e4520c8bSEnji CooperGENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in 73e4520c8bSEnji CooperGENERATE[include/openssl/pkcs12.h]=include/openssl/pkcs12.h.in 74e4520c8bSEnji CooperGENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in 75e4520c8bSEnji CooperGENERATE[include/openssl/safestack.h]=include/openssl/safestack.h.in 76e4520c8bSEnji CooperGENERATE[include/openssl/srp.h]=include/openssl/srp.h.in 77e4520c8bSEnji CooperGENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in 78e4520c8bSEnji CooperGENERATE[include/openssl/ui.h]=include/openssl/ui.h.in 79e4520c8bSEnji CooperGENERATE[include/openssl/x509.h]=include/openssl/x509.h.in 80e4520c8bSEnji CooperGENERATE[include/openssl/x509v3.h]=include/openssl/x509v3.h.in 8129536654SEnji CooperGENERATE[include/openssl/x509_acert.h]=include/openssl/x509_acert.h.in 82e4520c8bSEnji CooperGENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in 83aa144cedSJung-uk KimGENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in 84aa144cedSJung-uk KimGENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in 85a43ce912SJung-uk Kim 8629536654SEnji CooperDEPEND[crypto/params_idx.c \ 8729536654SEnji Cooper include/internal/param_names.h \ 8829536654SEnji Cooper include/openssl/core_names.h]=util/perl|OpenSSL/paramnames.pm 8929536654SEnji CooperGENERATE[crypto/params_idx.c]=crypto/params_idx.c.in 9029536654SEnji CooperGENERATE[include/internal/param_names.h]=include/internal/param_names.h.in 9129536654SEnji CooperGENERATE[include/openssl/core_names.h]=include/openssl/core_names.h.in 9229536654SEnji Cooper 93a43ce912SJung-uk KimIF[{- defined $target{shared_defflag} -}] 94e4520c8bSEnji Cooper SHARED_SOURCE[libcrypto]=libcrypto.ld 95e4520c8bSEnji Cooper SHARED_SOURCE[libssl]=libssl.ld 96a43ce912SJung-uk Kim 97e4520c8bSEnji Cooper GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto 98e4520c8bSEnji Cooper GENERATE[libssl.ld]=util/libssl.num libssl 99e4520c8bSEnji Cooper DEPEND[libcrypto.ld libssl.ld]=configdata.pm util/perl/OpenSSL/Ordinals.pm 100a43ce912SJung-uk KimENDIF 101a43ce912SJung-uk Kim 102e4520c8bSEnji CooperIF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] 103a43ce912SJung-uk Kim GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto 104a43ce912SJung-uk Kim GENERATE[libssl.rc]=util/mkrc.pl libssl 105e4520c8bSEnji Cooper DEPEND[libcrypto.rc libssl.rc]=configdata.pm 106a43ce912SJung-uk Kim 107a43ce912SJung-uk Kim SHARED_SOURCE[libcrypto]=libcrypto.rc 108a43ce912SJung-uk Kim SHARED_SOURCE[libssl]=libssl.rc 109a43ce912SJung-uk KimENDIF 11029536654SEnji Cooper 11129536654SEnji Cooper# This file sets the build directory up for CMake inclusion 11229536654SEnji Cooper# Note: This generation of OpenSSLConfig[Version].cmake is used 11329536654SEnji Cooper# for building openssl locally, and so the build variables are 11429536654SEnji Cooper# taken from builddata.pm rather than installdata.pm. For exportable 11529536654SEnji Cooper# versions of these generated files, you'll find them in the exporters 11629536654SEnji Cooper# directory 11729536654SEnji CooperGENERATE[OpenSSLConfig.cmake]=exporters/cmake/OpenSSLConfig.cmake.in 11829536654SEnji CooperDEPEND[OpenSSLConfig.cmake]=builddata.pm 11929536654SEnji CooperGENERATE[OpenSSLConfigVersion.cmake]=exporters/cmake/OpenSSLConfigVersion.cmake.in 12029536654SEnji CooperDEPEND[OpenSSLConfigVersion.cmake]=builddata.pm 12129536654SEnji CooperDEPEND[OpenSSLConfigVersion.cmake]=OpenSSLConfig.cmake 12229536654SEnji CooperDEPEND[""]=OpenSSLConfigVersion.cmake 12329536654SEnji Cooper 12429536654SEnji Cooper# This file sets the build directory up for pkg-config 12529536654SEnji CooperGENERATE[libcrypto.pc]=exporters/pkg-config/libcrypto.pc.in 12629536654SEnji CooperDEPEND[libcrypto.pc]=builddata.pm 12729536654SEnji CooperGENERATE[libssl.pc]=exporters/pkg-config/libssl.pc.in 12829536654SEnji CooperDEPEND[libssl.pc]=builddata.pm 12929536654SEnji CooperGENERATE[openssl.pc]=exporters/pkg-config/openssl.pc.in 13029536654SEnji CooperDEPEND[openssl.pc]=builddata.pm 13129536654SEnji CooperDEPEND[openssl.pc]=libcrypto.pc libssl.pc 13229536654SEnji Cooper 13329536654SEnji CooperGENERATE[builddata.pm]=util/mkinstallvars.pl \ 13429536654SEnji Cooper PREFIX=. BINDIR=apps APPLINKDIR=ms \ 13529536654SEnji Cooper LIBDIR= INCLUDEDIR=include "INCLUDEDIR=$(SRCDIR)/include" \ 13629536654SEnji Cooper ENGINESDIR=engines MODULESDIR=providers \ 13729536654SEnji Cooper "VERSION=$(VERSION)" "LDLIBS=$(LIB_EX_LIBS)" 13829536654SEnji Cooper 13929536654SEnji CooperDEPEND[""]=openssl.pc 140