build.info: implement PROGRAM_NO_INST, and dito for ENGINES, SCRIPTS, LIBS
authorRichard Levitte <levitte@openssl.org>
Fri, 8 Jul 2016 12:28:58 +0000 (14:28 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 18 Jul 2016 18:49:54 +0000 (20:49 +0200)
commit7f5af797287eb21469b27b43358a9e916cdc1445
treeefd245b2b338249241ff21b04fad2a958bb92aa9
parent3cea73a7fcaaada1ea0ee4b4353ed0176fee1112
build.info: implement PROGRAM_NO_INST, and dito for ENGINES, SCRIPTS, LIBS

PROGRAM_NO_INST, ENGINES_NO_INST, SCRIPTS_NO_INST and LIBS_NO_INST are
to be used to specify program, engines, scripts and libraries that are
not to be installed in the system.  Fuzzers, test programs, that sort
of things are of the _NO_INST type, for example.

For the benefit of build file templates and other templates that use
data from configdata.pm, a new hash table $unified_info{install} is
created.  It contains a set of subhashes, one for each type of
installable, each having an array of file names as values.  For
example, it can look like this:

    "install" =>
        {
            "engines" =>
                [
                    "engines/afalg/afalg",
                    "engines/capi",
                    "engines/dasync",
                    "engines/padlock",
                ],
            "libraries" =>
                [
                    "libcrypto",
                    "libssl",
                ],
            "programs" =>
                [
                    "apps/openssl",
                ],
            "scripts" =>
                [
                    "apps/CA.pl",
                    "apps/tsget",
                    "tools/c_rehash",
                ],
        },

Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure