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