diff options
author | Richard Levitte <levitte@openssl.org> | 2019-08-28 22:27:47 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2019-09-04 17:26:07 +0200 |
commit | 2ad75c6c1341db8a3122bbeaf863440057d71307 (patch) | |
tree | fbcb1a16b4410414083f21ddaa92aa8e450a0baa /apps | |
parent | 1e8e75d18be8856e753a57771754b9926c3f4264 (diff) | |
download | openssl-new-2ad75c6c1341db8a3122bbeaf863440057d71307.tar.gz |
Move libapps.a source to apps/lib
This makes it clearer what's what. The 'openssl' application and its
sub-commands remain in apps/
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9723)
Diffstat (limited to 'apps')
-rw-r--r-- | apps/build.info | 39 | ||||
-rw-r--r-- | apps/include/vms_term_sock.h (renamed from apps/vms_term_sock.h) | 0 | ||||
-rw-r--r-- | apps/lib/app_rand.c (renamed from apps/app_rand.c) | 0 | ||||
-rw-r--r-- | apps/lib/apps.c (renamed from apps/apps.c) | 0 | ||||
-rw-r--r-- | apps/lib/apps_ui.c (renamed from apps/apps_ui.c) | 0 | ||||
-rw-r--r-- | apps/lib/bf_prefix.c (renamed from apps/bf_prefix.c) | 0 | ||||
-rw-r--r-- | apps/lib/build.info | 18 | ||||
-rw-r--r-- | apps/lib/columns.c (renamed from apps/columns.c) | 0 | ||||
-rw-r--r-- | apps/lib/fmt.c (renamed from apps/fmt.c) | 0 | ||||
-rw-r--r-- | apps/lib/opt.c (renamed from apps/opt.c) | 0 | ||||
-rw-r--r-- | apps/lib/s_cb.c (renamed from apps/s_cb.c) | 0 | ||||
-rw-r--r-- | apps/lib/s_socket.c (renamed from apps/s_socket.c) | 0 | ||||
-rw-r--r-- | apps/lib/vms_decc_argv.c (renamed from apps/vms_decc_argv.c) | 0 | ||||
-rw-r--r-- | apps/lib/vms_term_sock.c (renamed from apps/vms_term_sock.c) | 0 | ||||
-rw-r--r-- | apps/lib/win32_init.c (renamed from apps/win32_init.c) | 0 |
15 files changed, 29 insertions, 28 deletions
diff --git a/apps/build.info b/apps/build.info index aa2c6a302d..f49edb4d44 100644 --- a/apps/build.info +++ b/apps/build.info @@ -1,3 +1,5 @@ +SUBDIRS=lib + # Program init source, that don't have direct linkage with the rest of the # source, and can therefore not be part of a library. IF[{- !$disabled{uplink} -}] @@ -7,37 +9,18 @@ IF[{- $config{target} =~ /^vms-/ -}] $INITSRC=vms_decc_init.c ENDIF -# Auxilliary program source -IF[{- $config{target} =~ /^(?:VC-|mingw)/ -}] - # It's called 'init', but doesn't have much 'init' in it... - $AUXLIBAPPSSRC=win32_init.c -ENDIF -IF[{- $config{target} =~ /^vms-/ -}] - $AUXLIBAPPSSRC=vms_term_sock.c vms_decc_argv.c -ENDIF - # Source for the 'openssl' program -# We need the perl variable for the DEPEND generator further down. -$OPENSSLSRC={- - our @opensslsrc = - qw(openssl.c progs.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 kdf.c mac.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 storeutl.c - list.c info.c provider.c fipsinstall.c); - join(' ', @opensslsrc); -} -# Source for libapps -$LIBAPPSSRC=apps.c apps_ui.c opt.c fmt.c s_cb.c s_socket.c app_rand.c \ - bf_prefix.c columns.c lib/app_params.c +$OPENSSLSRC=\ + openssl.c progs.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 kdf.c mac.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 storeutl.c \ + list.c info.c provider.c fipsinstall.c IF[{- !$disabled{apps} -}] - LIBS{noinst}=libapps.a - SOURCE[libapps.a]=$LIBAPPSSRC $AUXLIBAPPSSRC - INCLUDE[libapps.a]=.. ../include include - PROGRAMS=openssl SOURCE[openssl]=$INITSRC $OPENSSLSRC INCLUDE[openssl]=.. ../include include diff --git a/apps/vms_term_sock.h b/apps/include/vms_term_sock.h index d4c7c3d160..d4c7c3d160 100644 --- a/apps/vms_term_sock.h +++ b/apps/include/vms_term_sock.h diff --git a/apps/app_rand.c b/apps/lib/app_rand.c index 1861343a9c..1861343a9c 100644 --- a/apps/app_rand.c +++ b/apps/lib/app_rand.c diff --git a/apps/apps.c b/apps/lib/apps.c index 5038817750..5038817750 100644 --- a/apps/apps.c +++ b/apps/lib/apps.c diff --git a/apps/apps_ui.c b/apps/lib/apps_ui.c index bcfe555478..bcfe555478 100644 --- a/apps/apps_ui.c +++ b/apps/lib/apps_ui.c diff --git a/apps/bf_prefix.c b/apps/lib/bf_prefix.c index 8cedca90ce..8cedca90ce 100644 --- a/apps/bf_prefix.c +++ b/apps/lib/bf_prefix.c diff --git a/apps/lib/build.info b/apps/lib/build.info new file mode 100644 index 0000000000..f92d4dafc6 --- /dev/null +++ b/apps/lib/build.info @@ -0,0 +1,18 @@ +# Auxilliary program source +IF[{- $config{target} =~ /^(?:VC-|mingw)/ -}] + # It's called 'init', but doesn't have much 'init' in it... + $AUXLIBAPPSSRC=win32_init.c +ENDIF +IF[{- $config{target} =~ /^vms-/ -}] + $AUXLIBAPPSSRC=vms_term_sock.c vms_decc_argv.c +ENDIF + +# Source for libapps +$LIBAPPSSRC=apps.c apps_ui.c opt.c fmt.c s_cb.c s_socket.c app_rand.c \ + bf_prefix.c columns.c app_params.c + +IF[{- !$disabled{apps} -}] + LIBS{noinst}=../libapps.a + SOURCE[../libapps.a]=$LIBAPPSSRC $AUXLIBAPPSSRC + INCLUDE[../libapps.a]=../.. ../../include ../include +ENDIF diff --git a/apps/columns.c b/apps/lib/columns.c index aa58fe1781..aa58fe1781 100644 --- a/apps/columns.c +++ b/apps/lib/columns.c diff --git a/apps/fmt.c b/apps/lib/fmt.c index 5cb4c041a8..5cb4c041a8 100644 --- a/apps/fmt.c +++ b/apps/lib/fmt.c diff --git a/apps/opt.c b/apps/lib/opt.c index c2a5878ef6..c2a5878ef6 100644 --- a/apps/opt.c +++ b/apps/lib/opt.c diff --git a/apps/s_cb.c b/apps/lib/s_cb.c index 47b8afe9ef..47b8afe9ef 100644 --- a/apps/s_cb.c +++ b/apps/lib/s_cb.c diff --git a/apps/s_socket.c b/apps/lib/s_socket.c index 7dd95e9f0e..7dd95e9f0e 100644 --- a/apps/s_socket.c +++ b/apps/lib/s_socket.c diff --git a/apps/vms_decc_argv.c b/apps/lib/vms_decc_argv.c index 932b51a837..932b51a837 100644 --- a/apps/vms_decc_argv.c +++ b/apps/lib/vms_decc_argv.c diff --git a/apps/vms_term_sock.c b/apps/lib/vms_term_sock.c index 1b27699b9d..1b27699b9d 100644 --- a/apps/vms_term_sock.c +++ b/apps/lib/vms_term_sock.c diff --git a/apps/win32_init.c b/apps/lib/win32_init.c index 8836b3ba39..8836b3ba39 100644 --- a/apps/win32_init.c +++ b/apps/lib/win32_init.c |