VirtualBox

Changeset 98416 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 1, 2023 4:25:17 PM (23 months ago)
Author:
vboxsync
Message:

Additions/*.kmk: Automatic scm cleanups. bugref:10348

Location:
trunk/src/VBox/Additions
Files:
44 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/3D/Config.kmk

    r98249 r98416  
    4848        VBOX_WITH_MESA3D
    4949ifdef VBOX_WITH_VMSVGA
    50 TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS    += \
    51         VBOX_WITH_VMSVGA
    52 # treat as error: warning C4013: 'close' undefined; assuming extern returning int
    53 TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS   = $(TEMPLATE_NewerVccVBoxGuestR3Dll_CFLAGS) -we4013
     50 TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS   += \
     51        VBOX_WITH_VMSVGA
     52 # treat as error: warning C4013: 'close' undefined; assuming extern returning int
     53 TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS  = $(TEMPLATE_NewerVccVBoxGuestR3Dll_CFLAGS) -we4013
    5454endif
    5555TEMPLATE_VBoxMesa3DGuestR3Dll_SDKS.win = $(TEMPLATE_NewerVccVBoxGuestR3Dll_SDKS) \
     
    8787        VBOX_WITH_MESA3D_SVGA_INSTANCING
    8888ifdef VBOX_WITH_NOCRT_STATIC
    89 TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS    += \
    90         IPRT_NO_CRT_FOR_3RD_PARTY \
    91         RT_WITHOUT_NOCRT_WRAPPERS \
    92         RT_WITHOUT_NOCRT_WRAPPER_ALIASES
     89 TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS   += \
     90        IPRT_NO_CRT_FOR_3RD_PARTY \
     91        RT_WITHOUT_NOCRT_WRAPPERS \
     92        RT_WITHOUT_NOCRT_WRAPPER_ALIASES
    9393endif
    9494TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS.win = $(TEMPLATE_NewerVccVBoxGuestR3Dll_DEFS.win) \
     
    105105        $(VBOX_PATH_3D)/win/VBoxWddmUmHlp
    106106ifdef VBOX_WITH_NOCRT_STATIC # Only the softfloat libs are added here as mesa includes a softfloat.h and we wish for no conflicts.
    107 TEMPLATE_VBoxMesa3DGuestR3Dll_LIBS.x86 += $(TEMPLATE_NewerVccVBoxGuestR3Dll_LIBS.x86) \
    108         $(VBOX_LIB_IPRT_GUEST_R3_SHARED_X86) \
    109         $(SDK_VBoxSoftFloatGuestR3Shared_LIBS.x86)
    110 TEMPLATE_VBoxMesa3DGuestR3Dll_LIBS.$(KBUILD_TARGET_ARCH) += $(TEMPLATE_NewerVccVBoxGuestR3Dll_LIBS.$(KBUILD_TARGET)) \
    111         $(VBOX_LIB_IPRT_GUEST_R3_SHARED) \
    112         $(SDK_VBoxSoftFloatGuestR3Shared_LIBS.$(KBUILD_TARGET_ARCH))
    113 TEMPLATE_VBoxMesa3DGuestR3Dll_LDFLAGS.win += $(TEMPLATE_NewerVccVBoxGuestR3Dll_LDFLAGS.win)
    114 # The -Oi- disable optimizations of math functions like sqrt(), that takes all
    115 # parameters on the stack, into calls to __CIsqrt that takes parameters in FPU
    116 # registers.  While we could implement the __CIxxxx functions too, they would
    117 # be difficult to test properly given that they're not directly callable from
    118 # C.  Also, there could be other aspects to these functions that we don't know
    119 # about, given that they aren't documented all that well.  See:
    120 #   https://docs.microsoft.com/en-us/cpp/preprocessor/intrinsic?view=msvc-160#intrinsic-floating-point-functions
    121 #   https://docs.microsoft.com/en-us/cpp/build/reference/oi-generate-intrinsic-functions?view=msvc-160
    122 # Unforutnately, this does mean that we will miss out on a little bit of
    123 # performance in 32-bit binaries.
    124 TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS.win.x86   += $(TEMPLATE_NewerVccVBoxGuestR3Dll_CFLAGS.win.x86) -Oi-
    125 TEMPLATE_VBoxMesa3DGuestR3Dll_CXXFLAGS.win.x86 += $(TEMPLATE_NewerVccVBoxGuestR3Dll_CXXFLAGS.win.x86) -Oi-
     107 TEMPLATE_VBoxMesa3DGuestR3Dll_LIBS.x86 += $(TEMPLATE_NewerVccVBoxGuestR3Dll_LIBS.x86) \
     108        $(VBOX_LIB_IPRT_GUEST_R3_SHARED_X86) \
     109        $(SDK_VBoxSoftFloatGuestR3Shared_LIBS.x86)
     110 TEMPLATE_VBoxMesa3DGuestR3Dll_LIBS.$(KBUILD_TARGET_ARCH) += $(TEMPLATE_NewerVccVBoxGuestR3Dll_LIBS.$(KBUILD_TARGET)) \
     111        $(VBOX_LIB_IPRT_GUEST_R3_SHARED) \
     112        $(SDK_VBoxSoftFloatGuestR3Shared_LIBS.$(KBUILD_TARGET_ARCH))
     113 TEMPLATE_VBoxMesa3DGuestR3Dll_LDFLAGS.win += $(TEMPLATE_NewerVccVBoxGuestR3Dll_LDFLAGS.win)
     114 # The -Oi- disable optimizations of math functions like sqrt(), that takes all
     115 # parameters on the stack, into calls to __CIsqrt that takes parameters in FPU
     116 # registers.  While we could implement the __CIxxxx functions too, they would
     117 # be difficult to test properly given that they're not directly callable from
     118 # C.  Also, there could be other aspects to these functions that we don't know
     119 # about, given that they aren't documented all that well.  See:
     120 #   https://docs.microsoft.com/en-us/cpp/preprocessor/intrinsic?view=msvc-160#intrinsic-floating-point-functions
     121 #   https://docs.microsoft.com/en-us/cpp/build/reference/oi-generate-intrinsic-functions?view=msvc-160
     122 # Unforutnately, this does mean that we will miss out on a little bit of
     123 # performance in 32-bit binaries.
     124 TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS.win.x86  += $(TEMPLATE_NewerVccVBoxGuestR3Dll_CFLAGS.win.x86) -Oi-
     125 TEMPLATE_VBoxMesa3DGuestR3Dll_CXXFLAGS.win.x86 += $(TEMPLATE_NewerVccVBoxGuestR3Dll_CXXFLAGS.win.x86) -Oi-
    126126endif
    127127
     
    134134TEMPLATE_VBoxMesa3DGuestR3DllMinVista_VBOX_IMPORT_CHECKER.win.amd64 := vista
    135135ifeq ($(KBUILD_TARGET),win)
    136 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_LDFLAGS.win.x86     = $(filter-out -Section:.bss$(COMMA)RW!K,$(TEMPLATE_VBoxMesa3DGuestR3Dll_LDFLAGS.win.x86))
    137 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_POST_CMDS.win.x86   = $(subst $(VBOX_PE_SET_VERSION), $(VBOX_PE_SET_VERSION) --vista,$(TEMPLATE_VBoxMesa3DGuestR3Dll_POST_CMDS.win.x86))
    138 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_POST_CMDS.win.amd64 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) --vista $(out)$$(NLTAB)$(TEMPLATE_VBoxMesa3DGuestR3Dll_POST_CMDS.win.amd64))
    139 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_LNK_DEPS.win.amd64 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION)) $(TEMPLATE_VBoxMesa3DGuestR3Dll_LNK_DEPS.win.amd64)
     136 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_LDFLAGS.win.x86    = $(filter-out -Section:.bss$(COMMA)RW!K,$(TEMPLATE_VBoxMesa3DGuestR3Dll_LDFLAGS.win.x86))
     137 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_POST_CMDS.win.x86  = $(subst $(VBOX_PE_SET_VERSION), $(VBOX_PE_SET_VERSION) --vista,$(TEMPLATE_VBoxMesa3DGuestR3Dll_POST_CMDS.win.x86))
     138 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_POST_CMDS.win.amd64 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION) --vista $(out)$$(NLTAB)$(TEMPLATE_VBoxMesa3DGuestR3Dll_POST_CMDS.win.amd64))
     139 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_LNK_DEPS.win.amd64 = $(if $(eq $(tool_do),LINK_LIBRARY),,$(VBOX_PE_SET_VERSION)) $(TEMPLATE_VBoxMesa3DGuestR3Dll_LNK_DEPS.win.amd64)
    140140endif
    141141
  • trunk/src/VBox/Additions/3D/Makefile.kmk

    r98103 r98416  
    3333#
    3434ifndef VBOX_MESA3D_CONFIG_KMK_INCLUDED
    35 include $(PATH_SUB_CURRENT)/Config.kmk
     35 include $(PATH_SUB_CURRENT)/Config.kmk
    3636endif
    3737
     
    4141include $(PATH_SUB_CURRENT)/mesa/Makefile.kmk
    4242if1of ($(KBUILD_TARGET), win)
    43 include $(PATH_SUB_CURRENT)/win/Makefile.kmk
     43 include $(PATH_SUB_CURRENT)/win/Makefile.kmk
    4444endif
    4545
  • trunk/src/VBox/Additions/3D/mesa/Makefile.kmk

    r98103 r98416  
    3333#
    3434ifndef VBOX_MESA3D_CONFIG_KMK_INCLUDED
    35 include $(PATH_SUB_CURRENT)/../Config.kmk
     35 include $(PATH_SUB_CURRENT)/../Config.kmk
    3636endif
    3737
     
    6363TEMPLATE_VBoxMesa3DGuestR3Lib_INST          = $(INST_ADDITIONS_LIB)
    6464ifeq ($(KBUILD_TARGET),win)
    65 # Do not treat warnings as errors, because Mesa code produces too many warnings with MSC.
    66 TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS        = $(filter-out -WX,$(TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS))
    67 TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS      = $(filter-out -WX,$(TEMPLATE_VBoxMesa3DGuestR3Dll_CXXFLAGS))
    68 #  -wd4005: vcc120: '__useHeader' : macro redefinition
    69 #  -wd4018: signed/unsigned mismatch
    70 #  -wd4054: 'type cast' : from function pointer to data pointer 'void *'
    71 #  -wd4057: 'function' : 'int *' differs in indirection to slightly different base types from 'uint32_t *'
    72 #  -wd4090: 'function' : different 'const' qualifiers
    73 #  -wd4098: 'void' function returning a value
    74 #  -wd4099: 'st_src_reg' : type name first seen using 'class' now seen using 'struct'
    75 #  -wd4100: unreferenced formal parameter
    76 #  -wd4101: unreferenced local variable
    77 #  -wd4130: '==' : logical operation on address of string constant
    78 #  -wd4132: 'color' : const object should be initialized
    79 #  -wd4146: unary minus operator applied to unsigned type, result still unsigned
    80 #  -wd4152: nonstandard extension, function/data pointer conversion in expression
    81 #  -wd4189: 'signo' : local variable is initialized but not referenced
    82 #  -wd4200: nonstandard extension used : zero-sized array in struct/union
    83 #  -wd4204: nonstandard extension used : non-constant aggregate initializer
    84 #  -wd4206: nonstandard extension used : translation unit is empty
    85 #  -wd4211: nonstandard extension used : redefined extern to static
    86 #  -wd4221: nonstandard extension used : 'tokens' : cannot be initialized using address of automatic variable 'tokens'
    87 #  -wd4245: '=' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch
    88 #  -wd4255: no function prototype given
    89 #  -wd4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used
    90 #  -wd4265: 'ir_variable_refcount_visitor' : class has virtual functions, but destructor is not virtual
    91 #  -wd4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
    92 #  -wd4266: 'void ir_visitor::visit(ir_rvalue *)' : no override available for virtual member function from base 'ir_visitor'; function is hidden
    93 #  -wd4287: unsigned/negative constant mismatch
    94 #  -wd4291: 'void *exec_node::operator new(size_t,void *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
    95 #  -wd4305: truncation from 'double' to 'const float'
    96 #  -wd4306: 'type cast' : conversion from 'int' to 'void *' of greater size
    97 #  -wd4310: cast truncates constant value
    98 #  -wd4311: 'type cast' : pointer truncation from 'void *' to 'unsigned long'
    99 #  -wd4351: new behavior: elements of array '_mesa_glsl_parse_state::cs_input_local_size' will be default initialized
    100 #  -wd4355: 'this' : used in base member initializer list
    101 #  -wd4388: '==' : signed/unsigned mismatch
    102 #  -wd4389: '==' : signed/unsigned mismatch
    103 #  -wd4640: 'ts' : construction of local static object is not thread-safe
    104 #  -wd4668: '__STDC_VERSION__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
    105 #  -wd4700: uninitialized local variable 'tmp' used
    106 #  -wd4701: potentially uninitialized local variable 'query' used
    107 #  -wd4702: unreachable code
    108 #  -wd4703: vcc120: potentially uninitialized local pointer variable 'gen_func' used
    109 #  -wd4756: overflow in constant arithmetic
    110 #  -wd4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
    111 #  -wd4805: '|=' : unsafe mix of type 'GLboolean' and type 'bool' in operation
    112 #  -wd4918: 'y' : invalid character in pragma optimization list
    113 VBOX_MESA3D_VCC_DISABLED_WARNINGS          := \
    114         -wd4005 -wd4018 -wd4054 -wd4057 -wd4090 -wd4098 -wd4099 -wd4100 -wd4101 -wd4130 -wd4132 -wd4146 \
    115         -wd4152 -wd4189 -wd4200 -wd4204 -wd4206 -wd4211 -wd4221 -wd4245 -wd4255 -wd4258 -wd4265 -wd4267 -wd4266 \
    116         -wd4287 -wd4291 -wd4305 -wd4306 -wd4310 -wd4311 -wd4351 -wd4355 -wd4388 -wd4389 -wd4640 -wd4668 -wd4700 \
    117         -wd4701 -wd4702 -wd4703 -wd4756 -wd4800 -wd4805 -wd4918
    118 # -wd4458: declaration of 'array' hides class member
    119 # -wd4477: 'fprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'LONGLONG'
    120 # -wd4774: 'printf' : format string expected in argument 1 is not a string literal
    121 # -wd4456: declaration of 'pos_dst' hides previous local declaration
    122 # -wd4777: '_snprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'const DWORD'
    123 # -wd4459: declaration of 'stw_dev' hides global declaration
    124 # -wd4457: declaration of 'usage' hides function parameter
    125 VBOX_MESA3D_VCC_DISABLED_WARNINGS          += \
    126         -wd4458 -wd4477 -wd4774 -wd4456 -wd4777 -wd4459 -wd4457
    127 # -wd4254: '=': conversion from 'unsigned int':'3' to 'unsigned int':'2', possible loss of data
    128 # -wd5039: pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception
    129 # -wd5204: class has virtual functions, but its trivial destructor is not virtual; instances of objects derived from this class may not be destructed correctly
    130 # -wd5219: implicit conversion from 'int' to 'float', possible loss of data
    131 VBOX_MESA3D_VCC_DISABLED_WARNINGS          += \
    132         -wd4254 -wd5039 -wd5204 -wd5219
    133 
    134 TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS.win   += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
    135 TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS.win += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
     65 # Do not treat warnings as errors, because Mesa code produces too many warnings with MSC.
     66 TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS       = $(filter-out -WX,$(TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS))
     67 TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS     = $(filter-out -WX,$(TEMPLATE_VBoxMesa3DGuestR3Dll_CXXFLAGS))
     68 #  -wd4005: vcc120: '__useHeader' : macro redefinition
     69 #  -wd4018: signed/unsigned mismatch
     70 #  -wd4054: 'type cast' : from function pointer to data pointer 'void *'
     71 #  -wd4057: 'function' : 'int *' differs in indirection to slightly different base types from 'uint32_t *'
     72 #  -wd4090: 'function' : different 'const' qualifiers
     73 #  -wd4098: 'void' function returning a value
     74 #  -wd4099: 'st_src_reg' : type name first seen using 'class' now seen using 'struct'
     75 #  -wd4100: unreferenced formal parameter
     76 #  -wd4101: unreferenced local variable
     77 #  -wd4130: '==' : logical operation on address of string constant
     78 #  -wd4132: 'color' : const object should be initialized
     79 #  -wd4146: unary minus operator applied to unsigned type, result still unsigned
     80 #  -wd4152: nonstandard extension, function/data pointer conversion in expression
     81 #  -wd4189: 'signo' : local variable is initialized but not referenced
     82 #  -wd4200: nonstandard extension used : zero-sized array in struct/union
     83 #  -wd4204: nonstandard extension used : non-constant aggregate initializer
     84 #  -wd4206: nonstandard extension used : translation unit is empty
     85 #  -wd4211: nonstandard extension used : redefined extern to static
     86 #  -wd4221: nonstandard extension used : 'tokens' : cannot be initialized using address of automatic variable 'tokens'
     87 #  -wd4245: '=' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch
     88 #  -wd4255: no function prototype given
     89 #  -wd4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used
     90 #  -wd4265: 'ir_variable_refcount_visitor' : class has virtual functions, but destructor is not virtual
     91 #  -wd4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data
     92 #  -wd4266: 'void ir_visitor::visit(ir_rvalue *)' : no override available for virtual member function from base 'ir_visitor'; function is hidden
     93 #  -wd4287: unsigned/negative constant mismatch
     94 #  -wd4291: 'void *exec_node::operator new(size_t,void *)' : no matching operator delete found; memory will not be freed if initialization throws an exception
     95 #  -wd4305: truncation from 'double' to 'const float'
     96 #  -wd4306: 'type cast' : conversion from 'int' to 'void *' of greater size
     97 #  -wd4310: cast truncates constant value
     98 #  -wd4311: 'type cast' : pointer truncation from 'void *' to 'unsigned long'
     99 #  -wd4351: new behavior: elements of array '_mesa_glsl_parse_state::cs_input_local_size' will be default initialized
     100 #  -wd4355: 'this' : used in base member initializer list
     101 #  -wd4388: '==' : signed/unsigned mismatch
     102 #  -wd4389: '==' : signed/unsigned mismatch
     103 #  -wd4640: 'ts' : construction of local static object is not thread-safe
     104 #  -wd4668: '__STDC_VERSION__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
     105 #  -wd4700: uninitialized local variable 'tmp' used
     106 #  -wd4701: potentially uninitialized local variable 'query' used
     107 #  -wd4702: unreachable code
     108 #  -wd4703: vcc120: potentially uninitialized local pointer variable 'gen_func' used
     109 #  -wd4756: overflow in constant arithmetic
     110 #  -wd4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
     111 #  -wd4805: '|=' : unsafe mix of type 'GLboolean' and type 'bool' in operation
     112 #  -wd4918: 'y' : invalid character in pragma optimization list
     113 VBOX_MESA3D_VCC_DISABLED_WARNINGS         := \
     114        -wd4005 -wd4018 -wd4054 -wd4057 -wd4090 -wd4098 -wd4099 -wd4100 -wd4101 -wd4130 -wd4132 -wd4146 \
     115        -wd4152 -wd4189 -wd4200 -wd4204 -wd4206 -wd4211 -wd4221 -wd4245 -wd4255 -wd4258 -wd4265 -wd4267 -wd4266 \
     116        -wd4287 -wd4291 -wd4305 -wd4306 -wd4310 -wd4311 -wd4351 -wd4355 -wd4388 -wd4389 -wd4640 -wd4668 -wd4700 \
     117        -wd4701 -wd4702 -wd4703 -wd4756 -wd4800 -wd4805 -wd4918
     118 # -wd4458: declaration of 'array' hides class member
     119 # -wd4477: 'fprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'LONGLONG'
     120 # -wd4774: 'printf' : format string expected in argument 1 is not a string literal
     121 # -wd4456: declaration of 'pos_dst' hides previous local declaration
     122 # -wd4777: '_snprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 1 has type 'const DWORD'
     123 # -wd4459: declaration of 'stw_dev' hides global declaration
     124 # -wd4457: declaration of 'usage' hides function parameter
     125 VBOX_MESA3D_VCC_DISABLED_WARNINGS         += \
     126        -wd4458 -wd4477 -wd4774 -wd4456 -wd4777 -wd4459 -wd4457
     127 # -wd4254: '=': conversion from 'unsigned int':'3' to 'unsigned int':'2', possible loss of data
     128 # -wd5039: pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception
     129 # -wd5204: class has virtual functions, but its trivial destructor is not virtual; instances of objects derived from this class may not be destructed correctly
     130 # -wd5219: implicit conversion from 'int' to 'float', possible loss of data
     131 VBOX_MESA3D_VCC_DISABLED_WARNINGS         += \
     132        -wd4254 -wd5039 -wd5204 -wd5219
     133
     134 TEMPLATE_VBoxMesa3DGuestR3Lib_CFLAGS.win  += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
     135 TEMPLATE_VBoxMesa3DGuestR3Lib_CXXFLAGS.win += $(VBOX_MESA3D_VCC_DISABLED_WARNINGS)
    136136endif
    137137TEMPLATE_VBoxMesa3DGuestR3Lib_INCS          = \
     
    150150        $(VBOX_MESA)/src/gallium/state_trackers/wgl
    151151ifdef VBOX_WITH_NOCRT_STATIC
    152 TEMPLATE_VBoxMesa3DGuestR3Lib_INCS         += \
    153         $(TEMPLATE_VBoxMesa3DGuestR3Dll_INCS)
     152 TEMPLATE_VBoxMesa3DGuestR3Lib_INCS        += \
     153        $(TEMPLATE_VBoxMesa3DGuestR3Dll_INCS)
    154154endif
    155155ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
    156 TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS          = \
    157         $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
    158         PACKAGE_VERSION="$(VBOX_MESA)" \
    159         PACKAGE_BUGREPORT="$(VBOX_MESA)"
     156 TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS         = \
     157        $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
     158        PACKAGE_VERSION="$(VBOX_MESA)" \
     159        PACKAGE_BUGREPORT="$(VBOX_MESA)"
    160160else
    161 TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS          = \
    162         $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
    163         PACKAGE_VERSION=\"$(VBOX_MESA)\" \
    164         PACKAGE_BUGREPORT=\"$(VBOX_MESA)\"
     161 TEMPLATE_VBoxMesa3DGuestR3Lib_DEFS         = \
     162        $(TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS) \
     163        PACKAGE_VERSION=\"$(VBOX_MESA)\" \
     164        PACKAGE_BUGREPORT=\"$(VBOX_MESA)\"
    165165endif
    166166# For wgl, glapi and mesa
  • trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk

    r98103 r98416  
    3838VBoxICD_CFLAGS  := -wd4005
    3939if "$(VBOX_NEWER_VCC_TOOL_STEM)" >= "VCC141"
    40 # -wd4255: 'PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP': no function prototype given: converting '()' to '(void)'
    41 VBoxICD_CFLAGS += -wd4255
     40 # -wd4255: 'PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP': no function prototype given: converting '()' to '(void)'
     41 VBoxICD_CFLAGS += -wd4255
    4242endif
    4343
     
    6969
    7070if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
    71 VBoxICD_INSTTYPE       = none
    72 VBoxICD_DEBUG_INSTTYPE = both
     71 VBoxICD_INSTTYPE      = none
     72 VBoxICD_DEBUG_INSTTYPE = both
    7373endif
    7474
  • trunk/src/VBox/Additions/Makefile.kmk

    r98103 r98416  
    116116        $(call VBOX_EDIT_INF_FN,$<,$@)
    117117
    118 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
     118 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
    119119  VBoxGuest-inf_SOURCES += \
    120         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat \
    121         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat=>VBoxGuest-PreW10.cat \
    122         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
    123         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
    124         $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe
    125 
    126   $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys:   $$(VBoxGuest_1_TARGET) | $$(dir $$@)
     120        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat \
     121        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat=>VBoxGuest-PreW10.cat \
     122        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
     123        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
     124        $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe
     125
     126  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys: $$(VBoxGuest_1_TARGET) | $$(dir $$@)
    127127        $(INSTALL) -m 644 $< $(@D)
    128128
     
    130130        $(INSTALL) -m 755 $< $(@D)
    131131
    132   $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe:    $$(VBoxTray_1_TARGET) | $$(dir $$@)
     132  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe: $$(VBoxTray_1_TARGET) | $$(dir $$@)
    133133        $(INSTALL) -m 755 $< $(@D)
    134134
    135135  $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.cat: \
    136                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
    137                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
    138                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
    139                 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe
     136                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.inf \
     137                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys \
     138                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxControl.exe \
     139                $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe
    140140        $(call MSG_TOOL,Inf2Cat,VBoxGuest-inf,$@,$<)
    141141        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
     
    163163# the VBOX_WITH_COMBINED_DARWIN_GUEST_PACKAGE macro.
    164164ifdef VBOX_WITH_ADDITIONS_ISO.darwin.x86
    165 VBOX_PATH_ADDITIONS.darwin.x86 = $(PATH_OUT_BASE)/darwin.x86/$(KBUILD_TYPE)/dist/additions
    166 GUESTADDITIONS_FILESPEC.darwin.x86 = \
    167         VBoxDarwinAdditionsLegacy.pkg=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxGuestAdditions.pkg
     165 VBOX_PATH_ADDITIONS.darwin.x86 = $(PATH_OUT_BASE)/darwin.x86/$(KBUILD_TYPE)/dist/additions
     166 GUESTADDITIONS_FILESPEC.darwin.x86 = \
     167        VBoxDarwinAdditionsLegacy.pkg=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxGuestAdditions.pkg
    168168 ifndef VBOX_WITH_ADDITIONS_ISO.darwin.amd64
    169 GUESTADDITIONS_FILESPEC.darwin.x86 += \
    170         VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxDarwinAdditionsUninstall.tool
     169  GUESTADDITIONS_FILESPEC.darwin.x86 += \
     170        VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxDarwinAdditionsUninstall.tool
    171171 endif
    172172endif
    173173
    174174ifdef VBOX_WITH_ADDITIONS_ISO.darwin.amd64
    175 VBOX_PATH_ADDITIONS.darwin.amd64 = $(PATH_OUT_BASE)/darwin.amd64/$(KBUILD_TYPE)/dist/additions
    176 GUESTADDITIONS_FILESPEC.darwin.amd64 = \
    177         VBoxDarwinAdditions.pkg=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxGuestAdditions.pkg
     175 VBOX_PATH_ADDITIONS.darwin.amd64 = $(PATH_OUT_BASE)/darwin.amd64/$(KBUILD_TYPE)/dist/additions
     176 GUESTADDITIONS_FILESPEC.darwin.amd64 = \
     177        VBoxDarwinAdditions.pkg=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxGuestAdditions.pkg
    178178 ifndef VBOX_WITH_ADDITIONS_ISO.darwin.x86
    179 GUESTADDITIONS_FILESPEC.darwin.amd64 += \
    180         VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxDarwinAdditionsUninstall.tool
     179  GUESTADDITIONS_FILESPEC.darwin.amd64 += \
     180        VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxDarwinAdditionsUninstall.tool
    181181 endif
    182182endif
     
    186186 VBOX_PATH_ADDITIONS.freebsd.amd64 = $(PATH_OUT_BASE)/freebsd.amd64/$(KBUILD_TYPE)/bin/additions
    187187 GUESTADDITIONS_FILESPEC.freebsd.amd64 = \
    188         VBoxFreeBSDAdditions-amd64.tbz=$(VBOX_PATH_ADDITIONS.freebsd.amd64)/VBoxFreeBSDAdditions.tbz
     188        VBoxFreeBSDAdditions-amd64.tbz=$(VBOX_PATH_ADDITIONS.freebsd.amd64)/VBoxFreeBSDAdditions.tbz
    189189endif
    190190ifdef VBOX_WITH_ADDITIONS_ISO.freebsd.x86
    191191 VBOX_PATH_ADDITIONS.freebsd.x86 = $(PATH_OUT_BASE)/freebsd.x86/$(KBUILD_TYPE)/bin/additions
    192192 GUESTADDITIONS_FILESPEC.freebsd.x86 = \
    193         VBoxFreeBSDAdditions-x86.tbz=$(VBOX_PATH_ADDITIONS.freebsd.x86)/VBoxFreeBSDAdditions.tbz
     193        VBoxFreeBSDAdditions-x86.tbz=$(VBOX_PATH_ADDITIONS.freebsd.x86)/VBoxFreeBSDAdditions.tbz
    194194endif
    195195
     
    198198 VBOX_PATH_ADDITIONS.linux.amd64 = $(PATH_OUT_BASE)/linux.amd64/$(KBUILD_TYPE)/bin/additions
    199199 ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE
    200   VBOX_LNX_ADD_AMD64_RUN_PKG=VBoxLinuxAdditions.run
     200  VBOX_LNX_ADD_AMD64_RUN_PKG = VBoxLinuxAdditions.run
    201201 else
    202   VBOX_LNX_ADD_AMD64_RUN_PKG=VBoxLinuxAdditions-amd64.run
     202  VBOX_LNX_ADD_AMD64_RUN_PKG = VBoxLinuxAdditions-amd64.run
    203203 endif
    204204 GUESTADDITIONS_FILESPEC.linux.amd64 = \
    205         $(VBOX_LNX_ADD_AMD64_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.amd64)/VBoxLinuxAdditions.run
     205        $(VBOX_LNX_ADD_AMD64_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.amd64)/VBoxLinuxAdditions.run
    206206endif
    207207ifdef VBOX_WITH_ADDITIONS_ISO.linux.x86
    208208 VBOX_PATH_ADDITIONS.linux.x86 = $(PATH_OUT_BASE)/linux.x86/$(KBUILD_TYPE)/bin/additions
    209 ## @todo 64-bit additions: rename this package, update docs (?) and tests (?). create wrapper? create gnome/kde autorun app (xplatform) ?
     209 ## @todo 64-bit additions: rename this package, update docs (?) and tests (?). create wrapper? create gnome/kde autorun app (xplatform) ?
    210210 ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE
    211   VBOX_LNX_ADD_X86_RUN_PKG=VBoxLinuxAdditions.run
     211  VBOX_LNX_ADD_X86_RUN_PKG = VBoxLinuxAdditions.run
    212212 else
    213   VBOX_LNX_ADD_X86_RUN_PKG=VBoxLinuxAdditions-x86.run
     213  VBOX_LNX_ADD_X86_RUN_PKG = VBoxLinuxAdditions-x86.run
    214214 endif
    215215 GUESTADDITIONS_FILESPEC.linux.x86 = \
    216         $(VBOX_LNX_ADD_X86_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.x86)/VBoxLinuxAdditions.run \
    217         runasroot.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/runasroot.sh \
    218         autorun.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/autorun.sh
     216        $(VBOX_LNX_ADD_X86_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.x86)/VBoxLinuxAdditions.run \
     217        runasroot.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/runasroot.sh \
     218        autorun.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/autorun.sh
    219219endif
    220220
     
    223223 VBOX_PATH_ADDITIONS.os2.x86 = $(PATH_OUT_BASE)/os2.x86/$(KBUILD_TYPE)/bin/additions
    224224 GUESTADDITIONS_FILESPEC.os2.x86 = \
    225         OS2/VBoxGuest.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxGuest.sys \
    226         OS2/VBoxSF.ifs=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxSF.ifs\
    227         OS2/VBoxService.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxService.exe \
    228         OS2/VBoxControl.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxControl.exe \
    229         OS2/VBoxReplaceDll.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxReplaceDll.exe \
    230         OS2/VBoxOs2AdditionsInstall.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxOs2AdditionsInstall.exe \
    231         OS2/libc06.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc06.dll \
    232         OS2/libc061.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc061.dll \
    233         OS2/libc062.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc062.dll \
    234         OS2/libc063.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc063.dll \
    235         OS2/libc064.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc064.dll \
    236         OS2/libc065.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc065.dll \
    237         OS2/libc066.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc066.dll \
    238         OS2/readme.txt=$(VBOX_PATH_ADDITIONS.os2.x86)/readme.txt \
    239        \
    240         OS2/gengradd.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/gengradd.dll \
    241         OS2/VBoxMouse.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/vboxmouse.sys
     225        OS2/VBoxGuest.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxGuest.sys \
     226        OS2/VBoxSF.ifs=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxSF.ifs \
     227        OS2/VBoxService.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxService.exe \
     228        OS2/VBoxControl.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxControl.exe \
     229        OS2/VBoxReplaceDll.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxReplaceDll.exe \
     230        OS2/VBoxOs2AdditionsInstall.exe=$(VBOX_PATH_ADDITIONS.os2.x86)/VBoxOs2AdditionsInstall.exe \
     231        OS2/libc06.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc06.dll \
     232        OS2/libc061.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc061.dll \
     233        OS2/libc062.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc062.dll \
     234        OS2/libc063.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc063.dll \
     235        OS2/libc064.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc064.dll \
     236        OS2/libc065.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc065.dll \
     237        OS2/libc066.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/libc066.dll \
     238        OS2/readme.txt=$(VBOX_PATH_ADDITIONS.os2.x86)/readme.txt \
     239        \
     240        OS2/gengradd.dll=$(VBOX_PATH_ADDITIONS.os2.x86)/gengradd.dll \
     241        OS2/VBoxMouse.sys=$(VBOX_PATH_ADDITIONS.os2.x86)/vboxmouse.sys
    242242endif
    243243
     
    246246 VBOX_PATH_ADDITIONS.solaris.amd64 = $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions
    247247 GUESTADDITIONS_FILESPEC.solaris.amd64 = \
    248         VBoxSolarisAdditions-amd64.pkg=$(VBOX_PATH_ADDITIONS.solaris.amd64)/VBoxSolarisAdditions.pkg
     248        VBoxSolarisAdditions-amd64.pkg=$(VBOX_PATH_ADDITIONS.solaris.amd64)/VBoxSolarisAdditions.pkg
    249249endif
    250250ifdef VBOX_WITH_ADDITIONS_ISO.solaris.x86
    251251 VBOX_PATH_ADDITIONS.solaris.x86 = $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin/additions
    252252 GUESTADDITIONS_FILESPEC.solaris.x86 = \
    253         VBoxSolarisAdditions-x86.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg
     253        VBoxSolarisAdditions-x86.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg
    254254endif
    255255ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
     
    258258 # for 32bit and 64bit solaris. This just modifies variables set above.
    259259 GUESTADDITIONS_FILESPEC.solaris.x86 = \
    260         VBoxSolarisAdditions.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg
     260        VBoxSolarisAdditions.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg
    261261 GUESTADDITIONS_FILESPEC.solaris.amd64 =
    262262endif
     
    267267 VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.amd64)
    268268 GUESTADDITIONS_FILESPEC.win.amd64 = \
    269         VBoxWindowsAdditions-amd64.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxWindowsAdditions-amd64.exe
     269        VBoxWindowsAdditions-amd64.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxWindowsAdditions-amd64.exe
    270270 ifndef VBOX_WITH_ADDITIONS_ISO.win.x86
    271271  GUESTADDITIONS_FILESPEC.win.amd64 += \
    272         cert/VBoxCertUtil.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxCertUtil.exe
     272        cert/VBoxCertUtil.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxCertUtil.exe
    273273 endif
    274274endif
     
    278278 VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.x86)
    279279 GUESTADDITIONS_FILESPEC.win.x86 = \
    280         VBoxWindowsAdditions-x86.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxWindowsAdditions-x86.exe \
    281         VBoxWindowsAdditions.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxWindowsAdditions.exe \
    282         AUTORUN.INF=$(VBOX_PATH_ADDITIONS_SRC)/WINNT/Installer/ISO/AUTORUN.INF \
    283         cert/VBoxCertUtil.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxCertUtil.exe \
    284         NT3x/Readme.txt=$(VBOX_PATH_ADDITIONS_SRC)/WINNT/Installer/ISO/NT3xReadme.txt \
    285         NT3x/VBoxGuest.sys=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxGuest.sys \
    286         NT3x/VBoxMouseNT.sys=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxMouseNT.sys \
    287         NT3x/VBoxService.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxService.exe \
    288         NT3x/VBoxControl.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxControl.exe \
    289         NT3x/VBoxAddInstallNt3x.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxAddInstallNt3x.exe
     280        VBoxWindowsAdditions-x86.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxWindowsAdditions-x86.exe \
     281        VBoxWindowsAdditions.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxWindowsAdditions.exe \
     282        AUTORUN.INF=$(VBOX_PATH_ADDITIONS_SRC)/WINNT/Installer/ISO/AUTORUN.INF \
     283        cert/VBoxCertUtil.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxCertUtil.exe \
     284        NT3x/Readme.txt=$(VBOX_PATH_ADDITIONS_SRC)/WINNT/Installer/ISO/NT3xReadme.txt \
     285        NT3x/VBoxGuest.sys=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxGuest.sys \
     286        NT3x/VBoxMouseNT.sys=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxMouseNT.sys \
     287        NT3x/VBoxService.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxService.exe \
     288        NT3x/VBoxControl.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxControl.exe \
     289        NT3x/VBoxAddInstallNt3x.exe=$(VBOX_PATH_ADDITIONS.win.x86)/VBoxAddInstallNt3x.exe
    290290endif # win.x86
    291291
     
    328328 # or bfs?
    329329 GUESTADDITIONS_FILESPEC.haiku.x86 = \
    330         VBoxHaikuAdditions-x86.run=$(VBOX_PATH_ADDITIONS.haiku.x86)/VBoxHaikuAdditions-x86.run
     330        VBoxHaikuAdditions-x86.run=$(VBOX_PATH_ADDITIONS.haiku.x86)/VBoxHaikuAdditions-x86.run
    331331endif
    332332
     
    351351#
    352352ifndef VBOX_WITHOUT_ADDITIONS_ISO
    353 $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso: \
    354                 $(filter-out %=deleteme=,$(subst =,=deleteme= , $(GUESTADDITIONS_FILESPEC_ALL))) \
    355                 $(VBOX_SVN_REV_KMK) \
    356                 $(VBOX_PATH_ADDITIONS_SRC)/Makefile.kmk \
    357                 | $(if-expr defined(VBOX_USE_RTISOMAKER),$(VBOX_RTISOMAKER),)
     353 $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso: \
     354                $(filter-out %=deleteme=,$(subst =,=deleteme= , $(GUESTADDITIONS_FILESPEC_ALL))) \
     355                $(VBOX_SVN_REV_KMK) \
     356                $(VBOX_PATH_ADDITIONS_SRC)/Makefile.kmk \
     357                | $(if-expr defined(VBOX_USE_RTISOMAKER),$(VBOX_RTISOMAKER),)
    358358        $(call MSG_TOOL,RTIsoMaker,,$@)
    359359        $(QUIET)$(MKDIR) -p $(@D)
     
    372372                --volume-id="VBox_GAs_$(VBOX_VERSION_STRING_RAW)"
    373373
    374 $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.zip: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso
     374 $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.zip: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso
    375375        $(call MSG_L1,Zipping image $@)
    376376        $(QUIET)$(RM) -f $@
    377377        $(QUIET)$(REDIRECT) -C $(VBOX_PATH_ADDITIONS_ISO) -- $(VBOX_ZIP) -9 $@ $(notdir $^)
    378378
    379 # Alias for creating the iso.
    380 .PHONY: additions-iso
    381 additions-iso: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso
    382 
    383 endif
    384 
     379 # Alias for creating the iso.
     380 .PHONY: additions-iso
     381 additions-iso: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso
     382
     383endif
     384
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/Makefile.kmk

    r98103 r98416  
    5757        $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll
    5858
    59 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@)
     59 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@)
    6060        $(INSTALL) -m 644 $< $(@D)
    6161
    62 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@)
     62 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@)
    6363        $(INSTALL) -m 644 $< $(@D)
    6464
     
    9393
    9494 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxWddm.inf: \
    95                 $(PATH_SUB_CURRENT)/mp/wddm/VBoxWddm.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
     95                $(PATH_SUB_CURRENT)/mp/wddm/VBoxWddm.inf $(MAKEFILE_CURRENT) | $$(dir $$@)
    9696        $(call MSG_GENERATE,VBoxWddm-inf,$@,$<)
    9797        $(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDM_EDIT_INF_DISPDX_FN_ARG) $(VBOXWDDM_EDIT_INF_MESA3D_FN_ARG))
     
    112112  ifdef VBOX_WITH_WDDM_DX
    113113   VBoxWddm-inf_SOURCES += \
    114        $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX.dll
     114        $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX.dll
    115115   VBoxWddm-inf_SOURCES.amd64 += \
    116        $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX-x86.dll
     116        $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX-x86.dll
    117117  endif
    118118
     
    174174
    175175  $(PATH_TARGET)/VBoxWddmCat.dir/VBoxWddm.cat: \
    176                 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxWddm.inf \
    177                 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxWddm.sys \
    178                 $(if $(VBOXWDDM_WITH_DISPD3D), $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDispD3D.dll, ) \
    179                 $(if $(VBOXWDDM_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDispD3D-x86.dll, ), ) \
    180                 $(if $(VBOX_WITH_WDDM_DX), $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX.dll, ) \
    181                 $(if $(VBOX_WITH_WDDM_DX), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX-x86.dll, ), ) \
    182                 $(if $(VBOX_WITH_MESA3D), \
    183                         $(PATH_TARGET)/VBoxWddmCat.dir/VBoxNine.dll \
    184                         $(PATH_TARGET)/VBoxWddmCat.dir/VBoxSVGA.dll \
    185                         $(PATH_TARGET)/VBoxWddmCat.dir/VBoxGL.dll \
    186                         $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \
    187                                 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxNine-x86.dll \
    188                                 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxSVGA-x86.dll \
    189                                 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxGL-x86.dll, ), )
     176                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxWddm.inf \
     177                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxWddm.sys \
     178                $(if $(VBOXWDDM_WITH_DISPD3D), $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDispD3D.dll, ) \
     179                $(if $(VBOXWDDM_WITH_DISPD3D), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDispD3D-x86.dll, ), ) \
     180                $(if $(VBOX_WITH_WDDM_DX), $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX.dll, ) \
     181                $(if $(VBOX_WITH_WDDM_DX), $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX-x86.dll, ), ) \
     182                $(if $(VBOX_WITH_MESA3D), \
     183                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxNine.dll \
     184                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxSVGA.dll \
     185                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxGL.dll \
     186                $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64", \
     187                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxNine-x86.dll \
     188                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxSVGA-x86.dll \
     189                $(PATH_TARGET)/VBoxWddmCat.dir/VBoxGL-x86.dll, ), )
    190190        $(call MSG_TOOL,Inf2Cat,VBoxWddm-inf,$@,$<)
    191191        $(call VBOX_MAKE_CAT_FN, $(@D),$@)
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/Makefile.kmk

    r98141 r98416  
    110110
    111111ifdef VBOX_WITH_WDDM
    112 #
    113 # VBoxDispD3D - Windows Guest Additions WDDM R3 Display Driver
    114 #
    115 DLLS += VBoxDispD3D
    116 VBoxDispD3D_TEMPLATE = VBoxGuestR3DllMinVista
    117 VBoxDispD3D_SDKS     = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    118 VBoxDispD3D_DEFS     = UNICODE _UNICODE VBOX_WITH_WDDM VBOXWDDMDISP LOG_TO_BACKDOOR LOG_TO_BACKDOOR_DRV VBOX_WITH_HGCM
    119 ifdef DEBUG_misha
    120 VBoxDispD3D_DEFS    += LOG_ENABLED
    121 endif
    122 ifdef VBOXWDDM_WITH_VBVA
    123 VBoxDispD3D_DEFS    += VBOXWDDM_WITH_VBVA
    124 endif
    125 ifdef VBOX_WITH_VIDEOHWACCEL
    126  VBoxDispD3D_DEFS   += VBOX_WITH_VIDEOHWACCEL
    127 endif
    128 # Avoid "src\VBox\Additions\3D\mesa\mesa-21.3.8\include\c99_compat.h(99): warning C4668: '__STDC_VERSION__'
    129 # is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'"
    130 VBoxDispD3D_DEFS    += __STDC_VERSION__=0
    131 VBoxDispD3D_INCS     = \
    132         ../../../include \
    133         .. \
    134         $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared \
    135         $(VBOX_GRAPHICS_INCS)
    136 VBoxDispD3D_SOURCES  = \
    137         wddm/VBoxDispD3D.cpp \
    138         wddm/VBoxDispD3DIf.cpp \
    139         wddm/VBoxDispDbg.cpp \
    140         wddm/VBoxD3DIf.cpp \
    141         wddm/VBoxDispD3D.rc \
    142         wddm/VBoxDispD3D.def
    143 VBoxDispD3D_LIBS     = \
    144         $(VBOX_LIB_IPRT_GUEST_R3) \
    145         $(VBOX_LIB_VBGL_R3) \
    146         Psapi.lib \
    147         $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger$(VBOX_SUFF_LIB) \
    148         $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmKmt$(VBOX_SUFF_LIB)
    149 
    150 ifdef VBOX_WITH_VMSVGA
    151 VBoxDispD3D_DEFS     += VBOX_WITH_VMSVGA
    152 VBoxDispD3D_INCS     += \
    153         $(PATH_ROOT)/src/VBox/Additions/3D/win/include \
    154         $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include
    155 endif
    156 
    157 ifdef VBOX_WITH_MESA3D
    158 VBoxDispD3D_DEFS     += VBOX_WITH_MESA3D
    159 VBoxDispD3D_INCS     += \
    160         $(VBOX_PATH_MESA)/src/gallium/include \
    161         $(VBOX_PATH_MESA)/src \
    162         $(VBOX_PATH_MESA)/include/c99 \
    163         $(VBOX_PATH_MESA)/include
    164 VBoxDispD3D_SOURCES  += \
    165         wddm/gallium/GaDxva.cpp \
    166         wddm/gallium/GaDrvEnvWddm.cpp \
    167         wddm/gallium/GaWddm.cpp \
    168         wddm/gallium/GaDdi.cpp \
    169         wddm/gallium/Present.cpp \
    170         wddm/gallium/VBoxGallium.cpp \
    171         wddm/gallium/VBoxGaD3DDevice9Ex.cpp \
    172         wddm/gallium/VBoxD3DAdapter9.c
    173 
     112 #
     113 # VBoxDispD3D - Windows Guest Additions WDDM R3 Display Driver
     114 #
     115 DLLS += VBoxDispD3D
     116 VBoxDispD3D_TEMPLATE = VBoxGuestR3DllMinVista
     117 VBoxDispD3D_SDKS    = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
     118 VBoxDispD3D_DEFS    = UNICODE _UNICODE VBOX_WITH_WDDM VBOXWDDMDISP LOG_TO_BACKDOOR LOG_TO_BACKDOOR_DRV VBOX_WITH_HGCM
     119 ifdef DEBUG_misha
     120  VBoxDispD3D_DEFS  += LOG_ENABLED
     121 endif
     122 ifdef VBOXWDDM_WITH_VBVA
     123  VBoxDispD3D_DEFS  += VBOXWDDM_WITH_VBVA
     124 endif
     125 ifdef VBOX_WITH_VIDEOHWACCEL
     126  VBoxDispD3D_DEFS  += VBOX_WITH_VIDEOHWACCEL
     127 endif
     128 # Avoid "src\VBox\Additions\3D\mesa\mesa-21.3.8\include\c99_compat.h(99): warning C4668: '__STDC_VERSION__'
     129 # is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'"
     130 VBoxDispD3D_DEFS   += __STDC_VERSION__=0
     131 VBoxDispD3D_INCS    = \
     132        ../../../include \
     133        .. \
     134        $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared \
     135        $(VBOX_GRAPHICS_INCS)
     136 VBoxDispD3D_SOURCES = \
     137        wddm/VBoxDispD3D.cpp \
     138        wddm/VBoxDispD3DIf.cpp \
     139        wddm/VBoxDispDbg.cpp \
     140        wddm/VBoxD3DIf.cpp \
     141        wddm/VBoxDispD3D.rc \
     142        wddm/VBoxDispD3D.def
     143 VBoxDispD3D_LIBS    = \
     144        $(VBOX_LIB_IPRT_GUEST_R3) \
     145        $(VBOX_LIB_VBGL_R3) \
     146        Psapi.lib \
     147        $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger$(VBOX_SUFF_LIB) \
     148        $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmKmt$(VBOX_SUFF_LIB)
     149
     150 ifdef VBOX_WITH_VMSVGA
     151  VBoxDispD3D_DEFS   += VBOX_WITH_VMSVGA
     152  VBoxDispD3D_INCS   += \
     153        $(PATH_ROOT)/src/VBox/Additions/3D/win/include \
     154        $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include
     155 endif
     156
     157 ifdef VBOX_WITH_MESA3D
     158  VBoxDispD3D_DEFS   += VBOX_WITH_MESA3D
     159  VBoxDispD3D_INCS   += \
     160        $(VBOX_PATH_MESA)/src/gallium/include \
     161        $(VBOX_PATH_MESA)/src \
     162        $(VBOX_PATH_MESA)/include/c99 \
     163        $(VBOX_PATH_MESA)/include
     164  VBoxDispD3D_SOURCES += \
     165        wddm/gallium/GaDxva.cpp \
     166        wddm/gallium/GaDrvEnvWddm.cpp \
     167        wddm/gallium/GaWddm.cpp \
     168        wddm/gallium/GaDdi.cpp \
     169        wddm/gallium/Present.cpp \
     170        wddm/gallium/VBoxGallium.cpp \
     171        wddm/gallium/VBoxGaD3DDevice9Ex.cpp \
     172        wddm/gallium/VBoxD3DAdapter9.c
     173
     174  ifdef VBOX_WITH_VMSVGA3D_DX
     175   VBoxDispD3D_DEFS  += VBOX_WITH_VMSVGA3D_DX9
     176  endif
     177
     178  ifdef VBOX_WITH_MESA3D_D3DTEST
     179   VBoxDispD3D_DEFS  += VBOX_WITH_MESA3D_D3DTEST
     180   VBoxDispD3D_SOURCES += \
     181        wddm/gallium/test/d3dhlp.cpp \
     182        wddm/gallium/test/d3d9render.cpp \
     183        wddm/gallium/GaDrvTest.cpp
     184  endif
     185 endif
     186
     187 #
     188 # 64-bit systems needs a 32-bit version of VBoxDispD3D.
     189 #
     190 DLLS.amd64 += VBoxDispD3D-x86
     191 VBoxDispD3D-x86_EXTENDS = VBoxDispD3D
     192 VBoxDispD3D-x86_BLD_TRG_ARCH = x86
     193 VBoxDispD3D-x86_LIBS = \
     194        $(VBOX_LIB_IPRT_GUEST_R3_X86) \
     195        $(VBOX_LIB_VBGL_R3_X86) \
     196        Psapi.lib \
     197        $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger-x86$(VBOX_SUFF_LIB) \
     198        $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmKmt-x86$(VBOX_SUFF_LIB)
     199 VBoxDispD3D-x86_DEFS = $(VBoxDispD3D_DEFS) VBOX_WDDM_WOW64
     200
     201 #
     202 # VGPU10 driver VBoxDX
     203 #
    174204 ifdef VBOX_WITH_VMSVGA3D_DX
    175 VBoxDispD3D_DEFS     += VBOX_WITH_VMSVGA3D_DX9
    176  endif
    177 
    178  ifdef VBOX_WITH_MESA3D_D3DTEST
    179 VBoxDispD3D_DEFS     += VBOX_WITH_MESA3D_D3DTEST
    180 VBoxDispD3D_SOURCES  += \
    181         wddm/gallium/test/d3dhlp.cpp \
    182         wddm/gallium/test/d3d9render.cpp \
    183         wddm/gallium/GaDrvTest.cpp
    184  endif
    185 endif
    186 
    187 #
    188 # 64-bit systems needs a 32-bit version of VBoxDispD3D.
    189 #
    190 DLLS.amd64 += VBoxDispD3D-x86
    191 VBoxDispD3D-x86_EXTENDS = VBoxDispD3D
    192 VBoxDispD3D-x86_BLD_TRG_ARCH = x86
    193 VBoxDispD3D-x86_LIBS = \
    194         $(VBOX_LIB_IPRT_GUEST_R3_X86) \
    195         $(VBOX_LIB_VBGL_R3_X86) \
    196         Psapi.lib \
    197         $(VBOX_PATH_ADDITIONS_LIB)/VBoxDispMpLogger-x86$(VBOX_SUFF_LIB) \
    198         $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmKmt-x86$(VBOX_SUFF_LIB)
    199 VBoxDispD3D-x86_DEFS = $(VBoxDispD3D_DEFS) VBOX_WDDM_WOW64
    200 
    201 #
    202 # VGPU10 driver VBoxDX
    203 #
    204  ifdef VBOX_WITH_VMSVGA3D_DX
    205 DLLS += VBoxDX
    206 VBoxDX_TEMPLATE = VBoxGuestR3DllMinVista
    207 VBoxDX_DEFS     = UNICODE _UNICODE VBOX_WITH_VMSVGA VBOX_WITH_VMSVGA3D_DX
    208 VBoxDX_DEFS    += D3D_UMD_INTERFACE_VERSION=D3D_UMD_INTERFACE_VERSION_WIN8
    209 VBoxDX_DEFS    += DXGKDDI_INTERFACE_VERSION=DXGKDDI_INTERFACE_VERSION_WIN8
    210 VBoxDX_INCS     = \
    211         $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared \
    212         $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/common/wddm \
    213         $(PATH_ROOT)/src/VBox/Additions/3D/win/include \
    214         $(PATH_ROOT)/src/VBox/Additions/3D/win/VBoxWddmUmHlp \
    215         $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include \
    216         $(VBOX_GRAPHICS_INCS)
    217 VBoxDX_SOURCES  = \
    218         wddm/dx/VBoxDXDDI.cpp \
    219         wddm/dx/VBoxDX.cpp \
    220         wddm/dx/VBoxDXCmd.cpp \
    221         wddm/dx/VBoxDX.rc \
    222         wddm/dx/VBoxDX.def
    223 VBoxDX_LIBS     = \
    224         $(VBOX_LIB_IPRT_GUEST_R3) \
    225         Psapi.lib \
    226         $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp$(VBOX_SUFF_LIB)
    227 
    228 # 64-bit systems need a 32-bit version of VBoxDX
    229 DLLS.amd64 += VBoxDX-x86
    230 VBoxDX-x86_EXTENDS = VBoxDX
    231 VBoxDX-x86_BLD_TRG_ARCH = x86
    232 VBoxDX-x86_LIBS = \
    233         $(VBOX_LIB_IPRT_GUEST_R3_X86) \
    234         $(VBOX_LIB_VBGL_R3_X86) \
    235         Psapi.lib \
    236         $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp-x86$(VBOX_SUFF_LIB)
    237 VBoxDX-x86_DEFS = $(VBoxDX_DEFS) VBOX_WDDM_WOW64
     205  DLLS += VBoxDX
     206  VBoxDX_TEMPLATE = VBoxGuestR3DllMinVista
     207  VBoxDX_DEFS   = UNICODE _UNICODE VBOX_WITH_VMSVGA VBOX_WITH_VMSVGA3D_DX
     208  VBoxDX_DEFS  += D3D_UMD_INTERFACE_VERSION=D3D_UMD_INTERFACE_VERSION_WIN8
     209  VBoxDX_DEFS  += DXGKDDI_INTERFACE_VERSION=DXGKDDI_INTERFACE_VERSION_WIN8
     210  VBoxDX_INCS   = \
     211        $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared \
     212        $(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video/common/wddm \
     213        $(PATH_ROOT)/src/VBox/Additions/3D/win/include \
     214        $(PATH_ROOT)/src/VBox/Additions/3D/win/VBoxWddmUmHlp \
     215        $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include \
     216        $(VBOX_GRAPHICS_INCS)
     217  VBoxDX_SOURCES = \
     218        wddm/dx/VBoxDXDDI.cpp \
     219        wddm/dx/VBoxDX.cpp \
     220        wddm/dx/VBoxDXCmd.cpp \
     221        wddm/dx/VBoxDX.rc \
     222        wddm/dx/VBoxDX.def
     223  VBoxDX_LIBS   = \
     224        $(VBOX_LIB_IPRT_GUEST_R3) \
     225        Psapi.lib \
     226        $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp$(VBOX_SUFF_LIB)
     227
     228  # 64-bit systems need a 32-bit version of VBoxDX
     229  DLLS.amd64 += VBoxDX-x86
     230  VBoxDX-x86_EXTENDS = VBoxDX
     231  VBoxDX-x86_BLD_TRG_ARCH = x86
     232  VBoxDX-x86_LIBS = \
     233        $(VBOX_LIB_IPRT_GUEST_R3_X86) \
     234        $(VBOX_LIB_VBGL_R3_X86) \
     235        Psapi.lib \
     236        $(VBOX_PATH_ADDITIONS_LIB)/VBoxWddmUmHlp-x86$(VBOX_SUFF_LIB)
     237  VBoxDX-x86_DEFS = $(VBoxDX_DEFS) VBOX_WDDM_WOW64
    238238 endif # VBOX_WITH_VMSVGA3D_DX
    239239
    240 include $(PATH_SUB_CURRENT)/wddm/shared/Makefile.kmk
     240 include $(PATH_SUB_CURRENT)/wddm/shared/Makefile.kmk
    241241
    242242endif #ifdef VBOX_WITH_WDDM
     
    244244
    245245ifdef VBOX_WITH_VBOXVIDEOWINDBG
    246 #
    247 # A windbg extension and a few test programs.
    248 #
    249 
    250 DLLS += vbvdbg
    251 vbvdbg_TEMPLATE = VBoxR3StaticDll
    252 vbvdbg_SDKS     = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    253 vbvdbg_DEFS     = UNICODE _UNICODE
    254 vbvdbg_SOURCES = \
    255         wddm/dbg/VBoxVideoWinDbg.cpp \
    256         wddm/dbg/VBoxVideoWinDbg.def
    257 
    258 PROGRAMS += tstMvWnd
    259 tstMvWnd_TEMPLATE = VBoxR3Static
    260 tstMvWnd_DEFS     = UNICODE _UNICODE
    261 tstMvWnd_SOURCES = wddm/dbg/tstMvWnd.cpp
    262 #tstMvWnd_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3) - Use guest template if this is wanted! duh!
    263 #tstMvWnd_LDFLAGS  = /SUBSYSTEM:windows
    264 
    265 PROGRAMS += DumpD3DCaps9
    266 DumpD3DCaps9_TEMPLATE = VBoxR3Exe
    267 DumpD3DCaps9_SDKS     = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    268 DumpD3DCaps9_DEFS     = UNICODE _UNICODE
    269 DumpD3DCaps9_SOURCES = wddm/dbg/DumpD3DCaps9.cpp
    270 DumpD3DCaps9_LIBS     = d3d9.lib
    271 
    272 PROGRAMS += D3DFeatureLevel
    273 D3DFeatureLevel_TEMPLATE = VBoxR3Static
    274 D3DFeatureLevel_SDKS     = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
    275 D3DFeatureLevel_SOURCES = wddm/dbg/D3DFeatureLevel.cpp
    276 D3DFeatureLevel_LIBS     = d3d11.lib
    277 #D3DFeatureLevel_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3) d3d11.lib - Use guest template if this is wanted! duh!
    278 #D3DFeatureLevel_LDFLAGS.win = /SUBSYSTEM:CONSOLE
     246 #
     247 # A windbg extension and a few test programs.
     248 #
     249
     250 DLLS += vbvdbg
     251 vbvdbg_TEMPLATE = VBoxR3StaticDll
     252 vbvdbg_SDKS    = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
     253 vbvdbg_DEFS    = UNICODE _UNICODE
     254 vbvdbg_SOURCES = \
     255        wddm/dbg/VBoxVideoWinDbg.cpp \
     256        wddm/dbg/VBoxVideoWinDbg.def
     257
     258 PROGRAMS += tstMvWnd
     259 tstMvWnd_TEMPLATE = VBoxR3Static
     260 tstMvWnd_DEFS    = UNICODE _UNICODE
     261 tstMvWnd_SOURCES = wddm/dbg/tstMvWnd.cpp
     262 #tstMvWnd_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3) - Use guest template if this is wanted! duh!
     263 #tstMvWnd_LDFLAGS  = /SUBSYSTEM:windows
     264
     265 PROGRAMS += DumpD3DCaps9
     266 DumpD3DCaps9_TEMPLATE = VBoxR3Exe
     267 DumpD3DCaps9_SDKS    = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
     268 DumpD3DCaps9_DEFS    = UNICODE _UNICODE
     269 DumpD3DCaps9_SOURCES = wddm/dbg/DumpD3DCaps9.cpp
     270 DumpD3DCaps9_LIBS    = d3d9.lib
     271
     272 PROGRAMS += D3DFeatureLevel
     273 D3DFeatureLevel_TEMPLATE = VBoxR3Static
     274 D3DFeatureLevel_SDKS    = ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)
     275 D3DFeatureLevel_SOURCES = wddm/dbg/D3DFeatureLevel.cpp
     276 D3DFeatureLevel_LIBS    = d3d11.lib
     277 #D3DFeatureLevel_LIBS     = $(VBOX_LIB_IPRT_GUEST_R3) d3d11.lib - Use guest template if this is wanted! duh!
     278 #D3DFeatureLevel_LDFLAGS.win = /SUBSYSTEM:CONSOLE
    279279
    280280endif # VBOX_WITH_VBOXVIDEOWINDBG
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/Makefile.kmk

    r98126 r98416  
    4444endif
    4545VBoxVideo_INCS          = \
    46         ../../../include \
    47         .. \
    48         . \
    49         $(VBOX_GRAPHICS_INCS)
     46        ../../../include \
     47        .. \
     48        . \
     49        $(VBOX_GRAPHICS_INCS)
    5050VBoxVideo_LDFLAGS.x86   = /Entry:DriverEntry@8
    5151VBoxVideo_LDFLAGS.amd64 = /Entry:DriverEntry
     
    7676 VBoxVideo_LIBS         += \
    7777        $(PATH_SDK_$(VBOX_WINDDK_GST_NT4)_LIB)/exsup.lib \
    78         $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB)/BufferOverflowK.lib # Needed for ___security_cookie.
     78        $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB)/BufferOverflowK.lib # Needed for ___security_cookie.
    7979endif
    8080VBoxVideo_USES.win = vboximportchecker
     
    117117        wddm/VBoxMPWddm.cpp \
    118118        wddm/VBoxMPLegacy.cpp \
    119         wddm/VBoxMPVidPn.cpp \
    120         wddm/VBoxMPVdma.cpp \
    121         wddm/VBoxMPShgsmi.cpp \
     119        wddm/VBoxMPVidPn.cpp \
     120        wddm/VBoxMPVdma.cpp \
     121        wddm/VBoxMPShgsmi.cpp \
    122122        wddm/VBoxMPCm.cpp \
    123123        wddm/VBoxMPSa.cpp \
     
    137137 ifdef VBOXWDDM_WITH_VBVA
    138138  VBoxWddm_SOURCES        += \
    139     wddm/VBoxMPVbva.cpp
     139        wddm/VBoxMPVbva.cpp
    140140 endif
    141141 ifdef VBOX_WITH_VIDEOHWACCEL
    142142  VBoxWddm_SOURCES        += \
    143     wddm/VBoxMPVhwa.cpp
     143        wddm/VBoxMPVhwa.cpp
    144144 endif
    145145
     
    161161  VBoxWddm_DEFS           += WIN9X_COMPAT_SPINLOCK # to avoid multiple KeInitializeSpinLock on amd64
    162162  VBoxWddm_INCS           += \
    163         $(PATH_ROOT)/src/VBox/Additions/3D/win/include \
    164         $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include
     163        $(PATH_ROOT)/src/VBox/Additions/3D/win/include \
     164        $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include
    165165  VBoxWddm_SOURCES        += \
    166166        wddm/gallium/Svga.cpp \
  • trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/Makefile.kmk

    r98103 r98416  
    4040DLLS.x86 += VBoxGuestInstallHelper
    4141VBoxGuestInstallHelper_TEMPLATE        := VBoxGuestR3Dll
    42 VBoxGuestInstallHelper_INST             := repackadd/resources/VBoxGuestInstallHelper/
     42VBoxGuestInstallHelper_INST             := repackadd/resources/VBoxGuestInstallHelper/
    4343ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.)
    4444 VBoxGuestInstallHelper_INSTTYPE       := stage
    4545 VBoxGuestInstallHelper_DEBUG_INSTTYPE := both
    4646endif
    47 VBoxGuestInstallHelper_DEFS             := _WIN32_WINNT=0x0400 WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE
     47VBoxGuestInstallHelper_DEFS             := _WIN32_WINNT=0x0400 WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE
    4848VBoxGuestInstallHelper_BLD_TRG_ARCH    := x86
    4949VBoxGuestInstallHelper_SOURCES         := \
  • trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/testcase/Makefile.kmk

    r98103 r98416  
    3030
    3131ifdef VBOX_WITH_TESTCASES
    32 #
    33 # As the testcases use the DLL directly and plugins for NSIS *always* are 32-bit,
    34 # we also have to use a 32-bit testcase here.
    35 #
    36 PROGRAMS.x86 += tstWinAdditionsInstallHelper
    37 tstWinAdditionsInstallHelper_TEMPLATE = VBoxGuestR3Exe
    38 tstWinAdditionsInstallHelper_SOURCES = tstWinAdditionsInstallHelper.cpp
    39 tstWinAdditionsInstallHelper_DEFS     = _WIN32_WINNT=0x0400 WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE
     32 #
     33 # As the testcases use the DLL directly and plugins for NSIS *always* are 32-bit,
     34 # we also have to use a 32-bit testcase here.
     35 #
     36 PROGRAMS.x86 += tstWinAdditionsInstallHelper
     37 tstWinAdditionsInstallHelper_TEMPLATE = VBoxGuestR3Exe
     38 tstWinAdditionsInstallHelper_SOURCES = tstWinAdditionsInstallHelper.cpp
     39 tstWinAdditionsInstallHelper_DEFS    = _WIN32_WINNT=0x0400 WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE
    4040
    4141endif # VBOX_WITH_TESTCASES
  • trunk/src/VBox/Additions/WINNT/Installer/Loader/Makefile.kmk

    r98128 r98416  
    3131# This has to be 32-bit.
    3232PROGRAMS += VBoxWindowsAdditions
    33 VBoxWindowsAdditions_TEMPLATE= VBoxGuestR3Exe
     33VBoxWindowsAdditions_TEMPLATE = VBoxGuestR3Exe
    3434VBoxWindowsAdditions_BLD_TRG_ARCH = x86
    3535VBoxWindowsAdditions_DEFS    = _WIN32_WINNT=0x0400
     
    3939        VBoxWindowsAdditions.rc
    4040ifdef VBOX_WITH_NOCRT_STATIC
    41 VBoxWindowsAdditions_LDFLAGS = /SubSystem:Windows
     41 VBoxWindowsAdditions_LDFLAGS = /SubSystem:Windows
    4242else
    43 VBoxWindowsAdditions_LDFLAGS = \
    44         /DISALLOWLIB:msvcrt.lib \
    45         /DISALLOWLIB:msvcprt.lib \
    46         /DISALLOWLIB:libcmt.lib
    47 VBoxWindowsAdditions_LIBS     = \
    48         $(PATH_TOOL_$(TEMPLATE_VBoxR3Exe_TOOL.win.$(KBUILD_TARGET_ARCH))_LIB)/oldnames.lib \
    49         $(PATH_TOOL_$(TEMPLATE_VBoxR3Exe_TOOL.win.$(KBUILD_TARGET_ARCH))_LIB)/libcmt.lib \
    50         $(PATH_TOOL_$(TEMPLATE_VBoxR3Exe_TOOL.win.$(KBUILD_TARGET_ARCH))_LIB)/libcpmt.lib
     43 VBoxWindowsAdditions_LDFLAGS = \
     44        /DISALLOWLIB:msvcrt.lib \
     45        /DISALLOWLIB:msvcprt.lib \
     46        /DISALLOWLIB:libcmt.lib
     47 VBoxWindowsAdditions_LIBS    = \
     48        $(PATH_TOOL_$(TEMPLATE_VBoxR3Exe_TOOL.win.$(KBUILD_TARGET_ARCH))_LIB)/oldnames.lib \
     49        $(PATH_TOOL_$(TEMPLATE_VBoxR3Exe_TOOL.win.$(KBUILD_TARGET_ARCH))_LIB)/libcmt.lib \
     50        $(PATH_TOOL_$(TEMPLATE_VBoxR3Exe_TOOL.win.$(KBUILD_TARGET_ARCH))_LIB)/libcpmt.lib
    5151endif
    5252VBoxWindowsAdditions_VBOX_IMPORT_CHECKER.win.x86 := nt4
  • trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk

    r98257 r98416  
    5656#
    5757PROGRAMS += VBoxDrvInst
    58 VBoxDrvInst_TEMPLATE= VBoxGuestR3Exe
     58VBoxDrvInst_TEMPLATE = VBoxGuestR3Exe
    5959VBoxDrvInst_DEFS    = _WIN32_WINNT=0x0400 _UNICODE UNICODE
    6060VBoxDrvInst_DEFS   += VBOX_SVN_REV=$(VBOX_SVN_REV)
     
    161161        $(PATH_STAGE_BIN)/additions/VBoxTray.exe \
    162162        $(PATH_STAGE_BIN)/additions/VBoxControl.exe \
    163        \
     163        \
    164164        $(PATH_STAGE_BIN)/additions/VBoxMouse.inf \
    165165        $(PATH_STAGE_BIN)/additions/VBoxMouse.sys \
    166        \
     166        \
    167167        $(PATH_STAGE_BIN)/additions/VBoxVideo.inf \
    168168        $(PATH_STAGE_BIN)/additions/VBoxVideo.sys \
    169169        $(PATH_STAGE_BIN)/additions/VBoxDisp.dll \
    170        \
     170        \
    171171        $(PATH_STAGE_BIN)/additions/VBoxSF.sys \
    172172        $(PATH_STAGE_BIN)/additions/VBoxMRXNP.dll
    173173
    174174ifeq ($(KBUILD_TARGET_ARCH),amd64) # 32-bit network provider DLLs for 32-bit apps running on a 64-bit system
    175 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
    176         $(PATH_STAGE_BIN)/additions/VBoxMRXNP-x86.dll
     175 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
     176        $(PATH_STAGE_BIN)/additions/VBoxMRXNP-x86.dll
    177177endif
    178178
    179179if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
    180 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
    181         $(PATH_STAGE_BIN)/additions/VBoxVideo.cat \
    182         $(PATH_STAGE_BIN)/additions/VBoxVideo-PreW10.cat \
    183         $(PATH_STAGE_BIN)/additions/VBoxGuest.cat \
    184         $(PATH_STAGE_BIN)/additions/VBoxGuest-PreW10.cat \
    185         $(PATH_STAGE_BIN)/additions/VBoxMouse.cat \
    186         $(PATH_STAGE_BIN)/additions/VBoxMouse-PreW10.cat
     180 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
     181        $(PATH_STAGE_BIN)/additions/VBoxVideo.cat \
     182        $(PATH_STAGE_BIN)/additions/VBoxVideo-PreW10.cat \
     183        $(PATH_STAGE_BIN)/additions/VBoxGuest.cat \
     184        $(PATH_STAGE_BIN)/additions/VBoxGuest-PreW10.cat \
     185        $(PATH_STAGE_BIN)/additions/VBoxMouse.cat \
     186        $(PATH_STAGE_BIN)/additions/VBoxMouse-PreW10.cat
    187187endif
    188188
     
    193193
    194194ifeq ($(KBUILD_TARGET_ARCH),x86)
    195 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
    196         $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys \
    197         $(PATH_STAGE_BIN)/additions/VBoxSFW2K.sys
     195 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
     196        $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys \
     197        $(PATH_STAGE_BIN)/additions/VBoxSFW2K.sys
    198198endif
    199199
    200200ifdef VBOX_WITH_WDDM
    201 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
    202         $(PATH_STAGE_BIN)/additions/VBoxWddm.inf \
    203         $(PATH_STAGE_BIN)/additions/VBoxWddm.sys \
    204         $(PATH_STAGE_BIN)/additions/VBoxDispD3D.dll
     201 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
     202        $(PATH_STAGE_BIN)/additions/VBoxWddm.inf \
     203        $(PATH_STAGE_BIN)/additions/VBoxWddm.sys \
     204        $(PATH_STAGE_BIN)/additions/VBoxDispD3D.dll
    205205 ifeq ($(KBUILD_TARGET_ARCH),amd64)
    206 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
    207         $(PATH_STAGE_BIN)/additions/VBoxDispD3D-x86.dll
     206  VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
     207        $(PATH_STAGE_BIN)/additions/VBoxDispD3D-x86.dll
    208208 endif
    209209
    210210 ifdef VBOX_WITH_WDDM_DX
    211 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
    212         $(PATH_STAGE_BIN)/additions/VBoxDX.dll
     211  VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
     212        $(PATH_STAGE_BIN)/additions/VBoxDX.dll
    213213  ifeq ($(KBUILD_TARGET_ARCH),amd64)
    214 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
    215         $(PATH_STAGE_BIN)/additions/VBoxDX-x86.dll
     214   VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
     215        $(PATH_STAGE_BIN)/additions/VBoxDX-x86.dll
    216216  endif
    217217 endif
    218218
    219219 ifdef VBOX_WITH_MESA3D
    220 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
    221         $(PATH_STAGE_BIN)/additions/VBoxNine.dll \
    222         $(PATH_STAGE_BIN)/additions/VBoxSVGA.dll \
    223         $(PATH_STAGE_BIN)/additions/VBoxGL.dll
     220  VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
     221        $(PATH_STAGE_BIN)/additions/VBoxNine.dll \
     222        $(PATH_STAGE_BIN)/additions/VBoxSVGA.dll \
     223        $(PATH_STAGE_BIN)/additions/VBoxGL.dll
    224224  ifeq ($(KBUILD_TARGET_ARCH),amd64)
    225 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
    226         $(PATH_STAGE_BIN)/additions/VBoxNine-x86.dll \
    227         $(PATH_STAGE_BIN)/additions/VBoxSVGA-x86.dll \
    228         $(PATH_STAGE_BIN)/additions/VBoxGL-x86.dll
     225   VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \
     226        $(PATH_STAGE_BIN)/additions/VBoxNine-x86.dll \
     227        $(PATH_STAGE_BIN)/additions/VBoxSVGA-x86.dll \
     228        $(PATH_STAGE_BIN)/additions/VBoxGL-x86.dll
    229229  endif
    230230 endif
    231231
    232232 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
    233 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
    234         $(PATH_STAGE_BIN)/additions/VBoxWddm.cat \
    235         $(PATH_STAGE_BIN)/additions/VBoxWddm-PreW10.cat
     233  VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
     234        $(PATH_STAGE_BIN)/additions/VBoxWddm.cat \
     235        $(PATH_STAGE_BIN)/additions/VBoxWddm-PreW10.cat
    236236 endif
    237237endif # VBOX_WITH_WDDM
    238238
    239239ifdef env.VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
    240 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
    241         $(PATH_STAGE_BIN)/additions/VBoxAudioTest.exe
     240 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \
     241        $(PATH_STAGE_BIN)/additions/VBoxAudioTest.exe
    242242endif
    243243
     
    280280        -E 'KBUILD_TYPE=$(KBUILD_TYPE)' \
    281281        -E 'KBUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \
    282        $(foreach base, VBOX_GA_CERT_ROOT_SHA1 VBOX_GA_CERT_ROOT_SHA2 VBOX_GA_CERT_ROOT_SHA2_R3 \
    283        ,-E '$(base)=$(firstword $($(base)) none)' -E '$(base)_TS=$(firstword $($(base)_TS) none)')
     282        $(foreach base, VBOX_GA_CERT_ROOT_SHA1 VBOX_GA_CERT_ROOT_SHA2 VBOX_GA_CERT_ROOT_SHA2_R3 \
     283        ,-E '$(base)=$(firstword $($(base)) none)' -E '$(base)_TS=$(firstword $($(base)_TS) none)')
    284284
    285285$(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe: \
     
    328328
    329329ifdef VBOX_SIGNING_MODE
    330 #
    331 # This is a hack to sign the uninstaller.
    332 # See http://nsis.sourceforge.net/Signing_an_Uninstaller for more details.
    333 #
    334 OTHER_CLEAN += \
    335         $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe \
    336         $(PATH_TARGET)/uninst.exe
    337 $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe: \
    338                 $(PATH_SUB_CURRENT)/VBoxGuestAdditions.nsi \
    339                 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsCommon.nsh \
    340                 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsExternal.nsh \
    341                 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsLog.nsh \
    342                 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstall.nsh \
    343                 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \
    344                 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsW2KXP.nsh \
    345                 $(PATH_SUB_CURRENT)/VBoxGuestAdditionsVista.nsh \
    346                 $(PATH_SUB_CURRENT)/dumplog.nsh \
    347                 $(PATH_SUB_CURRENT)/ReplaceDLL.nsh \
    348                 $(PATH_SUB_CURRENT)/servicepack.nsh \
    349                 $(PATH_SUB_CURRENT)/strstr.nsh \
    350                 $(PATH_SUB_CURRENT)/winver.nsh \
    351                 $(PATH_SUB_CURRENT)/Languages/English.nsh \
    352                 $(PATH_SUB_CURRENT)/Languages/German.nsh \
    353                 $(PATH_SUB_CURRENT)/Languages/French.nsh \
    354                 $(VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES) \
    355                 $(VBOX_WINDOWS_ADDITIONS_OTHER_FILES) \
    356                 $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) \
    357                 $(VBOX_NSIS_ICON_FILE) \
    358                 $(VBOX_VERSION_STAMP) \
    359                $$(VBoxDrvInst_1_STAGE_TARGET) \
    360                 | $$(dir $$@)
     330 #
     331 # This is a hack to sign the uninstaller.
     332 # See http://nsis.sourceforge.net/Signing_an_Uninstaller for more details.
     333 #
     334 OTHER_CLEAN += \
     335        $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe \
     336        $(PATH_TARGET)/uninst.exe
     337 $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe: \
     338                $(PATH_SUB_CURRENT)/VBoxGuestAdditions.nsi \
     339                $(PATH_SUB_CURRENT)/VBoxGuestAdditionsCommon.nsh \
     340                $(PATH_SUB_CURRENT)/VBoxGuestAdditionsExternal.nsh \
     341                $(PATH_SUB_CURRENT)/VBoxGuestAdditionsLog.nsh \
     342                $(PATH_SUB_CURRENT)/VBoxGuestAdditionsUninstall.nsh \
     343                $(PATH_SUB_CURRENT)/VBoxGuestAdditionsNT4.nsh \
     344                $(PATH_SUB_CURRENT)/VBoxGuestAdditionsW2KXP.nsh \
     345                $(PATH_SUB_CURRENT)/VBoxGuestAdditionsVista.nsh \
     346                $(PATH_SUB_CURRENT)/dumplog.nsh \
     347                $(PATH_SUB_CURRENT)/ReplaceDLL.nsh \
     348                $(PATH_SUB_CURRENT)/servicepack.nsh \
     349                $(PATH_SUB_CURRENT)/strstr.nsh \
     350                $(PATH_SUB_CURRENT)/winver.nsh \
     351                $(PATH_SUB_CURRENT)/Languages/English.nsh \
     352                $(PATH_SUB_CURRENT)/Languages/German.nsh \
     353                $(PATH_SUB_CURRENT)/Languages/French.nsh \
     354                $(VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES) \
     355                $(VBOX_WINDOWS_ADDITIONS_OTHER_FILES) \
     356                $(VBOX_WINDOWS_ADDITIONS_ICON_FILE) \
     357                $(VBOX_NSIS_ICON_FILE) \
     358                $(VBOX_VERSION_STAMP) \
     359                $$(VBoxDrvInst_1_STAGE_TARGET) \
     360                | $$(dir $$@)
    361361        $(call MSG_L1,Creating $@, from $<)
    362362        $(QUIET)$(REDIRECT) -C $(VBOX_PATH_WIN_ADD_INS_SRC) \
     
    370370                        '$(subst /,\,$<)'
    371371
    372 $(PATH_TARGET)/uninst.exe: $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe | $$(dir $$@)
     372 $(PATH_TARGET)/uninst.exe: $(PATH_TARGET)/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH)-uninst.exe | $$(dir $$@)
    373373        $(call MSG_L1,Creating $@, from $<)
    374374        $(QUIET)$(RM) -f $@
     
    381381
    382382if defined(VBOX_GA_ATTESTATION_SIGNING) && defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
    383 #
    384 # This automagically attestation signs the GA drivers.
    385 #
    386 $(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME): \
    387                 $(PATH_OUT)/repackadd/sign-attestation.sh \
    388                 $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME)
     383 #
     384 # This automagically attestation signs the GA drivers.
     385 #
     386 $(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME): \
     387                $(PATH_OUT)/repackadd/sign-attestation.sh \
     388                $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME)
    389389        $(RM_EXT) -f $(PATH_OUT)/repackadd/*.zip
    390390        cd $(PATH_OUT)/repackadd && $(SHELL) $(PATH_OUT)/repackadd/sign-attestation.sh $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME)
    391391        $(MV_EXT) $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME).*.zip $(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME)
    392392
    393 #
    394 # This creates a .CAB file of the driver files that should be attestation signed.
    395 #
    396 $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME): \
    397                 $(PATH_OUT)/repackadd/PackDriversForSubmission.cmd \
    398 #               $(VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES) - is is unsafe, because of the 'ing ugly hack replacing most of them above during packing.
     393 #
     394 # This creates a .CAB file of the driver files that should be attestation signed.
     395 #
     396 $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME): \
     397                $(PATH_OUT)/repackadd/PackDriversForSubmission.cmd \
     398                # $(VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES) - is is unsafe, because of the 'ing ugly hack replacing most of them above during packing.
    399399        $(RM_EXT) -f $(PATH_OUT)/repackadd/*.cab
    400400        $(RM_EXT) -f $(PATH_OUT)/repackadd/*.ddf
     
    424424
    425425ifndef VBOX_OSE
    426 RePackScriptsAdd_SOURCES += \
    427         $(RePackScriptsAdd_0_OUTDIR)/Combined-0-Additions.cmd \
    428         $(RePackScriptsAdd_0_OUTDIR)/Combined-2-SignAdditions.cmd \
    429         ../../../Installer/win/Scripts/sign-attestation.sh
     426 RePackScriptsAdd_SOURCES += \
     427        $(RePackScriptsAdd_0_OUTDIR)/Combined-0-Additions.cmd \
     428        $(RePackScriptsAdd_0_OUTDIR)/Combined-2-SignAdditions.cmd \
     429        ../../../Installer/win/Scripts/sign-attestation.sh
    430430endif
    431431
     
    433433$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-1-Prepare.cmd,Combined-1-Prepare.cmd)
    434434ifndef VBOX_OSE
    435 $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-0-Additions.cmd,Combined-0-Additions.cmd)
    436 $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-2-SignAdditions.cmd,Combined-2-SignAdditions.cmd)
     435 $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-0-Additions.cmd,Combined-0-Additions.cmd)
     436 $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-2-SignAdditions.cmd,Combined-2-SignAdditions.cmd)
    437437endif
    438438$(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-3-RepackAdditions.cmd,Combined-3-RepackAdditions.cmd)
     
    470470        VBoxGuestAdditionsCommon.nsh \
    471471        VBoxGuestAdditionsExternal.nsh \
    472         VBoxGuestAdditionsLog.nsh\
     472        VBoxGuestAdditionsLog.nsh \
    473473        VBoxGuestAdditionsNT4.nsh \
    474474        VBoxGuestAdditionsUninstall.nsh \
    475475        VBoxGuestAdditionsUninstallOld.nsh \
    476         VBoxGuestAdditionsVista.nsh\
    477         VBoxGuestAdditionsW2KXP.nsh\
     476        VBoxGuestAdditionsVista.nsh \
     477        VBoxGuestAdditionsW2KXP.nsh \
    478478        winver.nsh \
    479479        ISO/AUTORUN.INF \
    480480        ISO/NT3xReadme.txt \
    481        \
     481        \
    482482        Languages/English.nsh=>Languages/English.nsh \
    483483        Languages/French.nsh=>Languages/French.nsh \
     
    494494PROGRAMS.win.x86 += VBoxAddInstallNt3x
    495495ifdef VBOX_WITH_NOCRT_STATIC
    496 ## @todo noCRT: the result is much too big. Got rid of log.cpp, but still pretty big. Work on reducing it.
    497 VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3Exe
     496 ## @todo noCRT: the result is much too big. Got rid of log.cpp, but still pretty big. Work on reducing it.
     497 VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3Exe
    498498else
    499 VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3NoCrtExe
     499 VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3NoCrtExe
    500500endif
    501501VBoxAddInstallNt3x_SOURCES  := VBoxAddInstallNt3x.cpp
  • trunk/src/VBox/Additions/WINNT/Mouse/NT4/Makefile.kmk

    r98126 r98416  
    3939        VBoxPS2NT.cpp \
    4040        VBoxPS2NT.rc \
    41        ../../../../Runtime/r0drv/nt/nt3fakes-r0drv-nt.cpp \
    42        ../../../../Runtime/r0drv/nt/nt3fakesA-r0drv-nt.asm \
    43        ../../../../Runtime/common/string/strcmp.asm \
    44        ../../../../Runtime/common/string/strchr.asm
     41        ../../../../Runtime/r0drv/nt/nt3fakes-r0drv-nt.cpp \
     42        ../../../../Runtime/r0drv/nt/nt3fakesA-r0drv-nt.asm \
     43        ../../../../Runtime/common/string/strcmp.asm \
     44        ../../../../Runtime/common/string/strchr.asm
    4545VBoxMouseNT_LIBS        = \
    4646        $(VBOX_LIB_IPRT_GUEST_R0_NT4) \
     
    5252ifneq ($(VBOX_VCC_CC_GUARD_CF),)
    5353 VBoxMouseNT_LIBS.x86 += \
    54         $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB)/BufferOverflowK.lib
     54        $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB)/BufferOverflowK.lib
    5555endif
    5656VBoxMouseNT_CLEAN       = \
  • trunk/src/VBox/Additions/WINNT/Mouse/NT5/Makefile.kmk

    r98126 r98416  
    8484if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)
    8585 VBoxMouse-inf_SOURCES += \
    86         $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys \
    87         $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat \
    88         $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat=>VBoxMouse-PreW10.cat
     86        $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys \
     87        $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat \
     88        $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat=>VBoxMouse-PreW10.cat
    8989
    9090 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys: $$(VBoxMouse_1_TARGET) | $$(dir $$@)
  • trunk/src/VBox/Additions/WINNT/SharedFolders/driver/Makefile.kmk

    r98126 r98416  
    5151        path.cpp \
    5252        vbsfhlp.cpp \
    53         VBoxSF.rc
     53        VBoxSF.rc
    5454VBoxSF_SOURCES.x86 = \
    5555        Win2kWorkarounds.c \
     
    6464ifneq ($(VBOX_VCC_CC_GUARD_CF),)
    6565 VBoxSF_LIBS += \
    66         $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.$(KBUILD_TARGET_ARCH))/ntoskrnl.lib \
     66        $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.$(KBUILD_TARGET_ARCH))/ntoskrnl.lib \
    6767        $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib
    6868else
    6969 VBoxSF_LIBS += \
    70         $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/ntoskrnl.lib \
     70        $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/ntoskrnl.lib \
    7171        $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib
    7272endif
     
    9797        $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/hal.lib \
    9898        $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ksecdd.lib \
    99         \
    100         $(VBOX_LIB_VBGL_R0) \
    101         $(VBOX_LIB_IPRT_GUEST_R0) \
     99        \
     100        $(VBOX_LIB_VBGL_R0) \
     101        $(VBOX_LIB_IPRT_GUEST_R0) \
    102102        $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB)/int64.lib
    103103 ifneq ($(VBOX_VCC_CC_GUARD_CF),)
    104104  VBoxSFW2K_LIBS += \
    105         $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/ntoskrnl.lib \
     105        $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/ntoskrnl.lib \
    106106        $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/BufferOverflowK.lib
    107107 else
    108108  VBoxSFW2K_LIBS += \
    109         $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \
     109        $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \
    110110        $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/BufferOverflowK.lib
    111111 endif
     
    121121
    122122ifeq ($(KBUILD_TARGET_ARCH),x86)
    123 $(VBoxSF_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB)
     123 $(VBoxSF_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB)
    124124        $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
    125125        $(VBOX_EDIT_COFF_LIB) --input "$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib" --output "$@" \
     
    130130               --redefine-sym "__imp__CcFlushCache@16=_g_pfnRdFlushCache"
    131131
    132 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib)
    133 $(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB)
     132 $(call KB_FN_AUTO_CMD_DEPS,$(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib)
     133 $(VBoxSFW2K_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB)
    134134        $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
    135135        $(VBOX_EDIT_COFF_LIB) --input "$(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib" --output "$@" \
     
    140140               --redefine-sym "__imp__CcFlushCache@16=_g_pfnRdFlushCache"
    141141else
    142 $(VBoxSF_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB)
     142 $(VBoxSF_0_OUTDIR)/rdbsslib.lib: $$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib | $$(dir $$@) $(VBOX_EDIT_COFF_LIB)
    143143        $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
    144144        $(VBOX_EDIT_COFF_LIB) --input "$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib" --output "$@" \
  • trunk/src/VBox/Additions/WINNT/VBoxGINA/Makefile.kmk

    r98103 r98416  
    3434VBoxGINA_SOURCES  = \
    3535        VBoxGINA.cpp \
    36         Helper.cpp  \
     36        Helper.cpp \
    3737        Dialog.cpp \
    3838        VBoxGINA.def \
  • trunk/src/VBox/Additions/WINNT/VBoxHook/testcase/Makefile.kmk

    r98103 r98416  
    3131ifdef VBOX_WITH_TESTCASES
    3232
    33 #
    34 # Structure size testcase.
    35 #
    36 PROGRAMS += tstHook
     33 #
     34 # Structure size testcase.
     35 #
     36 PROGRAMS += tstHook
    3737
    38 tstHook_TEMPLATE = VBoxGuestR3Exe
    39 tstHook_DEFS     = VBOX_WITH_HGCM
    40 tstHook_SOURCES = tstHook.cpp
    41 tstHook_INCS     = ../../include
    42 tstHook_LIBS     = $(PATH_STAGE_LIB)/VBoxHook.lib
    43 tstHook_VBOX_IMPORT_CHECKER.win.x86   = $(NO_SUCH_VARIABLE)
    44 tstHook_VBOX_IMPORT_CHECKER.win.amd64 = $(NO_SUCH_VARIABLE)
     38 tstHook_TEMPLATE = VBoxGuestR3Exe
     39 tstHook_DEFS    = VBOX_WITH_HGCM
     40 tstHook_SOURCES = tstHook.cpp
     41 tstHook_INCS    = ../../include
     42 tstHook_LIBS    = $(PATH_STAGE_LIB)/VBoxHook.lib
     43 tstHook_VBOX_IMPORT_CHECKER.win.x86  = $(NO_SUCH_VARIABLE)
     44 tstHook_VBOX_IMPORT_CHECKER.win.amd64 = $(NO_SUCH_VARIABLE)
    4545
    4646endif # VBOX_WITH_TESTCASES
  • trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk

    r98103 r98416  
    6464ifdef VBOX_WITH_SHARED_CLIPBOARD
    6565 VBoxTray_DEFS     += \
    66         $(if $(VBOX_WITH_SHARED_CLIPBOARD),VBOX_WITH_SHARED_CLIPBOARD,) \
    67         $(if $(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS),VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS,)
     66        $(if $(VBOX_WITH_SHARED_CLIPBOARD),VBOX_WITH_SHARED_CLIPBOARD,) \
     67        $(if $(VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS),VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS,)
    6868 VBoxTray_SOURCES  += \
    69         VBoxClipboard.cpp \
    70         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp \
    71         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp
     69        VBoxClipboard.cpp \
     70        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp \
     71        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp
    7272 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    7373  VBoxTray_DEFS     += VBOX_WITH_SHARED_CLIPBOARD_GUEST
    7474  VBoxTray_SOURCES  += \
    75         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp \
    76         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardEnumFormatEtcImpl-win.cpp \
    77         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp \
    78         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardStreamImpl-win.cpp \
    79         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp
     75        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp \
     76        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardEnumFormatEtcImpl-win.cpp \
     77        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp \
     78        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardStreamImpl-win.cpp \
     79        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp
    8080 endif
    8181endif
    8282ifdef VBOX_WITH_DRAG_AND_DROP
    8383 VBoxTray_DEFS     += \
    84         VBOX_WITH_DRAG_AND_DROP \
    85         $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
     84        VBOX_WITH_DRAG_AND_DROP \
     85        $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
    8686 VBoxTray_SOURCES  += \
    87         VBoxDnD.cpp \
    88         VBoxDnDDataObject.cpp \
    89         VBoxDnDEnumFormat.cpp \
    90         VBoxDnDDropSource.cpp \
    91         VBoxDnDDropTarget.cpp
     87        VBoxDnD.cpp \
     88        VBoxDnDDataObject.cpp \
     89        VBoxDnDEnumFormat.cpp \
     90        VBoxDnDDropSource.cpp \
     91        VBoxDnDDropTarget.cpp
    9292 VBoxTray_LIBS     += \
    93         $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)
     93        $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)
    9494endif
    9595ifdef VBOX_WITH_GUEST_PROPS
    9696 VBoxTray_DEFS     += _WIN32_IE=0x500 VBOX_WITH_GUEST_PROPS
    9797 VBoxTray_SOURCES  += \
    98         VBoxHostVersion.cpp \
    99         VBoxLA.cpp
     98        VBoxHostVersion.cpp \
     99        VBoxLA.cpp
    100100endif
    101101ifdef VBOX_WITH_WDDM
  • trunk/src/VBox/Additions/common/VBoxControl/testcase/Makefile.kmk

    r98169 r98416  
    3131if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS)
    3232
    33 #
    34 # Dummy CLI testcase.
    35 #
    36 PROGRAMS += tstVBoxControl
    37 tstVBoxControl_TEMPLATE = VBoxR3TstExe
    38 tstVBoxControl_DEFS     = VBOX_CONTROL_TEST
    39 tstVBoxControl_SOURCES = tstVBoxControl.cpp ../VBoxControl.cpp
    40 tstVBoxControl_LIBS     = $(LIB_RUNTIME)
    41 tstVBoxControl_DEFS    += \
    42         $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS VBOX_WITH_HGCM,)
     33 #
     34 # Dummy CLI testcase.
     35 #
     36 PROGRAMS += tstVBoxControl
     37 tstVBoxControl_TEMPLATE = VBoxR3TstExe
     38 tstVBoxControl_DEFS    = VBOX_CONTROL_TEST
     39 tstVBoxControl_SOURCES = tstVBoxControl.cpp ../VBoxControl.cpp
     40 tstVBoxControl_LIBS    = $(LIB_RUNTIME)
     41 tstVBoxControl_DEFS   += \
     42        $(if $(VBOX_WITH_GUEST_PROPS),VBOX_WITH_GUEST_PROPS VBOX_WITH_HGCM,)
    4343
    4444endif # VBOX_WITH_TESTCASES
  • trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk

    r98126 r98416  
    7272 #VBoxGuest_DEFS.win     += LOG_ENABLED LOG_TO_BACKDOOR
    7373 VBoxGuest_DEFS.win += \
    74         $(if $(VBOX_WITH_DPC_LATENCY_CHECKER),VBOX_WITH_DPC_LATENCY_CHECKER,)
     74        $(if $(VBOX_WITH_DPC_LATENCY_CHECKER),VBOX_WITH_DPC_LATENCY_CHECKER,)
    7575 VBoxGuest_DEPS.solaris += $(VBOX_SVN_REV_KMK)
    7676 VBoxGuest_DEPS.haiku   += $(VBOX_SVN_REV_HEADER)
     
    128128        win/VBoxGuest.rc
    129129  VBoxGuest_SOURCES.win.x86 += \
    130        ../../../Runtime/common/string/strcmp.asm \
    131        ../../../Runtime/common/string/strchr.asm \
    132        ../../../Runtime/r0drv/nt/nt3fakes-r0drv-nt.cpp \
    133        ../../../Runtime/r0drv/nt/nt3fakesA-r0drv-nt.asm
     130        ../../../Runtime/common/string/strcmp.asm \
     131        ../../../Runtime/common/string/strchr.asm \
     132        ../../../Runtime/r0drv/nt/nt3fakes-r0drv-nt.cpp \
     133        ../../../Runtime/r0drv/nt/nt3fakesA-r0drv-nt.asm
    134134  VBoxGuest_LIBS        += \
    135135        $(VBOX_LIB_VBGL_R0BASE) \
     
    152152  # The library order is crucial, so a bit of trickery is necessary.
    153153  # A library is used to make sure that VBoxGuestA-os2.asm is first in the link. (temporary hack?)
    154 VBoxGuest_SOURCES        = \
     154  VBoxGuest_SOURCES      = \
    155155        VBoxGuestA-os2.asm
    156156  ifdef VBOX_USE_WATCOM_FOR_OS2
    157 VBoxGuest_LIBS           = \
    158         $(VBoxGuestLibOs2Hack_1_TARGET) \
    159         $(VBOX_LIB_VBGL_R0BASE) \
    160         $(VBOX_LIB_IPRT_GUEST_R0) \
    161         $(PATH_IGCC)/lib/libend.lib
     157   VBoxGuest_LIBS        = \
     158        $(VBoxGuestLibOs2Hack_1_TARGET) \
     159        $(VBOX_LIB_VBGL_R0BASE) \
     160        $(VBOX_LIB_IPRT_GUEST_R0) \
     161        $(PATH_IGCC)/lib/libend.lib
    162162  else
    163 VBoxGuest_SOURCES       += \
    164         VBoxGuest-os2.def
    165 #VBoxGuest_LDFLAGS        = -s -t -v
    166 VBoxGuest_LIBS           = \
    167         $(VBoxGuestLibOs2Hack_1_TARGET) \
    168         $(VBOX_LIB_VBGL_R0BASE) \
    169         $(VBOX_LIB_IPRT_GUEST_R0) \
    170         $(VBOX_GCC_LIBGCC) \
    171         end
     163   VBoxGuest_SOURCES    += \
     164        VBoxGuest-os2.def
     165   #VBoxGuest_LDFLAGS        = -s -t -v
     166   VBoxGuest_LIBS        = \
     167        $(VBoxGuestLibOs2Hack_1_TARGET) \
     168        $(VBOX_LIB_VBGL_R0BASE) \
     169        $(VBOX_LIB_IPRT_GUEST_R0) \
     170        $(VBOX_GCC_LIBGCC) \
     171        end
    172172  endif
    173 ## When debugging init with kDrvTest:
    174 #VBoxGuest_NAME          = VBoxGst
    175 
    176 # See above.
    177 LIBRARIES += VBoxGuestLibOs2Hack
    178 VBoxGuestLibOs2Hack_TEMPLATE = VBoxGuestR0DrvLib
    179 VBoxGuestLibOs2Hack_INSTTYPE = none
    180 VBoxGuestLibOs2Hack_DEFS = $(VBoxGuest_DEFS)
    181 VBoxGuestLibOs2Hack_INCS = \
    182         . \
    183         $(PATH_ROOT)/src/VBox/Runtime/include # for the os2ddk
    184 VBoxGuestLibOs2Hack_SOURCES = \
    185         VBoxGuest-os2.cpp \
    186         VBoxGuest.cpp
     173  ## When debugging init with kDrvTest:
     174  #VBoxGuest_NAME          = VBoxGst
     175
     176  # See above.
     177  LIBRARIES += VBoxGuestLibOs2Hack
     178  VBoxGuestLibOs2Hack_TEMPLATE = VBoxGuestR0DrvLib
     179  VBoxGuestLibOs2Hack_INSTTYPE = none
     180  VBoxGuestLibOs2Hack_DEFS = $(VBoxGuest_DEFS)
     181  VBoxGuestLibOs2Hack_INCS = \
     182        . \
     183        $(PATH_ROOT)/src/VBox/Runtime/include # for the os2ddk
     184  VBoxGuestLibOs2Hack_SOURCES = \
     185        VBoxGuest-os2.cpp \
     186        VBoxGuest.cpp
    187187 endif # OS/2
    188188
     
    199199 VBoxGuest.kext_BLDDIRS  = $(VBoxGuest.kext_0_OUTDIR)/Contents/
    200200
    201 $$(VBoxGuest.kext_0_OUTDIR)/Contents/Info.plist: \
    202                 $(PATH_SUB_CURRENT)/darwin/Info.plist \
    203                 $(VBOX_VERSION_MK) | $$(dir $$@)
     201 $$(VBoxGuest.kext_0_OUTDIR)/Contents/Info.plist: \
     202                $(PATH_SUB_CURRENT)/darwin/Info.plist \
     203                $(VBOX_VERSION_MK) | $$(dir $$@)
    204204        $(call MSG_GENERATE,VBoxGuest,$@,$<)
    205205        $(QUIET)$(RM) -f $@
     
    215215                $<
    216216
    217 $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxGuest)
     217 $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxGuest)
    218218endif # darwin
    219219
     
    244244 # Build test for the Guest Additions kernel module (kmk check).
    245245 #
    246 $(evalcall2 VBOX_LINUX_KMOD_TEST_BUILD_RULE_FN,vboxguest-src,,save_symvers)
     246 $(evalcall2 VBOX_LINUX_KMOD_TEST_BUILD_RULE_FN,vboxguest-src,,save_symvers)
    247247endif # Linux
    248248
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/Makefile.kmk

    r98214 r98416  
    5353ifndef VBOX_ONLY_VALIDATIONKIT
    5454 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd)
    55  ifndef VBOX_USE_SYSTEM_XORG_HEADERS
    56   LIBRARIES += \
    57         VBoxGuestR3LibXFree86
    58  endif
     55  ifndef VBOX_USE_SYSTEM_XORG_HEADERS
     56   LIBRARIES += \
     57        VBoxGuestR3LibXFree86
     58  endif
    5959 endif
    6060 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
     
    8282        VBoxGuestR0LibHGCM.cpp \
    8383        VbglR0CanUsePhysPageList.cpp \
    84        \
     84        \
    8585        VBoxGuestR0LibIdc.cpp \
    8686        VBoxGuestR0LibSharedFolders.c \
     
    140140        VBoxGuestR3LibStat.cpp \
    141141        VBoxGuestR3LibTime.cpp \
    142         VBoxGuestR3LibModule.cpp \
    143         VBoxGuestR3LibPidFile.cpp \
    144         VBoxGuestR3LibVrdp.cpp \
    145         VBoxGuestR3LibMouse.cpp \
    146         VBoxGuestR3LibSeamless.cpp \
    147         VBoxGuestR3LibVideo.cpp
     142        VBoxGuestR3LibModule.cpp \
     143        VBoxGuestR3LibPidFile.cpp \
     144        VBoxGuestR3LibVrdp.cpp \
     145        VBoxGuestR3LibMouse.cpp \
     146        VBoxGuestR3LibSeamless.cpp \
     147        VBoxGuestR3LibVideo.cpp
    148148ifneq ($(KBUILD_TARGET),win)
    149149 VBoxGuestR3Lib_SOURCES   += \
     
    158158 VBoxGuestR3Lib_DEFS      += VBOX_WITH_SHARED_CLIPBOARD_GUEST
    159159 VBoxGuestR3Lib_SOURCES   += \
    160         VBoxGuestR3LibClipboard.cpp
     160        VBoxGuestR3LibClipboard.cpp
    161161 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    162  VBoxGuestR3Lib_SOURCES   += \
    163         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardMIME.cpp
     162  VBoxGuestR3Lib_SOURCES  += \
     163        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardMIME.cpp
    164164 endif
    165165endif
     
    174174ifdef VBOX_WITH_DRAG_AND_DROP
    175175 VBoxGuestR3Lib_DEFS      += \
    176     VBOX_WITH_DRAG_AND_DROP \
    177     $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
     176        VBOX_WITH_DRAG_AND_DROP \
     177        $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
    178178 VBoxGuestR3Lib_SOURCES   += \
    179179        VBoxGuestR3LibDragAndDrop.cpp
     
    229229        VBoxGuestR3LibRuntimeXF86.cpp
    230230VBoxGuestR3LibXFree86_INCS     = \
    231         $(VBOX_PATH_X11_ROOT)/XFree86-4.3/Xserver \
    232         $(VBOX_PATH_X11_ROOT)/XFree86-4.3 \
    233         $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11
     231        $(VBOX_PATH_X11_ROOT)/XFree86-4.3/Xserver \
     232        $(VBOX_PATH_X11_ROOT)/XFree86-4.3 \
     233        $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11
    234234
    235235#
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/testcase/Makefile.kmk

    r98169 r98416  
    3939if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_BUILD)
    4040
    41 #
    42 # Testcase for the physical heap.
    43 #
    44 PROGRAMS += tstVbglR0PhysHeap-1
    45 tstVbglR0PhysHeap-1_TEMPLATE = VBoxR3TstExe
    46 tstVbglR0PhysHeap-1_SOURCES = \
    47         tstVbglR0PhysHeap-1.cpp
     41 #
     42 # Testcase for the physical heap.
     43 #
     44 PROGRAMS += tstVbglR0PhysHeap-1
     45 tstVbglR0PhysHeap-1_TEMPLATE = VBoxR3TstExe
     46 tstVbglR0PhysHeap-1_SOURCES = \
     47        tstVbglR0PhysHeap-1.cpp
    4848
    4949
  • trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk

    r98195 r98416  
    5555if1of ($(KBUILD_TARGET), linux)
    5656 # CPU hotplugging.
    57 VBOX_WITH_VBOXSERVICE_CPUHOTPLUG    := 1
     57 VBOX_WITH_VBOXSERVICE_CPUHOTPLUG   := 1
    5858endif
    5959
    6060# Page Sharing (Page Fusion).
    6161if1of ($(KBUILD_TARGET), win)
    62 VBOX_WITH_VBOXSERVICE_PAGE_SHARING := 1
     62 VBOX_WITH_VBOXSERVICE_PAGE_SHARING := 1
    6363endif
    6464
    6565ifdef VBOX_WITH_GUEST_PROPS
    66 VBOX_WITH_VBOXSERVICE_VMINFO        := 1
     66 VBOX_WITH_VBOXSERVICE_VMINFO       := 1
    6767endif
    6868
    6969# Guest Control.
    7070ifdef VBOX_WITH_GUEST_CONTROL
    71 VBOX_WITH_VBOXSERVICE_CONTROL       := 1
     71 VBOX_WITH_VBOXSERVICE_CONTROL      := 1
    7272endif
    7373
    7474# Shared Clipboard.
    7575ifdef VBOX_WITH_SHARED_CLIPBOARD
    76 VBOX_WITH_VBOXSERVICE_CLIPBOARD     := 1
     76 VBOX_WITH_VBOXSERVICE_CLIPBOARD    := 1
    7777endif
    7878
     
    103103        $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,)
    104104ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
    105 VBoxService_DEFS         += VBOX_BUILD_TARGET="$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)"
     105 VBoxService_DEFS        += VBOX_BUILD_TARGET="$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)"
    106106else
    107 VBoxService_DEFS         += VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"
     107 VBoxService_DEFS        += VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"
    108108endif
    109109VBoxService_DEFS.win     += _WIN32_WINNT=0x0501
     
    116116
    117117ifdef VBOX_WITH_VBOXSERVICE_TIMESYNC
    118 VBoxService_SOURCES      += \
    119         VBoxServiceTimeSync.cpp
     118 VBoxService_SOURCES     += \
     119        VBoxServiceTimeSync.cpp
    120120endif
    121121
     
    123123 VBoxService_DEFS.os2    += VBOX_WITH_VBOXSERVICE_CLIPBOARD VBOX_WITH_SHARED_CLIPBOARD
    124124 VBoxService_SOURCES.os2 += \
    125         VBoxServiceClipboard-os2.cpp \
    126         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp
     125        VBoxServiceClipboard-os2.cpp \
     126        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp
    127127endif
    128128
    129129ifdef VBOX_WITH_VBOXSERVICE_TOOLBOX
    130 VBoxService_SOURCES      += \
    131         VBoxServiceToolBox.cpp
     130 VBoxService_SOURCES     += \
     131        VBoxServiceToolBox.cpp
    132132endif
    133133
    134134ifdef VBOX_WITH_VBOXSERVICE_CONTROL
    135 VBoxService_SOURCES      += \
    136         VBoxServiceControl.cpp \
    137         VBoxServiceControlProcess.cpp \
    138         VBoxServiceControlSession.cpp
     135 VBoxService_SOURCES     += \
     136        VBoxServiceControl.cpp \
     137        VBoxServiceControlProcess.cpp \
     138        VBoxServiceControlSession.cpp
    139139endif
    140140
     
    142142 ifdef VBOX_WITH_MEMBALLOON
    143143  VBoxService_SOURCES    += \
    144         VBoxServiceBalloon.cpp
     144        VBoxServiceBalloon.cpp
    145145  VBoxService_DEFS       += VBOX_WITH_MEMBALLOON
    146146 endif
     
    148148
    149149if1of ($(KBUILD_TARGET), win)
    150 VBoxService_SOURCES      += \
     150 VBoxService_SOURCES     += \
    151151        VBoxServicePageSharing.cpp
    152152endif
    153153
    154154ifdef VBOX_WITH_VBOXSERVICE_VMINFO
    155 VBoxService_SOURCES.win += \
     155 VBoxService_SOURCES.win += \
    156156        VBoxServiceVMInfo-win.cpp
    157 VBoxService_SOURCES      += \
    158         VBoxServiceVMInfo.cpp \
    159         VBoxServicePropCache.cpp
     157 VBoxService_SOURCES     += \
     158        VBoxServiceVMInfo.cpp \
     159        VBoxServicePropCache.cpp
    160160endif
    161161
    162162ifdef VBOX_WITH_VBOXSERVICE_CPUHOTPLUG
    163 VBoxService_SOURCES      += \
    164         VBoxServiceCpuHotPlug.cpp
     163 VBoxService_SOURCES     += \
     164        VBoxServiceCpuHotPlug.cpp
    165165endif
    166166
    167167ifdef VBOX_WITH_SHARED_FOLDERS
    168168 if1of ($(KBUILD_TARGET), linux os2 solaris win)
    169 VBoxService_DEFS         += VBOX_WITH_SHARED_FOLDERS
    170 VBoxService_SOURCES      += \
    171         VBoxServiceAutoMount.cpp
    172 VBoxService_SOURCES.linux += \
    173         ../../linux/sharedfolders/vbsfmount.c
    174 VBoxService_LIBS.win     += \
    175         Mpr.Lib
     169  VBoxService_DEFS       += VBOX_WITH_SHARED_FOLDERS
     170  VBoxService_SOURCES    += \
     171        VBoxServiceAutoMount.cpp
     172  VBoxService_SOURCES.linux += \
     173        ../../linux/sharedfolders/vbsfmount.c
     174  VBoxService_LIBS.win   += \
     175        Mpr.Lib
    176176 endif
    177177endif
     
    191191ifdef VBOX_WITH_DBUS
    192192 if1of ($(KBUILD_TARGET), linux solaris) # FreeBSD?
    193 VBoxService_LIBS         += \
    194         dl
     193  VBoxService_LIBS       += \
     194        dl
    195195 endif
    196196endif
    197197VBoxService_LIBS.netbsd  += crypt
    198198ifdef VBOX_WITH_GUEST_PROPS
    199 VBoxService_LIBS.win     += \
    200         Secur32.lib \
    201         WtsApi32.lib \
    202         Psapi.lib
    203 VBoxService_LIBS.solaris += \
    204         nsl \
    205         kstat \
    206         contract
     199 VBoxService_LIBS.win    += \
     200        Secur32.lib \
     201        WtsApi32.lib \
     202        Psapi.lib
     203 VBoxService_LIBS.solaris += \
     204        nsl \
     205        kstat \
     206        contract
    207207endif
    208208
  • trunk/src/VBox/Additions/darwin/Installer/Makefile.kmk

    r98103 r98416  
    128128                $(VBOX_PATH_PACK_TMP)/Packages/VBoxGuestAdditionsToolsAndServices.pkg \
    129129                $$(wildcard $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/* \
    130                             $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/*.lproj/*) \
     130                $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/*.lproj/*) \
    131131                $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES), $(VBOX_BRAND_$(f)_VIRTUALBOX_WELCOME_RTF)) \
    132132                $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/Welcome.rtf \
     
    227227                $(foreach kext,$(VBOX_ADD_DI_KEXTS), $(VBOX_PATH_DIST)/additions/$(kext).kext/Contents/Info.plist) \
    228228                $$(wildcard $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/* \
    229                             $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/*.lproj/*) \
     229                $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/*.lproj/*) \
    230230                $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES), \
    231                         $(VBOX_BRAND_$(f)_VBOXKEXTS_DESCRIPTION_PLIST) \
    232                         $(VBOX_BRAND_$(f)_VBOXKEXTS_README_HTML) \
    233                         $(VBOX_BRAND_$(f)_VBOXKEXTS_INSTALLATIONCHECK_STRINGS)) \
     231                $(VBOX_BRAND_$(f)_VBOXKEXTS_DESCRIPTION_PLIST) \
     232                $(VBOX_BRAND_$(f)_VBOXKEXTS_README_HTML) \
     233                $(VBOX_BRAND_$(f)_VBOXKEXTS_INSTALLATIONCHECK_STRINGS)) \
    234234                $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/postflight \
    235235                $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/PkgBuildComponent.plist \
     
    311311#
    312312
    313 VBOX_GA_PKG=VBoxGuestAdditionsToolsAndServices.pkg
    314 VBOX_DI_VB_GA_BINARIES=VBoxClient VBoxControl VBoxService
     313VBOX_GA_PKG = VBoxGuestAdditionsToolsAndServices.pkg
     314VBOX_DI_VB_GA_BINARIES = VBoxClient VBoxControl VBoxService
    315315$(VBOX_PATH_PACK_TMP)/Packages/$(VBOX_GA_PKG): \
    316                 $(foreach f, $(VBOX_DI_VB_GA_BINARIES)\
    317                         ,$(call VBOX_DI_FN_DEP_BOTH,$(f)) ) \
     316                $(foreach f, $(VBOX_DI_VB_GA_BINARIES) \
     317                ,$(call VBOX_DI_FN_DEP_BOTH,$(f)) ) \
    318318                $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsToolsAndServices/org.virtualbox.additions.vboxclient.plist \
    319319                $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsToolsAndServices/org.virtualbox.additions.vboxservice.plist \
  • trunk/src/VBox/Additions/freebsd/Makefile.kmk

    r98103 r98416  
    3030
    3131ifneq ($(KBUILD_HOST),freebsd)
    32 $(error "The FreeBSD guest additions installer can only be built on FreeBSD!")
     32 $(error "The FreeBSD guest additions installer can only be built on FreeBSD!")
    3333endif
    3434
     
    4242VBOX_FBSD_ADD_INS_OUT_DIR          := $(PATH_TARGET)/Additions/Installer/freebsd
    4343BLDDIRS                            += \
    44                 $(VBOX_FBSD_ADD_INS_OUT_DIR) \
    45                 $(VBOX_FBSD_ADD_INS_OUT_DIR)/module
     44        $(VBOX_FBSD_ADD_INS_OUT_DIR) \
     45        $(VBOX_FBSD_ADD_INS_OUT_DIR)/module
    4646VBOX_PATH_FREEBSD_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/Installer
    4747VBOX_PATH_X11_ADDITION_INSTALLER     := $(PATH_ROOT)/src/VBox/Additions/x11/Installer
     
    134134fbsd_add_inst-nobin_MODE = a+r,u+w
    135135fbsd_add_inst-nobin_SOURCES = \
    136                 ../x11/Installer/98vboxadd-xclient \
    137                 ../x11/Installer/vboxclient.desktop \
    138                 ../x11/Installer/vboxvideo.ids \
    139                 ../x11/Installer/x11config.pl \
    140                 ../x11/Installer/x11config15.pl
     136        ../x11/Installer/98vboxadd-xclient \
     137        ../x11/Installer/vboxclient.desktop \
     138        ../x11/Installer/vboxvideo.ids \
     139        ../x11/Installer/x11config.pl \
     140        ../x11/Installer/x11config15.pl
    141141
    142142
     
    148148# this file needs editing before it can be included in the generic installer.
    149149$(VBOX_FBSD_ADD_INS_OUT_DIR)/install.sh: \
    150         $(VBOX_PATH_FREEBSD_ADDITION_INSTALLER)/install.sh | $$(dir $$@)
     150                $(VBOX_PATH_FREEBSD_ADDITION_INSTALLER)/install.sh | $$(dir $$@)
    151151        $(QUIET)$(SED) \
    152152            -e "s;_VERSION_;$(VBOX_VERSION_STRING);g" \
  • trunk/src/VBox/Additions/freebsd/drm/Makefile.kmk

    r98126 r98416  
    3636endif
    3737ifneq ($(KBUILD_HOST),freebsd)
    38 $(error "The FreeBSD guest additions can only be built on FreeBSD!")
     38 $(error "The FreeBSD guest additions can only be built on FreeBSD!")
    3939endif
    4040
  • trunk/src/VBox/Additions/freebsd/vboxvfs/Makefile.kmk

    r98126 r98416  
    3030
    3131ifneq ($(KBUILD_HOST),freebsd)
    32 $(error "The FreeBSD guest additions can only be built on FreeBSD!")
     32 $(error "The FreeBSD guest additions can only be built on FreeBSD!")
    3333endif
    3434
     
    4040vboxvfs_DEFS          = VBOX_WITH_HGCM
    4141vboxvfs_INCS          = \
    42         . \
    43        $(vboxvfs_0_OUTDIR)
     42        . \
     43        $(vboxvfs_0_OUTDIR)
    4444vboxvfs_SOURCES       = \
    4545        vboxvfs_vfsops.c \
     
    4949        $(VBOX_LIB_IPRT_GUEST_R0)
    5050vboxvfs_DEPS          = \
    51        $$(vboxvfs_0_OUTDIR)/vnode_if.h \
    52        $$(vboxvfs_0_OUTDIR)/vnode_if_newproto.h \
    53        $$(vboxvfs_0_OUTDIR)/vnode_if_typedef.h
     51        $$(vboxvfs_0_OUTDIR)/vnode_if.h \
     52        $$(vboxvfs_0_OUTDIR)/vnode_if_newproto.h \
     53        $$(vboxvfs_0_OUTDIR)/vnode_if_typedef.h
    5454vboxvfs_CLEAN        += $(vboxvfs_DEPS)
    5555
  • trunk/src/VBox/Additions/haiku/Makefile.kmk

    r98103 r98416  
    5959
    6060ifneq ($(KBUILD_HOST),haiku)
    61 $(error "The Haiku guest additions installer can only be built on Haiku!")
     61 $(error "The Haiku guest additions installer can only be built on Haiku!")
    6262endif
    6363
  • trunk/src/VBox/Additions/haiku/SharedFolders/Makefile.kmk

    r98126 r98416  
    7575        MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \
    7676        KBUILD_MODNAME=KBUILD_STR\(vboxsf\) \
    77         KBUILD_BASENAME=KBUILD_STR\(vboxsf\)
     77        KBUILD_BASENAME=KBUILD_STR\(vboxsf\)
    7878vboxsf_INCS            = \
    7979        $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest \
  • trunk/src/VBox/Additions/haiku/VBoxTray/Makefile.kmk

    r98192 r98416  
    7373
    7474VBoxTray_SOURCES += \
    75         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-helper.cpp
     75        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-helper.cpp
    7676
    7777VBoxTray_LIBS     = \
  • trunk/src/VBox/Additions/haiku/VBoxVideo/driver/Makefile.kmk

    r98126 r98416  
    7575        MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \
    7676        KBUILD_MODNAME=KBUILD_STR\(VBoxVideo\) \
    77         KBUILD_BASENAME=KBUILD_STR\(VBoxVideo\)
     77        KBUILD_BASENAME=KBUILD_STR\(VBoxVideo\)
    7878vboxvideo_INCS            = \
    7979        $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib \
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r98103 r98416  
    100100else
    101101 VBOX_LNX_ADD_ARCHIVES := \
    102         $(VBOX_LNX_ADD_ARCHIVE.x86) \
    103         $(VBOX_LNX_ADD_ARCHIVE.amd64)
     102        $(VBOX_LNX_ADD_ARCHIVE.x86) \
     103        $(VBOX_LNX_ADD_ARCHIVE.amd64)
    104104endif
    105105BLDDIRS     += \
     
    129129ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST
    130130 VBOX_LNX_ADD_STRIP_BIN += \
    131         VBoxAudioTest
     131        VBoxAudioTest
    132132endif
    133133
     
    180180
    181181ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING
    182 VBOX_LNX_ADD_INST_FILES += \
    183         $(addprefix $(VBOX_LNX_ADD_INST_SBIN_DIR),vbox-greeter)
     182 VBOX_LNX_ADD_INST_FILES += \
     183        $(addprefix $(VBOX_LNX_ADD_INST_SBIN_DIR),vbox-greeter)
    184184endif
    185185
     
    218218
    219219# pattern rule for stripping and copying the VBOX_LNX_ADD_STRIP_SBIN files to the installation directory
    220 $(addprefix $(VBOX_LNX_ADD_INST_SBIN_DIR),\
    221                 $(filter-out vbox-greeter,$(VBOX_LNX_ADD_STRIP_SBIN))): \
     220$(addprefix $(VBOX_LNX_ADD_INST_SBIN_DIR), \
     221$(filter-out vbox-greeter,$(VBOX_LNX_ADD_STRIP_SBIN))): \
    222222                $(VBOX_LNX_ADD_INST_SBIN_DIR)% : $(PATH_STAGE_BIN)/additions/% \
    223223                $(VBOX_LNX_ADD_DBG_SBIN_DIR)% \
     
    265265
    266266include $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest/linux/files_vboxguest
    267 VBOX_LNX_ADD_INST_FILES_VBOXGUEST=$(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxguest/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXGUEST_NOBIN)))))
     267VBOX_LNX_ADD_INST_FILES_VBOXGUEST = $(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxguest/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXGUEST_NOBIN)))))
    268268include $(PATH_ROOT)/src/VBox/Additions/linux/sharedfolders/files_vboxsf
    269 VBOX_LNX_ADD_INST_FILES_VBOXSF=$(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxsf/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXSF_NOBIN)))))
     269VBOX_LNX_ADD_INST_FILES_VBOXSF = $(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxsf/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXSF_NOBIN)))))
    270270include $(PATH_ROOT)/src/VBox/Additions/linux/drm/files_vboxvideo_drv
    271 VBOX_LNX_ADD_INST_FILES_VBOXVIDEO=$(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxvideo/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_NOBIN)))))
     271VBOX_LNX_ADD_INST_FILES_VBOXVIDEO = $(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxvideo/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_NOBIN)))))
    272272
    273273# special rule for the kernel modules
     
    327327ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING
    328328 LnxAdd-scripts_EXEC_SOURCES += \
    329         $(VBOX_REL_LNX_ADD_INST)module-autologon.sh=>installer/module-autologon
     329        $(VBOX_REL_LNX_ADD_INST)module-autologon.sh=>installer/module-autologon
    330330endif
    331331
     
    440440                $$(LnxAdd-scripts_2_STAGE_TARGETS) \
    441441                $(VBOX_VERSION_STAMP)
    442     # Remove any archives left over from previous builds so that they don't
    443     # end up in our installer as well.
     442# Remove any archives left over from previous builds so that they don't
     443# end up in our installer as well.
    444444        $(QUIET)$(RM) -f $(foreach file, $(wildcard $(VBOX_LNX_ADD_INST_STAGE_DIR)$(VBOX_LNX_ADD_PACKAGE_NAME)-*.tar.bz2), $(file))
    445445        $(QUIET)$(foreach file, $(VBOX_LNX_ADD_ARCHIVES), \
  • trunk/src/VBox/Additions/linux/drm/Makefile.kmk

    r98103 r98416  
    4343        $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN))
    4444vboxvideo-src_INSTALLER = $(RM_EXT) -f -- "$2" && \
    45     $(if $(filter %.c %.h,$2),$(SED) -f $(PATH_ROOT)/src/VBox/Additions/linux/drm/indent.sed \
    46     --output "$2" "$1",$(CP_EXT) "$1" "$2") && \
    47     $(CHMOD_EXT) "$(if $(mode),$(mode),0644)" "$2"
     45        $(if $(filter %.c %.h,$2),$(SED) -f $(PATH_ROOT)/src/VBox/Additions/linux/drm/indent.sed \
     46        --output "$2" "$1",$(CP_EXT) "$1" "$2") && \
     47        $(CHMOD_EXT) "$(if $(mode),$(mode),0644)" "$2"
    4848
    4949
  • trunk/src/VBox/Additions/linux/lightdm-greeter/Makefile.kmk

    r98191 r98416  
    7272        /usr/lib/x86_64-linux-gnu/glib-2.0/include \
    7373        /usr/include/glib-2.0 \
    74        $(if $(VBOX_OSE),,liblightdm-gobject-1.5.0) \
     74        $(if $(VBOX_OSE),,liblightdm-gobject-1.5.0) \
    7575        /usr/include/lightdm-gobject-1 \
    7676        $(if $(VBOX_OSE),$(patsubst -I%,%,%(filter -I%,$(shell pkg-config --cflags liblightdm-gobject-1))),)
    7777ifndef VBOX_WITH_FLTK
    7878 vbox-greeter_INCS   += \
    79         /usr/include/glib-2.0 \
    80         /usr/include/gtk-3.0 \
    81         /usr/include/pango-1.0 \
    82         /usr/include/cairo \
    83         /usr/include/gdk-pixbuf-2.0 \
    84         /usr/include/atk-1.0
     79        /usr/include/glib-2.0 \
     80        /usr/include/gtk-3.0 \
     81        /usr/include/pango-1.0 \
     82        /usr/include/cairo \
     83        /usr/include/gdk-pixbuf-2.0 \
     84        /usr/include/atk-1.0
    8585endif
    8686
  • trunk/src/VBox/Additions/os2/Config.kmk

    r98232 r98416  
    5252TEMPLATE_VBoxOs2Vac308_ARTOOL  = GCC3OMF
    5353TEMPLATE_VBoxOs2Vac308_INST    = $(INST_ADDITIONS)
    54 TEMPLATE_VBoxOs2Vac308_DEFS    =  RT_OS_OS2 IN_RING3 ## @todo IN_GUEST IN_GUEST_R3 IN_RT_R3
     54TEMPLATE_VBoxOs2Vac308_DEFS    = RT_OS_OS2 IN_RING3 ## @todo IN_GUEST IN_GUEST_R3 IN_RT_R3
    5555
    5656TEMPLATE_VBoxOs2Vac308_CFLAGS  += /Gn+               # Do not generate default libraries in object.
  • trunk/src/VBox/Additions/os2/Makefile.kmk

    r98198 r98416  
    3939ifndef VBOX_OSE
    4040 include $(PATH_SUB_CURRENT)/VBoxGradd/Makefile.kmk
    41 # include $(PATH_SUB_CURRENT)/VBoxGrext/Makefile.kmk
     41 # include $(PATH_SUB_CURRENT)/VBoxGrext/Makefile.kmk
    4242 include $(PATH_SUB_CURRENT)/VBoxMouse/Makefile.kmk
    4343 include $(PATH_SUB_CURRENT)/Bin/Makefile.kmk
     
    7474VBoxOs2AdditionsInstall_SOURCES          = \
    7575        VBoxOs2AdditionsInstall.cpp \
    76         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathStripFilename.cpp \
    77         $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathEnsureTrailingSeparator.cpp
     76        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathStripFilename.cpp \
     77        $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathEnsureTrailingSeparator.cpp
    7878if 1
    7979 VBOX_PATH_RUNTIME_SRC ?= $(PATH_ROOT)/src/VBox/Runtime
     
    9090 VBoxOs2AdditionsInstall_INCS           <= \
    9191        $(PATH_ROOT)/include/iprt/nocrt \
    92         $(VBOX_PATH_RUNTIME_SRC)/include
     92        $(VBOX_PATH_RUNTIME_SRC)/include
    9393 VBoxOs2AdditionsInstall_SOURCES        += \
    9494        VBoxOs2AdditionsInstallA.asm \
  • trunk/src/VBox/Additions/os2/VBoxSF/Makefile.kmk

    r98126 r98416  
    3232 VBOX_USE_WATCOM_FOR_OS2  = 1
    3333 KBUILD_TARGET      = os2
    34   BUILD_TARGET      = os2
     34 BUILD_TARGET       = os2
    3535 KBUILD_TARGET_ARCH = x86
    36   BUILD_TARGET_ARCH = x86
     36 BUILD_TARGET_ARCH = x86
    3737endif
    3838
     
    6565TOOL_VBoxNasmDot_COMPILE_AS_DEPORD =
    6666define TOOL_VBoxNasmDot_COMPILE_AS_CMDS
    67 ifdef TOOL_VBoxNasmDot_USE_KSUBMIT
     67 ifdef TOOL_VBoxNasmDot_USE_KSUBMIT
    6868        $(QUIET)kmk_builtin_kSubmit -C $(PATH_OUT_BASE) -- $(TOOL_VBoxNasmDot_AS)\
    6969                $(flags) $(qaddprefix sh,-i, $(qaddsuffix ,/,$(incs))) $(qaddprefix sh,-D, $(defs))\
     
    7272               -MD "$(dep)" -MP\
    7373                $(abspath $(source))
    74 else
     74 else
    7575        $(QUIET)$(REDIRECT) -C $(PATH_OUT_BASE) -- $(TOOL_VBoxNasmDot_AS)\
    7676                $(flags) $(qaddprefix sh,-i, $(qaddsuffix ,/,$(incs))) $(qaddprefix sh,-D, $(defs))\
     
    7979               -MD "$(dep)" -MP\
    8080                $(abspath $(source))
    81 endif
     81 endif
    8282        $(QUIET)"$(dotseg_1_TARGET)" "$(obj)"
    8383endef
     
    9797TEMPLATE_VBoxR0DrvIFS_EXTENDS = VBoxGuestR0Drv
    9898ifdef VBOX_USE_WATCOM_FOR_OS2
    99 TEMPLATE_VBoxR0DrvIFS_LDFLAGS = $(subst physdevice,dll, $(TEMPLATE_VBoxGuestR0Drv_LDFLAGS))
     99 TEMPLATE_VBoxR0DrvIFS_LDFLAGS = $(subst physdevice,dll, $(TEMPLATE_VBoxGuestR0Drv_LDFLAGS))
    100100endif
    101101TEMPLATE_VBoxR0DrvIFS_SYSSUFF = .ifs
     
    114114        $(PATH_ROOT)/src/VBox/Runtime/include
    115115ifdef VBOX_USE_WATCOM_FOR_OS2
    116 VBoxSF_LDFLAGS      := \
    117         OPTION MODNAME='VBoxSF' \
    118         SEG TYPE CODE PRELOAD DYNAMIC SHARED NONPERMANENT, \
    119             TYPE DATA PRELOAD DYNAMIC
    120 #       OPTION DESCRIPTION "'VirtualBox Guest Additions Shared Folder FSD for OS/2.'" - quoting issues
    121 # Data exports:
    122 VBoxSF_LDFLAGS += \
    123         EXPORT 'FS_ATTRIBUTE' \
    124         EXPORT 'FS_NAME' \
    125         EXPORT 'FS_MPSAFEFLAGS2' \
    126         EXPORT 'FS32_ATTRIBUTE'
    127 # 16-bit entry points.
    128 VBoxSF_LDFLAGS += \
    129         EXPORT 'FS_ALLOCATEPAGESPACE' \
    130         EXPORT 'FS_ATTACH' \
    131         EXPORT 'FS_CANCELLOCKREQUEST' \
    132         EXPORT 'FS_CANCELLOCKREQUESTL' \
    133         EXPORT 'FS_CHDIR' \
    134         EXPORT 'FS_CHGFILEPTR' \
    135         EXPORT 'FS_CLOSE' \
    136         EXPORT 'FS_COMMIT' \
    137         EXPORT 'FS_COPY' \
    138         EXPORT 'FS_DELETE' \
    139         EXPORT 'FS_DOPAGEIO' \
    140         EXPORT 'FS_EXIT' \
    141         EXPORT 'FS_FILEATTRIBUTE' \
    142         EXPORT 'FS_FILEINFO' \
    143         EXPORT 'FS_FILEIO' \
    144         EXPORT 'FS_FILELOCKS' \
    145         EXPORT 'FS_FILELOCKSL' \
    146         EXPORT 'FS_FINDCLOSE' \
    147         EXPORT 'FS_FINDFIRST' \
    148         EXPORT 'FS_FINDFROMNAME' \
    149         EXPORT 'FS_FINDNEXT' \
    150         EXPORT 'FS_FINDNOTIFYCLOSE' \
    151         EXPORT 'FS_FINDNOTIFYFIRST' \
    152         EXPORT 'FS_FINDNOTIFYNEXT' \
    153         EXPORT 'FS_FLUSHBUF' \
    154         EXPORT 'FS_FSCTL' \
    155         EXPORT 'FS_FSINFO' \
    156         EXPORT 'FS_INIT' \
    157         EXPORT 'FS_IOCTL' \
    158         EXPORT 'FS_MKDIR' \
    159         EXPORT 'FS_MOUNT' \
    160         EXPORT 'FS_MOVE' \
    161         EXPORT 'FS_NEWSIZE' \
    162         EXPORT 'FS_NEWSIZEL' \
    163         EXPORT 'FS_NMPIPE' \
    164         EXPORT 'FS_OPENCREATE' \
    165         EXPORT 'FS_OPENPAGEFILE' \
    166         EXPORT 'FS_PATHINFO' \
    167         EXPORT 'FS_PROCESSNAME' \
    168         EXPORT 'FS_READ' \
    169         EXPORT 'FS_RMDIR' \
    170         EXPORT 'FS_SETSWAP' \
    171         EXPORT 'FS_SHUTDOWN' \
    172         EXPORT 'FS_VERIFYUNCNAME' \
    173         EXPORT 'FS_WRITE'
    174 # 32-bit entry points.
    175 VBoxSF_LDFLAGS += \
    176         EXPORT 'FS32_CHGFILEPTRL' \
    177         EXPORT 'FS32_READ' \
    178         EXPORT 'FS32_READFILEATCACHE' \
    179         EXPORT 'FS32_RETURNFILECACHE' \
    180         EXPORT 'FS32_WRITE'
    181 else
    182 VBoxSF_LDFLAGS      := $(addprefix -Zlinker , \
    183         SEG TYPE CODE PRELOAD DYNAMIC SHARED NONPERMANENT, \
    184             TYPE DATA PRELOAD DYNAMIC)
    185 #VBoxSF_LDFLAGS      += -s -t -v
     116 VBoxSF_LDFLAGS     := \
     117        OPTION MODNAME='VBoxSF' \
     118        SEG TYPE CODE PRELOAD DYNAMIC SHARED NONPERMANENT, \
     119        TYPE DATA PRELOAD DYNAMIC
     120 #      OPTION DESCRIPTION "'VirtualBox Guest Additions Shared Folder FSD for OS/2.'" - quoting issues
     121 # Data exports:
     122 VBoxSF_LDFLAGS += \
     123        EXPORT 'FS_ATTRIBUTE' \
     124        EXPORT 'FS_NAME' \
     125        EXPORT 'FS_MPSAFEFLAGS2' \
     126        EXPORT 'FS32_ATTRIBUTE'
     127 # 16-bit entry points.
     128 VBoxSF_LDFLAGS += \
     129        EXPORT 'FS_ALLOCATEPAGESPACE' \
     130        EXPORT 'FS_ATTACH' \
     131        EXPORT 'FS_CANCELLOCKREQUEST' \
     132        EXPORT 'FS_CANCELLOCKREQUESTL' \
     133        EXPORT 'FS_CHDIR' \
     134        EXPORT 'FS_CHGFILEPTR' \
     135        EXPORT 'FS_CLOSE' \
     136        EXPORT 'FS_COMMIT' \
     137        EXPORT 'FS_COPY' \
     138        EXPORT 'FS_DELETE' \
     139        EXPORT 'FS_DOPAGEIO' \
     140        EXPORT 'FS_EXIT' \
     141        EXPORT 'FS_FILEATTRIBUTE' \
     142        EXPORT 'FS_FILEINFO' \
     143        EXPORT 'FS_FILEIO' \
     144        EXPORT 'FS_FILELOCKS' \
     145        EXPORT 'FS_FILELOCKSL' \
     146        EXPORT 'FS_FINDCLOSE' \
     147        EXPORT 'FS_FINDFIRST' \
     148        EXPORT 'FS_FINDFROMNAME' \
     149        EXPORT 'FS_FINDNEXT' \
     150        EXPORT 'FS_FINDNOTIFYCLOSE' \
     151        EXPORT 'FS_FINDNOTIFYFIRST' \
     152        EXPORT 'FS_FINDNOTIFYNEXT' \
     153        EXPORT 'FS_FLUSHBUF' \
     154        EXPORT 'FS_FSCTL' \
     155        EXPORT 'FS_FSINFO' \
     156        EXPORT 'FS_INIT' \
     157        EXPORT 'FS_IOCTL' \
     158        EXPORT 'FS_MKDIR' \
     159        EXPORT 'FS_MOUNT' \
     160        EXPORT 'FS_MOVE' \
     161        EXPORT 'FS_NEWSIZE' \
     162        EXPORT 'FS_NEWSIZEL' \
     163        EXPORT 'FS_NMPIPE' \
     164        EXPORT 'FS_OPENCREATE' \
     165        EXPORT 'FS_OPENPAGEFILE' \
     166        EXPORT 'FS_PATHINFO' \
     167        EXPORT 'FS_PROCESSNAME' \
     168        EXPORT 'FS_READ' \
     169        EXPORT 'FS_RMDIR' \
     170        EXPORT 'FS_SETSWAP' \
     171        EXPORT 'FS_SHUTDOWN' \
     172        EXPORT 'FS_VERIFYUNCNAME' \
     173        EXPORT 'FS_WRITE'
     174 # 32-bit entry points.
     175 VBoxSF_LDFLAGS += \
     176        EXPORT 'FS32_CHGFILEPTRL' \
     177        EXPORT 'FS32_READ' \
     178        EXPORT 'FS32_READFILEATCACHE' \
     179        EXPORT 'FS32_RETURNFILECACHE' \
     180        EXPORT 'FS32_WRITE'
     181else
     182 VBoxSF_LDFLAGS     := $(addprefix -Zlinker , \
     183        SEG TYPE CODE PRELOAD DYNAMIC SHARED NONPERMANENT, \
     184        TYPE DATA PRELOAD DYNAMIC)
     185 #VBoxSF_LDFLAGS      += -s -t -v
    186186endif
    187187
     
    215215PROGRAMS += VBoxSFUtil
    216216ifdef VBOX_USE_WATCOM_FOR_OS2
    217 VBoxSFUtil_TEMPLATE = DUMMY
    218 VBoxSFUtil_TOOL     = OPENWATCOM
    219 VBoxSFUtil_ASTOOL   = NASM
    220 VBoxSFUtil_ASFLAGS = -f obj -DASM_FORMAT_OMF
    221 VBoxSFUtil_INCS     = $(PATH_TOOL_OPENWATCOM)/h/os2
    222 VBoxSFUtil_LDFLAGS = -bcl=os2v2 #"IMPORT DosGlobalInfo doscalls.217"
    223 VBoxSFUtil_DEFS     = $(DEFS) IN_RING3
    224 else
    225 VBoxSFUtil_TEMPLATE = VBoxGuestR3Exe
     217 VBoxSFUtil_TEMPLATE = DUMMY
     218 VBoxSFUtil_TOOL    = OPENWATCOM
     219 VBoxSFUtil_ASTOOL  = NASM
     220 VBoxSFUtil_ASFLAGS = -f obj -DASM_FORMAT_OMF
     221 VBoxSFUtil_INCS    = $(PATH_TOOL_OPENWATCOM)/h/os2
     222 VBoxSFUtil_LDFLAGS = -bcl=os2v2 #"IMPORT DosGlobalInfo doscalls.217"
     223 VBoxSFUtil_DEFS    = $(DEFS) IN_RING3
     224else
     225 VBoxSFUtil_TEMPLATE = VBoxGuestR3Exe
    226226endif
    227227VBoxSFUtil_SOURCES  = \
  • trunk/src/VBox/Additions/solaris/DRM/Makefile.kmk

    r98126 r98416  
    5151vboxvideo_DEPS         += $(VBOX_SVN_REV_KMK)
    5252if ($(VBOX_SOLARIS_11_UPDATE_VERSION) > 3)
    53 vboxvideo_DEFS         += VBOX_WITH_SYSTEM_QUEUE_H
     53 vboxvideo_DEFS        += VBOX_WITH_SYSTEM_QUEUE_H
    5454endif
    5555vboxvideo_INCS         := \
  • trunk/src/VBox/Additions/solaris/Makefile.kmk

    r98103 r98416  
    149149BLDDIRS          += \
    150150        $(SOLARIS_ADDINST_OUT_DIR) \
    151         $(addprefix $(SOLARIS_ADDINST_OUT_DIR)/,\
     151        $(addprefix $(SOLARIS_ADDINST_OUT_DIR)/, \
    152152        opt \
    153153        opt/VirtualBoxAdditions \
     
    235235ifdef VBOX_COMPRESS
    236236 SOLARIS_ADD_COMPRESS_FILES = \
    237         $(SOLARIS_ADD_XORG_DRIVERS) \
    238         VBoxService \
    239         VBoxClient \
    240         VBoxControl
     237        $(SOLARIS_ADD_XORG_DRIVERS) \
     238        VBoxService \
     239        VBoxClient \
     240        VBoxControl
    241241endif
    242242
    243243ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE
    244   SOLARIS_ARCH_ADD_DEPFILES = \
    245    $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)) \
    246         $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)) \
    247         $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)) \
    248         $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)) \
    249         $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)) \
    250         $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
    251         $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS))
     244 SOLARIS_ARCH_ADD_DEPFILES = \
     245        $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_STRIP_BINS)) \
     246        $(addprefix $(SOLARIS_VBOXADDINST_DIR_64)/,$(SOLARIS_ADD_XORG_DRIVERS)) \
     247        $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_STRIP_BINS)) \
     248        $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_64)/,$(SOLARIS_ADD_DRIVERS)) \
     249        $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_32)/,$(SOLARIS_ADD_DRIVERS)) \
     250        $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
     251        $(addprefix $(SOLARIS_VBOXADDINST_DIR_32)/,$(SOLARIS_ADD_XORG_DRIVERS))
    252252else
    253   SOLARIS_ARCH_ADD_DEPFILES = \
    254    $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_STRIP_BINS)) \
    255         $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_ISA)/,$(SOLARIS_ADD_DRIVERS)) \
    256         $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
    257         $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_XORG_DRIVERS))
     253 SOLARIS_ARCH_ADD_DEPFILES = \
     254        $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_STRIP_BINS)) \
     255        $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR_ISA)/,$(SOLARIS_ADD_DRIVERS)) \
     256        $(addprefix $(SOLARIS_ADD_DRIVERINST_DIR)/,$(SOLARIS_ADD_DRIVERS_CONF)) \
     257        $(addprefix $(SOLARIS_VBOXADDINST_DIR_ISA)/,$(SOLARIS_ADD_XORG_DRIVERS))
    258258endif
    259259
  • trunk/src/VBox/Additions/solaris/Mouse/Makefile.kmk

    r98199 r98416  
    6767
    6868if 0 # Broken - unresolved externals: vbglDriver*, RTR0AssertPanicSystem.
    69 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
    70  PROGRAMS += tstVBoxMouse-solaris
    71  tstVBoxMouse-solaris_TEMPLATE = VBoxR3TstExe
    72  tstVBoxMouse-solaris_SOURCES = \
    73         vboxms.c \
    74         testcase/tstVBoxMouse-solaris.c
    75  tstVBoxMouse-solaris_DEFS     = TESTCASE
    76  tstVBoxMouse-solaris_LIBS     = $(LIB_RUNTIME)
    77 endif
     69 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
     70  PROGRAMS += tstVBoxMouse-solaris
     71  tstVBoxMouse-solaris_TEMPLATE = VBoxR3TstExe
     72  tstVBoxMouse-solaris_SOURCES = \
     73        vboxms.c \
     74        testcase/tstVBoxMouse-solaris.c
     75  tstVBoxMouse-solaris_DEFS    = TESTCASE
     76  tstVBoxMouse-solaris_LIBS    = $(LIB_RUNTIME)
     77 endif
    7878endif
    7979
  • trunk/src/VBox/Additions/solaris/SharedFolders/Makefile.kmk

    r98200 r98416  
    6363 vboxfs_deps.asm_ASFLAGS   = -f bin -g null
    6464endif
    65 if  ($(VBOX_SOLARIS_11_UPDATE_VERSION) > 1 \
    66  || ($(VBOX_SOLARIS_11_UPDATE_VERSION) == 1 && $(VBOX_SOLARIS_11_BUILD_VERSION) >= 10))
    67 vboxfs_DEFS         += VBOX_VFS_EXTENDED_POLICY
     65if   ($(VBOX_SOLARIS_11_UPDATE_VERSION) > 1 \
     66  || ($(VBOX_SOLARIS_11_UPDATE_VERSION) == 1 && $(VBOX_SOLARIS_11_BUILD_VERSION) >= 10))
     67 vboxfs_DEFS        += VBOX_VFS_EXTENDED_POLICY
    6868endif
    6969
    7070
    7171ifndef VBOX_OSE
    72 #
    73 # vboxfs_s10 - The Shared Folder Driver for Solaris 10
    74 #
    75 SYSMODS.solaris      += vboxfs_s10
    76 vboxfs_s10_TEMPLATE      = VBoxGuestR0Drv
    77 vboxfs_s10_DEFS          = VBOX_WITH_HGCM VBOX_VFS_SOLARIS_10U6 VBOX_SVN_REV=$(VBOX_SVN_REV)
    78 vboxfs_s10_DEPS         += $(VBOX_SVN_REV_KMK)
    79 vboxfs_s10_INCS         := solaris10/
    80 vboxfs_s10_SOURCES       = \
    81         vboxfs_vfs.c \
    82         vboxfs_vnode.c \
    83         vboxfs_prov.c
    84 vboxfs_s10_LIBS          = \
    85         $(VBOX_LIB_VBGL_R0) \
    86         $(VBOX_LIB_IPRT_GUEST_R0)
    87 ifeq ($(KBUILD_HOST),solaris)
    88  vboxfs_s10_LDFLAGS         += -N drv/vboxguest -N misc/ctf
    89 else
    90  vboxfs_s10_SOURCES         += deps.asm
    91  vboxfs_s10_deps.asm_ASFLAGS = -f bin -g null
    92 endif
     72 #
     73 # vboxfs_s10 - The Shared Folder Driver for Solaris 10
     74 #
     75 SYSMODS.solaris     += vboxfs_s10
     76 vboxfs_s10_TEMPLATE     = VBoxGuestR0Drv
     77 vboxfs_s10_DEFS         = VBOX_WITH_HGCM VBOX_VFS_SOLARIS_10U6 VBOX_SVN_REV=$(VBOX_SVN_REV)
     78 vboxfs_s10_DEPS        += $(VBOX_SVN_REV_KMK)
     79 vboxfs_s10_INCS        := solaris10/
     80 vboxfs_s10_SOURCES      = \
     81        vboxfs_vfs.c \
     82        vboxfs_vnode.c \
     83        vboxfs_prov.c
     84 vboxfs_s10_LIBS         = \
     85        $(VBOX_LIB_VBGL_R0) \
     86        $(VBOX_LIB_IPRT_GUEST_R0)
     87 ifeq ($(KBUILD_HOST),solaris)
     88  vboxfs_s10_LDFLAGS        += -N drv/vboxguest -N misc/ctf
     89 else
     90  vboxfs_s10_SOURCES        += deps.asm
     91  vboxfs_s10_deps.asm_ASFLAGS = -f bin -g null
     92 endif
    9393endif # VBOX_OSE
    9494
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r98196 r98416  
    3131# Use header files from our tree for randr and xinerama. and don't link but rather dlopen libXrand
    3232# This is mostly because the GA build boxes can have a very old xrandr lib, so instead of linking we dlopen.
    33 VBOX_WITH_DISTRO_XRAND_XINERAMA=
     33VBOX_WITH_DISTRO_XRAND_XINERAMA =
    3434
    3535# We don't yet have a seamless mode compilation flag, so define it here unconditionally.
    36 VBOX_WITH_SEAMLESS:=1
     36VBOX_WITH_SEAMLESS := 1
    3737
    3838#
     
    7373endif
    7474VBoxDRMClient_SOURCES = \
    75     display-drm.cpp \
    76     display-ipc.cpp \
    77     logging.cpp
     75        display-drm.cpp \
     76        display-ipc.cpp \
     77        logging.cpp
    7878
    7979
     
    105105  VBoxClient_DEFS += VBOX_DND_WITH_XTEST
    106106  VBoxClient_LIBS += \
    107         Xtst
     107        Xtst
    108108 endif
    109109endif
     
    114114ifeq ($(KBUILD_TARGET),linux)
    115115 VBoxClient_LDFLAGS.amd64 += \
    116         -Wl,--wrap=memcpy
     116        -Wl,--wrap=memcpy
    117117endif
    118118
     
    120120 VBoxClient_DEFS    += VBOX_WITH_GUEST_PROPS
    121121 VBoxClient_SOURCES += \
    122         hostversion.cpp
     122        hostversion.cpp
    123123 VBoxDRMClient_DEFS += VBOX_WITH_GUEST_PROPS
    124124endif
     
    126126ifdef VBOX_WITH_DRAG_AND_DROP
    127127 VBoxClient_DEFS     += \
    128         VBOX_WITH_DRAG_AND_DROP \
    129         $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
     128        VBOX_WITH_DRAG_AND_DROP \
     129        $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,)
    130130 VBoxClient_SOURCES  += \
    131         draganddrop.cpp
     131        draganddrop.cpp
    132132 VBoxClient_LIBS     += \
    133         $(VBOX_LIB_VBGL_R3) \
    134         $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)
     133        $(VBOX_LIB_VBGL_R3) \
     134        $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)
    135135endif
    136136
     
    138138 VBoxClient_DEFS    += VBOX_WITH_SEAMLESS
    139139 VBoxClient_SOURCES += \
    140         seamless.cpp \
    141         seamless-x11.cpp
     140        seamless.cpp \
     141        seamless-x11.cpp
    142142endif
    143143
     
    154154        display-helper-generic.cpp
    155155
    156 ### include $(PATH_SUB_CURRENT)/helpers/Makefile.kmk
     156 ### include $(PATH_SUB_CURRENT)/helpers/Makefile.kmk
    157157endif
    158158
     
    160160 VBoxClient_DEFS     += VBOX_WITH_SHARED_CLIPBOARD
    161161 VBoxClient_SOURCES  += \
    162         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
    163         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \
    164         clipboard.cpp
     162        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \
     163        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \
     164        clipboard.cpp
    165165 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
    166166  VBoxClient_DEFS    += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS VBOX_WITH_SHARED_CLIPBOARD_GUEST
    167167  VBoxClient_SOURCES += \
    168         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
    169         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp
     168        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \
     169        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp
    170170  ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
    171171   VBoxClient_DEFS    += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP
    172172   VBoxClient_SOURCES += \
    173         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp
     173        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp
    174174  endif
    175175  ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE
     
    177177   # @todo Make this dynamic loading more generic.
    178178   VBoxClient_SOURCES += \
    179         $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount/fuse.cpp \
    180         clipboard-fuse.cpp
     179        $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount/fuse.cpp \
     180        clipboard-fuse.cpp
    181181   # @todo Ditto.
    182182   VBoxClient_INCS    += \
    183         $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount
     183        $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount
    184184  endif
    185185 endif
     
    189189 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
    190190
    191 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service
    192 # to automatically run the unit test at build time.
    193 #       OTHERS += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run
     191  # Set this in LocalConfig.kmk if you are working on the X11 clipboard service
     192  # to automatically run the unit test at build time.
     193  #       OTHERS += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run
    194194
    195195  PROGRAMS += tstSeamlessX11-auto
    196196  tstSeamlessX11-auto_TEMPLATE = VBoxR3TstExe
    197197  tstSeamlessX11-auto_SOURCES = \
    198           testcase/tstSeamlessX11-auto.cpp \
    199           seamless-x11.cpp
     198        testcase/tstSeamlessX11-auto.cpp \
     199        seamless-x11.cpp
    200200  tstSeamlessX11-auto_DEFS = TESTCASE
    201201  tstSeamlessX11-auto_LIBS = \
    202           $(LIB_RUNTIME)
     202        $(LIB_RUNTIME)
    203203
    204204  TESTING  += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto
    205 $$(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run: \
    206        $$(tstSeamlessX11-auto_1_STAGE_TARGET)
     205  $$(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run: \
     206                $$(tstSeamlessX11-auto_1_STAGE_TARGET)
    207207        export VBOX_LOG_DEST=nofile; $(tstSeamlessX11-auto_1_STAGE_TARGET) quiet
    208208        $(QUIET)$(APPEND) -t "$@" "done"
     
    216216  tstSeamlessX11_TEMPLATE = VBoxR3TstExe
    217217  tstSeamlessX11_SOURCES = \
    218           testcase/tstSeamlessX11.cpp \
    219           seamless.cpp \
    220           seamless-x11.cpp
     218        testcase/tstSeamlessX11.cpp \
     219        seamless.cpp \
     220        seamless-x11.cpp
    221221  ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
    222222   tstSeamlessX11_DEFS  += VBOX_BUILD_TARGET="$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)"
     
    225225  endif
    226226  tstSeamlessX11_LIBPATH = \
    227           $(VBOX_LIBPATH_X11)
     227        $(VBOX_LIBPATH_X11)
    228228  tstSeamlessX11_LIBS = \
    229           $(LIB_RUNTIME) \
    230           Xext \
    231           Xmu \
    232           X11
     229        $(LIB_RUNTIME) \
     230        Xext \
     231        Xmu \
     232        X11
    233233 endif
    234234endif
  • trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk

    r98214 r98416  
    4848 vboxmouse_drv_DEFS.amd64 += _XSERVER64
    4949 vboxmouse_drv_DEFS += \
    50         _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE _DEFAULT_SOURCE \
    51         _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
    52         XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
    53         GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
    54         XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
    55         BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
    56         IN_MODULE XFree86Module PNP_MOUSE IN_XF86_MODULE
     50        _POSIX_C_SOURCE=199309L _POSIX_SOURCE _XOPEN_SOURCE _DEFAULT_SOURCE \
     51        _BSD_SOURCE _SVID_SOURCE _GNU_SOURCE SHAPE XINPUT XKB LBX XAPPGROUP \
     52        XCSECURITY TOGCUP XF86BIGFONT DPMSExtension PIXPRIV PANORAMIX RENDER \
     53        GCCUSESGAS AVOID_GLYPHBLT PIXPRIV SINGLEDEPTH XFreeXDGA XvExtension \
     54        XFree86LOADER XFree86Server XF86VIDMODE XvMCExtension SMART_SCHEDULE \
     55        BUILDDEBUG X_BYTE_ORDER=X_LITTLE_ENDIAN DNDEBUG FUNCPROTO=15 NARROWPROTO \
     56        IN_MODULE XFree86Module PNP_MOUSE IN_XF86_MODULE
    5757 vboxmouse_drv_INCS := \
    58         $(VBOX_PATH_X11_ROOT)/XFree86-4.3 \
    59         $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11 \
    60         $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11/extensions \
    61         $(VBOX_PATH_X11_ROOT)/XFree86-4.3/Xserver \
    62         $(PATH_SUB_CURRENT)
     58        $(VBOX_PATH_X11_ROOT)/XFree86-4.3 \
     59        $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11 \
     60        $(VBOX_PATH_X11_ROOT)/XFree86-4.3/X11/extensions \
     61        $(VBOX_PATH_X11_ROOT)/XFree86-4.3/Xserver \
     62        $(PATH_SUB_CURRENT)
    6363 vboxmouse_drv_SOURCES = \
    64         vboxmouse.c
     64        vboxmouse.c
    6565 # Any global symbols in the driver object files will be added to XFree86's
    6666 # symbol table, which can cause problems if we e.g. define a symbol in two
    6767 # modules.
    6868 vboxmouse_drv_POST_CMDS = \
    69         objcopy --keep-global-symbol vboxmouseModuleData $(out) $(out)-objcopy$$(NLTAB) \
    70         $(MV) -f $(out)-objcopy $(out)
     69        objcopy --keep-global-symbol vboxmouseModuleData $(out) $(out)-objcopy$$(NLTAB) \
     70        $(MV) -f $(out)-objcopy $(out)
    7171endif
    7272
     
    157157
    158158
    159 ifneq ($(KBUILD_TARGET), linux)
    160 
    161 #
    162 # vboxmouse_drv_17
    163 #
    164 DLLS += vboxmouse_drv_17
    165 vboxmouse_drv_17_TEMPLATE = VBoxGuestR3XOrgMod
    166 vboxmouse_drv_17_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
    167 vboxmouse_drv_17_INCS := \
    168         $(vboxmouse_xorg_INCS) \
    169         $(VBOX_PATH_X11_ROOT)/xorg-server-1.7.7 \
    170         $(PATH_SUB_CURRENT)
    171 vboxmouse_drv_17_SOURCES = \
    172         vboxmouse.c
    173 
    174 
    175 #
    176 # vboxmouse_drv_18
    177 #
    178 DLLS += vboxmouse_drv_18
    179 vboxmouse_drv_18_TEMPLATE = VBoxGuestR3XOrgMod
    180 vboxmouse_drv_18_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
    181 vboxmouse_drv_18_INCS := \
    182         $(vboxmouse_xorg_INCS) \
    183         $(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0 \
    184         $(PATH_SUB_CURRENT)
    185 vboxmouse_drv_18_SOURCES = \
    186         vboxmouse.c
    187 
    188 
    189 #
    190 # vboxmouse_drv_19
    191 #
    192 DLLS += vboxmouse_drv_19
    193 vboxmouse_drv_19_TEMPLATE = VBoxGuestR3XOrgMod
    194 vboxmouse_drv_19_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
    195 vboxmouse_drv_19_INCS := \
    196         $(vboxmouse_xorg_INCS) \
    197         $(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0 \
    198         $(PATH_SUB_CURRENT)
    199 vboxmouse_drv_19_SOURCES = \
    200         vboxmouse.c
    201 
    202 
    203 #
    204 # vboxmouse_drv_110
    205 #
    206 DLLS += vboxmouse_drv_110
    207 vboxmouse_drv_110_TEMPLATE = VBoxGuestR3XOrgMod
    208 vboxmouse_drv_110_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
    209 vboxmouse_drv_110_INCS := \
    210         $(vboxmouse_xorg_INCS) \
    211         $(VBOX_PATH_X11_ROOT)/xorg-server-1.10.0 \
    212         $(PATH_SUB_CURRENT)
    213 vboxmouse_drv_110_SOURCES = \
    214         vboxmouse.c
    215 
    216 DLLS += vboxmouse_drv_111
    217 vboxmouse_drv_111_TEMPLATE = VBoxGuestR3XOrgMod
    218 vboxmouse_drv_111_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
    219 vboxmouse_drv_111_INCS := \
    220         $(vboxmouse_xorg_INCS) \
    221         $(VBOX_PATH_X11_ROOT)/xorg-server-1.11.0 \
    222         $(PATH_SUB_CURRENT)
    223 vboxmouse_drv_111_SOURCES = \
    224         vboxmouse.c
    225 
    226 DLLS += vboxmouse_drv_112
    227 vboxmouse_drv_112_TEMPLATE = VBoxGuestR3XOrgMod
    228 vboxmouse_drv_112_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
    229 vboxmouse_drv_112_INCS := \
    230     $(vboxmouse_xorg_INCS) \
    231         $(VBOX_PATH_X11_ROOT)/xorg-server-1.12.0 \
    232         $(PATH_SUB_CURRENT)
    233 vboxmouse_drv_112_SOURCES = \
    234         vboxmouse.c
     159ifneq ($(KBUILD_TARGET),linux)
     160
     161 #
     162 # vboxmouse_drv_17
     163 #
     164 DLLS += vboxmouse_drv_17
     165 vboxmouse_drv_17_TEMPLATE = VBoxGuestR3XOrgMod
     166 vboxmouse_drv_17_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
     167 vboxmouse_drv_17_INCS := \
     168        $(vboxmouse_xorg_INCS) \
     169        $(VBOX_PATH_X11_ROOT)/xorg-server-1.7.7 \
     170        $(PATH_SUB_CURRENT)
     171 vboxmouse_drv_17_SOURCES = \
     172        vboxmouse.c
     173
     174
     175 #
     176 # vboxmouse_drv_18
     177 #
     178 DLLS += vboxmouse_drv_18
     179 vboxmouse_drv_18_TEMPLATE = VBoxGuestR3XOrgMod
     180 vboxmouse_drv_18_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
     181 vboxmouse_drv_18_INCS := \
     182        $(vboxmouse_xorg_INCS) \
     183        $(VBOX_PATH_X11_ROOT)/xorg-server-1.8.0 \
     184        $(PATH_SUB_CURRENT)
     185 vboxmouse_drv_18_SOURCES = \
     186        vboxmouse.c
     187
     188
     189 #
     190 # vboxmouse_drv_19
     191 #
     192 DLLS += vboxmouse_drv_19
     193 vboxmouse_drv_19_TEMPLATE = VBoxGuestR3XOrgMod
     194 vboxmouse_drv_19_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
     195 vboxmouse_drv_19_INCS := \
     196        $(vboxmouse_xorg_INCS) \
     197        $(VBOX_PATH_X11_ROOT)/xorg-server-1.9.0 \
     198        $(PATH_SUB_CURRENT)
     199 vboxmouse_drv_19_SOURCES = \
     200        vboxmouse.c
     201
     202
     203 #
     204 # vboxmouse_drv_110
     205 #
     206 DLLS += vboxmouse_drv_110
     207 vboxmouse_drv_110_TEMPLATE = VBoxGuestR3XOrgMod
     208 vboxmouse_drv_110_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
     209 vboxmouse_drv_110_INCS := \
     210        $(vboxmouse_xorg_INCS) \
     211        $(VBOX_PATH_X11_ROOT)/xorg-server-1.10.0 \
     212        $(PATH_SUB_CURRENT)
     213 vboxmouse_drv_110_SOURCES = \
     214        vboxmouse.c
     215
     216 DLLS += vboxmouse_drv_111
     217 vboxmouse_drv_111_TEMPLATE = VBoxGuestR3XOrgMod
     218 vboxmouse_drv_111_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
     219 vboxmouse_drv_111_INCS := \
     220        $(vboxmouse_xorg_INCS) \
     221        $(VBOX_PATH_X11_ROOT)/xorg-server-1.11.0 \
     222        $(PATH_SUB_CURRENT)
     223 vboxmouse_drv_111_SOURCES = \
     224        vboxmouse.c
     225
     226 DLLS += vboxmouse_drv_112
     227 vboxmouse_drv_112_TEMPLATE = VBoxGuestR3XOrgMod
     228 vboxmouse_drv_112_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC
     229 vboxmouse_drv_112_INCS := \
     230        $(vboxmouse_xorg_INCS) \
     231        $(VBOX_PATH_X11_ROOT)/xorg-server-1.12.0 \
     232        $(PATH_SUB_CURRENT)
     233 vboxmouse_drv_112_SOURCES = \
     234        vboxmouse.c
    235235
    236236endif # neq ($(KBUILD_TARGET),linux)
     
    249249
    250250ifdef VBOX_WITH_TESTCASES
    251 # ifndef VBOX_ONLY_ADDITIONS
     251 # ifndef VBOX_ONLY_ADDITIONS
    252252 ifndef VBOX_USE_SYSTEM_XORG_HEADERS
    253253  ifeq ($(KBUILD_TARGET),linux)
     
    259259      TESTING += $(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run
    260260      OTHERS += $(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run
    261 $$(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run: $$(vboxmouse_drv_1_STAGE_TARGET)
     261      $$(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run: $$(vboxmouse_drv_1_STAGE_TARGET)
    262262        $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    263263        $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \
     
    266266     endif
    267267
    268 ##
    269 # Using the extra expansion to replace $(ver) before eval, thus everything
    270 # else needs escaped dollars.
     268     ##
     269     # Using the extra expansion to replace $(ver) before eval, thus everything
     270     # else needs escaped dollars.
    271271     define def_vboxmouse_test
    272272      TESTING += $$(vboxmouse_drv$(ver)_0_OUTDIR)/tstvboxmouse$(ver).run
     
    277277                $$(vboxmouse_drv$(ver)_1_STAGE_TARGET) $$(VBOXMOUSE_SRC_PATH)/../undefined_xfree86 $(VBOXMOUSE_SRC_PATH)/../undefined_xfree86_modules $$(VBOXMOUSE_SRC_PATH)/../undefined_xorg
    278278        $$(QUIET)$$(APPEND) -t "$$@" "done"
    279     endef
     279     endef
    280280
    281281     $(foreach ver, _70 _71 _13 _14 _15 _16, $(eval $(def_vboxmouse_test)))
    282282
    283      ifneq ($(KBUILD_TARGET), linux)
     283     ifneq ($(KBUILD_TARGET),linux)
    284284      $(foreach ver, _17 _18 _19 _110 _111 _112 _113, $(eval $(def_vboxmouse_test)))
    285285
     
    290290  endif # eq ($(KBUILD_TARGET),linux)
    291291 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS
    292 # endif # ! VBOX_ONLY_ADDITIONS
     292 # endif # ! VBOX_ONLY_ADDITIONS
    293293endif # VBOX_WITH_TESTCASES
    294294
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r98214 r98416  
    121121        vbva.c \
    122122        $(vboxvideo_drv_lib_SOURCES)
    123  # Any global symbols in the driver object files will be added to XFree86's
    124  # symbol table, which can cause problems if we e.g. define a symbol in two
    125  # modules.
    126  vboxvideo_drv_POST_CMDS = \
     123# Any global symbols in the driver object files will be added to XFree86's
     124# symbol table, which can cause problems if we e.g. define a symbol in two
     125# modules.
     126vboxvideo_drv_POST_CMDS = \
    127127        objcopy --keep-global-symbol vboxvideoModuleData $(out) $(out)-objcopy$$(NLTAB) \
    128128        $(MV) -f $(out)-objcopy $(out)
     
    221221        $(vboxvideo_xorg_INCS) \
    222222        $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.5 \
    223 vboxvideo_drv_16_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
     223        vboxvideo_drv_16_INCS += $(PATH_ROOT)/src/VBox/Runtime/include
    224224vboxvideo_drv_16_SOURCES := $(vboxvideo_drv_15_SOURCES)
    225225vboxvideo_drv_16_LIBS += $(vboxvideo_drv_70_LIBS)
     
    411411 vboxvideo_drv_system_TEMPLATE = VBoxGuestR3XOrgMod
    412412 vboxvideo_drv_system_CFLAGS := \
    413         $(vboxvideo_drv_70_CFLAGS) -include xorg-server.h
     413        $(vboxvideo_drv_70_CFLAGS) -include xorg-server.h
    414414 vboxvideo_drv_system_DEFS := $(filter-out _XORG_SERVER_H_ _DIX_CONFIG_H_, $(vboxvideo_15_DEFS))
    415415 vboxvideo_drv_system_INCS += \
    416         $(PATH_ROOT)/src/VBox/Runtime/include \
    417         $(VBOX_GRAPHICS_INCS) \
    418         /usr/include/xorg \
    419         /usr/include/pixman-1
     416        $(PATH_ROOT)/src/VBox/Runtime/include \
     417        $(VBOX_GRAPHICS_INCS) \
     418        /usr/include/xorg \
     419        /usr/include/pixman-1
    420420 vboxvideo_drv_system_SOURCES := $(vboxvideo_drv_17_SOURCES)
    421421endif
     
    426426
    427427ifdef VBOX_WITH_TESTCASES
    428 # ifndef VBOX_ONLY_ADDITIONS
     428 # ifndef VBOX_ONLY_ADDITIONS
    429429 ifndef VBOX_USE_SYSTEM_XORG_HEADERS
    430   if1of ($(KBUILD_TARGET),linux solaris)
     430  if1of ($(KBUILD_TARGET), linux solaris)
    431431   ifeq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
    432432    ifndef VBOX_ONLY_SDK
     
    436436      TESTING += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run
    437437      OTHERS += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run
    438 $$(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run: $$(vboxvideo_drv_1_STAGE_TARGET)
     438      $$(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run: $$(vboxvideo_drv_1_STAGE_TARGET)
    439439        $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<)
    440440        $(QUIET)$(ASH) $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST)  \
     
    443443     endif
    444444
    445 ##
    446 # Using the extra expansion to replace $(ver) before eval, thus everything
    447 # else needs escaped dollars.
     445     ##
     446     # Using the extra expansion to replace $(ver) before eval, thus everything
     447     # else needs escaped dollars.
    448448     define def_vboxvideo_test
    449449      TESTING += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run
     
    454454                $$(vboxvideo_drv$(ver)_1_STAGE_TARGET) $$(VBOXVIDEO_SRC_PATH)/../undefined_xfree86 $(VBOXVIDEO_SRC_PATH)/../undefined_xfree86_modules $$(VBOXVIDEO_SRC_PATH)/../undefined_xorg
    455455        $$(QUIET)$$(APPEND) -t "$$@" "done"
    456     endef
    457 
    458     $(foreach ver, _70 _71 _13 _14 _15 _16 _17 _18 _19 _110 _111 _112 _113 _114 _115 _116 _117 _118, $(eval $(def_vboxvideo_test)))
     456     endef
     457
     458     $(foreach ver, _70 _71 _13 _14 _15 _16 _17 _18 _19 _110 _111 _112 _113 _114 _115 _116 _117 _118, $(eval $(def_vboxvideo_test)))
    459459
    460460    endif # ! VBOX_ONLY_SDK
     
    462462  endif # 1of ($(KBUILD_TARGET),linux solaris)
    463463 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS
    464 # endif # ! VBOX_ONLY_ADDITIONS
     464 # endif # ! VBOX_ONLY_ADDITIONS
    465465endif # VBOX_WITH_TESTCASES
    466466
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