VirtualBox

Ignore:
Timestamp:
Jan 30, 2018 4:53:42 AM (7 years ago)
Author:
vboxsync
Message:

Makefiles/GAs/Win: Made the WDDM related DLLs Windows Vista+ and the other 3D DLLs W2K+. bugref:9107

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/Makefile.kmk

    r69111 r70802  
    5757 TEMPLATE_VBoxGuestWineDLL_CFLAGS += -wd4005 -wd4133
    5858endif
     59TEMPLATE_VBoxGuestWineDLL_LDFLAGS.win.x86 = $(filter-out -Section:.bss$(COMMA)RW!K,$(TEMPLATE_VBoxGuestR3Dll_LDFLAGS.win.x86))
     60TEMPLATE_VBoxGuestWineDLL_POST_CMDS.win.x86 = $(subst $(VBOX_PE_SET_VERSION), $(VBOX_PE_SET_VERSION) --w2k,$(TEMPLATE_VBoxGuestR3Dll_POST_CMDS.win.x86))
     61
     62#
     63# WDDM version of VBoxGuestWineDll.
     64#
     65TEMPLATE_VBoxGuestWineWddmDLL = WDDM version of VBoxGuestWineDLL.
     66TEMPLATE_VBoxGuestWineWddmDLL_EXTENDS = VBoxGuestWineDLL
     67TEMPLATE_VBoxGuestWineWddmDLL_POST_CMDS.win.x86 = $(subst $(VBOX_PE_SET_VERSION) --w2k, $(VBOX_PE_SET_VERSION) --vista,$(TEMPLATE_VBoxGuestWineDLL_POST_CMDS.win.x86))
     68TEMPLATE_VBoxGuestWineWddmDLL_POST_CMDS = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) --vista $(out)$$(NLTAB)$(TEMPLATE_VBoxGuestWineDLL_POST_CMDS))
     69TEMPLATE_VBoxGuestWineWddmDLL_LNK_DEPS  = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION)) $(TEMPLATE_VBoxGuestWineDLL_LNK_DEPS)
     70
    5971
    6072#
     
    6375TEMPLATE_VBoxGuestWineD3DxDLL = Template for building the D3D8/9 stuff.
    6476TEMPLATE_VBoxGuestWineD3DxDLL_EXTENDS    = VBoxGuestR3Dll
    65 TEMPLATE_VBoxGuestWineD3DxDLL_EXTENDS_BY = appending
    66 TEMPLATE_VBoxGuestWineD3DxDLL_SDKS = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    67 TEMPLATE_VBoxGuestWineD3DxDLL_DEFS = VBOX_USING_WINDDK_W7_OR_LATER
    68 TEMPLATE_VBoxGuestWineD3DxDLL_DEFS.x86   = __i386__
    69 #TEMPLATE_VBoxGuestWineD3DxDLL_INCS.x86   = vbox/libWineStub/include
    70 TEMPLATE_VBoxGuestWineD3DxDLL_DEFS = VBOX_WINE_WITH_IPRT
    71 TEMPLATE_VBoxGuestWineD3DxDLL_CFLAGS = -wd4100  -wd4204 -wd4245 -wd4305
     77TEMPLATE_VBoxGuestWineD3DxDLL_SDKS = $(TEMPLATE_VBoxGuestR3Dll_SDKS) ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
     78TEMPLATE_VBoxGuestWineD3DxDLL_DEFS = $(TEMPLATE_VBoxGuestR3Dll_DEFS) VBOX_USING_WINDDK_W7_OR_LATER ## @todo TODO FIXME BUGBUG! THIS LINE IS NOT USED!!
     79TEMPLATE_VBoxGuestWineD3DxDLL_DEFS.x86   = $(TEMPLATE_VBoxGuestR3Dll_DEFS.x86) __i386__
     80#TEMPLATE_VBoxGuestWineD3DxDLL_INCS.x86   = $(TEMPLATE_VBoxGuestR3Dll_INCS.x86) vbox/libWineStub/include
     81TEMPLATE_VBoxGuestWineD3DxDLL_DEFS = $(TEMPLATE_VBoxGuestR3Dll_DEFS) VBOX_WINE_WITH_IPRT
     82TEMPLATE_VBoxGuestWineD3DxDLL_CFLAGS = $(TEMPLATE_VBoxGuestR3Dll_CFLAGS) -wd4100  -wd4204 -wd4245 -wd4305
    7283if1of ($(VBOX_VCC_TOOL_STEM), VCC120)
    7384 TEMPLATE_VBoxGuestWineD3DxDLL_CFLAGS += -wd4005
    7485endif
    75 TEMPLATE_VBoxGuestWineD3DxDLL_LIBS = \
     86TEMPLATE_VBoxGuestWineD3DxDLL_LDFLAGS.win.x86 = $(filter-out -Section:.bss$(COMMA)RW!K,$(TEMPLATE_VBoxGuestR3Dll_LDFLAGS.win.x86))
     87TEMPLATE_VBoxGuestWineD3DxDLL_POST_CMDS.win.x86 = $(subst $(VBOX_PE_SET_VERSION), $(VBOX_PE_SET_VERSION) --w2k,$(TEMPLATE_VBoxGuestR3Dll_POST_CMDS.win.x86))
     88TEMPLATE_VBoxGuestWineD3DxDLL_LIBS = $(TEMPLATE_VBoxGuestR3Dll_LIBS)  \
    7689        $(VBOX_LIB_IPRT_GUEST_R3) \
    7790        $(VBOX_LIB_VBGL_R3)
     91
    7892
    7993
     
    248262 DLLS += wined3dwddm
    249263 wined3dwddm_EXTENDS        = wined3d
     264 wined3dwddm_TEMPLATE       = VBoxGuestWineWddmDLL
    250265 if defined(VBOX_SIGNING_MODE)
    251266  wined3dwddm_INSTTYPE.win  = none
     
    365380 DLLS += VBoxD3D9wddm
    366381 VBoxD3D9wddm_EXTENDS  = VBoxD3D9
     382 VBoxD3D9wddm_TEMPLATE = VBoxGuestWineWddmDLL
    367383 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
    368384  VBoxD3D9wddm_INSTTYPE = none
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette