]>
Commit | Line | Data |
---|---|---|
1 | # Note that some of these directories are filtered in Configure. Look for | |
2 | # %skipdir there for further explanations. | |
3 | SUBDIRS=crypto ssl apps test util tools fuzz engines providers doc | |
4 | ||
5 | LIBS=libcrypto libssl | |
6 | INCLUDE[libcrypto]=. include | |
7 | INCLUDE[libssl]=. include | |
8 | DEPEND[libssl]=libcrypto | |
9 | ||
10 | # Empty DEPEND "indices" means the dependencies are expected to be built | |
11 | # unconditionally before anything else. | |
12 | DEPEND[]=include/openssl/configuration.h include/openssl/opensslv.h \ | |
13 | include/crypto/bn_conf.h include/crypto/dso_conf.h \ | |
14 | doc/man7/openssl_user_macros.pod | |
15 | ||
16 | GENERATE[include/openssl/configuration.h]=include/openssl/configuration.h.in | |
17 | GENERATE[include/openssl/opensslv.h]=include/openssl/opensslv.h.in | |
18 | GENERATE[include/crypto/bn_conf.h]=include/crypto/bn_conf.h.in | |
19 | GENERATE[include/crypto/dso_conf.h]=include/crypto/dso_conf.h.in | |
20 | GENERATE[doc/man7/openssl_user_macros.pod]=doc/man7/openssl_user_macros.pod.in | |
21 | ||
22 | IF[{- defined $target{shared_defflag} -}] | |
23 | SHARED_SOURCE[libcrypto]=libcrypto.ld | |
24 | SHARED_SOURCE[libssl]=libssl.ld | |
25 | ||
26 | GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto | |
27 | GENERATE[libssl.ld]=util/libssl.num libssl | |
28 | ENDIF | |
29 | ||
30 | IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}] | |
31 | GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto | |
32 | GENERATE[libssl.rc]=util/mkrc.pl libssl | |
33 | ||
34 | SHARED_SOURCE[libcrypto]=libcrypto.rc | |
35 | SHARED_SOURCE[libssl]=libssl.rc | |
36 | ENDIF |