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