Changeset 46147 in vbox
- Timestamp:
- May 17, 2013 3:35:09 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r46096 r46147 4672 4672 else ifeq ($(KBUILD_TARGET_ARCH),amd64) 4673 4673 TEMPLATE_VBOXGUESTR3EXE_TOOL := XGCCAMD64LINUXGNU 4674 TEMPLATE_VBOXGUESTR3EXE_TOOL.x86 := XGCCX86REDHATLINUX 4674 4675 endif 4675 4676 TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS := $(filter-out $(VBOX_GCC_pipe) $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) $(VBOX_GCC_fdiagnostics-show-option) $(VBOX_GCC_Wno-delete-non-virtual-dtor) $(VBOX_GCC_Wno-variadic-macros) $(VBOX_GCC_fvisibility-hidden) $(VBOX_GCC_fvisibility-inlines-hidden),$(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS)) -pipe … … 4702 4703 4703 4704 # 4705 # Template for building normal 32-bit R3 programs for the guest additions. 4706 # 4707 TEMPLATE_NewVBoxGuestR3Exe_X86 = 32-bit VBox Guest Program w/ IPRT and VBGL. 4708 TEMPLATE_NewVBoxGuestR3Exe_X86_EXTENDS = NewVBoxGuestR3Exe 4709 TEMPLATE_NewVBoxGuestR3Exe_X86_BLD_TRG_ARCH = x86 4710 TEMPLATE_NewVBoxGuestR3Exe_X86_LIBS = \ 4711 $(VBOX_LIB_IPRT_GUEST_R3_X86) \ 4712 $(VBOX_LIB_VBGL_R3_X86) \ 4713 $(VBOX_LIB_IPRT_GUEST_R3_X86) \ 4714 $(TEMPLATE_VBOXGUESTR3EXE_LIBS) 4715 TEMPLATE_NewVBoxGuestR3Exe_X86_INST = $(INST_ADDITIONS)/32/ 4716 4717 # 4704 4718 # Template for building R3 (dynamic) libraries for the guest additions. 4705 4719 # … … 4713 4727 TEMPLATE_VBOXGUESTR3DLL_LDFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_LDFLAGS) -fPIC 4714 4728 endif 4729 4730 # 4731 # Template for building normal 32-bit R3 programs for the guest additions. 4732 # 4733 TEMPLATE_VBOXGUESTR3DLL_X86 = 32-bit VBox Guest User Dynamic Libraries 4734 TEMPLATE_VBOXGUESTR3DLL_X86_EXTENDS = VBOXGUESTR3DLL 4735 TEMPLATE_VBOXGUESTR3DLL_X86_BLD_TRG_ARCH = x86 4736 TEMPLATE_VBOXGUESTR3DLL_X86_INST = $(INST_ADDITIONS)/32/ 4715 4737 4716 4738 # … … 4832 4854 TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o 4833 4855 TEMPLATE_VBOXGUESTR3XF86MOD_LIBS = \ 4834 4856 $(VBOX_LIB_VBGL_R3_XFREE86) 4835 4857 TEMPLATE_VBOXGUESTR3XF86MOD_DEFS = $(TEMPLATE_VBOXGUESTR3DLL_DEFS) VBOX_GUESTR3XF86MOD RTMEM_NO_WRAP_TO_EF_APIS 4836 4858 … … 4842 4864 TEMPLATE_VBOXGUESTR3XF86LIB_EXTENDS = VBOXGUESTR3XF86MOD 4843 4865 TEMPLATE_VBOXGUESTR3XF86LIB_INST = $(INST_ADDITIONS_LIB) 4866 4867 4868 # 4869 # Template for 32-bit XFree86 guest modules (relocatable module, i.e. sysmod). 4870 # 4871 TEMPLATE_VBOXGUESTR3XF86MOD_X86 = 32-bit VBox X.org Guest Module 4872 TEMPLATE_VBOXGUESTR3XF86MOD_X86_EXTENDS = VBOXGUESTR3XF86MOD 4873 TEMPLATE_VBOXGUESTR3XF86MOD_X86_BLD_TRG_ARCH = x86 4874 TEMPLATE_VBOXGUESTR3XF86MOD_X86_DEFS = \ 4875 $(filter-out _XSERVER64,$(TEMPLATE_VBOXGUESTR3XF86MOD_DEFS)) 4876 TEMPLATE_VBOXGUESTR3XF86MOD_X86_LIBS = \ 4877 $(VBOX_LIB_VBGL_R3_XFREE86_X86) 4878 TEMPLATE_VBOXGUESTR3XF86MOD_X86_INST = $(INST_ADDITIONS)/32/ 4879 4880 4881 # 4882 # Template for 32-bit XFree86 guest libraries. 4883 # 4884 TEMPLATE_VBOXGUESTR3XF86LIB_X86 = 32-bit VBox XFree86 Guest Library 4885 TEMPLATE_VBOXGUESTR3XF86LIB_X86_EXTENDS = VBOXGUESTR3XF86LIB 4886 TEMPLATE_VBOXGUESTR3XF86LIB_X86_BLD_TRG_ARCH = x86 4844 4887 4845 4888 … … 4873 4916 TEMPLATE_VBOXGUESTR3XORGMOD_LIBS.freebsd += \ 4874 4917 iconv 4918 4919 4920 # 4921 # Template for 32-bit X.org guest modules (shared libs). 4922 # 4923 TEMPLATE_VBOXGUESTR3XORGMOD_X86 = 32-bit VBox X.org Guest Module 4924 TEMPLATE_VBOXGUESTR3XORGMOD_X86_EXTENDS = VBOXGUESTR3XORGMOD 4925 TEMPLATE_VBOXGUESTR3XORGMOD_X86_BLD_TRG_ARCH = x86 4926 TEMPLATE_VBOXGUESTR3XORGMOD_X86_DEFS = \ 4927 $(filter-out _XSERVER64,$(TEMPLATE_VBOXGUESTR3XORGMOD_DEFS)) 4928 TEMPLATE_VBOXGUESTR3XORGMOD_X86_LIBS = \ 4929 $(VBOX_LIB_VBGL_R3_SHARED_X86) \ 4930 $(VBOX_LIB_IPRT_GUEST_R3_MINI_X86) \ 4931 $(VBOX_LIB_VBGL_R3_SHARED_X86) \ 4932 $(VBOX_LIB_IPRT_GUEST_R3_MINI_X86) 4933 TEMPLATE_VBOXGUESTR3XORGMOD_X86_INST = $(INST_ADDITIONS)/32/ 4875 4934 4876 4935 … … 5002 5061 ifeq ($(KBUILD_TARGET),x86) 5003 5062 VBOX_LIB_IPRT_GUEST_R3_X86 = $(VBOX_LIB_IPRT_GUEST_R3) 5063 VBOX_LIB_IPRT_GUEST_R3_MINI_X86 = $(VBOX_LIB_IPRT_GUEST_R3_MINI) 5064 VBOX_LIB_VBGL_R3_XFREE86_X86 = $(VBOX_LIB_VBGL_R3_XFREE86) 5004 5065 VBOX_LIB_IPRT_GUEST_R3_SHARED_X86 = $(VBOX_LIB_IPRT_GUEST_R3_SHARED) 5005 5066 VBOX_LIB_VBGL_R3_X86 = $(VBOX_LIB_VBGL_R3) … … 5007 5068 else 5008 5069 VBOX_LIB_IPRT_GUEST_R3_X86 = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3-x86$(VBOX_SUFF_LIB) 5070 VBOX_LIB_IPRT_GUEST_R3_MINI_X86 = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3Mini-x86$(VBOX_SUFF_LIB) 5071 VBOX_LIB_VBGL_R3_XFREE86_X86 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3LibXFree86-x86$(VBOX_SUFF_LIB) 5009 5072 VBOX_LIB_IPRT_GUEST_R3_SHARED_X86 = $(VBOX_PATH_ADDITIONS_LIB)/RuntimeGuestR3Shared-x86$(VBOX_SUFF_LIB) 5010 5073 VBOX_LIB_VBGL_R3_X86 = $(VBOX_PATH_ADDITIONS_LIB)/VBoxGuestR3Lib-x86$(VBOX_SUFF_LIB) -
trunk/src/VBox/Additions/common/VBoxControl/Makefile.kmk
r45459 r46147 45 45 VBoxControl_LDFLAGS.darwin = -framework IOKit 46 46 47 # 32-bit version for the 64-bit Linux Additions 48 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 49 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 50 PROGRAMS += VBoxControl_32 51 VBoxControl_32_EXTENDS = VBoxControl 52 VBoxControl_32_TEMPLATE = NewVBoxGuestR3Exe_X86 53 VBoxControl_32_NAME = VBoxControl 54 endif 55 endif 56 47 57 include $(FILE_KBUILD_SUB_FOOTER) 48 58 -
trunk/src/VBox/Additions/common/VBoxGuestLib/Makefile.kmk
r43346 r46147 42 42 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd) 43 43 LIBRARIES += \ 44 44 VBoxGuestR3LibXFree86 45 45 endif 46 46 endif 47 47 LIBRARIES.win.amd64 += VBoxGuestR3Lib-x86 VBoxGuestR3LibShared-x86 48 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 49 LIBRARIES.linux.amd64 += \ 50 VBoxGuestR3Lib-x86 \ 51 VBoxGuestR3LibShared-x86 \ 52 VBoxGuestR3LibXFree86-x86 53 endif 48 54 49 55 … … 160 166 161 167 # 162 # VBoxGuestR3LibShared-x86 - an x86 (32-bit) variant of VBoxGuestR3LibShared for 64-bit Windows.168 # VBoxGuestR3LibShared-x86 - an x86 (32-bit) variant of VBoxGuestR3LibShared for 64-bit Linux. 163 169 # 164 170 VBoxGuestR3LibShared-x86_EXTENDS := VBoxGuestR3LibShared … … 197 203 VBoxGuestR3LibRuntimeXF86.cpp_CXXFLAGS = -Wno-shadow 198 204 205 # 206 # VBoxGuestR3LibXFree86-x86 - an x86 (32-bit) variant of VBoxGuestR3LibXFree86 for 64-bit Linux. 207 # 208 VBoxGuestR3LibXFree86-x86_TEMPLATE := VBOXGUESTR3XF86LIB_X86 209 VBoxGuestR3LibXFree86-x86_EXTENDS := VBoxGuestR3LibXFree86 210 211 199 212 include $(FILE_KBUILD_SUB_FOOTER) 200 213 -
trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk
r45459 r46147 122 122 VBoxService_LDFLAGS.darwin = -framework IOKit 123 123 124 VBoxService_LIBS += \125 $(VBOX_LIB_IPRT_GUEST_R3) \126 $(VBOX_LIB_VBGL_R3) \127 $(VBOX_LIB_IPRT_GUEST_R3) # (The joy of unix linkers.)128 124 if1of ($(KBUILD_TARGET), linux) 129 125 VBoxService_LIBS += \ … … 145 141 kstat \ 146 142 contract 143 endif 144 145 # 32-bit version for the 64-bit Linux Additions 146 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 147 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 148 PROGRAMS += VBoxService_32 149 VBoxService_32_EXTENDS = VBoxService 150 VBoxService_32_TEMPLATE = NewVBoxGuestR3Exe_X86 151 VBoxService_32_NAME = VBoxService 152 endif 147 153 endif 148 154 -
trunk/src/VBox/Additions/common/crOpenGL/Makefile.kmk
r43296 r46147 41 41 endif 42 42 43 VBOX_OGL_X86_GUEST_DLLS = \ 44 VBoxOGL-x86 \ 45 VBoxOGLarrayspu-x86 \ 46 VBoxOGLpassthroughspu-x86 \ 47 VBoxOGLpackspu-x86 \ 48 VBoxOGLfeedbackspu-x86 49 50 ifdef VBOX_WITH_WDDM 51 DLLS.win.amd64 += VBOX_OGL_X86_GUEST_DLLS 52 endif 53 54 # 32-bit version for the 64-bit Linux Additions 55 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 56 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 57 DLLS += $(VBOX_OGL_X86_GUEST_DLLS) 58 $(foreach i,$(VBOX_OGL_X86_GUEST_DLLS),$(eval $(i)_INST = $(INST_ADDITIONS)/32/)) 59 $(foreach i,$(VBOX_OGL_X86_GUEST_DLLS),$(eval $(i)_NAME = $(subst -x86,,$(i)))) 60 endif 61 endif 62 43 63 if1of ($(KBUILD_TARGET), linux solaris freebsd) 44 64 #VBoxOGL_DRI = 1 … … 55 75 endif 56 76 endif 57 58 77 59 78 # … … 221 240 endif 222 241 223 ifdef VBOX_WITH_WDDM224 242 # 225 243 # VBoxOGL-x86 - x86 VBoxOGL version built for amd64 build 226 244 # 227 DLLS.win.amd64 += VBoxOGL-x86228 245 VBoxOGL-x86_EXTENDS = VBoxOGL 229 246 VBoxOGL-x86_BLD_TRG_ARCH = x86 … … 235 252 VBoxOGL-x86_CLEAN.win = $(subst cropengl.def,cropengl-x86.def,$(VBoxOGL_CLEAN.win)) 236 253 VBoxOGL-x86_DEFS = $(VBoxOGL_DEFS) VBOX_WDDM_WOW64 237 endif238 254 239 255 # … … 417 433 endif 418 434 419 ifdef VBOX_WITH_WDDM420 435 # 421 436 # VBoxOGLarrayspu-x86 - x86 version of VBoxOGLarrayspu built for amd64 build 422 437 # 423 DLLS.win.amd64 += VBoxOGLarrayspu-x86424 438 VBoxOGLarrayspu-x86_EXTENDS = VBoxOGLarrayspu 425 439 VBoxOGLarrayspu-x86_BLD_TRG_ARCH = x86 … … 428 442 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate-x86$(VBOX_SUFF_LIB) 429 443 VBoxOGLarrayspu-x86_DEFS = $(VBoxOGLarrayspu_DEFS) VBOX_WDDM_WOW64 430 endif431 444 432 445 # … … 461 474 endif 462 475 463 ifdef VBOX_WITH_WDDM464 476 # 465 477 # VBoxOGLpassthroughspu-x86 - x86 version of VBoxOGLpassthroughspu built for amd64 build 466 478 # 467 DLLS.win.amd64 += VBoxOGLpassthroughspu-x86468 479 VBoxOGLpassthroughspu-x86_EXTENDS = VBoxOGLpassthroughspu 469 480 VBoxOGLpassthroughspu-x86_BLD_TRG_ARCH = x86 470 481 VBoxOGLpassthroughspu-x86_LIBS = $(VBOX_LIB_OGL_CRUTIL_X86) 471 482 VBoxOGLpassthroughspu-x86_DEFS = $(VBoxOGLpassthroughspu_DEFS) VBOX_WDDM_WOW64 472 endif473 483 474 484 # … … 537 547 endif 538 548 539 ifdef VBOX_WITH_WDDM540 549 # 541 550 # VBoxOGLpackspu-x86 - x86 version of VBoxOGLpackspu built for amd64 build 542 551 # 543 DLLS.win.amd64 += VBoxOGLpackspu-x86544 552 VBoxOGLpackspu-x86_EXTENDS = VBoxOGLpackspu 545 553 VBoxOGLpackspu-x86_BLD_TRG_ARCH = x86 … … 549 557 $(PATH_STAGE_LIB)/additions/VBoxOGLcrpacker-x86$(VBOX_SUFF_LIB) 550 558 VBoxOGLpackspu-x86_DEFS = $(VBoxOGLpackspu_DEFS) VBOX_WDDM_WOW64 551 endif552 559 553 560 # … … 614 621 endif 615 622 616 ifdef VBOX_WITH_WDDM617 623 # 618 624 # VBoxOGLfeedbackspu-x86 - x86 version of VBoxOGLfeedbackspu built for amd64 build 619 625 # 620 DLLS.win.amd64 += VBoxOGLfeedbackspu-x86621 626 VBoxOGLfeedbackspu-x86_EXTENDS = VBoxOGLfeedbackspu 622 627 VBoxOGLfeedbackspu-x86_BLD_TRG_ARCH = x86 … … 625 630 $(PATH_STAGE_LIB)/additions/VBoxOGLcrstate-x86$(VBOX_SUFF_LIB) 626 631 VBoxOGLfeedbackspu-x86_DEFS = $(VBoxOGLfeedbackspu_DEFS) VBOX_WDDM_WOW64 627 endif628 632 629 633 # -
trunk/src/VBox/Additions/common/pam/Makefile.kmk
r41477 r46147 33 33 $(VBOX_LIB_IPRT_GUEST_R3_SHARED) 34 34 35 # 32-bit version for the 64-bit Linux Additions 36 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 37 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 38 DLLS += pam_vbox_32 39 pam_vbox_32_EXTENDS = pam_vbox 40 pam_vbox_32_TEMPLATE = VBOXGUESTR3DLL_X86 41 pam_vbox_32_NAME = pam_vbox 42 pam_vbox_32_LIBS = \ 43 pam \ 44 $(VBOX_LIB_IPRT_GUEST_R3_SHARED_X86) \ 45 $(VBOX_LIB_VBGL_R3_SHARED_X86) \ 46 $(VBOX_LIB_IPRT_GUEST_R3_SHARED_X86) 47 endif 48 endif 49 35 50 include $(FILE_KBUILD_SUB_FOOTER) -
trunk/src/VBox/Additions/linux/sharedfolders/Makefile.kmk
r42239 r46147 82 82 vbsfmount.c 83 83 84 # 32-bit version for the 64-bit Linux Additions 85 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 86 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 87 PROGRAMS += mount.vboxsf_32 88 mount.vboxsf_32_EXTENDS = mount.vboxsf 89 mount.vboxsf_32_TEMPLATE = NewVBoxGuestR3Exe_X86 90 mount.vboxsf_32_NAME = mount.vboxsf 91 endif 92 endif 93 84 94 include $(FILE_KBUILD_SUB_FOOTER) 85 95 -
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r42261 r46147 76 76 endif 77 77 78 # 32-bit version for the 64-bit Linux Additions 79 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 80 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 81 PROGRAMS += VBoxClient_32 82 VBoxClient_32_EXTENDS = VBoxClient 83 VBoxClient_32_TEMPLATE = NewVBoxGuestR3Exe_X86 84 VBoxClient_32_NAME = VBoxClient 85 endif 86 endif 87 78 88 ifdef VBOX_X11_SEAMLESS_GUEST 79 89 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK) -
trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk
r44528 r46147 239 239 endif # neq ($(KBUILD_TARGET),linux) 240 240 241 # 32-bit modules for the 64-bit Linux Additions 242 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 243 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 244 SYSMODS += vboxmouse_drv_32 245 vboxmouse_drv_32_EXTENDS = vboxmouse_drv 246 vboxmouse_drv_32_TEMPLATE = VBOXGUESTR3XF86MOD_X86 247 vboxmouse_drv_32_NAME = vboxmouse_drv 248 $(foreach i,$(filter vboxmouse_drv_%,$(DLLS)),$(eval DLLS += $(i)_32)) 249 $(foreach i,$(filter vboxmouse_drv_%_32,$(DLLS)),$(eval $(i)_EXTENDS = $(subst _32,,$(i)))) 250 $(foreach i,$(filter vboxmouse_drv_%_32,$(DLLS)),$(eval $(i)_TEMPLATE = VBOXGUESTR3XORGMOD_X86)) 251 $(foreach i,$(filter vboxmouse_drv_%_32,$(DLLS)),$(eval $(i)_NAME = $(subst _32,,$(i)))) 252 endif 253 endif 241 254 242 255 ifdef VBOX_USE_SYSTEM_XORG_HEADERS -
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r46021 r46147 333 333 334 334 335 # 32-bit modules for the 64-bit Linux Additions 336 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 337 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 338 SYSMODS += vboxvideo_drv_32 339 vboxvideo_drv_32_EXTENDS = vboxvideo_drv 340 vboxvideo_drv_32_TEMPLATE = VBOXGUESTR3XF86MOD_X86 341 vboxvideo_drv_32_NAME = vboxvideo_drv 342 $(foreach i,$(filter vboxvideo_drv_%,$(DLLS)),$(eval DLLS += $(i)_32)) 343 $(foreach i,$(filter vboxvideo_drv_%_32,$(DLLS)),$(eval $(i)_EXTENDS = $(subst _32,,$(i)))) 344 $(foreach i,$(filter vboxvideo_drv_%_32,$(DLLS)),$(eval $(i)_TEMPLATE = VBOXGUESTR3XORGMOD_X86)) 345 $(foreach i,$(filter vboxvideo_drv_%_32,$(DLLS)),$(eval $(i)_NAME = $(subst _32,,$(i)))) 346 endif 347 endif 348 335 349 ifdef VBOX_USE_SYSTEM_XORG_HEADERS 336 350 # Build using local X.Org headers. We assume X.Org Server 1.7 or later. … … 351 365 endif 352 366 353 354 367 # Check the undefined symbols in the X.Org modules against lists of allowed 355 368 # symbols. Not very elegant, but it will catch problems early. -
trunk/src/VBox/GuestHost/OpenGL/Makefile.kmk
r46021 r46147 41 41 DLLS += VBoxOGLhostcrutil VBoxOGLhosterrorspu 42 42 LIBRARIES += VBoxOGLhostcrpacker VBoxOGLhostspuload VBoxOGLhostcrstate 43 endif 44 45 VBOX_OGL_X86_COMMON_DLLS = \ 46 VBoxOGLcrutil-x86 \ 47 VBoxOGLerrorspu-x86 48 VBOX_OGL_X86_COMMON_LIBS = \ 49 VBoxOGLcrpacker-x86 \ 50 VBoxOGLspuload-x86 \ 51 VBoxOGLcrstate-x86 52 if defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS) 53 DLLS.win.amd64 += $(VBOX_OGL_X86_COMMON_DLLS) 54 endif 55 if defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS) 56 LIBRARIES.win.amd64 += $(VBOX_OGL_X86_COMMON_LIBS) 57 endif 58 # 32-bit version for the 64-bit Linux Additions 59 ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64) 60 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 61 LIBRARIES += $(VBOX_OGL_X86_COMMON_LIBS) 62 DLLS += $(VBOX_OGL_X86_COMMON_DLLS) 63 $(foreach i,$(VBOX_OGL_X86_COMMON_DLLS),$(eval $(i)_INST = $(INST_ADDITIONS)/32/)) 64 $(foreach i,$(VBOX_OGL_X86_COMMON_DLLS),$(eval $(i)_NAME = $(subst -x86,,$(i)))) 65 endif 43 66 endif 44 67 … … 113 136 VBoxOGLhostcrutil_pixel.c_CFLAGS.win.x86 += -Od 114 137 115 if defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS)116 138 # 117 139 # VBoxOGLcrutil-x86 - x86 VBoxOGLcrutil version built for amd64 build 118 140 # 119 DLLS.win.amd64 += VBoxOGLcrutil-x86120 141 VBoxOGLcrutil-x86_TEMPLATE = VBOXCROGLR3GUESTDLL 121 142 VBoxOGLcrutil-x86_EXTENDS = VBoxOGLcrutil … … 139 160 VBoxOGLcrutil-x86_pixel.c_CFLAGS += -Od 140 161 VBoxOGLcrutil-x86_pixel.c_CFLAGS += -Od 141 endif142 162 143 163 # … … 268 288 endif 269 289 270 if defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS)271 290 # 272 291 # VBoxOGLcrpacker-x86 - x86 VBoxOGLcrpacker version built for amd64 build 273 292 # 274 LIBRARIES.win.amd64 += VBoxOGLcrpacker-x86275 293 VBoxOGLcrpacker-x86_TEMPLATE = VBOXCROGLR3GUESTLIB 276 294 VBoxOGLcrpacker-x86_EXTENDS = VBoxOGLcrpacker 277 295 VBoxOGLcrpacker-x86_BLD_TRG_ARCH = x86 278 296 VBoxOGLcrpacker-x86_DEFS = $(VBoxOGLcrpacker_DEFS) VBOX_WDDM_WOW64 279 endif280 297 281 298 # … … 352 369 endif 353 370 354 if defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS)355 371 # 356 372 # VBoxOGLspuload-x86 - x86 VBoxOGLspuload version built for amd64 build 357 373 # 358 LIBRARIES.win.amd64 += VBoxOGLspuload-x86359 374 VBoxOGLspuload-x86_TEMPLATE = VBOXCROGLR3GUESTLIB 360 375 VBoxOGLspuload-x86_EXTENDS = VBoxOGLspuload 361 376 VBoxOGLspuload-x86_BLD_TRG_ARCH = x86 362 377 VBoxOGLspuload-x86_DEFS = $(VBoxOGLspuload_DEFS) VBOX_WDDM_WOW64 363 endif364 378 365 379 … … 486 500 endif 487 501 488 if defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS)489 502 # 490 503 # VBoxOGLcrstate-x86 - x86 VBoxOGLcrstate version built for amd64 build 491 504 # 492 LIBRARIES.win.amd64 += VBoxOGLcrstate-x86493 505 VBoxOGLcrstate-x86_TEMPLATE = VBOXCROGLR3GUESTLIB 494 506 VBoxOGLcrstate-x86_EXTENDS = VBoxOGLcrstate 495 507 VBoxOGLcrstate-x86_BLD_TRG_ARCH = x86 496 508 VBoxOGLcrstate-x86_DEFS = $(VBoxOGLcrstate_DEFS) VBOX_WDDM_WOW64 497 endif498 509 499 510 … … 611 622 612 623 613 if defined(VBOX_WITH_WDDM) && defined(VBOX_WITH_CROGL_ADDITIONS)614 624 # 615 625 # VBoxOGLerrorspu-x86 - x86 VBoxOGLerrorspu version built for amd64 build 616 626 # 617 DLLS.win.amd64 += VBoxOGLerrorspu-x86618 627 VBoxOGLerrorspu-x86_TEMPLATE = VBOXCROGLR3GUESTDLL 619 628 VBoxOGLerrorspu-x86_EXTENDS = VBoxOGLerrorspu … … 622 631 $(VBOX_LIB_OGL_CRUTIL_X86) 623 632 VBoxOGLerrorspu-x86_DEFS = $(VBoxOGLerrorspu_DEFS) VBOX_WDDM_WOW64 624 endif625 633 626 634 # -
trunk/src/VBox/Runtime/Makefile.kmk
r46144 r46147 38 38 #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3 39 39 LIBRARIES.win.x86 += RuntimeGuestR0NT4 40 endif 41 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 42 LIBRARIES.linux.amd64 += \ 43 RuntimeGuestR3-x86 \ 44 RuntimeGuestR3Mini-x86 \ 45 RuntimeGuestR3Shared-x86 40 46 endif 41 47 … … 88 94 LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini 89 95 LIBRARIES.win.amd64 += RuntimeGuestR3-x86 RuntimeGuestR3Shared-x86 96 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),) 97 LIBRARIES.linux.amd64 += \ 98 RuntimeGuestR3-x86 \ 99 RuntimeGuestR3Mini-x86 \ 100 RuntimeGuestR3Shared-x86 101 endif 90 102 ifdef VBOX_WITH_ADDITION_DRIVERS 91 103 LIBRARIES += RuntimeGuestR0 … … 1230 1242 win/RTErrConvertFromWin32.cpp 1231 1243 1244 # 1245 # RuntimeGuestR3Mini-x86 - Same as RuntimeGuestR3Mini, except that it's targeting x86. 1246 # 1247 RuntimeGuestR3Mini-x86_EXTENDS := RuntimeGuestR3Mini 1248 RuntimeGuestR3Mini-x86_BLD_TRG_ARCH := x86 1249 1250 1232 1251 # VBox specific stuff. 1233 1252 RuntimeGuestR3Mini_SOURCES += \
Note:
See TracChangeset
for help on using the changeset viewer.