# 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)"
