summaryrefslogtreecommitdiffstats
path: root/apps/build.info
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-03-19 00:50:49 +0100
committerRichard Levitte <levitte@openssl.org>2016-03-19 01:49:31 +0100
commit04e2a527379ad12ca512aef4e838f94af22d7f79 (patch)
tree955948e91aab643c1987e2d269519d7b3f9f0e58 /apps/build.info
parentInclude progs.h directly in openssl.c instead of via apps.h (diff)
downloadopenssl-04e2a527379ad12ca512aef4e838f94af22d7f79.tar.xz
openssl-04e2a527379ad12ca512aef4e838f94af22d7f79.zip
Generate apps/progs.h on the fly
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/build.info')
-rw-r--r--apps/build.info25
1 files changed, 18 insertions, 7 deletions
diff --git a/apps/build.info b/apps/build.info
index d581aad4bf..0d4aad3a1e 100644
--- a/apps/build.info
+++ b/apps/build.info
@@ -1,16 +1,27 @@
-{- use File::Spec::Functions qw/catdir rel2abs/; -}
+{- use File::Spec::Functions qw/catdir rel2abs/;
+ our @cmd_srcs = (
+ "asn1pars.c", "ca.c", "ciphers.c", "cms.c", "crl.c", "crl2p7.c",
+ "dgst.c", "dhparam.c", "dsa.c", "dsaparam.c", "ec.c", "ecparam.c",
+ "enc.c", "engine.c", "errstr.c", "gendsa.c", "genpkey.c", "genrsa.c",
+ "nseq.c", "ocsp.c", "passwd.c", "pkcs12.c", "pkcs7.c", "pkcs8.c",
+ "pkey.c", "pkeyparam.c", "pkeyutl.c", "prime.c", "rand.c", "req.c",
+ "rsa.c", "rsautl.c", "s_client.c", "s_server.c", "s_time.c",
+ "sess_id.c", "smime.c", "speed.c", "spkac.c", "srp.c", "ts.c",
+ "verify.c", "version.c", "x509.c", "rehash.c",
+ );
+ "";
+ -}
PROGRAMS=openssl
SOURCE[openssl]=\
openssl.c \
- asn1pars.c ca.c ciphers.c cms.c crl.c crl2p7.c dgst.c dhparam.c \
- dsa.c dsaparam.c ec.c ecparam.c enc.c engine.c errstr.c gendsa.c \
- genpkey.c genrsa.c nseq.c ocsp.c passwd.c pkcs12.c pkcs7.c pkcs8.c \
- pkey.c pkeyparam.c pkeyutl.c prime.c rand.c req.c rsa.c rsautl.c \
- s_client.c s_server.c s_time.c sess_id.c smime.c speed.c spkac.c \
- srp.c ts.c verify.c version.c x509.c rehash.c \
+ {- join(" ", @cmd_srcs); -} \
apps.c opt.c s_cb.c s_socket.c \
app_rand.c \
{- $target{apps_aux_src} -}
+DEPEND[openssl.o]=progs.h
+DEPEND[progs.h]={- join(" ", @cmd_srcs); -} ../configdata.pm
+GENERATE[progs.h]=progs.pl {- join(" ", map { catdir($sourcedir, $_) } @cmd_srcs); -}
+
INCLUDE[openssl]={- rel2abs(catdir($builddir,"../include")) -} .. ../include
DEPEND[openssl]=../libssl