diff options
author | Richard Levitte <levitte@openssl.org> | 2023-05-03 12:29:00 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2023-11-15 08:22:29 +0100 |
commit | 2ac569a67b9d0980efa2d8061a6a61e0645f37a7 (patch) | |
tree | d10a44241363b75c52cdc14c839ae6ee8ff77503 /build.info | |
parent | Exclude more in the fuzz introspector report (diff) | |
download | openssl-2ac569a67b9d0980efa2d8061a6a61e0645f37a7.tar.xz openssl-2ac569a67b9d0980efa2d8061a6a61e0645f37a7.zip |
Clean up exporters, specifically those we have for pkg-config
The pkg-config exporters were a special hack, all in
Configurations/unix-Makefile.tmpl, and this was well and good as long
as that was the only main package interface configuration system that we
cared about.
Things have changed, though, so we move the pkg-config production to be
templatable in a more flexible manner. Additional templates for other
interface configuration systems can then be added fairly easily.
Two variants of the .pc files are produced:
- Those in 'exporters/' are installed in the location that 'pkg-config'
itself prefers for installed packages.
- Those in the top directory are to be used when it's desirable to build
directly against an OpenSSL build tree.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20878)
Diffstat (limited to 'build.info')
-rw-r--r-- | build.info | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/build.info b/build.info index d9e3c904b2..7149c8cd3a 100644 --- a/build.info +++ b/build.info @@ -8,6 +8,7 @@ ENDIF IF[{- !$disabled{'deprecated-3.0'} -}] SUBDIRS=engines ENDIF +SUBDIRS=exporters LIBS=libcrypto libssl INCLUDE[libcrypto]=. include @@ -99,3 +100,19 @@ IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}] SHARED_SOURCE[libcrypto]=libcrypto.rc SHARED_SOURCE[libssl]=libssl.rc ENDIF + +# This file sets the build directory up for pkg-config +GENERATE[libcrypto.pc]=exporters/pkg-config/libcrypto.pc.in +DEPEND[libcrypto.pc]=builddata.pm +GENERATE[libssl.pc]=exporters/pkg-config/libssl.pc.in +DEPEND[libssl.pc]=builddata.pm +GENERATE[openssl.pc]=exporters/pkg-config/openssl.pc.in +DEPEND[openssl.pc]=builddata.pm +DEPEND[openssl.pc]=libcrypto.pc libssl.pc + +GENERATE[builddata.pm]=util/mkinstallvars.pl \ + PREFIX=. BINDIR=apps LIBDIR= INCLUDEDIR=include APPLINKDIR=ms \ + ENGINESDIR=engines MODULESDIR=providers \ + "VERSION=$(VERSION)" "LDLIBS=$(LIB_EX_LIBS)" + +DEPEND[""]=openssl.pc |