VirtualBox

Changeset 39648 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Dec 16, 2011 6:50:12 PM (13 years ago)
Author:
vboxsync
Message:

wine: fix debug build

Location:
trunk/src/VBox/Additions/WINNT/Graphics/Wine
Files:
4 edited

Legend:

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

    r39602 r39648  
    174174    wined3d/wined3d.def
    175175wined3d_SDKS          = WINDDKWLH
    176 ifdef VBOX_WINE_WITH_IPRT
     176# wined3d now using iprt/asm.h, which includes iprt/assert.h, so iprt is required
    177177wined3d_LIBS         += \
    178178                                                        $(VBOX_LIB_IPRT_GUEST_R3) \
    179179                                                        $(VBOX_LIB_VBGL_R3)
    180180wined3d_DEFS         += VBOX_WINE_WITH_IPRT
    181 endif
    182181
    183182ifdef VBOX_WITH_WDDM
    184183DLLS += wined3dwddm
    185184wined3dwddm_EXTENDS        = wined3d
    186 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
    187  wined3dwddm_INSTTYPE.win  = none
    188  wined3dwddm_DEBUG_INSTTYPE.win = both
    189 endif
     185 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
     186  wined3dwddm_INSTTYPE.win  = none
     187  wined3dwddm_DEBUG_INSTTYPE.win = both
     188 endif
    190189wined3dwddm_INCS           = vbox/libWineStub/include
    191190wined3dwddm_DEFS           = $(subst VBOX_WINE_WITH_SINGLE_SWAPCHAIN_CONTEXT,,$(wined3d_DEFS))
     
    196195wined3dwddm-x86_EXTENDS    = wined3dwddm
    197196wined3dwddm-x86_BLD_TRG_ARCH = x86
    198 ifdef VBOX_WINE_WITH_IPRT
     197# wined3d now using iprt/asm.h, which includes iprt/assert.h, so iprt is required
    199198wined3dwddm-x86_LIBS = \
    200199                                                $(VBOX_LIB_IPRT_GUEST_R3_X86) \
    201200                                                $(VBOX_LIB_VBGL_R3_X86)
    202 endif
     201
    203202wined3dwddm-x86_DEFS       = $(wined3dwddm_DEFS) VBOX_WDDM_WOW64
    204 endif
     203endif # ifdef VBOX_WITH_WDDM
    205204
    206205DLLS += VBoxD3D8
     
    294293DLLS += VBoxD3D9wddm
    295294VBoxD3D9wddm_EXTENDS        = VBoxD3D9
    296 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
    297  VBoxD3D9wddm_INSTTYPE  = none
    298  VBoxD3D9wddm_DEBUG_INSTTYPE = both
    299 endif
     295 if defined(VBOX_SIGNING_MODE) && defined(VBOX_WITH_WDDM)
     296  VBoxD3D9wddm_INSTTYPE  = none
     297  VBoxD3D9wddm_DEBUG_INSTTYPE = both
     298 endif
    300299VBoxD3D9wddm_INCS           = vbox/libWineStub/include
    301300VBoxD3D9wddm_DEFS          += $(VBoxD3D9_DEFS) VBOX_WITH_WDDM VBOX_WINE_WITHOUT_LIBWINE IN_VBOXWINEEX
    302301VBoxD3D9wddm_SOURCES        = $(subst d3d9xpdm.def,d3d9wddm.def,$(VBoxD3D9_SOURCES))
    303302VBoxD3D9wddm_LIBS           = $(subst $(PATH_STAGE_LIB)/wined3d$(VBOX_SUFF_LIB),$(PATH_STAGE_LIB)/wined3dwddm$(VBOX_SUFF_LIB),$(VBoxD3D9_LIBS))
    304 #ifdef VBOX_WINE_WITH_IPRT
    305 #VBoxD3D9wddm_LIBS          += \
    306                                                         $(VBOX_LIB_IPRT_GUEST_R3) \
    307                                                         $(VBOX_LIB_VBGL_R3)
    308 #VBoxD3D9wddm_DEFS          += VBOX_WINE_WITH_IPRT
    309 #endif
    310303
    311304DLLS.amd64 += VBoxD3D9wddm-x86
     
    314307VBoxD3D9wddm-x86_LIBS         = $(PATH_STAGE_LIB)/wined3dwddm-x86$(VBOX_SUFF_LIB)
    315308VBoxD3D9wddm-x86_DEFS         = $(VBoxD3D9wddm_DEFS) VBOX_WDDM_WOW64
    316 ifdef VBOX_WINE_WITH_IPRT
     309 ifdef VBOX_WINE_WITH_IPRT
    317310VBoxD3D9wddm-x86_LIBS        += \
    318311                                                $(VBOX_LIB_IPRT_GUEST_R3_X86) \
    319312                                                $(VBOX_LIB_VBGL_R3_X86)
    320 endif
    321 endif
     313 endif
     314endif # ifdef VBOX_WITH_WDDM
    322315
    323316DLLS += d3d8
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/wine/debug.h

    r39605 r39648  
    3131#define __WINE_WINE_DEBUG_H
    3232
    33 #if defined(VBOX_WITH_WDDM) || defined(VBOX_WINE_WITHOUT_LIBWINE)
    34 # error "unexpected include!!"
     33#if defined(VBOX_WITH_WDDM) || defined(VBOX_WINE_WITH_IPRT)
     34# error "Unexpected include! VBOX_WITH_WDDM or VBOX_WINE_WITH_IPRT are defined!"
     35#endif
     36
     37#ifdef VBOX_WINE_WITH_IPRT
     38# include <iprt/assert.h>
     39#else
     40# define AssertBreakpoint() do { } while (0)
     41# define Assert(_expr) do { } while (0)
     42# ifdef DEBUG_misha
     43#  include <iprt/cdefs.h>
     44# endif
    3545#endif
    3646
     
    4151#endif
    4252
    43 #ifdef VBOX_WINE_WITH_IPRT
    44 # include <iprt/assert.h>
    45 #else
    46 # define AssertBreakpoint() do { } while (0)
    47 # define Assert(_expr) do { } while (0)
    48 # define RT_BREAKPOINT()
    49 #endif
     53#include <iprt/assert.h>
    5054
    5155#ifdef __WINE_WINE_TEST_H
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/vboxext.h

    r39602 r39648  
    2020# include <windows.h>
    2121#endif
    22 #include <iprt/cdefs.h>
    2322
    2423HRESULT VBoxExtCheckInit();
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/vboxsharedrc.h

    r38982 r39648  
    5252        !!((_o)->resource.sharerc_locks) \
    5353        )
    54 #ifdef VBOX_WINE_WITH_IPRT
    55 # include <iprt/assert.h>
    56 #else
    57 # define AssertBreakpoint() do { } while (0)
    58 # define Assert(_expr) do { } while (0)
    59 #endif
    60 
    6154
    6255#endif /* #ifndef ___vboxsharedrc_h___ */
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