Changeset 98416 in vbox for trunk/src/VBox
- Timestamp:
- Feb 1, 2023 4:25:17 PM (23 months ago)
- Location:
- trunk/src/VBox/Additions
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/3D/Config.kmk
r98249 r98416 48 48 VBOX_WITH_MESA3D 49 49 ifdef VBOX_WITH_VMSVGA 50 TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS+= \51 VBOX_WITH_VMSVGA52 # treat as error: warning C4013: 'close' undefined; assuming extern returning int53 TEMPLATE_VBoxMesa3DGuestR3Dll_CFLAGS= $(TEMPLATE_NewerVccVBoxGuestR3Dll_CFLAGS) -we401350 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 54 54 endif 55 55 TEMPLATE_VBoxMesa3DGuestR3Dll_SDKS.win = $(TEMPLATE_NewerVccVBoxGuestR3Dll_SDKS) \ … … 87 87 VBOX_WITH_MESA3D_SVGA_INSTANCING 88 88 ifdef 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_ALIASES89 TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS += \ 90 IPRT_NO_CRT_FOR_3RD_PARTY \ 91 RT_WITHOUT_NOCRT_WRAPPERS \ 92 RT_WITHOUT_NOCRT_WRAPPER_ALIASES 93 93 endif 94 94 TEMPLATE_VBoxMesa3DGuestR3Dll_DEFS.win = $(TEMPLATE_NewerVccVBoxGuestR3Dll_DEFS.win) \ … … 105 105 $(VBOX_PATH_3D)/win/VBoxWddmUmHlp 106 106 ifdef 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 all115 # parameters on the stack, into calls to __CIsqrt that takes parameters in FPU116 # registers. While we could implement the __CIxxxx functions too, they would117 # be difficult to test properly given that they're not directly callable from118 # C. Also, there could be other aspects to these functions that we don't know119 # 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-functions121 # https://docs.microsoft.com/en-us/cpp/build/reference/oi-generate-intrinsic-functions?view=msvc-160122 # Unforutnately, this does mean that we will miss out on a little bit of123 # 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- 126 126 endif 127 127 … … 134 134 TEMPLATE_VBoxMesa3DGuestR3DllMinVista_VBOX_IMPORT_CHECKER.win.amd64 := vista 135 135 ifeq ($(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) 140 140 endif 141 141 -
trunk/src/VBox/Additions/3D/Makefile.kmk
r98103 r98416 33 33 # 34 34 ifndef VBOX_MESA3D_CONFIG_KMK_INCLUDED 35 include $(PATH_SUB_CURRENT)/Config.kmk35 include $(PATH_SUB_CURRENT)/Config.kmk 36 36 endif 37 37 … … 41 41 include $(PATH_SUB_CURRENT)/mesa/Makefile.kmk 42 42 if1of ($(KBUILD_TARGET), win) 43 include $(PATH_SUB_CURRENT)/win/Makefile.kmk43 include $(PATH_SUB_CURRENT)/win/Makefile.kmk 44 44 endif 45 45 -
trunk/src/VBox/Additions/3D/mesa/Makefile.kmk
r98103 r98416 33 33 # 34 34 ifndef VBOX_MESA3D_CONFIG_KMK_INCLUDED 35 include $(PATH_SUB_CURRENT)/../Config.kmk35 include $(PATH_SUB_CURRENT)/../Config.kmk 36 36 endif 37 37 … … 63 63 TEMPLATE_VBoxMesa3DGuestR3Lib_INST = $(INST_ADDITIONS_LIB) 64 64 ifeq ($(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 redefinition69 # -wd4018: signed/unsigned mismatch70 # -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' qualifiers73 # -wd4098: 'void' function returning a value74 # -wd4099: 'st_src_reg' : type name first seen using 'class' now seen using 'struct'75 # -wd4100: unreferenced formal parameter76 # -wd4101: unreferenced local variable77 # -wd4130: '==' : logical operation on address of string constant78 # -wd4132: 'color' : const object should be initialized79 # -wd4146: unary minus operator applied to unsigned type, result still unsigned80 # -wd4152: nonstandard extension, function/data pointer conversion in expression81 # -wd4189: 'signo' : local variable is initialized but not referenced82 # -wd4200: nonstandard extension used : zero-sized array in struct/union83 # -wd4204: nonstandard extension used : non-constant aggregate initializer84 # -wd4206: nonstandard extension used : translation unit is empty85 # -wd4211: nonstandard extension used : redefined extern to static86 # -wd4221: nonstandard extension used : 'tokens' : cannot be initialized using address of automatic variable 'tokens'87 # -wd4245: '=' : conversion from 'int' to 'unsigned int', signed/unsigned mismatch88 # -wd4255: no function prototype given89 # -wd4258: 'i' : definition from the for loop is ignored; the definition from the enclosing scope is used90 # -wd4265: 'ir_variable_refcount_visitor' : class has virtual functions, but destructor is not virtual91 # -wd4267: '=' : conversion from 'size_t' to 'unsigned int', possible loss of data92 # -wd4266: 'void ir_visitor::visit(ir_rvalue *)' : no override available for virtual member function from base 'ir_visitor'; function is hidden93 # -wd4287: unsigned/negative constant mismatch94 # -wd4291: 'void *exec_node::operator new(size_t,void *)' : no matching operator delete found; memory will not be freed if initialization throws an exception95 # -wd4305: truncation from 'double' to 'const float'96 # -wd4306: 'type cast' : conversion from 'int' to 'void *' of greater size97 # -wd4310: cast truncates constant value98 # -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 initialized100 # -wd4355: 'this' : used in base member initializer list101 # -wd4388: '==' : signed/unsigned mismatch102 # -wd4389: '==' : signed/unsigned mismatch103 # -wd4640: 'ts' : construction of local static object is not thread-safe104 # -wd4668: '__STDC_VERSION__' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'105 # -wd4700: uninitialized local variable 'tmp' used106 # -wd4701: potentially uninitialized local variable 'query' used107 # -wd4702: unreachable code108 # -wd4703: vcc120: potentially uninitialized local pointer variable 'gen_func' used109 # -wd4756: overflow in constant arithmetic110 # -wd4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)111 # -wd4805: '|=' : unsafe mix of type 'GLboolean' and type 'bool' in operation112 # -wd4918: 'y' : invalid character in pragma optimization list113 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 -wd4918118 # -wd4458: declaration of 'array' hides class member119 # -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 literal121 # -wd4456: declaration of 'pos_dst' hides previous local declaration122 # -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 declaration124 # -wd4457: declaration of 'usage' hides function parameter125 VBOX_MESA3D_VCC_DISABLED_WARNINGS+= \126 -wd4458 -wd4477 -wd4774 -wd4456 -wd4777 -wd4459 -wd4457127 # -wd4254: '=': conversion from 'unsigned int':'3' to 'unsigned int':'2', possible loss of data128 # -wd5039: pointer or reference to potentially throwing function passed to 'extern "C"' function under -EHc. Undefined behavior may occur if this function throws an exception129 # -wd5204: class has virtual functions, but its trivial destructor is not virtual; instances of objects derived from this class may not be destructed correctly130 # -wd5219: implicit conversion from 'int' to 'float', possible loss of data131 VBOX_MESA3D_VCC_DISABLED_WARNINGS+= \132 -wd4254 -wd5039 -wd5204 -wd5219133 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) 136 136 endif 137 137 TEMPLATE_VBoxMesa3DGuestR3Lib_INCS = \ … … 150 150 $(VBOX_MESA)/src/gallium/state_trackers/wgl 151 151 ifdef VBOX_WITH_NOCRT_STATIC 152 TEMPLATE_VBoxMesa3DGuestR3Lib_INCS+= \153 $(TEMPLATE_VBoxMesa3DGuestR3Dll_INCS)152 TEMPLATE_VBoxMesa3DGuestR3Lib_INCS += \ 153 $(TEMPLATE_VBoxMesa3DGuestR3Dll_INCS) 154 154 endif 155 155 ifdef 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)" 160 160 else 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)\" 165 165 endif 166 166 # For wgl, glapi and mesa -
trunk/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk
r98103 r98416 38 38 VBoxICD_CFLAGS := -wd4005 39 39 if "$(VBOX_NEWER_VCC_TOOL_STEM)" >= "VCC141" 40 # -wd4255: 'PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP': no function prototype given: converting '()' to '(void)'41 VBoxICD_CFLAGS+= -wd425540 # -wd4255: 'PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP': no function prototype given: converting '()' to '(void)' 41 VBoxICD_CFLAGS += -wd4255 42 42 endif 43 43 … … 69 69 70 70 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS) 71 VBoxICD_INSTTYPE= none72 VBoxICD_DEBUG_INSTTYPE = both71 VBoxICD_INSTTYPE = none 72 VBoxICD_DEBUG_INSTTYPE = both 73 73 endif 74 74 -
trunk/src/VBox/Additions/Makefile.kmk
r98103 r98416 116 116 $(call VBOX_EDIT_INF_FN,$<,$@) 117 117 118 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS)118 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS) 119 119 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.exe125 126 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxGuest.sys: 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 $$@) 127 127 $(INSTALL) -m 644 $< $(@D) 128 128 … … 130 130 $(INSTALL) -m 755 $< $(@D) 131 131 132 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe: 132 $(PATH_TARGET)/VBoxGuestCat.dir/VBoxTray.exe: $$(VBoxTray_1_TARGET) | $$(dir $$@) 133 133 $(INSTALL) -m 755 $< $(@D) 134 134 135 135 $(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.exe136 $(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 140 140 $(call MSG_TOOL,Inf2Cat,VBoxGuest-inf,$@,$<) 141 141 $(call VBOX_MAKE_CAT_FN, $(@D),$@) … … 163 163 # the VBOX_WITH_COMBINED_DARWIN_GUEST_PACKAGE macro. 164 164 ifdef VBOX_WITH_ADDITIONS_ISO.darwin.x86 165 VBOX_PATH_ADDITIONS.darwin.x86 = $(PATH_OUT_BASE)/darwin.x86/$(KBUILD_TYPE)/dist/additions166 GUESTADDITIONS_FILESPEC.darwin.x86 = \167 VBoxDarwinAdditionsLegacy.pkg=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxGuestAdditions.pkg165 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 168 168 ifndef VBOX_WITH_ADDITIONS_ISO.darwin.amd64 169 GUESTADDITIONS_FILESPEC.darwin.x86 += \170 VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxDarwinAdditionsUninstall.tool169 GUESTADDITIONS_FILESPEC.darwin.x86 += \ 170 VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.x86)/VBoxDarwinAdditionsUninstall.tool 171 171 endif 172 172 endif 173 173 174 174 ifdef VBOX_WITH_ADDITIONS_ISO.darwin.amd64 175 VBOX_PATH_ADDITIONS.darwin.amd64 = $(PATH_OUT_BASE)/darwin.amd64/$(KBUILD_TYPE)/dist/additions176 GUESTADDITIONS_FILESPEC.darwin.amd64 = \177 VBoxDarwinAdditions.pkg=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxGuestAdditions.pkg175 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 178 178 ifndef VBOX_WITH_ADDITIONS_ISO.darwin.x86 179 GUESTADDITIONS_FILESPEC.darwin.amd64 += \180 VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxDarwinAdditionsUninstall.tool179 GUESTADDITIONS_FILESPEC.darwin.amd64 += \ 180 VBoxDarwinAdditionsUninstall.tool=$(VBOX_PATH_ADDITIONS.darwin.amd64)/VBoxDarwinAdditionsUninstall.tool 181 181 endif 182 182 endif … … 186 186 VBOX_PATH_ADDITIONS.freebsd.amd64 = $(PATH_OUT_BASE)/freebsd.amd64/$(KBUILD_TYPE)/bin/additions 187 187 GUESTADDITIONS_FILESPEC.freebsd.amd64 = \ 188 VBoxFreeBSDAdditions-amd64.tbz=$(VBOX_PATH_ADDITIONS.freebsd.amd64)/VBoxFreeBSDAdditions.tbz188 VBoxFreeBSDAdditions-amd64.tbz=$(VBOX_PATH_ADDITIONS.freebsd.amd64)/VBoxFreeBSDAdditions.tbz 189 189 endif 190 190 ifdef VBOX_WITH_ADDITIONS_ISO.freebsd.x86 191 191 VBOX_PATH_ADDITIONS.freebsd.x86 = $(PATH_OUT_BASE)/freebsd.x86/$(KBUILD_TYPE)/bin/additions 192 192 GUESTADDITIONS_FILESPEC.freebsd.x86 = \ 193 VBoxFreeBSDAdditions-x86.tbz=$(VBOX_PATH_ADDITIONS.freebsd.x86)/VBoxFreeBSDAdditions.tbz193 VBoxFreeBSDAdditions-x86.tbz=$(VBOX_PATH_ADDITIONS.freebsd.x86)/VBoxFreeBSDAdditions.tbz 194 194 endif 195 195 … … 198 198 VBOX_PATH_ADDITIONS.linux.amd64 = $(PATH_OUT_BASE)/linux.amd64/$(KBUILD_TYPE)/bin/additions 199 199 ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE 200 VBOX_LNX_ADD_AMD64_RUN_PKG =VBoxLinuxAdditions.run200 VBOX_LNX_ADD_AMD64_RUN_PKG = VBoxLinuxAdditions.run 201 201 else 202 VBOX_LNX_ADD_AMD64_RUN_PKG =VBoxLinuxAdditions-amd64.run202 VBOX_LNX_ADD_AMD64_RUN_PKG = VBoxLinuxAdditions-amd64.run 203 203 endif 204 204 GUESTADDITIONS_FILESPEC.linux.amd64 = \ 205 $(VBOX_LNX_ADD_AMD64_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.amd64)/VBoxLinuxAdditions.run205 $(VBOX_LNX_ADD_AMD64_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.amd64)/VBoxLinuxAdditions.run 206 206 endif 207 207 ifdef VBOX_WITH_ADDITIONS_ISO.linux.x86 208 208 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) ? 210 210 ifdef VBOX_WITH_COMBINED_LINUX_GUEST_PACKAGE 211 VBOX_LNX_ADD_X86_RUN_PKG =VBoxLinuxAdditions.run211 VBOX_LNX_ADD_X86_RUN_PKG = VBoxLinuxAdditions.run 212 212 else 213 VBOX_LNX_ADD_X86_RUN_PKG =VBoxLinuxAdditions-x86.run213 VBOX_LNX_ADD_X86_RUN_PKG = VBoxLinuxAdditions-x86.run 214 214 endif 215 215 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.sh216 $(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 219 219 endif 220 220 … … 223 223 VBOX_PATH_ADDITIONS.os2.x86 = $(PATH_OUT_BASE)/os2.x86/$(KBUILD_TYPE)/bin/additions 224 224 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.sys225 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 242 242 endif 243 243 … … 246 246 VBOX_PATH_ADDITIONS.solaris.amd64 = $(PATH_OUT_BASE)/solaris.amd64/$(KBUILD_TYPE)/bin/additions 247 247 GUESTADDITIONS_FILESPEC.solaris.amd64 = \ 248 VBoxSolarisAdditions-amd64.pkg=$(VBOX_PATH_ADDITIONS.solaris.amd64)/VBoxSolarisAdditions.pkg248 VBoxSolarisAdditions-amd64.pkg=$(VBOX_PATH_ADDITIONS.solaris.amd64)/VBoxSolarisAdditions.pkg 249 249 endif 250 250 ifdef VBOX_WITH_ADDITIONS_ISO.solaris.x86 251 251 VBOX_PATH_ADDITIONS.solaris.x86 = $(PATH_OUT_BASE)/solaris.x86/$(KBUILD_TYPE)/bin/additions 252 252 GUESTADDITIONS_FILESPEC.solaris.x86 = \ 253 VBoxSolarisAdditions-x86.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg253 VBoxSolarisAdditions-x86.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg 254 254 endif 255 255 ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE … … 258 258 # for 32bit and 64bit solaris. This just modifies variables set above. 259 259 GUESTADDITIONS_FILESPEC.solaris.x86 = \ 260 VBoxSolarisAdditions.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg260 VBoxSolarisAdditions.pkg=$(VBOX_PATH_ADDITIONS.solaris.x86)/VBoxSolarisAdditions.pkg 261 261 GUESTADDITIONS_FILESPEC.solaris.amd64 = 262 262 endif … … 267 267 VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.amd64) 268 268 GUESTADDITIONS_FILESPEC.win.amd64 = \ 269 VBoxWindowsAdditions-amd64.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxWindowsAdditions-amd64.exe269 VBoxWindowsAdditions-amd64.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxWindowsAdditions-amd64.exe 270 270 ifndef VBOX_WITH_ADDITIONS_ISO.win.x86 271 271 GUESTADDITIONS_FILESPEC.win.amd64 += \ 272 cert/VBoxCertUtil.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxCertUtil.exe272 cert/VBoxCertUtil.exe=$(VBOX_PATH_ADDITIONS.win.amd64)/VBoxCertUtil.exe 273 273 endif 274 274 endif … … 278 278 VBOX_PATH_ADDITIONS.win = $(VBOX_PATH_ADDITIONS.win.x86) 279 279 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.exe280 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 290 290 endif # win.x86 291 291 … … 328 328 # or bfs? 329 329 GUESTADDITIONS_FILESPEC.haiku.x86 = \ 330 VBoxHaikuAdditions-x86.run=$(VBOX_PATH_ADDITIONS.haiku.x86)/VBoxHaikuAdditions-x86.run330 VBoxHaikuAdditions-x86.run=$(VBOX_PATH_ADDITIONS.haiku.x86)/VBoxHaikuAdditions-x86.run 331 331 endif 332 332 … … 351 351 # 352 352 ifndef 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),) 358 358 $(call MSG_TOOL,RTIsoMaker,,$@) 359 359 $(QUIET)$(MKDIR) -p $(@D) … … 372 372 --volume-id="VBox_GAs_$(VBOX_VERSION_STRING_RAW)" 373 373 374 $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.zip: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso374 $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.zip: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso 375 375 $(call MSG_L1,Zipping image $@) 376 376 $(QUIET)$(RM) -f $@ 377 377 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_ADDITIONS_ISO) -- $(VBOX_ZIP) -9 $@ $(notdir $^) 378 378 379 # Alias for creating the iso.380 .PHONY: additions-iso381 additions-iso: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso382 383 endif 384 379 # Alias for creating the iso. 380 .PHONY: additions-iso 381 additions-iso: $(VBOX_PATH_ADDITIONS_ISO)/VBoxGuestAdditions.iso 382 383 endif 384 -
trunk/src/VBox/Additions/WINNT/Graphics/Video/Makefile.kmk
r98103 r98416 57 57 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll 58 58 59 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@)59 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxVideo.sys: $$(VBoxVideo_1_TARGET) | $$(dir $$@) 60 60 $(INSTALL) -m 644 $< $(@D) 61 61 62 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@)62 $(PATH_TARGET)/VBoxVideoCat.dir/VBoxDisp.dll: $$(VBoxDisp_1_TARGET) | $$(dir $$@) 63 63 $(INSTALL) -m 644 $< $(@D) 64 64 … … 93 93 94 94 $(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 $$@) 96 96 $(call MSG_GENERATE,VBoxWddm-inf,$@,$<) 97 97 $(call VBOX_EDIT_INF_FN,$<,$@ $(VBOXWDDM_EDIT_INF_DISPD3D_FN_ARG) $(VBOXWDDM_EDIT_INF_DISPDX_FN_ARG) $(VBOXWDDM_EDIT_INF_MESA3D_FN_ARG)) … … 112 112 ifdef VBOX_WITH_WDDM_DX 113 113 VBoxWddm-inf_SOURCES += \ 114 114 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX.dll 115 115 VBoxWddm-inf_SOURCES.amd64 += \ 116 116 $(PATH_TARGET)/VBoxWddmCat.dir/VBoxDX-x86.dll 117 117 endif 118 118 … … 174 174 175 175 $(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 184 185 186 187 188 189 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, ), ) 190 190 $(call MSG_TOOL,Inf2Cat,VBoxWddm-inf,$@,$<) 191 191 $(call VBOX_MAKE_CAT_FN, $(@D),$@) -
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/Makefile.kmk
r98141 r98416 110 110 111 111 ifdef 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 # 174 204 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 238 238 endif # VBOX_WITH_VMSVGA3D_DX 239 239 240 include $(PATH_SUB_CURRENT)/wddm/shared/Makefile.kmk240 include $(PATH_SUB_CURRENT)/wddm/shared/Makefile.kmk 241 241 242 242 endif #ifdef VBOX_WITH_WDDM … … 244 244 245 245 ifdef VBOX_WITH_VBOXVIDEOWINDBG 246 #247 # A windbg extension and a few test programs.248 #249 250 DLLS += vbvdbg251 vbvdbg_TEMPLATE = VBoxR3StaticDll252 vbvdbg_SDKS= ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)253 vbvdbg_DEFS= UNICODE _UNICODE254 vbvdbg_SOURCES= \255 wddm/dbg/VBoxVideoWinDbg.cpp \256 wddm/dbg/VBoxVideoWinDbg.def257 258 PROGRAMS += tstMvWnd259 tstMvWnd_TEMPLATE = VBoxR3Static260 tstMvWnd_DEFS= UNICODE _UNICODE261 tstMvWnd_SOURCES= wddm/dbg/tstMvWnd.cpp262 #tstMvWnd_LIBS = $(VBOX_LIB_IPRT_GUEST_R3) - Use guest template if this is wanted! duh!263 #tstMvWnd_LDFLAGS = /SUBSYSTEM:windows264 265 PROGRAMS += DumpD3DCaps9266 DumpD3DCaps9_TEMPLATE = VBoxR3Exe267 DumpD3DCaps9_SDKS= ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)268 DumpD3DCaps9_DEFS= UNICODE _UNICODE269 DumpD3DCaps9_SOURCES= wddm/dbg/DumpD3DCaps9.cpp270 DumpD3DCaps9_LIBS= d3d9.lib271 272 PROGRAMS += D3DFeatureLevel273 D3DFeatureLevel_TEMPLATE = VBoxR3Static274 D3DFeatureLevel_SDKS= ReorderCompilerIncs $(VBOX_WINDDK_GST_WLH)275 D3DFeatureLevel_SOURCES= wddm/dbg/D3DFeatureLevel.cpp276 D3DFeatureLevel_LIBS= d3d11.lib277 #D3DFeatureLevel_LIBS = $(VBOX_LIB_IPRT_GUEST_R3) d3d11.lib - Use guest template if this is wanted! duh!278 #D3DFeatureLevel_LDFLAGS.win = /SUBSYSTEM:CONSOLE246 # 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 279 279 280 280 endif # VBOX_WITH_VBOXVIDEOWINDBG -
trunk/src/VBox/Additions/WINNT/Graphics/Video/mp/Makefile.kmk
r98126 r98416 44 44 endif 45 45 VBoxVideo_INCS = \ 46 47 48 49 46 ../../../include \ 47 .. \ 48 . \ 49 $(VBOX_GRAPHICS_INCS) 50 50 VBoxVideo_LDFLAGS.x86 = /Entry:DriverEntry@8 51 51 VBoxVideo_LDFLAGS.amd64 = /Entry:DriverEntry … … 76 76 VBoxVideo_LIBS += \ 77 77 $(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. 79 79 endif 80 80 VBoxVideo_USES.win = vboximportchecker … … 117 117 wddm/VBoxMPWddm.cpp \ 118 118 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 \ 122 122 wddm/VBoxMPCm.cpp \ 123 123 wddm/VBoxMPSa.cpp \ … … 137 137 ifdef VBOXWDDM_WITH_VBVA 138 138 VBoxWddm_SOURCES += \ 139 139 wddm/VBoxMPVbva.cpp 140 140 endif 141 141 ifdef VBOX_WITH_VIDEOHWACCEL 142 142 VBoxWddm_SOURCES += \ 143 143 wddm/VBoxMPVhwa.cpp 144 144 endif 145 145 … … 161 161 VBoxWddm_DEFS += WIN9X_COMPAT_SPINLOCK # to avoid multiple KeInitializeSpinLock on amd64 162 162 VBoxWddm_INCS += \ 163 $(PATH_ROOT)/src/VBox/Additions/3D/win/include \164 $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include163 $(PATH_ROOT)/src/VBox/Additions/3D/win/include \ 164 $(PATH_ROOT)/src/VBox/Devices/Graphics/vmsvga_include 165 165 VBoxWddm_SOURCES += \ 166 166 wddm/gallium/Svga.cpp \ -
trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/Makefile.kmk
r98103 r98416 40 40 DLLS.x86 += VBoxGuestInstallHelper 41 41 VBoxGuestInstallHelper_TEMPLATE := VBoxGuestR3Dll 42 VBoxGuestInstallHelper_INST 42 VBoxGuestInstallHelper_INST := repackadd/resources/VBoxGuestInstallHelper/ 43 43 ifdef VBOX_SIGN_ADDITIONS # (See the parent makefile.) 44 44 VBoxGuestInstallHelper_INSTTYPE := stage 45 45 VBoxGuestInstallHelper_DEBUG_INSTTYPE := both 46 46 endif 47 VBoxGuestInstallHelper_DEFS 47 VBoxGuestInstallHelper_DEFS := _WIN32_WINNT=0x0400 WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE 48 48 VBoxGuestInstallHelper_BLD_TRG_ARCH := x86 49 49 VBoxGuestInstallHelper_SOURCES := \ -
trunk/src/VBox/Additions/WINNT/Installer/InstallHelper/testcase/Makefile.kmk
r98103 r98416 30 30 31 31 ifdef 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 += tstWinAdditionsInstallHelper37 tstWinAdditionsInstallHelper_TEMPLATE = VBoxGuestR3Exe38 tstWinAdditionsInstallHelper_SOURCES= tstWinAdditionsInstallHelper.cpp39 tstWinAdditionsInstallHelper_DEFS= _WIN32_WINNT=0x0400 WIN32_LEAN_AND_MEAN=1 UNICODE _UNICODE32 # 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 40 40 41 41 endif # VBOX_WITH_TESTCASES -
trunk/src/VBox/Additions/WINNT/Installer/Loader/Makefile.kmk
r98128 r98416 31 31 # This has to be 32-bit. 32 32 PROGRAMS += VBoxWindowsAdditions 33 VBoxWindowsAdditions_TEMPLATE = VBoxGuestR3Exe33 VBoxWindowsAdditions_TEMPLATE = VBoxGuestR3Exe 34 34 VBoxWindowsAdditions_BLD_TRG_ARCH = x86 35 35 VBoxWindowsAdditions_DEFS = _WIN32_WINNT=0x0400 … … 39 39 VBoxWindowsAdditions.rc 40 40 ifdef VBOX_WITH_NOCRT_STATIC 41 VBoxWindowsAdditions_LDFLAGS= /SubSystem:Windows41 VBoxWindowsAdditions_LDFLAGS = /SubSystem:Windows 42 42 else 43 VBoxWindowsAdditions_LDFLAGS= \44 /DISALLOWLIB:msvcrt.lib \45 /DISALLOWLIB:msvcprt.lib \46 /DISALLOWLIB:libcmt.lib47 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.lib43 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 51 51 endif 52 52 VBoxWindowsAdditions_VBOX_IMPORT_CHECKER.win.x86 := nt4 -
trunk/src/VBox/Additions/WINNT/Installer/Makefile.kmk
r98257 r98416 56 56 # 57 57 PROGRAMS += VBoxDrvInst 58 VBoxDrvInst_TEMPLATE = VBoxGuestR3Exe58 VBoxDrvInst_TEMPLATE = VBoxGuestR3Exe 59 59 VBoxDrvInst_DEFS = _WIN32_WINNT=0x0400 _UNICODE UNICODE 60 60 VBoxDrvInst_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV) … … 161 161 $(PATH_STAGE_BIN)/additions/VBoxTray.exe \ 162 162 $(PATH_STAGE_BIN)/additions/VBoxControl.exe \ 163 163 \ 164 164 $(PATH_STAGE_BIN)/additions/VBoxMouse.inf \ 165 165 $(PATH_STAGE_BIN)/additions/VBoxMouse.sys \ 166 166 \ 167 167 $(PATH_STAGE_BIN)/additions/VBoxVideo.inf \ 168 168 $(PATH_STAGE_BIN)/additions/VBoxVideo.sys \ 169 169 $(PATH_STAGE_BIN)/additions/VBoxDisp.dll \ 170 170 \ 171 171 $(PATH_STAGE_BIN)/additions/VBoxSF.sys \ 172 172 $(PATH_STAGE_BIN)/additions/VBoxMRXNP.dll 173 173 174 174 ifeq ($(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.dll175 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \ 176 $(PATH_STAGE_BIN)/additions/VBoxMRXNP-x86.dll 177 177 endif 178 178 179 179 if 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.cat180 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 187 187 endif 188 188 … … 193 193 194 194 ifeq ($(KBUILD_TARGET_ARCH),x86) 195 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \196 $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys \197 $(PATH_STAGE_BIN)/additions/VBoxSFW2K.sys195 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \ 196 $(PATH_STAGE_BIN)/additions/VBoxMouseNT.sys \ 197 $(PATH_STAGE_BIN)/additions/VBoxSFW2K.sys 198 198 endif 199 199 200 200 ifdef 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.dll201 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 205 205 ifeq ($(KBUILD_TARGET_ARCH),amd64) 206 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \207 $(PATH_STAGE_BIN)/additions/VBoxDispD3D-x86.dll206 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \ 207 $(PATH_STAGE_BIN)/additions/VBoxDispD3D-x86.dll 208 208 endif 209 209 210 210 ifdef VBOX_WITH_WDDM_DX 211 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \212 $(PATH_STAGE_BIN)/additions/VBoxDX.dll211 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \ 212 $(PATH_STAGE_BIN)/additions/VBoxDX.dll 213 213 ifeq ($(KBUILD_TARGET_ARCH),amd64) 214 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \215 $(PATH_STAGE_BIN)/additions/VBoxDX-x86.dll214 VBOX_WINDOWS_ADDITIONS_ATTESTATION_SIGNED_FILES += \ 215 $(PATH_STAGE_BIN)/additions/VBoxDX-x86.dll 216 216 endif 217 217 endif 218 218 219 219 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.dll220 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 224 224 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.dll225 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 229 229 endif 230 230 endif 231 231 232 232 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.cat233 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \ 234 $(PATH_STAGE_BIN)/additions/VBoxWddm.cat \ 235 $(PATH_STAGE_BIN)/additions/VBoxWddm-PreW10.cat 236 236 endif 237 237 endif # VBOX_WITH_WDDM 238 238 239 239 ifdef env.VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST 240 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \241 $(PATH_STAGE_BIN)/additions/VBoxAudioTest.exe240 VBOX_WINDOWS_ADDITIONS_OTHER_FILES += \ 241 $(PATH_STAGE_BIN)/additions/VBoxAudioTest.exe 242 242 endif 243 243 … … 280 280 -E 'KBUILD_TYPE=$(KBUILD_TYPE)' \ 281 281 -E 'KBUILD_TARGET_ARCH=$(KBUILD_TARGET_ARCH)' \ 282 283 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)') 284 284 285 285 $(PATH_STAGE_BIN)/additions/VBoxWindowsAdditions-$(KBUILD_TARGET_ARCH).exe: \ … … 328 328 329 329 ifdef 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.exe337 $(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 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 $$@) 361 361 $(call MSG_L1,Creating $@, from $<) 362 362 $(QUIET)$(REDIRECT) -C $(VBOX_PATH_WIN_ADD_INS_SRC) \ … … 370 370 '$(subst /,\,$<)' 371 371 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 $$@) 373 373 $(call MSG_L1,Creating $@, from $<) 374 374 $(QUIET)$(RM) -f $@ … … 381 381 382 382 if 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) 389 389 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.zip 390 390 cd $(PATH_OUT)/repackadd && $(SHELL) $(PATH_OUT)/repackadd/sign-attestation.sh $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME) 391 391 $(MV_EXT) $(PATH_OUT)/repackadd/$(VBOX_DRIVERS_PACK_NAME).*.zip $(PATH_OUT)/repackadd/$(VBOX_SIGNED_DRIVERS_ZIP_NAME) 392 392 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. 399 399 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.cab 400 400 $(RM_EXT) -f $(PATH_OUT)/repackadd/*.ddf … … 424 424 425 425 ifndef 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.sh426 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 430 430 endif 431 431 … … 433 433 $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-1-Prepare.cmd,Combined-1-Prepare.cmd) 434 434 ifndef 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) 437 437 endif 438 438 $(call VBOX_EDIT_VERSION_AND_BUILD_RULE_FN,RePackScriptsAdd,../../../Installer/win/Scripts/Combined-3-RepackAdditions.cmd,Combined-3-RepackAdditions.cmd) … … 470 470 VBoxGuestAdditionsCommon.nsh \ 471 471 VBoxGuestAdditionsExternal.nsh \ 472 VBoxGuestAdditionsLog.nsh \472 VBoxGuestAdditionsLog.nsh \ 473 473 VBoxGuestAdditionsNT4.nsh \ 474 474 VBoxGuestAdditionsUninstall.nsh \ 475 475 VBoxGuestAdditionsUninstallOld.nsh \ 476 VBoxGuestAdditionsVista.nsh \477 VBoxGuestAdditionsW2KXP.nsh \476 VBoxGuestAdditionsVista.nsh \ 477 VBoxGuestAdditionsW2KXP.nsh \ 478 478 winver.nsh \ 479 479 ISO/AUTORUN.INF \ 480 480 ISO/NT3xReadme.txt \ 481 481 \ 482 482 Languages/English.nsh=>Languages/English.nsh \ 483 483 Languages/French.nsh=>Languages/French.nsh \ … … 494 494 PROGRAMS.win.x86 += VBoxAddInstallNt3x 495 495 ifdef 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 := VBoxGuestR3Exe496 ## @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 498 498 else 499 VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3NoCrtExe499 VBoxAddInstallNt3x_TEMPLATE := VBoxGuestR3NoCrtExe 500 500 endif 501 501 VBoxAddInstallNt3x_SOURCES := VBoxAddInstallNt3x.cpp -
trunk/src/VBox/Additions/WINNT/Mouse/NT4/Makefile.kmk
r98126 r98416 39 39 VBoxPS2NT.cpp \ 40 40 VBoxPS2NT.rc \ 41 42 43 44 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 45 45 VBoxMouseNT_LIBS = \ 46 46 $(VBOX_LIB_IPRT_GUEST_R0_NT4) \ … … 52 52 ifneq ($(VBOX_VCC_CC_GUARD_CF),) 53 53 VBoxMouseNT_LIBS.x86 += \ 54 54 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB)/BufferOverflowK.lib 55 55 endif 56 56 VBoxMouseNT_CLEAN = \ -
trunk/src/VBox/Additions/WINNT/Mouse/NT5/Makefile.kmk
r98126 r98416 84 84 if defined(VBOX_SIGNING_MODE) && defined(VBOX_SIGN_ADDITIONS) 85 85 VBoxMouse-inf_SOURCES += \ 86 87 88 86 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys \ 87 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat \ 88 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.cat=>VBoxMouse-PreW10.cat 89 89 90 90 $(PATH_TARGET)/VBoxMouseCat.dir/VBoxMouse.sys: $$(VBoxMouse_1_TARGET) | $$(dir $$@) -
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/Makefile.kmk
r98126 r98416 51 51 path.cpp \ 52 52 vbsfhlp.cpp \ 53 53 VBoxSF.rc 54 54 VBoxSF_SOURCES.x86 = \ 55 55 Win2kWorkarounds.c \ … … 64 64 ifneq ($(VBOX_VCC_CC_GUARD_CF),) 65 65 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 \ 67 67 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib 68 68 else 69 69 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 \ 71 71 $(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/BufferOverflowK.lib 72 72 endif … … 97 97 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/hal.lib \ 98 98 $(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) \ 102 102 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB)/int64.lib 103 103 ifneq ($(VBOX_VCC_CC_GUARD_CF),) 104 104 VBoxSFW2K_LIBS += \ 105 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/ntoskrnl.lib \105 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/ntoskrnl.lib \ 106 106 $(PATH_SDK_$(VBOX_WINDDK_GST)_LIB.x86)/BufferOverflowK.lib 107 107 else 108 108 VBoxSFW2K_LIBS += \ 109 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \109 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/ntoskrnl.lib \ 110 110 $(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.x86)/BufferOverflowK.lib 111 111 endif … … 121 121 122 122 ifeq ($(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) 124 124 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 125 125 $(VBOX_EDIT_COFF_LIB) --input "$(PATH_SDK_$(VBOX_WINDDK_GST_WLH)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib" --output "$@" \ … … 130 130 --redefine-sym "__imp__CcFlushCache@16=_g_pfnRdFlushCache" 131 131 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) 134 134 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 135 135 $(VBOX_EDIT_COFF_LIB) --input "$(PATH_SDK_$(VBOX_WINDDK_GST_W2K3)_LIB.$(KBUILD_TARGET_ARCH))/rdbsslib.lib" --output "$@" \ … … 140 140 --redefine-sym "__imp__CcFlushCache@16=_g_pfnRdFlushCache" 141 141 else 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) 143 143 $(call KB_FN_AUTO_CMD_DEPS_COMMANDS) 144 144 $(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 34 34 VBoxGINA_SOURCES = \ 35 35 VBoxGINA.cpp \ 36 Helper.cpp 36 Helper.cpp \ 37 37 Dialog.cpp \ 38 38 VBoxGINA.def \ -
trunk/src/VBox/Additions/WINNT/VBoxHook/testcase/Makefile.kmk
r98103 r98416 31 31 ifdef VBOX_WITH_TESTCASES 32 32 33 #34 # Structure size testcase.35 #36 PROGRAMS += tstHook33 # 34 # Structure size testcase. 35 # 36 PROGRAMS += tstHook 37 37 38 tstHook_TEMPLATE = VBoxGuestR3Exe39 tstHook_DEFS= VBOX_WITH_HGCM40 tstHook_SOURCES= tstHook.cpp41 tstHook_INCS= ../../include42 tstHook_LIBS= $(PATH_STAGE_LIB)/VBoxHook.lib43 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) 45 45 46 46 endif # VBOX_WITH_TESTCASES -
trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk
r98103 r98416 64 64 ifdef VBOX_WITH_SHARED_CLIPBOARD 65 65 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,) 68 68 VBoxTray_SOURCES += \ 69 VBoxClipboard.cpp \70 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp \71 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp69 VBoxClipboard.cpp \ 70 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-win.cpp \ 71 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp 72 72 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 73 73 VBoxTray_DEFS += VBOX_WITH_SHARED_CLIPBOARD_GUEST 74 74 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.cpp75 $(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 80 80 endif 81 81 endif 82 82 ifdef VBOX_WITH_DRAG_AND_DROP 83 83 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,) 86 86 VBoxTray_SOURCES += \ 87 VBoxDnD.cpp \88 VBoxDnDDataObject.cpp \89 VBoxDnDEnumFormat.cpp \90 VBoxDnDDropSource.cpp \91 VBoxDnDDropTarget.cpp87 VBoxDnD.cpp \ 88 VBoxDnDDataObject.cpp \ 89 VBoxDnDEnumFormat.cpp \ 90 VBoxDnDDropSource.cpp \ 91 VBoxDnDDropTarget.cpp 92 92 VBoxTray_LIBS += \ 93 $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB)93 $(PATH_STAGE_LIB)/additions/VBoxDnDGuestR3Lib$(VBOX_SUFF_LIB) 94 94 endif 95 95 ifdef VBOX_WITH_GUEST_PROPS 96 96 VBoxTray_DEFS += _WIN32_IE=0x500 VBOX_WITH_GUEST_PROPS 97 97 VBoxTray_SOURCES += \ 98 VBoxHostVersion.cpp \99 VBoxLA.cpp98 VBoxHostVersion.cpp \ 99 VBoxLA.cpp 100 100 endif 101 101 ifdef VBOX_WITH_WDDM -
trunk/src/VBox/Additions/common/VBoxControl/testcase/Makefile.kmk
r98169 r98416 31 31 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) 32 32 33 #34 # Dummy CLI testcase.35 #36 PROGRAMS += tstVBoxControl37 tstVBoxControl_TEMPLATE = VBoxR3TstExe38 tstVBoxControl_DEFS= VBOX_CONTROL_TEST39 tstVBoxControl_SOURCES= tstVBoxControl.cpp ../VBoxControl.cpp40 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,) 43 43 44 44 endif # VBOX_WITH_TESTCASES -
trunk/src/VBox/Additions/common/VBoxGuest/Makefile.kmk
r98126 r98416 72 72 #VBoxGuest_DEFS.win += LOG_ENABLED LOG_TO_BACKDOOR 73 73 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,) 75 75 VBoxGuest_DEPS.solaris += $(VBOX_SVN_REV_KMK) 76 76 VBoxGuest_DEPS.haiku += $(VBOX_SVN_REV_HEADER) … … 128 128 win/VBoxGuest.rc 129 129 VBoxGuest_SOURCES.win.x86 += \ 130 131 132 133 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 134 134 VBoxGuest_LIBS += \ 135 135 $(VBOX_LIB_VBGL_R0BASE) \ … … 152 152 # The library order is crucial, so a bit of trickery is necessary. 153 153 # A library is used to make sure that VBoxGuestA-os2.asm is first in the link. (temporary hack?) 154 VBoxGuest_SOURCES= \154 VBoxGuest_SOURCES = \ 155 155 VBoxGuestA-os2.asm 156 156 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.lib157 VBoxGuest_LIBS = \ 158 $(VBoxGuestLibOs2Hack_1_TARGET) \ 159 $(VBOX_LIB_VBGL_R0BASE) \ 160 $(VBOX_LIB_IPRT_GUEST_R0) \ 161 $(PATH_IGCC)/lib/libend.lib 162 162 else 163 VBoxGuest_SOURCES+= \164 VBoxGuest-os2.def165 #VBoxGuest_LDFLAGS = -s -t -v166 VBoxGuest_LIBS= \167 $(VBoxGuestLibOs2Hack_1_TARGET) \168 $(VBOX_LIB_VBGL_R0BASE) \169 $(VBOX_LIB_IPRT_GUEST_R0) \170 $(VBOX_GCC_LIBGCC) \171 end163 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 172 172 endif 173 ## When debugging init with kDrvTest:174 #VBoxGuest_NAME = VBoxGst175 176 # See above.177 LIBRARIES += VBoxGuestLibOs2Hack178 VBoxGuestLibOs2Hack_TEMPLATE = VBoxGuestR0DrvLib179 VBoxGuestLibOs2Hack_INSTTYPE = none180 VBoxGuestLibOs2Hack_DEFS = $(VBoxGuest_DEFS)181 VBoxGuestLibOs2Hack_INCS = \182 . \183 $(PATH_ROOT)/src/VBox/Runtime/include # for the os2ddk184 VBoxGuestLibOs2Hack_SOURCES = \185 VBoxGuest-os2.cpp \186 VBoxGuest.cpp173 ## 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 187 187 endif # OS/2 188 188 … … 199 199 VBoxGuest.kext_BLDDIRS = $(VBoxGuest.kext_0_OUTDIR)/Contents/ 200 200 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 $$@) 204 204 $(call MSG_GENERATE,VBoxGuest,$@,$<) 205 205 $(QUIET)$(RM) -f $@ … … 215 215 $< 216 216 217 $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxGuest)217 $(evalcall2 VBOX_TEST_SIGN_KEXT,VBoxGuest) 218 218 endif # darwin 219 219 … … 244 244 # Build test for the Guest Additions kernel module (kmk check). 245 245 # 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) 247 247 endif # Linux 248 248 -
trunk/src/VBox/Additions/common/VBoxGuest/lib/Makefile.kmk
r98214 r98416 53 53 ifndef VBOX_ONLY_VALIDATIONKIT 54 54 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd) 55 ifndef VBOX_USE_SYSTEM_XORG_HEADERS56 LIBRARIES += \57 VBoxGuestR3LibXFree8658 endif55 ifndef VBOX_USE_SYSTEM_XORG_HEADERS 56 LIBRARIES += \ 57 VBoxGuestR3LibXFree86 58 endif 59 59 endif 60 60 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) … … 82 82 VBoxGuestR0LibHGCM.cpp \ 83 83 VbglR0CanUsePhysPageList.cpp \ 84 84 \ 85 85 VBoxGuestR0LibIdc.cpp \ 86 86 VBoxGuestR0LibSharedFolders.c \ … … 140 140 VBoxGuestR3LibStat.cpp \ 141 141 VBoxGuestR3LibTime.cpp \ 142 143 144 145 146 147 142 VBoxGuestR3LibModule.cpp \ 143 VBoxGuestR3LibPidFile.cpp \ 144 VBoxGuestR3LibVrdp.cpp \ 145 VBoxGuestR3LibMouse.cpp \ 146 VBoxGuestR3LibSeamless.cpp \ 147 VBoxGuestR3LibVideo.cpp 148 148 ifneq ($(KBUILD_TARGET),win) 149 149 VBoxGuestR3Lib_SOURCES += \ … … 158 158 VBoxGuestR3Lib_DEFS += VBOX_WITH_SHARED_CLIPBOARD_GUEST 159 159 VBoxGuestR3Lib_SOURCES += \ 160 VBoxGuestR3LibClipboard.cpp160 VBoxGuestR3LibClipboard.cpp 161 161 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 162 VBoxGuestR3Lib_SOURCES+= \163 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardMIME.cpp162 VBoxGuestR3Lib_SOURCES += \ 163 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardMIME.cpp 164 164 endif 165 165 endif … … 174 174 ifdef VBOX_WITH_DRAG_AND_DROP 175 175 VBoxGuestR3Lib_DEFS += \ 176 177 176 VBOX_WITH_DRAG_AND_DROP \ 177 $(if $(VBOX_WITH_DRAG_AND_DROP_GH),VBOX_WITH_DRAG_AND_DROP_GH,) 178 178 VBoxGuestR3Lib_SOURCES += \ 179 179 VBoxGuestR3LibDragAndDrop.cpp … … 229 229 VBoxGuestR3LibRuntimeXF86.cpp 230 230 VBoxGuestR3LibXFree86_INCS = \ 231 232 233 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 234 234 235 235 # -
trunk/src/VBox/Additions/common/VBoxGuest/lib/testcase/Makefile.kmk
r98169 r98416 39 39 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_BUILD) 40 40 41 #42 # Testcase for the physical heap.43 #44 PROGRAMS += tstVbglR0PhysHeap-145 tstVbglR0PhysHeap-1_TEMPLATE = VBoxR3TstExe46 tstVbglR0PhysHeap-1_SOURCES= \47 tstVbglR0PhysHeap-1.cpp41 # 42 # Testcase for the physical heap. 43 # 44 PROGRAMS += tstVbglR0PhysHeap-1 45 tstVbglR0PhysHeap-1_TEMPLATE = VBoxR3TstExe 46 tstVbglR0PhysHeap-1_SOURCES = \ 47 tstVbglR0PhysHeap-1.cpp 48 48 49 49 -
trunk/src/VBox/Additions/common/VBoxService/Makefile.kmk
r98195 r98416 55 55 if1of ($(KBUILD_TARGET), linux) 56 56 # CPU hotplugging. 57 VBOX_WITH_VBOXSERVICE_CPUHOTPLUG:= 157 VBOX_WITH_VBOXSERVICE_CPUHOTPLUG := 1 58 58 endif 59 59 60 60 # Page Sharing (Page Fusion). 61 61 if1of ($(KBUILD_TARGET), win) 62 VBOX_WITH_VBOXSERVICE_PAGE_SHARING:= 162 VBOX_WITH_VBOXSERVICE_PAGE_SHARING := 1 63 63 endif 64 64 65 65 ifdef VBOX_WITH_GUEST_PROPS 66 VBOX_WITH_VBOXSERVICE_VMINFO:= 166 VBOX_WITH_VBOXSERVICE_VMINFO := 1 67 67 endif 68 68 69 69 # Guest Control. 70 70 ifdef VBOX_WITH_GUEST_CONTROL 71 VBOX_WITH_VBOXSERVICE_CONTROL:= 171 VBOX_WITH_VBOXSERVICE_CONTROL := 1 72 72 endif 73 73 74 74 # Shared Clipboard. 75 75 ifdef VBOX_WITH_SHARED_CLIPBOARD 76 VBOX_WITH_VBOXSERVICE_CLIPBOARD:= 176 VBOX_WITH_VBOXSERVICE_CLIPBOARD := 1 77 77 endif 78 78 … … 103 103 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) 104 104 ifdef 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)" 106 106 else 107 VBoxService_DEFS+= VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\"107 VBoxService_DEFS += VBOX_BUILD_TARGET=\"$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)\" 108 108 endif 109 109 VBoxService_DEFS.win += _WIN32_WINNT=0x0501 … … 116 116 117 117 ifdef VBOX_WITH_VBOXSERVICE_TIMESYNC 118 VBoxService_SOURCES+= \119 VBoxServiceTimeSync.cpp118 VBoxService_SOURCES += \ 119 VBoxServiceTimeSync.cpp 120 120 endif 121 121 … … 123 123 VBoxService_DEFS.os2 += VBOX_WITH_VBOXSERVICE_CLIPBOARD VBOX_WITH_SHARED_CLIPBOARD 124 124 VBoxService_SOURCES.os2 += \ 125 VBoxServiceClipboard-os2.cpp \126 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp125 VBoxServiceClipboard-os2.cpp \ 126 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp 127 127 endif 128 128 129 129 ifdef VBOX_WITH_VBOXSERVICE_TOOLBOX 130 VBoxService_SOURCES+= \131 VBoxServiceToolBox.cpp130 VBoxService_SOURCES += \ 131 VBoxServiceToolBox.cpp 132 132 endif 133 133 134 134 ifdef VBOX_WITH_VBOXSERVICE_CONTROL 135 VBoxService_SOURCES+= \136 VBoxServiceControl.cpp\137 VBoxServiceControlProcess.cpp \138 VBoxServiceControlSession.cpp135 VBoxService_SOURCES += \ 136 VBoxServiceControl.cpp \ 137 VBoxServiceControlProcess.cpp \ 138 VBoxServiceControlSession.cpp 139 139 endif 140 140 … … 142 142 ifdef VBOX_WITH_MEMBALLOON 143 143 VBoxService_SOURCES += \ 144 VBoxServiceBalloon.cpp144 VBoxServiceBalloon.cpp 145 145 VBoxService_DEFS += VBOX_WITH_MEMBALLOON 146 146 endif … … 148 148 149 149 if1of ($(KBUILD_TARGET), win) 150 VBoxService_SOURCES+= \150 VBoxService_SOURCES += \ 151 151 VBoxServicePageSharing.cpp 152 152 endif 153 153 154 154 ifdef VBOX_WITH_VBOXSERVICE_VMINFO 155 VBoxService_SOURCES.win+= \155 VBoxService_SOURCES.win += \ 156 156 VBoxServiceVMInfo-win.cpp 157 VBoxService_SOURCES+= \158 VBoxServiceVMInfo.cpp \159 VBoxServicePropCache.cpp157 VBoxService_SOURCES += \ 158 VBoxServiceVMInfo.cpp \ 159 VBoxServicePropCache.cpp 160 160 endif 161 161 162 162 ifdef VBOX_WITH_VBOXSERVICE_CPUHOTPLUG 163 VBoxService_SOURCES+= \164 VBoxServiceCpuHotPlug.cpp163 VBoxService_SOURCES += \ 164 VBoxServiceCpuHotPlug.cpp 165 165 endif 166 166 167 167 ifdef VBOX_WITH_SHARED_FOLDERS 168 168 if1of ($(KBUILD_TARGET), linux os2 solaris win) 169 VBoxService_DEFS+= VBOX_WITH_SHARED_FOLDERS170 VBoxService_SOURCES+= \171 VBoxServiceAutoMount.cpp172 VBoxService_SOURCES.linux += \173 ../../linux/sharedfolders/vbsfmount.c174 VBoxService_LIBS.win+= \175 Mpr.Lib169 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 176 176 endif 177 177 endif … … 191 191 ifdef VBOX_WITH_DBUS 192 192 if1of ($(KBUILD_TARGET), linux solaris) # FreeBSD? 193 VBoxService_LIBS+= \194 dl193 VBoxService_LIBS += \ 194 dl 195 195 endif 196 196 endif 197 197 VBoxService_LIBS.netbsd += crypt 198 198 ifdef VBOX_WITH_GUEST_PROPS 199 VBoxService_LIBS.win+= \200 Secur32.lib \201 WtsApi32.lib \202 Psapi.lib203 VBoxService_LIBS.solaris += \204 nsl \205 kstat \206 contract199 VBoxService_LIBS.win += \ 200 Secur32.lib \ 201 WtsApi32.lib \ 202 Psapi.lib 203 VBoxService_LIBS.solaris += \ 204 nsl \ 205 kstat \ 206 contract 207 207 endif 208 208 -
trunk/src/VBox/Additions/darwin/Installer/Makefile.kmk
r98103 r98416 128 128 $(VBOX_PATH_PACK_TMP)/Packages/VBoxGuestAdditionsToolsAndServices.pkg \ 129 129 $$(wildcard $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/* \ 130 130 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/*.lproj/*) \ 131 131 $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES), $(VBOX_BRAND_$(f)_VIRTUALBOX_WELCOME_RTF)) \ 132 132 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditions_mpkg/Welcome.rtf \ … … 227 227 $(foreach kext,$(VBOX_ADD_DI_KEXTS), $(VBOX_PATH_DIST)/additions/$(kext).kext/Contents/Info.plist) \ 228 228 $$(wildcard $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/* \ 229 229 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/*.lproj/*) \ 230 230 $(foreach f,$(VBOX_INSTALLER_ADD_LANGUAGES), \ 231 232 233 231 $(VBOX_BRAND_$(f)_VBOXKEXTS_DESCRIPTION_PLIST) \ 232 $(VBOX_BRAND_$(f)_VBOXKEXTS_README_HTML) \ 233 $(VBOX_BRAND_$(f)_VBOXKEXTS_INSTALLATIONCHECK_STRINGS)) \ 234 234 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/postflight \ 235 235 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsKEXTs/PkgBuildComponent.plist \ … … 311 311 # 312 312 313 VBOX_GA_PKG =VBoxGuestAdditionsToolsAndServices.pkg314 VBOX_DI_VB_GA_BINARIES =VBoxClient VBoxControl VBoxService313 VBOX_GA_PKG = VBoxGuestAdditionsToolsAndServices.pkg 314 VBOX_DI_VB_GA_BINARIES = VBoxClient VBoxControl VBoxService 315 315 $(VBOX_PATH_PACK_TMP)/Packages/$(VBOX_GA_PKG): \ 316 $(foreach f, $(VBOX_DI_VB_GA_BINARIES) \317 316 $(foreach f, $(VBOX_DI_VB_GA_BINARIES) \ 317 ,$(call VBOX_DI_FN_DEP_BOTH,$(f)) ) \ 318 318 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsToolsAndServices/org.virtualbox.additions.vboxclient.plist \ 319 319 $(VBOX_ADD_PATH_DI_SRC)/VBoxGuestAdditionsToolsAndServices/org.virtualbox.additions.vboxservice.plist \ -
trunk/src/VBox/Additions/freebsd/Makefile.kmk
r98103 r98416 30 30 31 31 ifneq ($(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!") 33 33 endif 34 34 … … 42 42 VBOX_FBSD_ADD_INS_OUT_DIR := $(PATH_TARGET)/Additions/Installer/freebsd 43 43 BLDDIRS += \ 44 45 44 $(VBOX_FBSD_ADD_INS_OUT_DIR) \ 45 $(VBOX_FBSD_ADD_INS_OUT_DIR)/module 46 46 VBOX_PATH_FREEBSD_ADDITION_INSTALLER := $(PATH_SUB_CURRENT)/Installer 47 47 VBOX_PATH_X11_ADDITION_INSTALLER := $(PATH_ROOT)/src/VBox/Additions/x11/Installer … … 134 134 fbsd_add_inst-nobin_MODE = a+r,u+w 135 135 fbsd_add_inst-nobin_SOURCES = \ 136 137 138 139 140 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 141 141 142 142 … … 148 148 # this file needs editing before it can be included in the generic installer. 149 149 $(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 $$@) 151 151 $(QUIET)$(SED) \ 152 152 -e "s;_VERSION_;$(VBOX_VERSION_STRING);g" \ -
trunk/src/VBox/Additions/freebsd/drm/Makefile.kmk
r98126 r98416 36 36 endif 37 37 ifneq ($(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!") 39 39 endif 40 40 -
trunk/src/VBox/Additions/freebsd/vboxvfs/Makefile.kmk
r98126 r98416 30 30 31 31 ifneq ($(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!") 33 33 endif 34 34 … … 40 40 vboxvfs_DEFS = VBOX_WITH_HGCM 41 41 vboxvfs_INCS = \ 42 43 42 . \ 43 $(vboxvfs_0_OUTDIR) 44 44 vboxvfs_SOURCES = \ 45 45 vboxvfs_vfsops.c \ … … 49 49 $(VBOX_LIB_IPRT_GUEST_R0) 50 50 vboxvfs_DEPS = \ 51 52 53 51 $$(vboxvfs_0_OUTDIR)/vnode_if.h \ 52 $$(vboxvfs_0_OUTDIR)/vnode_if_newproto.h \ 53 $$(vboxvfs_0_OUTDIR)/vnode_if_typedef.h 54 54 vboxvfs_CLEAN += $(vboxvfs_DEPS) 55 55 -
trunk/src/VBox/Additions/haiku/Makefile.kmk
r98103 r98416 59 59 60 60 ifneq ($(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!") 62 62 endif 63 63 -
trunk/src/VBox/Additions/haiku/SharedFolders/Makefile.kmk
r98126 r98416 75 75 MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \ 76 76 KBUILD_MODNAME=KBUILD_STR\(vboxsf\) \ 77 77 KBUILD_BASENAME=KBUILD_STR\(vboxsf\) 78 78 vboxsf_INCS = \ 79 79 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuest \ -
trunk/src/VBox/Additions/haiku/VBoxTray/Makefile.kmk
r98192 r98416 73 73 74 74 VBoxTray_SOURCES += \ 75 75 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-helper.cpp 76 76 77 77 VBoxTray_LIBS = \ -
trunk/src/VBox/Additions/haiku/VBoxVideo/driver/Makefile.kmk
r98126 r98416 75 75 MODULE IN_RT_R0 VBOXGUEST VBOX_WITH_HGCM \ 76 76 KBUILD_MODNAME=KBUILD_STR\(VBoxVideo\) \ 77 77 KBUILD_BASENAME=KBUILD_STR\(VBoxVideo\) 78 78 vboxvideo_INCS = \ 79 79 $(PATH_ROOT)/src/VBox/Additions/common/VBoxGuestLib \ -
trunk/src/VBox/Additions/linux/Makefile.kmk
r98103 r98416 100 100 else 101 101 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) 104 104 endif 105 105 BLDDIRS += \ … … 129 129 ifdef VBOX_WITH_ADDITIONS_SHIPPING_AUDIO_TEST 130 130 VBOX_LNX_ADD_STRIP_BIN += \ 131 VBoxAudioTest131 VBoxAudioTest 132 132 endif 133 133 … … 180 180 181 181 ifdef 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) 184 184 endif 185 185 … … 218 218 219 219 # 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 220 $(addprefix $(VBOX_LNX_ADD_INST_SBIN_DIR), \ 221 $(filter-out vbox-greeter,$(VBOX_LNX_ADD_STRIP_SBIN))): \ 222 222 $(VBOX_LNX_ADD_INST_SBIN_DIR)% : $(PATH_STAGE_BIN)/additions/% \ 223 223 $(VBOX_LNX_ADD_DBG_SBIN_DIR)% \ … … 265 265 266 266 include $(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)))))267 VBOX_LNX_ADD_INST_FILES_VBOXGUEST = $(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxguest/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXGUEST_NOBIN))))) 268 268 include $(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)))))269 VBOX_LNX_ADD_INST_FILES_VBOXSF = $(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxsf/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXSF_NOBIN))))) 270 270 include $(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)))))271 VBOX_LNX_ADD_INST_FILES_VBOXVIDEO = $(patsubst =>%,$(PATH_STAGE_BIN)/additions/src/vboxvideo/%,$(filter =>%,$(subst =>, =>,$(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_NOBIN))))) 272 272 273 273 # special rule for the kernel modules … … 327 327 ifdef VBOX_WITH_LIGHTDM_GREETER_PACKING 328 328 LnxAdd-scripts_EXEC_SOURCES += \ 329 $(VBOX_REL_LNX_ADD_INST)module-autologon.sh=>installer/module-autologon329 $(VBOX_REL_LNX_ADD_INST)module-autologon.sh=>installer/module-autologon 330 330 endif 331 331 … … 440 440 $$(LnxAdd-scripts_2_STAGE_TARGETS) \ 441 441 $(VBOX_VERSION_STAMP) 442 443 442 # Remove any archives left over from previous builds so that they don't 443 # end up in our installer as well. 444 444 $(QUIET)$(RM) -f $(foreach file, $(wildcard $(VBOX_LNX_ADD_INST_STAGE_DIR)$(VBOX_LNX_ADD_PACKAGE_NAME)-*.tar.bz2), $(file)) 445 445 $(QUIET)$(foreach file, $(VBOX_LNX_ADD_ARCHIVES), \ -
trunk/src/VBox/Additions/linux/drm/Makefile.kmk
r98103 r98416 43 43 $(subst $(DQUOTE),,$(FILES_VBOXVIDEO_DRM_BIN)) 44 44 vboxvideo-src_INSTALLER = $(RM_EXT) -f -- "$2" && \ 45 46 47 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" 48 48 49 49 -
trunk/src/VBox/Additions/linux/lightdm-greeter/Makefile.kmk
r98191 r98416 72 72 /usr/lib/x86_64-linux-gnu/glib-2.0/include \ 73 73 /usr/include/glib-2.0 \ 74 74 $(if $(VBOX_OSE),,liblightdm-gobject-1.5.0) \ 75 75 /usr/include/lightdm-gobject-1 \ 76 76 $(if $(VBOX_OSE),$(patsubst -I%,%,%(filter -I%,$(shell pkg-config --cflags liblightdm-gobject-1))),) 77 77 ifndef VBOX_WITH_FLTK 78 78 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.079 /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 85 85 endif 86 86 -
trunk/src/VBox/Additions/os2/Config.kmk
r98232 r98416 52 52 TEMPLATE_VBoxOs2Vac308_ARTOOL = GCC3OMF 53 53 TEMPLATE_VBoxOs2Vac308_INST = $(INST_ADDITIONS) 54 TEMPLATE_VBoxOs2Vac308_DEFS = RT_OS_OS2 IN_RING3## @todo IN_GUEST IN_GUEST_R3 IN_RT_R354 TEMPLATE_VBoxOs2Vac308_DEFS = RT_OS_OS2 IN_RING3 ## @todo IN_GUEST IN_GUEST_R3 IN_RT_R3 55 55 56 56 TEMPLATE_VBoxOs2Vac308_CFLAGS += /Gn+ # Do not generate default libraries in object. -
trunk/src/VBox/Additions/os2/Makefile.kmk
r98198 r98416 39 39 ifndef VBOX_OSE 40 40 include $(PATH_SUB_CURRENT)/VBoxGradd/Makefile.kmk 41 # include $(PATH_SUB_CURRENT)/VBoxGrext/Makefile.kmk41 # include $(PATH_SUB_CURRENT)/VBoxGrext/Makefile.kmk 42 42 include $(PATH_SUB_CURRENT)/VBoxMouse/Makefile.kmk 43 43 include $(PATH_SUB_CURRENT)/Bin/Makefile.kmk … … 74 74 VBoxOs2AdditionsInstall_SOURCES = \ 75 75 VBoxOs2AdditionsInstall.cpp \ 76 77 76 $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathStripFilename.cpp \ 77 $(VBOX_PATH_RUNTIME_SRC)/common/path/RTPathEnsureTrailingSeparator.cpp 78 78 if 1 79 79 VBOX_PATH_RUNTIME_SRC ?= $(PATH_ROOT)/src/VBox/Runtime … … 90 90 VBoxOs2AdditionsInstall_INCS <= \ 91 91 $(PATH_ROOT)/include/iprt/nocrt \ 92 $(VBOX_PATH_RUNTIME_SRC)/include92 $(VBOX_PATH_RUNTIME_SRC)/include 93 93 VBoxOs2AdditionsInstall_SOURCES += \ 94 94 VBoxOs2AdditionsInstallA.asm \ -
trunk/src/VBox/Additions/os2/VBoxSF/Makefile.kmk
r98126 r98416 32 32 VBOX_USE_WATCOM_FOR_OS2 = 1 33 33 KBUILD_TARGET = os2 34 BUILD_TARGET= os234 BUILD_TARGET = os2 35 35 KBUILD_TARGET_ARCH = x86 36 BUILD_TARGET_ARCH= x8636 BUILD_TARGET_ARCH = x86 37 37 endif 38 38 … … 65 65 TOOL_VBoxNasmDot_COMPILE_AS_DEPORD = 66 66 define TOOL_VBoxNasmDot_COMPILE_AS_CMDS 67 ifdef TOOL_VBoxNasmDot_USE_KSUBMIT67 ifdef TOOL_VBoxNasmDot_USE_KSUBMIT 68 68 $(QUIET)kmk_builtin_kSubmit -C $(PATH_OUT_BASE) -- $(TOOL_VBoxNasmDot_AS)\ 69 69 $(flags) $(qaddprefix sh,-i, $(qaddsuffix ,/,$(incs))) $(qaddprefix sh,-D, $(defs))\ … … 72 72 -MD "$(dep)" -MP\ 73 73 $(abspath $(source)) 74 else74 else 75 75 $(QUIET)$(REDIRECT) -C $(PATH_OUT_BASE) -- $(TOOL_VBoxNasmDot_AS)\ 76 76 $(flags) $(qaddprefix sh,-i, $(qaddsuffix ,/,$(incs))) $(qaddprefix sh,-D, $(defs))\ … … 79 79 -MD "$(dep)" -MP\ 80 80 $(abspath $(source)) 81 endif81 endif 82 82 $(QUIET)"$(dotseg_1_TARGET)" "$(obj)" 83 83 endef … … 97 97 TEMPLATE_VBoxR0DrvIFS_EXTENDS = VBoxGuestR0Drv 98 98 ifdef 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)) 100 100 endif 101 101 TEMPLATE_VBoxR0DrvIFS_SYSSUFF = .ifs … … 114 114 $(PATH_ROOT)/src/VBox/Runtime/include 115 115 ifdef VBOX_USE_WATCOM_FOR_OS2 116 VBoxSF_LDFLAGS:= \117 OPTION MODNAME='VBoxSF' \118 SEG TYPE CODE PRELOAD DYNAMIC SHARED NONPERMANENT, \119 120 # OPTION DESCRIPTION "'VirtualBox Guest Additions Shared Folder FSD for OS/2.'" - quoting issues121 # 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 185 #VBoxSF_LDFLAGS += -s -t -v116 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 186 186 endif 187 187 … … 215 215 PROGRAMS += VBoxSFUtil 216 216 ifdef VBOX_USE_WATCOM_FOR_OS2 217 VBoxSFUtil_TEMPLATE = DUMMY218 VBoxSFUtil_TOOL= OPENWATCOM219 VBoxSFUtil_ASTOOL= NASM220 VBoxSFUtil_ASFLAGS= -f obj -DASM_FORMAT_OMF221 VBoxSFUtil_INCS= $(PATH_TOOL_OPENWATCOM)/h/os2222 VBoxSFUtil_LDFLAGS= -bcl=os2v2 #"IMPORT DosGlobalInfo doscalls.217"223 VBoxSFUtil_DEFS= $(DEFS) IN_RING3224 else 225 VBoxSFUtil_TEMPLATE = VBoxGuestR3Exe217 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 226 226 endif 227 227 VBoxSFUtil_SOURCES = \ -
trunk/src/VBox/Additions/solaris/DRM/Makefile.kmk
r98126 r98416 51 51 vboxvideo_DEPS += $(VBOX_SVN_REV_KMK) 52 52 if ($(VBOX_SOLARIS_11_UPDATE_VERSION) > 3) 53 vboxvideo_DEFS+= VBOX_WITH_SYSTEM_QUEUE_H53 vboxvideo_DEFS += VBOX_WITH_SYSTEM_QUEUE_H 54 54 endif 55 55 vboxvideo_INCS := \ -
trunk/src/VBox/Additions/solaris/Makefile.kmk
r98103 r98416 149 149 BLDDIRS += \ 150 150 $(SOLARIS_ADDINST_OUT_DIR) \ 151 $(addprefix $(SOLARIS_ADDINST_OUT_DIR)/, \151 $(addprefix $(SOLARIS_ADDINST_OUT_DIR)/, \ 152 152 opt \ 153 153 opt/VirtualBoxAdditions \ … … 235 235 ifdef VBOX_COMPRESS 236 236 SOLARIS_ADD_COMPRESS_FILES = \ 237 $(SOLARIS_ADD_XORG_DRIVERS) \238 VBoxService \239 VBoxClient \240 VBoxControl237 $(SOLARIS_ADD_XORG_DRIVERS) \ 238 VBoxService \ 239 VBoxClient \ 240 VBoxControl 241 241 endif 242 242 243 243 ifdef VBOX_WITH_COMBINED_SOLARIS_GUEST_PACKAGE 244 SOLARIS_ARCH_ADD_DEPFILES= \245 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)) 252 252 else 253 SOLARIS_ARCH_ADD_DEPFILES= \254 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)) 258 258 endif 259 259 -
trunk/src/VBox/Additions/solaris/Mouse/Makefile.kmk
r98199 r98416 67 67 68 68 if 0 # Broken - unresolved externals: vbglDriver*, RTR0AssertPanicSystem. 69 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)70 PROGRAMS += tstVBoxMouse-solaris71 tstVBoxMouse-solaris_TEMPLATE = VBoxR3TstExe72 tstVBoxMouse-solaris_SOURCES= \73 vboxms.c \74 testcase/tstVBoxMouse-solaris.c75 tstVBoxMouse-solaris_DEFS= TESTCASE76 tstVBoxMouse-solaris_LIBS= $(LIB_RUNTIME)77 endif69 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 78 78 endif 79 79 -
trunk/src/VBox/Additions/solaris/SharedFolders/Makefile.kmk
r98200 r98416 63 63 vboxfs_deps.asm_ASFLAGS = -f bin -g null 64 64 endif 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_POLICY65 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 68 68 endif 69 69 70 70 71 71 ifndef VBOX_OSE 72 #73 # vboxfs_s10 - The Shared Folder Driver for Solaris 1074 #75 SYSMODS.solaris+= vboxfs_s1076 vboxfs_s10_TEMPLATE= VBoxGuestR0Drv77 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.c84 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/ctf89 else90 vboxfs_s10_SOURCES+= deps.asm91 vboxfs_s10_deps.asm_ASFLAGS = -f bin -g null92 endif72 # 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 93 93 endif # VBOX_OSE 94 94 -
trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk
r98196 r98416 31 31 # Use header files from our tree for randr and xinerama. and don't link but rather dlopen libXrand 32 32 # 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 =33 VBOX_WITH_DISTRO_XRAND_XINERAMA = 34 34 35 35 # We don't yet have a seamless mode compilation flag, so define it here unconditionally. 36 VBOX_WITH_SEAMLESS :=136 VBOX_WITH_SEAMLESS := 1 37 37 38 38 # … … 73 73 endif 74 74 VBoxDRMClient_SOURCES = \ 75 76 77 75 display-drm.cpp \ 76 display-ipc.cpp \ 77 logging.cpp 78 78 79 79 … … 105 105 VBoxClient_DEFS += VBOX_DND_WITH_XTEST 106 106 VBoxClient_LIBS += \ 107 Xtst107 Xtst 108 108 endif 109 109 endif … … 114 114 ifeq ($(KBUILD_TARGET),linux) 115 115 VBoxClient_LDFLAGS.amd64 += \ 116 -Wl,--wrap=memcpy116 -Wl,--wrap=memcpy 117 117 endif 118 118 … … 120 120 VBoxClient_DEFS += VBOX_WITH_GUEST_PROPS 121 121 VBoxClient_SOURCES += \ 122 hostversion.cpp122 hostversion.cpp 123 123 VBoxDRMClient_DEFS += VBOX_WITH_GUEST_PROPS 124 124 endif … … 126 126 ifdef VBOX_WITH_DRAG_AND_DROP 127 127 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,) 130 130 VBoxClient_SOURCES += \ 131 draganddrop.cpp131 draganddrop.cpp 132 132 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) 135 135 endif 136 136 … … 138 138 VBoxClient_DEFS += VBOX_WITH_SEAMLESS 139 139 VBoxClient_SOURCES += \ 140 seamless.cpp \141 seamless-x11.cpp140 seamless.cpp \ 141 seamless-x11.cpp 142 142 endif 143 143 … … 154 154 display-helper-generic.cpp 155 155 156 ### include $(PATH_SUB_CURRENT)/helpers/Makefile.kmk156 ### include $(PATH_SUB_CURRENT)/helpers/Makefile.kmk 157 157 endif 158 158 … … 160 160 VBoxClient_DEFS += VBOX_WITH_SHARED_CLIPBOARD 161 161 VBoxClient_SOURCES += \ 162 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \163 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \164 clipboard.cpp162 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-common.cpp \ 163 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp \ 164 clipboard.cpp 165 165 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS 166 166 VBoxClient_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS VBOX_WITH_SHARED_CLIPBOARD_GUEST 167 167 VBoxClient_SOURCES += \ 168 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \169 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp168 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers.cpp \ 169 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp 170 170 ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 171 171 VBoxClient_DEFS += VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS_HTTP 172 172 VBoxClient_SOURCES += \ 173 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp173 $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-transfers-http.cpp 174 174 endif 175 175 ifdef VBOX_WITH_SHARED_CLIPBOARD_FUSE … … 177 177 # @todo Make this dynamic loading more generic. 178 178 VBoxClient_SOURCES += \ 179 $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount/fuse.cpp \180 clipboard-fuse.cpp179 $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount/fuse.cpp \ 180 clipboard-fuse.cpp 181 181 # @todo Ditto. 182 182 VBoxClient_INCS += \ 183 $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount183 $(PATH_ROOT)/src/VBox/ImageMounter/vboximg-mount 184 184 endif 185 185 endif … … 189 189 if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris) 190 190 191 # Set this in LocalConfig.kmk if you are working on the X11 clipboard service192 # to automatically run the unit test at build time.193 # OTHERS += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run191 # 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 194 194 195 195 PROGRAMS += tstSeamlessX11-auto 196 196 tstSeamlessX11-auto_TEMPLATE = VBoxR3TstExe 197 197 tstSeamlessX11-auto_SOURCES = \ 198 199 198 testcase/tstSeamlessX11-auto.cpp \ 199 seamless-x11.cpp 200 200 tstSeamlessX11-auto_DEFS = TESTCASE 201 201 tstSeamlessX11-auto_LIBS = \ 202 202 $(LIB_RUNTIME) 203 203 204 204 TESTING += $(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto 205 $$(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run: \206 205 $$(tstSeamlessX11-auto_0_OUTDIR)/tstSeamlessX11-auto.run: \ 206 $$(tstSeamlessX11-auto_1_STAGE_TARGET) 207 207 export VBOX_LOG_DEST=nofile; $(tstSeamlessX11-auto_1_STAGE_TARGET) quiet 208 208 $(QUIET)$(APPEND) -t "$@" "done" … … 216 216 tstSeamlessX11_TEMPLATE = VBoxR3TstExe 217 217 tstSeamlessX11_SOURCES = \ 218 219 220 218 testcase/tstSeamlessX11.cpp \ 219 seamless.cpp \ 220 seamless-x11.cpp 221 221 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 222 222 tstSeamlessX11_DEFS += VBOX_BUILD_TARGET="$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" … … 225 225 endif 226 226 tstSeamlessX11_LIBPATH = \ 227 227 $(VBOX_LIBPATH_X11) 228 228 tstSeamlessX11_LIBS = \ 229 230 231 232 229 $(LIB_RUNTIME) \ 230 Xext \ 231 Xmu \ 232 X11 233 233 endif 234 234 endif -
trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk
r98214 r98416 48 48 vboxmouse_drv_DEFS.amd64 += _XSERVER64 49 49 vboxmouse_drv_DEFS += \ 50 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_MODULE50 _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 57 57 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) 63 63 vboxmouse_drv_SOURCES = \ 64 vboxmouse.c64 vboxmouse.c 65 65 # Any global symbols in the driver object files will be added to XFree86's 66 66 # symbol table, which can cause problems if we e.g. define a symbol in two 67 67 # modules. 68 68 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) 71 71 endif 72 72 … … 157 157 158 158 159 ifneq ($(KBUILD_TARGET), 160 161 #162 # vboxmouse_drv_17163 #164 DLLS += vboxmouse_drv_17165 vboxmouse_drv_17_TEMPLATE = VBoxGuestR3XOrgMod166 vboxmouse_drv_17_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC167 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.c173 174 175 #176 # vboxmouse_drv_18177 #178 DLLS += vboxmouse_drv_18179 vboxmouse_drv_18_TEMPLATE = VBoxGuestR3XOrgMod180 vboxmouse_drv_18_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC181 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.c187 188 189 #190 # vboxmouse_drv_19191 #192 DLLS += vboxmouse_drv_19193 vboxmouse_drv_19_TEMPLATE = VBoxGuestR3XOrgMod194 vboxmouse_drv_19_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC195 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.c201 202 203 #204 # vboxmouse_drv_110205 #206 DLLS += vboxmouse_drv_110207 vboxmouse_drv_110_TEMPLATE = VBoxGuestR3XOrgMod208 vboxmouse_drv_110_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC209 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.c215 216 DLLS += vboxmouse_drv_111217 vboxmouse_drv_111_TEMPLATE = VBoxGuestR3XOrgMod218 vboxmouse_drv_111_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC219 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.c225 226 DLLS += vboxmouse_drv_112227 vboxmouse_drv_112_TEMPLATE = VBoxGuestR3XOrgMod228 vboxmouse_drv_112_DEFS := $(vboxmouse_drv_70_DEFS) NO_ANSIC229 vboxmouse_drv_112_INCS := \230 231 $(VBOX_PATH_X11_ROOT)/xorg-server-1.12.0 \232 $(PATH_SUB_CURRENT)233 vboxmouse_drv_112_SOURCES = \234 vboxmouse.c159 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 235 235 236 236 endif # neq ($(KBUILD_TARGET),linux) … … 249 249 250 250 ifdef VBOX_WITH_TESTCASES 251 # ifndef VBOX_ONLY_ADDITIONS251 # ifndef VBOX_ONLY_ADDITIONS 252 252 ifndef VBOX_USE_SYSTEM_XORG_HEADERS 253 253 ifeq ($(KBUILD_TARGET),linux) … … 259 259 TESTING += $(vboxmouse_drv_0_OUTDIR)/tstvboxmouse68.run 260 260 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) 262 262 $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<) 263 263 $(QUIET)/bin/sh $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \ … … 266 266 endif 267 267 268 ##269 # Using the extra expansion to replace $(ver) before eval, thus everything270 # else needs escaped dollars.268 ## 269 # Using the extra expansion to replace $(ver) before eval, thus everything 270 # else needs escaped dollars. 271 271 define def_vboxmouse_test 272 272 TESTING += $$(vboxmouse_drv$(ver)_0_OUTDIR)/tstvboxmouse$(ver).run … … 277 277 $$(vboxmouse_drv$(ver)_1_STAGE_TARGET) $$(VBOXMOUSE_SRC_PATH)/../undefined_xfree86 $(VBOXMOUSE_SRC_PATH)/../undefined_xfree86_modules $$(VBOXMOUSE_SRC_PATH)/../undefined_xorg 278 278 $$(QUIET)$$(APPEND) -t "$$@" "done" 279 endef279 endef 280 280 281 281 $(foreach ver, _70 _71 _13 _14 _15 _16, $(eval $(def_vboxmouse_test))) 282 282 283 ifneq ($(KBUILD_TARGET), 283 ifneq ($(KBUILD_TARGET),linux) 284 284 $(foreach ver, _17 _18 _19 _110 _111 _112 _113, $(eval $(def_vboxmouse_test))) 285 285 … … 290 290 endif # eq ($(KBUILD_TARGET),linux) 291 291 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS 292 # endif # ! VBOX_ONLY_ADDITIONS292 # endif # ! VBOX_ONLY_ADDITIONS 293 293 endif # VBOX_WITH_TESTCASES 294 294 -
trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk
r98214 r98416 121 121 vbva.c \ 122 122 $(vboxvideo_drv_lib_SOURCES) 123 124 125 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. 126 vboxvideo_drv_POST_CMDS = \ 127 127 objcopy --keep-global-symbol vboxvideoModuleData $(out) $(out)-objcopy$$(NLTAB) \ 128 128 $(MV) -f $(out)-objcopy $(out) … … 221 221 $(vboxvideo_xorg_INCS) \ 222 222 $(VBOX_PATH_X11_ROOT)/xorg-server-1.6.5 \ 223 vboxvideo_drv_16_INCS += $(PATH_ROOT)/src/VBox/Runtime/include223 vboxvideo_drv_16_INCS += $(PATH_ROOT)/src/VBox/Runtime/include 224 224 vboxvideo_drv_16_SOURCES := $(vboxvideo_drv_15_SOURCES) 225 225 vboxvideo_drv_16_LIBS += $(vboxvideo_drv_70_LIBS) … … 411 411 vboxvideo_drv_system_TEMPLATE = VBoxGuestR3XOrgMod 412 412 vboxvideo_drv_system_CFLAGS := \ 413 413 $(vboxvideo_drv_70_CFLAGS) -include xorg-server.h 414 414 vboxvideo_drv_system_DEFS := $(filter-out _XORG_SERVER_H_ _DIX_CONFIG_H_, $(vboxvideo_15_DEFS)) 415 415 vboxvideo_drv_system_INCS += \ 416 417 418 419 416 $(PATH_ROOT)/src/VBox/Runtime/include \ 417 $(VBOX_GRAPHICS_INCS) \ 418 /usr/include/xorg \ 419 /usr/include/pixman-1 420 420 vboxvideo_drv_system_SOURCES := $(vboxvideo_drv_17_SOURCES) 421 421 endif … … 426 426 427 427 ifdef VBOX_WITH_TESTCASES 428 # ifndef VBOX_ONLY_ADDITIONS428 # ifndef VBOX_ONLY_ADDITIONS 429 429 ifndef VBOX_USE_SYSTEM_XORG_HEADERS 430 if1of ($(KBUILD_TARGET), linux solaris)430 if1of ($(KBUILD_TARGET), linux solaris) 431 431 ifeq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH)) 432 432 ifndef VBOX_ONLY_SDK … … 436 436 TESTING += $(vboxvideo_drv_0_OUTDIR)/tstvboxvideo68.run 437 437 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) 439 439 $(QUIET)$(call MSG_L1,Checking for unresolved symbols in $<) 440 440 $(QUIET)$(ASH) $(PATH_ROOT)/src/bldprogs/checkUndefined.sh $(KBUILD_HOST) \ … … 443 443 endif 444 444 445 ##446 # Using the extra expansion to replace $(ver) before eval, thus everything447 # else needs escaped dollars.445 ## 446 # Using the extra expansion to replace $(ver) before eval, thus everything 447 # else needs escaped dollars. 448 448 define def_vboxvideo_test 449 449 TESTING += $$(vboxvideo_drv$(ver)_0_OUTDIR)/tstvboxvideo$(ver).run … … 454 454 $$(vboxvideo_drv$(ver)_1_STAGE_TARGET) $$(VBOXVIDEO_SRC_PATH)/../undefined_xfree86 $(VBOXVIDEO_SRC_PATH)/../undefined_xfree86_modules $$(VBOXVIDEO_SRC_PATH)/../undefined_xorg 455 455 $$(QUIET)$$(APPEND) -t "$$@" "done" 456 endef457 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))) 459 459 460 460 endif # ! VBOX_ONLY_SDK … … 462 462 endif # 1of ($(KBUILD_TARGET),linux solaris) 463 463 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS 464 # endif # ! VBOX_ONLY_ADDITIONS464 # endif # ! VBOX_ONLY_ADDITIONS 465 465 endif # VBOX_WITH_TESTCASES 466 466
Note:
See TracChangeset
for help on using the changeset viewer.