summaryrefslogtreecommitdiff
path: root/Config.kmk
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-02-22 23:08:43 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-02-22 23:08:43 +0000
commit8fc6264f581b84d5be3dc12055bbdc6e778593a0 (patch)
treea502aae4b79b3f8f93fa30dcd65a5d260ab1fe7a /Config.kmk
parent4b82aa82c29881531273a086ef28a7656756b470 (diff)
downloadVirtualBox-svn-8fc6264f581b84d5be3dc12055bbdc6e778593a0.tar.gz
Main/cbindings,/Config.kmk: Added VBoxCAPI-x86.dll/so/dylib for 32-bit apps. bugref:7675
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@98694 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'Config.kmk')
-rw-r--r--Config.kmk18
1 files changed, 18 insertions, 0 deletions
diff --git a/Config.kmk b/Config.kmk
index e94ca23b3b3..eedd8c31edc 100644
--- a/Config.kmk
+++ b/Config.kmk
@@ -6880,6 +6880,11 @@ if defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) && "$(KBUILD_TARGET).$(KBUILD_TAR
$(PATH_TOOL_$(TEMPLATE_VBoxR3Exe_TOOL.win.x86)_LIB)/oldnames.lib
endif
+# x86 version of VBoxR3TstExe
+TEMPLATE_VBoxR3TstExe-x86 := 32-bit VBox Ring 3 Testcase Exe
+TEMPLATE_VBoxR3TstExe-x86_EXTENDS := VBoxR3TstExe
+TEMPLATE_VBoxR3TstExe-x86_BLD_TRG_ARCH := x86
+TEMPLATE_VBoxR3TstExe-x86_LIBS = $(LIB_RUNTIME_X86) $(TEMPLATE_VBoxR3Exe_LIBS)
#
# Ring-3 testcase DLL.
@@ -7388,6 +7393,19 @@ ifn1of ($(KBUILD_TARGET), darwin os2 win)
endif
TEMPLATE_VBoxMainClientDll_LDFLAGS.darwin = $(filter-out -bind_at_load,$(TEMPLATE_VBoxMainClientExe_LDFLAGS.darwin))
+# x86 version of VBoxMainClientDll
+TEMPLATE_VBoxMainClientDll-x86 := 32-bit VBox MAIN Client (shared library)
+TEMPLATE_VBoxMainClientDll-x86_EXTENDS := VBoxMainClientDll
+TEMPLATE_VBoxMainClientDll-x86_BLD_TRG_ARCH := x86
+TEMPLATE_VBoxMainClientDll-x86_INST.win = $(INST_DLL)x86/
+TEMPLATE_VBoxMainClientDll-x86_DEFS = $(filter-out HC_ARCH_BITS%,$(TEMPLATE_VBoxMainClientDll_DEFS)) \
+ HC_ARCH_BIT=32 ARCH_BITS=32 VBOX_IN_32_ON_64_MAIN_API
+TEMPLATE_VBoxMainClientDll-x86_LIBS = \
+ $(subst $(PATH_STAGE_LIB)/VBoxCOM$(VBOX_SUFF_LIB),$(PATH_STAGE_LIB)/VBoxCOM-x86$(VBOX_SUFF_LIB), \
+ $(subst $(LIB_RUNTIME),$(VBOX_LIB_RUNTIME_X86), \
+ $(subst $(LIB_XPCOM),$(VBOX_LIB_XPCOM_X86), \
+ $(TEMPLATE_VBoxMainClientDll_LIBS))))
+
#
# Template for building testcases which are API clients.
#