Rethink the uplink / applink story
authorRichard Levitte <levitte@openssl.org>
Thu, 18 Feb 2016 17:43:56 +0000 (18:43 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 19 Feb 2016 10:06:54 +0000 (11:06 +0100)
commit3a55c92bbad0b720c9a3d7a56fa3c351b65a89ee
tree59e5462b3f76ce4de66c9b5dc8243f5d8f632670
parent5be5e56c09015633d94fb1ee1290081a78074546
Rethink the uplink / applink story

Adding uplink and applink to some builds was done by "magic", the
configuration for "mingw" only had a macro definition, the Configure
would react to its presence by adding the uplink source files to
cpuid_asm_src, and crypto/build.info inherited dance to get it
compiled, and Makefile.shared made sure applink.o would be
appropriately linked in.  That was a lot under the hood.

To replace this, we create a few template configurations in
Configurations/00-base-templates.conf, inherit one of them in the
"mingw" configuration, the rest is just about refering to the
$target{apps_aux_src} / $target{apps_obj} in the right places.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Configurations/00-base-templates.conf
Configurations/10-main.conf
Configure
Makefile.in
Makefile.shared
apps/Makefile.in
apps/build.info
crypto/build.info