Always build library object files with shared library cflags
authorRichard Levitte <levitte@openssl.org>
Fri, 19 Feb 2016 21:02:41 +0000 (22:02 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 20 Feb 2016 15:51:31 +0000 (16:51 +0100)
commit45502bfe19fb03c9f343b03fa6434ee0bece8428
treeaee03c1d32efbaa7227580971da0f628359016f2
parent011b967508342a5c940a0c75193f742c0b13bdc4
Always build library object files with shared library cflags

This takes us away from the idea that we know exactly how our static
libraries are going to get used.  Instead, we make them available to
build shareable things with, be it other shared libraries or DSOs.

On the other hand, we also have greater control of when the shared
library cflags.  They will never be used with object files meant got
binaries, such as apps/openssl or test/test*.

With unified, we take this a bit further and prepare for having to
deal with extra cflags specifically to be used with DSOs (dynamic
engines), libraries and binaries (applications).

Reviewed-by: Rich Salz <rsalz@openssl.org>
65 files changed:
Configurations/README
Configurations/README.design
Configurations/common.tmpl
Configurations/unix-Makefile.tmpl
Configure
Makefile.in
crypto/Makefile.in
crypto/aes/Makefile.in
crypto/asn1/Makefile.in
crypto/async/Makefile.in
crypto/bf/Makefile.in
crypto/bio/Makefile.in
crypto/bn/Makefile.in
crypto/buffer/Makefile.in
crypto/camellia/Makefile.in
crypto/cast/Makefile.in
crypto/chacha/Makefile.in
crypto/cmac/Makefile.in
crypto/cms/Makefile.in
crypto/comp/Makefile.in
crypto/conf/Makefile.in
crypto/ct/Makefile.in
crypto/des/Makefile.in
crypto/dh/Makefile.in
crypto/dsa/Makefile.in
crypto/dso/Makefile.in
crypto/ec/Makefile.in
crypto/engine/Makefile.in
crypto/err/Makefile.in
crypto/evp/Makefile.in
crypto/hmac/Makefile.in
crypto/idea/Makefile.in
crypto/kdf/Makefile.in
crypto/lhash/Makefile.in
crypto/md2/Makefile.in
crypto/md4/Makefile.in
crypto/md5/Makefile.in
crypto/mdc2/Makefile.in
crypto/modes/Makefile.in
crypto/objects/Makefile.in
crypto/ocsp/Makefile.in
crypto/pem/Makefile.in
crypto/pkcs12/Makefile.in
crypto/pkcs7/Makefile.in
crypto/poly1305/Makefile.in
crypto/rand/Makefile.in
crypto/rc2/Makefile.in
crypto/rc4/Makefile.in
crypto/rc5/Makefile.in
crypto/ripemd/Makefile.in
crypto/rsa/Makefile.in
crypto/seed/Makefile.in
crypto/sha/Makefile.in
crypto/srp/Makefile.in
crypto/stack/Makefile.in
crypto/ts/Makefile.in
crypto/txt_db/Makefile.in
crypto/ui/Makefile.in
crypto/whrlpool/Makefile.in
crypto/x509/Makefile.in
crypto/x509v3/Makefile.in
engines/Makefile.in
ssl/Makefile.in
util/mk1mf.pl
util/pl/VC-32.pl