mirror of
https://github.com/openssl/openssl.git
synced 2024-12-21 06:09:35 +08:00
6e0fd246e7
Essentially, we try to do what GNU does. 'prefix' is used to define the defaults for 'exec_prefix' and 'libdir', and these are then used to define further directory values. util/mkinstallvars.pl is changed to reflect that to the best of our ability. Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24687)
27 lines
1.2 KiB
Plaintext
27 lines
1.2 KiB
Plaintext
# For installation: OpenSSLConfig.cmake, OpenSSLConfigVersion.cmake
|
|
GENERATE[OpenSSLConfig.cmake]{exporter=cmake}=cmake/OpenSSLConfig.cmake.in
|
|
DEPEND[OpenSSLConfig.cmake]=../installdata.pm
|
|
GENERATE[OpenSSLConfigVersion.cmake]{exporter=cmake}=cmake/OpenSSLConfigVersion.cmake.in
|
|
DEPEND[OpenSSLConfigVersion.cmake]=../installdata.pm
|
|
DEPEND[OpenSSLConfigVersion.cmake]=OpenSSLConfig.cmake
|
|
|
|
DEPEND[""]=OpenSSLConfigVersion.cmake
|
|
|
|
# For installation: libcrypto.pc, libssl.pc, and openssl.pc
|
|
GENERATE[libcrypto.pc]{exporter=pkg-config}=pkg-config/libcrypto.pc.in
|
|
DEPEND[libcrypto.pc]=../installdata.pm
|
|
GENERATE[libssl.pc]{exporter=pkg-config}=pkg-config/libssl.pc.in
|
|
DEPEND[libssl.pc]=../installdata.pm
|
|
GENERATE[openssl.pc]{exporter=pkg-config}=pkg-config/openssl.pc.in
|
|
DEPEND[openssl.pc]=../installdata.pm
|
|
DEPEND[openssl.pc]=libcrypto.pc libssl.pc
|
|
|
|
DEPEND[""]=openssl.pc
|
|
|
|
GENERATE[../installdata.pm]=../util/mkinstallvars.pl \
|
|
"PREFIX=$(INSTALLTOP)" BINDIR=bin "LIBDIR=$(LIBDIR)" "libdir=$(libdir)" \
|
|
INCLUDEDIR=include APPLINKDIR=include/openssl \
|
|
"ENGINESDIR=$(ENGINESDIR)" "MODULESDIR=$(MODULESDIR)" \
|
|
"PKGCONFIGDIR=$(PKGCONFIGDIR)" "CMAKECONFIGDIR=$(CMAKECONFIGDIR)" \
|
|
"LDLIBS=$(LIB_EX_LIBS)" "VERSION=$(VERSION)"
|