summaryrefslogtreecommitdiffstats
path: root/build.info
diff options
context:
space:
mode:
Diffstat (limited to 'build.info')
-rw-r--r--build.info17
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