]> git.ipfire.org Git - thirdparty/openssl.git/blame - apps/build.info
Configure: Add support for variables in build.info files
[thirdparty/openssl.git] / apps / build.info
CommitLineData
d8356e1b 1{- our @apps_openssl_src =
d6baf09f
RL
2 qw(openssl.c
3 asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c dgst.c dhparam.c
4 dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c errstr.c gendsa.c
c54492ec 5 genpkey.c genrsa.c kdf.c mac.c nseq.c ocsp.c passwd.c pkcs12.c pkcs7.c
4d768e96
SL
6 pkcs8.c pkey.c pkeyparam.c pkeyutl.c prime.c rand.c req.c rsa.c
7 rsautl.c s_client.c s_server.c s_time.c sess_id.c smime.c speed.c
0109e030
RL
8 spkac.c srp.c ts.c verify.c version.c x509.c rehash.c storeutl.c
9 info.c);
d6baf09f 10 our @apps_lib_src =
a43ce58f
SL
11 ( qw(apps.c apps_ui.c opt.c fmt.c s_cb.c s_socket.c app_rand.c
12 bf_prefix.c),
d6baf09f
RL
13 split(/\s+/, $target{apps_aux_src}) );
14 our @apps_init_src = split(/\s+/, $target{apps_init_src});
34f5d44f 15 "" -}
d90a6beb 16IF[{- !$disabled{apps} -}]
ac6bba6f 17 LIBS{noinst}=libapps.a
d6baf09f 18 SOURCE[libapps.a]={- join(" ", @apps_lib_src) -}
5674466e 19 INCLUDE[libapps.a]=.. ../include include
d6baf09f 20
d90a6beb 21 PROGRAMS=openssl
d6baf09f 22 SOURCE[openssl]={- join(" ", @apps_init_src) -}
6a74806e 23 SOURCE[openssl]={- join(" ", @apps_openssl_src) -}
5674466e 24 INCLUDE[openssl]=.. ../include include
d6baf09f 25 DEPEND[openssl]=libapps.a ../libssl
777a2882 26
83900628
RS
27IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-)/ -}]
28 GENERATE[openssl.rc]=../util/mkrc.pl openssl
29 SOURCE[openssl]=openssl.rc
30ENDIF
31
6a74806e
RL
32 {- join("\n ", map { (my $x = $_) =~ s|\.c$|.o|; "DEPEND[$x]=progs.h" }
33 @apps_openssl_src) -}
34 GENERATE[progs.h]=progs.pl $(APPS_OPENSSL)
35 DEPEND[progs.h]=../configdata.pm
36
994e86a9 37 SCRIPTS{misc}=CA.pl
d90a6beb 38 SOURCE[CA.pl]=CA.pl.in
994e86a9
RL
39 # linkname tells build files that a symbolic link or copy of this script
40 # without extension must be installed as well. Unix or Unix lookalike only.
41 SCRIPTS{misc,linkname=tsget}=tsget.pl
d8356e1b 42 SOURCE[tsget.pl]=tsget.in
d90a6beb 43ENDIF