Rework build: add special cases for AIX
[openssl.git] / build.info
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
4
5 LIBS=libcrypto libssl
6 INCLUDE[libcrypto]=. crypto/include 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/opensslconf.h crypto/include/internal/bn_conf.h \
13          crypto/include/internal/dso_conf.h doc/man7/openssl_user_macros.pod
14 DEPEND[include/openssl/opensslconf.h]=configdata.pm
15 GENERATE[include/openssl/opensslconf.h]=include/openssl/opensslconf.h.in
16 DEPEND[crypto/include/internal/bn_conf.h]=configdata.pm
17 GENERATE[crypto/include/internal/bn_conf.h]=crypto/include/internal/bn_conf.h.in
18 DEPEND[crypto/include/internal/dso_conf.h]=configdata.pm
19 GENERATE[crypto/include/internal/dso_conf.h]=crypto/include/internal/dso_conf.h.in
20 DEPEND[doc/man7/openssl_user_macros.pod]=configdata.pm
21 GENERATE[doc/man7/openssl_user_macros.pod]=doc/man7/openssl_user_macros.pod.in
22
23 IF[{- defined $target{shared_defflag} -}]
24   SHARED_SOURCE[libcrypto]=libcrypto.ld
25   SHARED_SOURCE[libssl]=libssl.ld
26
27   GENERATE[libcrypto.ld]=util/libcrypto.num libcrypto
28   GENERATE[libssl.ld]=util/libssl.num libssl
29 ENDIF
30
31 IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
32   GENERATE[libcrypto.rc]=util/mkrc.pl libcrypto
33   GENERATE[libssl.rc]=util/mkrc.pl libssl
34
35   SHARED_SOURCE[libcrypto]=libcrypto.rc
36   SHARED_SOURCE[libssl]=libssl.rc
37 ENDIF