1*b0d17251Schristos# Note that some of these directories are filtered in Configure. Look for 2*b0d17251Schristos# %skipdir there for further explanations. 3*b0d17251Schristos 4*b0d17251SchristosSUBDIRS=crypto ssl apps util tools fuzz providers doc 5*b0d17251SchristosIF[{- !$disabled{tests} -}] 6*b0d17251Schristos SUBDIRS=test 7*b0d17251SchristosENDIF 8*b0d17251SchristosIF[{- !$disabled{'deprecated-3.0'} -}] 9*b0d17251Schristos SUBDIRS=engines 10*b0d17251SchristosENDIF 11*b0d17251Schristos 12c7da899bSchristosLIBS=libcrypto libssl 137d004720SchristosINCLUDE[libcrypto]=. include 14c7da899bSchristosINCLUDE[libssl]=. include 15c7da899bSchristosDEPEND[libssl]=libcrypto 16c7da899bSchristos 17c7da899bSchristos# Empty DEPEND "indices" means the dependencies are expected to be built 18c7da899bSchristos# unconditionally before anything else. 19*b0d17251SchristosDEPEND[]=include/openssl/asn1.h \ 20*b0d17251Schristos include/openssl/asn1t.h \ 21*b0d17251Schristos include/openssl/bio.h \ 22*b0d17251Schristos include/openssl/cmp.h \ 23*b0d17251Schristos include/openssl/cms.h \ 24*b0d17251Schristos include/openssl/conf.h \ 25*b0d17251Schristos include/openssl/crmf.h \ 26*b0d17251Schristos include/openssl/crypto.h \ 27*b0d17251Schristos include/openssl/ct.h \ 28*b0d17251Schristos include/openssl/err.h \ 29*b0d17251Schristos include/openssl/ess.h \ 30*b0d17251Schristos include/openssl/fipskey.h \ 31*b0d17251Schristos include/openssl/lhash.h \ 32*b0d17251Schristos include/openssl/opensslv.h \ 33*b0d17251Schristos include/openssl/ocsp.h \ 34*b0d17251Schristos include/openssl/pkcs12.h \ 35*b0d17251Schristos include/openssl/pkcs7.h \ 36*b0d17251Schristos include/openssl/safestack.h \ 37*b0d17251Schristos include/openssl/srp.h \ 38*b0d17251Schristos include/openssl/ssl.h \ 39*b0d17251Schristos include/openssl/ui.h \ 40*b0d17251Schristos include/openssl/x509.h \ 41*b0d17251Schristos include/openssl/x509v3.h \ 42*b0d17251Schristos include/openssl/x509_vfy.h \ 43*b0d17251Schristos include/crypto/bn_conf.h include/crypto/dso_conf.h 44*b0d17251Schristos 45*b0d17251SchristosGENERATE[include/openssl/asn1.h]=include/openssl/asn1.h.in 46*b0d17251SchristosGENERATE[include/openssl/asn1t.h]=include/openssl/asn1t.h.in 47*b0d17251SchristosGENERATE[include/openssl/bio.h]=include/openssl/bio.h.in 48*b0d17251SchristosGENERATE[include/openssl/cmp.h]=include/openssl/cmp.h.in 49*b0d17251SchristosGENERATE[include/openssl/cms.h]=include/openssl/cms.h.in 50*b0d17251SchristosGENERATE[include/openssl/conf.h]=include/openssl/conf.h.in 51*b0d17251Schristos# include/openssl/configuration.h is generated by configdata.pm 52*b0d17251Schristos# We still need this information for the FIPS module checksum, but the attribute 53*b0d17251Schristos# 'skip' ensures that nothing is actually done with it. 54*b0d17251SchristosGENERATE[include/openssl/configuration.h]{skip}=include/openssl/configuration.h.in 55*b0d17251SchristosGENERATE[include/openssl/crmf.h]=include/openssl/crmf.h.in 56*b0d17251SchristosGENERATE[include/openssl/crypto.h]=include/openssl/crypto.h.in 57*b0d17251SchristosGENERATE[include/openssl/ct.h]=include/openssl/ct.h.in 58*b0d17251SchristosGENERATE[include/openssl/err.h]=include/openssl/err.h.in 59*b0d17251SchristosGENERATE[include/openssl/ess.h]=include/openssl/ess.h.in 60*b0d17251SchristosGENERATE[include/openssl/fipskey.h]=include/openssl/fipskey.h.in 61*b0d17251SchristosGENERATE[include/openssl/lhash.h]=include/openssl/lhash.h.in 62*b0d17251SchristosGENERATE[include/openssl/ocsp.h]=include/openssl/ocsp.h.in 63*b0d17251SchristosGENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in 64*b0d17251SchristosGENERATE[include/openssl/pkcs12.h]=include/openssl/pkcs12.h.in 65*b0d17251SchristosGENERATE[include/openssl/pkcs7.h]=include/openssl/pkcs7.h.in 66*b0d17251SchristosGENERATE[include/openssl/safestack.h]=include/openssl/safestack.h.in 67*b0d17251SchristosGENERATE[include/openssl/srp.h]=include/openssl/srp.h.in 68*b0d17251SchristosGENERATE[include/openssl/ssl.h]=include/openssl/ssl.h.in 69*b0d17251SchristosGENERATE[include/openssl/ui.h]=include/openssl/ui.h.in 70*b0d17251SchristosGENERATE[include/openssl/x509.h]=include/openssl/x509.h.in 71*b0d17251SchristosGENERATE[include/openssl/x509v3.h]=include/openssl/x509v3.h.in 72*b0d17251SchristosGENERATE[include/openssl/x509_vfy.h]=include/openssl/x509_vfy.h.in 737d004720SchristosGENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in 747d004720SchristosGENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in 75c7da899bSchristos 7613d40330SchristosIF[{- defined $target{shared_defflag} -}] 77*b0d17251Schristos SHARED_SOURCE[libcrypto]=libcrypto.ld 78*b0d17251Schristos SHARED_SOURCE[libssl]=libssl.ld 7913d40330Schristos 80*b0d17251Schristos GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto 81*b0d17251Schristos GENERATE[libssl.ld]=util/libssl.num libssl 82*b0d17251Schristos DEPEND[libcrypto.ld libssl.ld]=configdata.pm util/perl/OpenSSL/Ordinals.pm 8313d40330SchristosENDIF 8413d40330Schristos 85*b0d17251SchristosIF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] 8613d40330Schristos GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto 8713d40330Schristos GENERATE[libssl.rc]=util/mkrc.pl libssl 88*b0d17251Schristos DEPEND[libcrypto.rc libssl.rc]=configdata.pm 8913d40330Schristos 9013d40330Schristos SHARED_SOURCE[libcrypto]=libcrypto.rc 9113d40330Schristos SHARED_SOURCE[libssl]=libssl.rc 9213d40330SchristosENDIF 93