VirtualBox

source: vbox/trunk/src/VBox/Devices/Makefile.kmk@ 87812

Last change on this file since 87812 was 87804, checked in by vboxsync, 4 years ago

HDA/Codec: Codec now also can run in R0 to speed up interrupt handling and therefore lowering DPC latency on Windows guests [build fix, forgot a file]. ticketoem2ref:36

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 53.3 KB
Line 
1# $Id: Makefile.kmk 87804 2021-02-19 11:53:05Z vboxsync $
2## @file
3# Top-level sub-makefile for the devices, drivers and services.
4#
5
6#
7# Copyright (C) 2006-2020 Oracle Corporation
8#
9# This file is part of VirtualBox Open Source Edition (OSE), as
10# available from http://www.virtualbox.org. This file is free software;
11# you can redistribute it and/or modify it under the terms of the GNU
12# General Public License (GPL) as published by the Free Software
13# Foundation, in version 2 as it comes in the "COPYING" file of the
14# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
15# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18SUB_DEPTH = ../../..
19include $(KBUILD_PATH)/subheader.kmk
20
21# Make sure our Config.kmk is included.
22ifndef VBOX_DEVICES_CONFIG_KMK_INCLUDED
23 include $(PATH_SUB_CURRENT)/Config.kmk
24endif
25
26# Include sub-makefiles.
27if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
28 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
29 include $(PATH_SUB_CURRENT)/Audio/testcase/Makefile.kmk
30 include $(PATH_SUB_CURRENT)/Input/testcase/Makefile.kmk
31 ifdef VBOX_WITH_TESTCASES
32 include $(PATH_SUB_CURRENT)/Samples/Makefile.kmk
33 endif
34 if defined(VBOX_WITH_INTEL_PXE) || defined(VBOX_ONLY_EXTPACKS)
35 include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
36 else if defined(VBOX_WITH_PXE_ROM)
37 if !defined(VBOX_WITHOUT_IPXE)
38 include $(PATH_SUB_CURRENT)/PC/ipxe/Makefile.kmk
39 endif
40 endif
41endif
42if !defined(VBOX_ONLY_EXTPACKS)
43 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
44 include $(PATH_SUB_CURRENT)/BiosCommonCode/Makefile.kmk
45 include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
46 include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
47 endif
48
49 #
50 # Main targets.
51 #
52 if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
53 LIBRARIES += ServicesR0
54 DLLS += VBoxDDU VBoxDD VBoxDD2
55 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += VBoxDDR0
56 ifdef VBOX_WITH_RAW_MODE
57 SYSMODS += VBoxDDRC
58 endif
59 else
60 DLLS += VBoxDDU
61 endif
62
63
64 #
65 # VBoxDDU (shared object)
66 #
67 VBoxDDU_TEMPLATE = VBoxR3DllWarnNoPic
68 VBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
69 VBoxDDU_INST.darwin = $(INST_DLL) $(INST_TESTCASE)
70 VBoxDDU_DEFS = IN_VBOXDDU
71 if defined(VBOX_WITH_VUSB) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
72 VBoxDDU_DEFS += VBOX_WITH_VUSB
73 endif
74 if defined(VBOX_WITH_USB) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
75 VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
76 VBoxDDU_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
77 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
78 VBoxDDU_DEFS += VBOX_WITH_EHCI_IMPL
79 endif
80 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
81 VBoxDDU_DEFS += VBOX_WITH_XHCI_IMPL
82 endif
83 else
84 VBoxDDU_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK)
85 endif
86 VBoxDDU_SOURCES = \
87 Storage/VSCSI/VSCSIDevice.cpp \
88 Storage/VSCSI/VSCSILun.cpp \
89 Storage/VSCSI/VSCSILunSbc.cpp \
90 Storage/VSCSI/VSCSILunMmc.cpp \
91 Storage/VSCSI/VSCSISense.cpp \
92 Storage/VSCSI/VSCSIIoReq.cpp \
93 Storage/VSCSI/VSCSIVpdPagePool.cpp \
94 build/VBoxDDUDeps.cpp
95
96 ifdef VBOX_WITH_VSCSI_SSC
97 VBoxDDU_SOURCES += Storage/VSCSI/VSCSILunSsc.cpp
98 VBoxDDU_DEFS += VBOX_WITH_VSCSI_SSC
99 endif
100 VBoxDDU_LIBS = \
101 $(LIB_RUNTIME) \
102 $(PATH_STAGE_LIB)/StorageLib$(VBOX_SUFF_LIB)
103 VBoxDDU_LIBS.freebsd += \
104 geom
105 VBoxDDU_LIBS.solaris += \
106 efi
107 if defined(VBOX_WITH_USB) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
108 VBoxDDU_LIBS += \
109 $(PATH_STAGE_LIB)/USBLib$(VBOX_SUFF_LIB)
110 VBoxDDU_LIBS.win += \
111 $(PATH_STAGE_LIB)/VBoxDrvCfg$(VBOX_SUFF_LIB) \
112 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/Newdev.lib
113 endif
114 VBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib
115 if defined(VBOX_WITH_USB) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
116 VBoxDDU_LDFLAGS.darwin += -framework IOKit
117 endif
118
119 VBoxDDU_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
120 $(call VBOX_SET_VER_INFO_DLL,VBoxDDU,VirtualBox VMM Devices and Drivers Utilities)
121
122
123endif # VBOX_ONLY_EXTPACKS
124if !defined(VBOX_ONLY_EXTPACKS) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != "" # Goes on almost to the end of the file.
125
126
127 #
128 # VBoxDD (shared object)
129 #
130 if "$(KBUILD_TARGET)" != "win" && $(VBOX_GCC_VERSION_CXX) < 40600
131 #
132 # Disable "ISO C++ prohibits anonymous structs [-Werror=pedantic]" caused by Mesa VMSVGA driver headers
133 # For GCC >= 4.6.0 the warning is disabled in DevVGA_SVGA.h
134 #
135 # Template used for gcc older than 4.6. (Strips away compiler options.)
136 #
137 TEMPLATE_VBoxDDOldGCC := VBoxDDOldGCC
138 TEMPLATE_VBoxDDOldGCC_EXTENDS := VBoxR3DllWarnNoPic
139 TEMPLATE_VBoxDDOldGCC_CXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxDDOldGCC_EXTENDS)_CXXFLAGS))
140
141 VBoxDD_TEMPLATE = VBoxDDOldGCC
142 else
143 VBoxDD_TEMPLATE = VBoxR3DllWarnNoPic
144 endif
145 VBoxDD_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
146 Storage/DrvHostDVD.cpp_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK)
147 VBoxDD_INCS = \
148 build \
149 Network/slirp \
150 $(VBOX_GRAPHICS_INCS)
151 VBoxDD_DEFS = \
152 VBOX_HGCM_HOST_CODE \
153 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \
154 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \
155 VBOX_WITH_DMI_CHASSIS \
156 VBOX_WITH_DMI_OEMSTRINGS \
157 $(if $(VBOX_WITH_IOMMU_AMD),VBOX_WITH_IOMMU_AMD,)
158 VBoxDD_DEFS.win = _WIN32_WINNT=0x0510
159 ifeq ($(KBUILD_TARGET_ARCH),x86)
160 VBoxDD_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
161 endif
162 VBoxDD_SOURCES = \
163 build/VBoxDD.cpp \
164 \
165 Input/DevPS2.cpp \
166 Input/DevPS2K.cpp \
167 Input/DevPS2M.cpp \
168 Input/UsbKbd.cpp \
169 Input/UsbMouse.cpp \
170 Bus/DevPCI.cpp \
171 Bus/DevPciIch9.cpp \
172 Bus/MsiCommon.cpp \
173 Bus/MsixCommon.cpp \
174 $(if $(VBOX_WITH_IOMMU_AMD),Bus/DevIommuAmd.cpp,) \
175 EFI/DevSmc.cpp \
176 EFI/DevFlash.cpp \
177 EFI/FlashCore.cpp \
178 Graphics/DevVGA.cpp \
179 Storage/DevATA.cpp \
180 PC/DevPit-i8254.cpp \
181 PC/DevPIC.cpp \
182 PC/DevACPI.cpp \
183 PC/ACPI/VBoxAcpi.cpp \
184 PC/DevRTC.cpp \
185 PC/DevPcBios.cpp \
186 PC/DevFwCommon.cpp \
187 PC/DevPcArch.cpp \
188 PC/DevQemuFwCfg.cpp \
189 PC/DevLpc.cpp \
190 GIMDev/GIMDev.cpp \
191 GIMDev/DrvUDP.cpp \
192 VMMDev/VMMDev.cpp \
193 $(if $(VBOX_WITH_HGCM),VMMDev/VMMDevHGCM.cpp,) \
194 VMMDev/VMMDevTesting.cpp \
195 Network/DevPCNet.cpp \
196 PC/DevDMA.cpp \
197 PC/DevHPET.cpp \
198 PC/DevIoApic.cpp \
199 Storage/DevFdc.cpp \
200 Parallel/DevParallel.cpp \
201 \
202 Input/DrvKeyboardQueue.cpp \
203 Input/DrvMouseQueue.cpp \
204 Network/DrvIntNet.cpp \
205 Network/DrvDedicatedNic.cpp \
206 PC/DrvACPI.cpp \
207 PC/DrvAcpiCpu.cpp \
208 Serial/DevSerial.cpp \
209 Serial/DevOxPcie958.cpp \
210 Serial/UartCore.cpp \
211 Serial/DrvChar.cpp \
212 Serial/DrvHostSerial.cpp \
213 Serial/DrvNamedPipe.cpp \
214 Serial/DrvTCP.cpp \
215 Serial/DrvRawFile.cpp \
216 Storage/Debug.cpp \
217 Storage/DrvVD.cpp \
218 Storage/ATAPIPassthrough.cpp \
219 Storage/IOBufMgmt.cpp \
220 Network/DrvNetSniffer.cpp \
221 Network/Pcap.cpp \
222 Trace/DrvIfsTrace.cpp \
223 Trace/DrvIfsTrace-serial.cpp
224 ifn1of ($(KBUILD_TARGET), os2)
225 VBoxDD_SOURCES += Storage/DrvHostBase.cpp
226 endif
227 ifn1of ($(KBUILD_TARGET), os2)
228 VBoxDD_SOURCES += Storage/DrvHostDVD.cpp
229 endif
230 ifn1of ($(KBUILD_TARGET), darwin freebsd os2 solaris)
231 VBoxDD_SOURCES += Storage/DrvHostFloppy.cpp
232 endif
233
234
235 ifn1of ($(KBUILD_TARGET), darwin)
236 VBoxDD_SOURCES += Storage/HBDMgmt-generic.cpp
237 endif
238
239 VBoxDD_SOURCES.darwin += \
240 Storage/HBDMgmt-darwin.cpp \
241 Storage/DrvHostBase-darwin.cpp
242
243 VBoxDD_SOURCES.freebsd += \
244 Storage/DrvHostBase-freebsd.cpp
245
246 VBoxDD_SOURCES.linux += \
247 Storage/DrvHostBase-linux.cpp
248
249 VBoxDD_SOURCES.solaris += \
250 Storage/DrvHostBase-solaris.cpp
251
252 VBoxDD_SOURCES.win += \
253 Storage/DrvHostBase-win.cpp
254
255 #VBoxDD_SOURCES.win += Storage/HBDMgmt-win.cpp #Disabled until remaining issues are sorted out
256
257 VBoxDD_LIBS = # more later.
258 VBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \
259 -framework CoreAudio \
260 -framework AudioUnit \
261 -framework AudioToolbox \
262 -framework IOKit \
263 -framework Carbon \
264 -framework DiskArbitration \
265 -framework SystemConfiguration \
266 -framework AVFoundation \
267 -framework Foundation
268 VBoxDD_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
269
270 # --- Tracing bits. ---
271
272 ifdef VBOX_WITH_DTRACE_R3
273 VBoxDD_DEFS += VBOX_WITH_DTRACE
274 VBoxDD_USES += dtrace
275 VBoxDD_SOURCES += build/VBoxDD.d
276 endif
277
278 # --- Graphics bits. ---
279
280 ifdef VBOXWDDM_TEST_UHGSMI
281 VBoxDD_DEFS += VBOXWDDM_TEST_UHGSMI
282 endif
283 ifdef VBOXWDDM_WITH_VBVA
284 VBoxDD_DEFS += VBOXWDDM_WITH_VBVA
285 endif
286 ifdef VBOX_WITH_VIDEOHWACCEL
287 VBoxDD_DEFS += VBOX_WITH_VIDEOHWACCEL
288 endif
289
290 ifdef VBOX_WITH_HGSMI
291 VBoxDD_DEFS += VBOX_WITH_HGSMI
292 VBoxDD_SOURCES += \
293 Graphics/DevVGA_VBVA.cpp \
294 Graphics/HGSMI/HGSMIHost.cpp
295 VBoxDD_LIBS += \
296 $(PATH_STAGE_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB)
297 endif
298
299 ifdef VBOX_WITH_WDDM
300 VBoxDD_DEFS += VBOX_WITH_WDDM
301 VBoxDD_SOURCES += \
302 Graphics/HGSMI/SHGSMIHost.cpp
303 endif
304
305 ifdef VBOX_WITH_VMSVGA
306 VBoxDD_DEFS += VBOX_WITH_VMSVGA
307 VBoxDD_INCS += $(VBOX_PATH_VMSVGA_DEVICE_INC)
308 VBoxDD_SOURCES += \
309 Graphics/DevVGA-SVGA.cpp \
310 Graphics/DevVGA-SVGA-cmd.cpp
311 endif
312 ifdef VBOX_WITH_VMSVGA3D
313 if1of ($(KBUILD_TARGET), linux win)
314# Dynamically load 3D library (opengl32, libGL).
315# This is a temporary solution. In future the 3D backend will be in a separate library.
316VBOX_WITH_VMSVGA3D_DYNAMIC_LOAD = 1
317 endif
318 VBoxDD_DEFS += VBOX_WITH_VMSVGA3D
319 VBoxDD_SOURCES += \
320 Graphics/DevVGA-SVGA3d.cpp \
321 Graphics/DevVGA-SVGA3d-hlp.cpp \
322 Graphics/DevVGA-SVGA3d-info.cpp \
323 Graphics/DevVGA-SVGA3d-shared.cpp \
324 Graphics/DevVGA-SVGA3d-savedstate.cpp
325 if "$(KBUILD_TARGET)" == "win" && !defined(VBOX_WITH_VMSVGA3D_USE_OPENGL)
326 ifdef VBOX_WITH_VMSVGA3D_DX
327 VBoxDD_DEFS += VMSVGA3D_DX
328 VBoxDD_SOURCES += \
329 Graphics/DevVGA-SVGA3d-win-dx.cpp
330 else
331 VBoxDD_DEFS += VMSVGA3D_DIRECT3D
332 VBoxDD_SOURCES += \
333 Graphics/DevVGA-SVGA3d-win.cpp \
334 Graphics/DevVGA-SVGA3d-win-d3d9.cpp
335 VBoxDD_LIBS.win += d3d9.lib $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
336 VBoxDD_LDFLAGS.win += /DELAYLOAD:d3d9.dll
337 endif
338 else
339 VBoxDD_DEFS += VMSVGA3D_OPENGL
340 VBoxDD_SOURCES += \
341 Graphics/DevVGA-SVGA3d-ogl.cpp \
342 Graphics/DevVGA-SVGA3d-glHlp.cpp \
343 $(VBoxDD_0_OUTDIR)/VBoxSVGA3DLazyLoad.asm
344 VBoxDD_SOURCES.darwin += \
345 $(VBoxDD_0_OUTDIR)/VBoxSVGA3DObjCLazyLoad.asm
346 VBoxDD_CLEAN += $(VBoxDD_0_OUTDIR)/VBoxSVGA3DLazyLoad.asm
347 $$(VBoxDD_0_OUTDIR)/VBoxSVGA3DLazyLoad.asm: $(PATH_SUB_CURRENT)/Graphics/VBoxSVGA3D.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
348 $(call MSG_TOOL,VBoxDef2LazyLoad,VBoxDD,$(filter %.def, $^),$@)
349 $(QUIET)$(RM) -f -- "$@"
350 $(VBOX_DEF_2_LAZY_LOAD) --explicit-load-function --library VBoxSVGA3D --output "$@" $(filter %.def, $^)
351 $$(VBoxDD_0_OUTDIR)/VBoxSVGA3DObjCLazyLoad.asm: $(PATH_SUB_CURRENT)/Graphics/VBoxSVGA3DObjC.def $(VBOX_DEF_2_LAZY_LOAD) | $$(dir $$@)
352 $(call MSG_TOOL,VBoxDef2LazyLoad,VBoxDD,$(filter %.def, $^),$@)
353 $(QUIET)$(RM) -f -- "$@"
354 $(VBOX_DEF_2_LAZY_LOAD) --explicit-load-function --library VBoxSVGA3DObjC --output "$@" $(filter %.def, $^)
355
356 ifdef VBOX_WITH_VMSVGA3D_DYNAMIC_LOAD
357 VBoxDD_DEFS += VMSVGA3D_DYNAMIC_LOAD
358 VBoxDD_SOURCES += \
359 Graphics/DevVGA-SVGA3d-glLdr.cpp
360 else
361 VBoxDD_LIBS.linux += X11 GL
362 VBoxDD_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
363 endif
364 VBoxDD_LDFLAGS.darwin += -framework OpenGL
365 VBoxDD_DEFS.darwin += VBOX_VMSVGA3D_DUAL_OPENGL_PROFILE
366 if 0 # Use the OpenGL 3.2 Core profile (see also VBoxSVGA3D_DEFS.darwin and VBoxSVGA3DObjC_DEFS.darwin).
367 VBoxDD_DEFS.darwin += VBOX_VMSVGA3D_DEFAULT_OGL_PROFILE=3.2 VBOX_VMSVGA3D_OTHER_OGL_PROFILE=2.1
368 else
369 VBoxDD_DEFS.darwin += VBOX_VMSVGA3D_DEFAULT_OGL_PROFILE=2.1 VBOX_VMSVGA3D_OTHER_OGL_PROFILE=3.2
370 endif
371 endif
372 if1of ($(VBOX_DEF_MACOSX_VERSION_MIN), 10.6 10.5 10.4)
373 Graphics/DevVGA-SVGA3d.cpp_CXXFLAGS.darwin = -F$(VBOX_PATH_MACOSX_SDK_10_7)/System/Library/Frameworks/
374 Graphics/DevVGA-SVGA3d-info.cpp_CXXFLAGS.darwin = -F$(VBOX_PATH_MACOSX_SDK_10_7)/System/Library/Frameworks/
375 Graphics/DevVGA-SVGA3d-shared.cpp_CXXFLAGS.darwin = -F$(VBOX_PATH_MACOSX_SDK_10_7)/System/Library/Frameworks/
376 Graphics/DevVGA-SVGA3d-savedstate.cpp_CXXFLAGS.darwin = -F$(VBOX_PATH_MACOSX_SDK_10_7)/System/Library/Frameworks/
377 Graphics/DevVGA-SVGA3d-ogl.cpp_CXXFLAGS.darwin = -F$(VBOX_PATH_MACOSX_SDK_10_7)/System/Library/Frameworks/
378 else if1of ($(VBOX_DEF_MACOSX_VERSION_MIN), 10.14 10.15 10.16 11.0)
379 Graphics/DevVGA-SVGA3d-ogl.cpp_CXXFLAGS.darwin = $(VBOX_GCC_Wno-deprecated-declarations)
380 endif
381 endif
382
383 ifdef VBOX_WITH_VDMA
384 VBoxDD_DEFS += VBOX_WITH_VDMA
385 VBoxDD_SOURCES += \
386 Graphics/DevVGA_VDMA.cpp
387 endif
388
389 ifdef VBOX_WITH_PXE_ROM
390 VBoxDD_DEFS += VBOX_WITH_PXE_ROM
391 endif
392
393 # --- USB bits. ---
394
395 ifdef VBOX_WITH_USB
396 VBoxDD_DEFS += VBOX_WITH_USB
397 VBoxDD_SOURCES += \
398 USB/vrdp/USBProxyDevice-vrdp.cpp \
399 USB/usbip/USBProxyDevice-usbip.cpp
400
401 VBoxDD_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
402 VBoxDD_SOURCES.darwin += \
403 USB/USBProxyDevice.cpp \
404 USB/darwin/USBProxyDevice-darwin.cpp
405# if1of ($(VBOX_DEF_MACOSX_VERSION_MIN), 10.9) # Hack, shouldn't be needed
406# USB/darwin/USBProxyDevice-darwin.cpp_SDKS = MACOSX1010
407# endif
408
409 VBoxDD_DEFS.linux += \
410 VUSB_HAVE_USBPROXY_DEVICE \
411 $(if $(VBOX_WITH_LINUX_COMPILER_H),VBOX_WITH_LINUX_COMPILER_H,) \
412 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,)
413 VBoxDD_SOURCES.linux += \
414 USB/USBProxyDevice.cpp \
415 USB/linux/USBProxyDevice-linux.cpp
416
417 VBoxDD_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
418 VBoxDD_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
419 VBoxDD_SOURCES.os2 += \
420 USB/USBProxyDevice.cpp \
421 USB/os2/USBProxyDevice-os2.cpp
422
423 VBoxDD_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
424 VBoxDD_SOURCES.win += \
425 USB/USBProxyDevice.cpp \
426 USB/win/USBProxyDevice-win.cpp
427
428 VBoxDD_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
429 VBoxDD_SOURCES.solaris+= \
430 USB/USBProxyDevice.cpp \
431 USB/solaris/USBProxyDevice-solaris.cpp
432
433 VBoxDD_DEFS.freebsd += VUSB_HAVE_USBPROXY_DEVICE
434 VBoxDD_SOURCES.freebsd+= \
435 USB/USBProxyDevice.cpp \
436 USB/freebsd/USBProxyDevice-freebsd.cpp
437
438 ifdef VBOX_WITH_SCSI
439 VBoxDD_SOURCES += \
440 Storage/UsbMsd.cpp
441 endif
442
443 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
444 VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL
445 VBoxDD_SOURCES += \
446 USB/DevEHCI.cpp
447 endif
448
449 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
450 VBoxDD_DEFS += VBOX_WITH_XHCI_IMPL
451 VBoxDD_SOURCES += \
452 USB/DevXHCI.cpp
453 endif
454
455 if defined(VBOX_WITH_USB_VIDEO_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
456 if1of ($(KBUILD_TARGET), linux)
457 VBoxDD_DEFS += VBOX_WITH_USB_VIDEO_IMPL
458 VBoxDD_SOURCES += \
459 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/UsbWebcam.cpp \
460 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/UsbWebcamDesc.cpp \
461 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/jpggen.cpp \
462 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/DrvHostWebcam.cpp \
463 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/JPEGEnc.cpp
464 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/JPEGEnc.cpp_INCS = \
465 $(VBOX_JPEG_INCS)
466 VBoxDD_SOURCES.linux += \
467 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/HostWebcam-v4l2.cpp
468 VBoxDD_LIBS += \
469 $(PATH_STAGE_LIB)/VBox-libjpeg$(VBOX_SUFF_LIB)
470 endif
471 endif
472
473 endif # VBOX_WITH_USB
474
475 ifdef VBOX_WITH_VUSB
476 VBoxDD_DEFS += VBOX_WITH_VUSB
477 VBoxDD_SOURCES += \
478 USB/DevOHCI.cpp \
479 USB/DrvVUSBRootHub.cpp \
480 USB/VUSBDevice.cpp \
481 USB/VUSBSniffer.cpp \
482 USB/VUSBSnifferPcapNg.cpp \
483 USB/VUSBSnifferUsbMon.cpp \
484 USB/VUSBSnifferVmx.cpp \
485 USB/VUSBUrb.cpp \
486 USB/VUSBUrbPool.cpp \
487 USB/VUSBUrbTrace.cpp
488 endif
489
490 # --- Networking bits. ---
491
492 ifdef VBOX_WITH_INIP
493 ifndef LWIP_SOURCES
494 include $(PATH_SUB_CURRENT)/Network/lwip-new/Config.kmk
495 endif
496 VBoxDD_DEFS += VBOX_WITH_INIP
497 VBoxDD_SOURCES += \
498 Network/DevINIP.cpp \
499 $(addprefix Network/lwip-new/,$(LWIP_SOURCES))
500 VBoxDD_INCS += \
501 Network \
502 $(addprefix Network/lwip-new/,$(LWIP_INCS))
503 endif # VBOX_WITH_INIP
504
505 ifdef VBOX_WITH_E1000
506 VBoxDD_DEFS += VBOX_WITH_E1000
507 VBoxDD_SOURCES += \
508 Network/DevE1000.cpp \
509 Network/DevE1000Phy.cpp \
510 Network/DevEEPROM.cpp
511 endif
512
513 ifdef VBOX_WITH_VIRTIO
514 VBoxDD_DEFS += VBOX_WITH_VIRTIO
515 VBoxDD_SOURCES += \
516 VirtIO/Virtio.cpp \
517 VirtIO/VirtioCore.cpp \
518 Network/DevVirtioNet.cpp
519 endif
520
521 if defined(VBOX_WITH_VIRTIO) && defined(VBOX_WITH_VIRTIO_NET_1_0)
522 VBoxDD_DEFS += VBOX_WITH_VIRTIO_NET_1_0
523 VBoxDD_SOURCES += \
524 Network/DevVirtioNet_1_0.cpp
525endif
526
527 ifdef VBOX_WITH_UDPTUNNEL
528 VBoxDD_DEFS += VBOX_WITH_UDPTUNNEL
529 VBoxDD_SOURCES += \
530 Network/DrvUDPTunnel.cpp
531 endif
532
533 ifdef VBOX_WITH_VDE
534 VBoxDD_DEFS += VBOX_WITH_VDE
535 VBoxDD_SOURCES += \
536 Network/DrvVDE.cpp \
537 Network/VDEPlug.cpp
538 endif
539
540 ifdef VBOX_WITH_NETSHAPER
541 VBoxDD_DEFS += VBOX_WITH_NETSHAPER
542 VBoxDD_SOURCES += \
543 Network/DrvNetShaper.cpp
544 endif
545
546 # --- Storage bits. ---
547
548 ifdef VBOX_WITH_AHCI
549 VBoxDD_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
550 VBoxDD_SOURCES += \
551 Storage/DevAHCI.cpp
552 endif
553
554 ifdef VBOX_WITH_BUSLOGIC
555 VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
556 VBoxDD_SOURCES += \
557 Storage/DevBusLogic.cpp \
558 Storage/VBoxSCSI.cpp
559 endif
560
561 ifdef VBOX_WITH_LSILOGIC
562 VBoxDD_DEFS += VBOX_WITH_LSILOGIC
563 VBoxDD_SOURCES += \
564 Storage/DevLsiLogicSCSI.cpp
565 endif
566
567 if defined(VBOX_WITH_NVME_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
568 VBoxDD_DEFS += VBOX_WITH_NVME_IMPL
569 VBoxDD_SOURCES += \
570 Storage/DevNVMe.cpp
571 endif
572
573 if defined(VBOX_WITH_VIRTIO) && defined(VBOX_WITH_VIRTIO_SCSI)
574 VBoxDD_DEFS += VBOX_WITH_VIRTIO_SCSI
575 VBoxDD_SOURCES += \
576 Storage/DevVirtioSCSI.cpp
577 endif
578
579 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
580 VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
581 endif
582
583 ifdef VBOX_WITH_SCSI
584 VBoxDD_DEFS += VBOX_WITH_SCSI
585 VBoxDD_SOURCES += \
586 Storage/DrvSCSI.cpp
587 endif
588
589 ifdef VBOX_WITH_ISCSI
590 $(eval $(call def_vbox_lwip_flags, \
591 VBoxDD, Storage/DrvVD.cpp, Network/lwip-new))
592 endif
593
594 ifdef VBOX_WITH_DRV_DISK_INTEGRITY
595 VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY
596 VBoxDD_SOURCES += \
597 Storage/DrvDiskIntegrity.cpp \
598 Storage/DrvRamDisk.cpp
599 endif
600
601 ifdef VBOX_WITH_EFI
602 VBoxDD_DEFS += VBOX_WITH_EFI
603 VBoxDD_SOURCES += EFI/DevEFI.cpp
604 EFI/DevEFI.cpp_INCS += EFI/Firmware/BaseTools/Source/C/Include
605 EFI/DevEFI.cpp_INCS.x86 += EFI/Firmware/BaseTools/Source/C/Include/Ia32
606 EFI/DevEFI.cpp_INCS.amd64 += EFI/Firmware/BaseTools/Source/C/Include/X64
607 EFI/DevEFI.cpp_INCS.arm32 += EFI/Firmware/BaseTools/Source/C/Include/Arm
608 EFI/DevEFI.cpp_INCS.arm64 += EFI/Firmware/BaseTools/Source/C/Include/Aarch64
609 endif
610
611 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
612 VBoxDD_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL
613 VBoxDD_SOURCES += \
614 Bus/DevPciRaw.cpp \
615 Bus/DrvPciRaw.cpp
616 endif
617
618 ifdef VBOX_WITH_MSI_DEVICES
619 VBoxDD_DEFS += VBOX_WITH_MSI_DEVICES
620 endif
621
622 ifdef VBOX_WITH_DYNAMIC_DSDT
623 VBoxDD_DEFS += VBOX_WITH_DYNAMIC_DSDT
624 endif
625
626 # --- Audio bits (see also VBOX_AUDIO_DEFS in ./Config.kmk). ---
627
628 VBoxDD_DEFS += $(VBOX_AUDIO_DEFS)
629 VBoxDD_SOURCES += \
630 Audio/DevIchAc97.cpp \
631 Audio/DevSB16.cpp \
632 Audio/DevHDA.cpp \
633 Audio/DevHDACommon.cpp \
634 Audio/HDACodec.cpp \
635 Audio/HDAStream.cpp \
636 Audio/HDAStreamChannel.cpp \
637 Audio/HDAStreamMap.cpp \
638 Audio/HDAStreamPeriod.cpp \
639 Audio/AudioMixBuffer.cpp \
640 Audio/AudioMixer.cpp \
641 Audio/DrvAudio.cpp \
642 Audio/DrvAudioCommon.cpp \
643 Audio/DrvHostNullAudio.cpp
644
645 ifdef VBOX_WITH_AUDIO_DEBUG
646 VBoxDD_DEFS += VBOX_WITH_AUDIO_DEBUG
647 VBoxDD_SOURCES += \
648 Audio/DrvHostDebugAudio.cpp
649 endif
650
651 ifdef VBOX_WITH_AUDIO_VALIDATIONKIT
652 VBoxDD_DEFS += VBOX_WITH_AUDIO_VALIDATIONKIT
653 VBoxDD_SOURCES += \
654 Audio/DrvHostValidationKit.cpp
655 endif
656
657 ifeq ($(KBUILD_TARGET),darwin)
658 VBoxDD_SOURCES += \
659 Audio/DrvHostCoreAudio.cpp \
660 Audio/DrvHostCoreAudio-auth.mm
661 endif
662
663 ifeq ($(KBUILD_TARGET),win)
664 VBoxDD_SOURCES += \
665 Audio/DrvHostDSound.cpp
666 ifdef VBOX_WITH_AUDIO_MMNOTIFICATION_CLIENT
667 VBoxDD_SOURCES += \
668 Audio/VBoxMMNotificationClient.cpp
669 VBoxDD_DEFS += VBOX_WITH_AUDIO_MMNOTIFICATION_CLIENT
670 endif
671 endif
672
673 ifdef VBOX_WITH_AUDIO_OSS
674 VBoxDD_DEFS += VBOX_WITH_AUDIO_OSS
675 VBoxDD_SOURCES += \
676 Audio/DrvHostOSSAudio.cpp
677 endif
678
679 ifdef VBOX_WITH_AUDIO_ALSA
680 VBoxDD_DEFS += VBOX_WITH_AUDIO_ALSA
681 VBoxDD_SOURCES += \
682 Audio/DrvHostALSAAudio.cpp \
683 Audio/alsa_stubs.c
684 endif
685
686 ifdef VBOX_WITH_AUDIO_PULSE
687 VBoxDD_DEFS += VBOX_WITH_AUDIO_PULSE
688 VBoxDD_SOURCES += \
689 Audio/DrvHostPulseAudio.cpp \
690 Audio/pulse_stubs.c
691 endif
692
693 # --- WARNING! SLIRP MESS AHEAD! ;-) ---
694 VBOX_SLIRP_SOURCES = \
695 Network/DrvNAT.cpp \
696 Network/slirp/bootp.c \
697 Network/slirp/debug.c \
698 Network/slirp/ip_icmp.c \
699 Network/slirp/ip_input.c \
700 Network/slirp/ip_output.c \
701 Network/slirp/misc.c \
702 Network/slirp/sbuf.c \
703 Network/slirp/slirp.c \
704 Network/slirp/slirp_dns.c \
705 Network/slirp/socket.c \
706 Network/slirp/tcp_input.c \
707 Network/slirp/tcp_output.c \
708 Network/slirp/tcp_subr.c \
709 Network/slirp/tcp_timer.c \
710 Network/slirp/udp.c \
711 Network/slirp/hostres.c \
712 Network/slirp/dnsproxy/hash.c \
713 Network/slirp/tftp.c \
714 Network/slirp/dnsproxy/dnsproxy.c
715
716 ifeq ($(KBUILD_TARGET), win)
717 VBOX_SLIRP_SOURCES += Network/slirp/ip_icmpwin.c
718 else ifneq ($(KBUILD_TARGET),darwin)
719 # helper for debugging unprivileged
720# Network/slirp/ip_icmp.c_DEFS += VBOX_RAWSOCK_DEBUG_HELPER
721# VBOX_SLIRP_SOURCES += ../NetworkServices/NAT/getrawsock.c
722 endif
723
724 ifneq ($(KBUILD_TARGET), win)
725 VBOX_SLIRP_SOURCES += Network/slirp/resolv_conf_parser.c
726 endif
727
728 VBOX_SLIRP_BSD_ARCH = $(subst x86,i386,$(KBUILD_TARGET_ARCH))
729 VBOX_SLIRP_BSD_SOURCES += \
730 Network/slirp/bsd/kern/kern_mbuf.c \
731 Network/slirp/bsd/kern/uipc_mbuf.c \
732 Network/slirp/bsd/kern/uipc_mbuf2.c \
733 Network/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/in_cksum.c
734 VBOX_SLIRP_ALIAS_SOURCES = \
735 Network/slirp/libalias/alias.c \
736 Network/slirp/libalias/alias_db.c \
737 Network/slirp/libalias/alias_mod.c \
738 Network/slirp/libalias/alias_proxy.c \
739 Network/slirp/libalias/alias_ftp.c \
740 Network/slirp/libalias/alias_nbt.c \
741 Network/slirp/libalias/alias_util.c
742
743 # Enable VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER here for a while, then move to
744 # $(file)_DEFS or clean the code disabled with this definition.
745 VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER=1
746
747 # dump memory related operations.
748 Network/slirp/misc.c_DEFS += $(if $(VBOX_NAT_MEM_DEBUG),VBOX_NAT_MEM_DEBUG,)
749
750 VBoxDD_SOURCES += $(VBOX_SLIRP_SOURCES)
751 define def_vbox_slirp_cflags
752 $(file)_DEFS += \
753 $(if $(VBOX_WITH_SLIRP_MEMORY_CHECK),RTMEM_WRAP_TO_EF_APIS,) \
754 $(if $(VBOX_WITH_DEBUG_NAT_SOCKETS),VBOX_WITH_DEBUG_NAT_SOCKETS,) \
755 $(if $(VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER),VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER,) \
756 $(if $(VBOX_WITH_NAT_SEND2HOME),VBOX_WITH_NAT_SEND2HOME,) \
757 $(if $(VBOX_WITH_HIDDEN_TCPTEMPLATE),VBOX_WITH_HIDDEN_TCPTEMPLATE,) \
758 $(if $(VBOX_WITH_SLIRP_MT),VBOX_WITH_SLIRP_MT,)
759 $(file)_INCS += \
760 $(1)/slirp/bsd/sys \
761 $(1)/slirp/bsd/sys/sys \
762 $(1)/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/include \
763 $(1)/slirp/bsd/netinet \
764 $(1)/slirp \
765 $(1)/slirp/libalias
766 ifeq ($(KBUILD_TARGET),win)
767 $(file)_CFLAGS = -wd4018
768 else
769 $(file)_CFLAGS += -Wno-sign-compare -Wno-format -Wno-bad-function-cast
770 endif
771 endef
772
773 $(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
774
775 VBoxDD_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
776 define def_vbox_slirp_alias_cflags
777 $(file)_DEFS += VBOX_SLIRP_ALIAS \
778 $(if $(VBOX_WITH_DEBUG_LIBALIAS),VBOX_WITH_DEBUG_LIBALIAS,)
779 $(file)_INCS += \
780 $(1)/slirp/libalias \
781 $(1)/slirp \
782 $(1)/slirp/dnsproxy
783 ifneq ($(KBUILD_TARGET),win)
784 $(file)_CFLAGS += -Wno-shadow
785 endif
786 endef
787 $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
788 $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_alias_cflags, Network)))
789
790 VBOX_SLIRP_BSD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES.${KBUILD_TARGET_ARCH})
791 VBoxDD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES)
792 define def_vbox_slirp_bsd_cflags
793 $(file)_DEFS += VBOX_SLIRP_BSD
794 $(file)_INCS += $(1)/slirp/dnsproxy
795 endef
796 $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
797 $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_bsd_cflags, Network)))
798
799
800 # --- OS specific driver hacks. ---
801
802 ifeq ($(KBUILD_TARGET),freebsd)
803 VBoxDD_SOURCES.freebsd += Network/DrvTAP.cpp
804 endif # freebsd
805
806 VBoxDD_SOURCES.linux += \
807 Network/DrvTAP.cpp \
808 Parallel/DrvHostParallel.cpp
809
810 ifeq ($(KBUILD_TARGET),solaris)
811 ifdef VBOX_WITH_SUID_WRAPPER
812 VBoxDD_DEFS += VBOX_WITH_SUID_WRAPPER
813 endif
814 endif
815
816 VBoxDD_DEFS.win += VBOX_WITH_WIN_PARPORT_SUP
817 VBoxDD_SOURCES.win += \
818 Parallel/DrvHostParallel.cpp
819
820 ifdef VBOX_WITH_VIRTUALKD
821 VBoxDD_DEFS.win += VBOX_WITH_VIRTUALKD
822 VBoxDD_SOURCES.win += \
823 Misc/DevVirtualKD.cpp
824 endif
825
826 if defined(VBOX_WITH_NETFLT)
827 VBoxDD_DEFS += VBOX_WITH_NETFLT
828 if defined(VBOX_NETFLT_ONDEMAND_BIND)
829 VBoxDD_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
830 endif
831 endif
832
833 # --- Final bits, mostly libraries for order dependant linkers. ---
834
835 VBoxDD_LIBS += \
836 $(PATH_STAGE_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
837 $(LIB_VMM) \
838 $(LIB_RUNTIME)
839 ifeq ($(KBUILD_TARGET),win)
840 VBoxDD_LIBS += \
841 $(LIB_DDU) \
842 $(PATH_STAGE_LIB)/VBoxDD2.lib \
843 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
844 else
845 VBoxDD_LIBS += \
846 $(VBoxDDU_1_STAGE_TARGET) \
847 $(VBoxDD2_1_STAGE_TARGET)
848 endif
849
850 ifdef VBOX_WITH_NETFLT
851 VBoxDD_LIBS.win += $(PATH_STAGE_LIB)/WinNetConfig.lib
852 endif
853
854 ifeq ($(KBUILD_TARGET),solaris)
855 VBoxDD_LIBS += adm
856 ifdef VBOX_WITH_SUID_WRAPPER
857 VBoxDD_LIBS += secdb
858 endif
859 ifdef VBOX_WITH_USB
860 VBoxDD_LIBS += aio
861 endif
862 endif
863
864 VBoxDD_LIBS.darwin += \
865 $(LIB_REM)
866
867
868 ifdef VBOX_WITH_DYNAMIC_DSDT
869 VBoxDD_CLEAN += $(VBoxDD_0_OUTDIR)/vboxdsl.hex
870 PC/ACPI/VBoxAcpi.cpp_DEPS = $(VBoxDD_0_OUTDIR)/vboxdsl.hex
871
872 $$(VBoxDD_0_OUTDIR)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
873 $(call MSG_TOOL,bin2c,VBoxDD,$<,$@)
874 $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@
875
876 vboxdsl.hex:: $$(VBoxDD_0_OUTDIR)/vboxdsl.hex
877
878 else # !VBOX_WITH_DYNAMIC_DSDT
879 # VBoxAcpi.cpp needs vboxaml.hex which we generate from PC/vbox.dsl
880 VBoxDD_CLEAN += \
881 $(VBoxDD_0_OUTDIR)/vboxaml.hex \
882 $(VBoxDD_0_OUTDIR)/vboxaml.aml \
883 $(VBoxDD_0_OUTDIR)/vboxaml.aml.tmp \
884 $(VBoxDD_0_OUTDIR)/vboxssdt_standard.hex \
885 $(VBoxDD_0_OUTDIR)/vboxssdt_standard.aml \
886 $(VBoxDD_0_OUTDIR)/vboxssdt_standard.aml.tmp \
887 $(VBoxDD_0_OUTDIR)/vboxssdt_cpuhotplug.hex \
888 $(VBoxDD_0_OUTDIR)/vboxssdt_cpuhotplug.aml \
889 $(VBoxDD_0_OUTDIR)/vboxssdt_cpuhotplug.aml.tmp \
890 $(VBoxDD_0_OUTDIR)/vboxssdt_cpuhotplug.aml.pre
891 PC/ACPI/VBoxAcpi.cpp_DEPS = \
892 $(VBoxDD_0_OUTDIR)/vboxaml.hex \
893 $(VBoxDD_0_OUTDIR)/vboxssdt_standard.hex \
894 $(VBoxDD_0_OUTDIR)/vboxssdt_cpuhotplug.hex
895
896 $$(VBoxDD_0_OUTDIR)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
897 $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
898 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
899 $(QUIET)$(MV) -f $@ [email protected]
900 $(QUIET)$(SED) -e "s/vboxaml_aml_code/AmlCode/g" \
901 --output $@ [email protected]
902 $(QUIET)$(RM) -f [email protected]
903
904 vboxaml.hex:: $$(VBoxDD_0_OUTDIR)/vboxaml.hex
905
906 $$(VBoxDD_0_OUTDIR)/vboxssdt_standard.hex: $(PATH_SUB_CURRENT)/PC/vbox-standard.dsl | $$(dir $$@)
907 $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
908 $(QUIET)$(RM) -f $@ [email protected]
909 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
910 $(QUIET)$(MV) -f $@ [email protected]
911 $(QUIET)$(SED) -e "s/AmlCode\|vboxssdt_standard_aml_code/AmlCodeSsdtStandard/g" \
912 --output $@ [email protected]
913 $(QUIET)$(RM) -f [email protected]
914
915
916 vboxssdt_standard.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt_standard.hex
917
918 $$(VBoxDD_0_OUTDIR)/vboxssdt_cpuhotplug.hex: $(PATH_SUB_CURRENT)/PC/vbox-cpuhotplug.dsl | $$(dir $$@)
919 $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
920 $(QUIET)$(RM) -f $@ [email protected] [email protected]
921 $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o [email protected] $<
922 $(QUIET)$(SED) -e "s/<NL>/\n/g" \
923 --output [email protected] [email protected]
924 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ [email protected]
925 $(QUIET)$(MV) -f $@ [email protected]
926 $(QUIET)$(SED) -e "s/AmlCode\|vboxssdt_cpuhotplug_aml_code/AmlCodeSsdtCpuHotPlug/g" \
927 --output $@ [email protected]
928 $(QUIET)$(RM) -f [email protected] [email protected] [email protected]
929
930
931 vboxssdt_cpuhotplug.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt_cpuhotplug.hex
932
933 endif # !VBOX_WITH_DYNAMIC_DSDT
934 PC/ACPI/VBoxAcpi.cpp_INCS = $(VBoxDD_0_OUTDIR)
935
936 # For finding PCIInternal.h from VBox/pci.h.
937 Bus/DevPCI.cpp_INCS = Bus
938 Bus/DevPciIch9.cpp_INCS = Bus
939 Bus/MsiCommon.cpp_INCS = Bus
940 Bus/MsixCommon.cpp_INCS = Bus
941 Bus/DevPciRaw.cpp_INCS = Bus
942
943 # For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
944 Graphics/DevVGA.cpp_INCS = $(VgaBiosBin_0_OUTDIR) $(VBOX_GRAPHICS_INCS)
945 Graphics/DevVGA.cpp_DEPS = $(VgaBiosBin_0_OUTDIR)/vbetables.h
946
947 $(call VBOX_SET_VER_INFO_DLL,VBoxDD,VirtualBox VMM Devices and Drivers) # (last!)
948
949
950 ifdef VBOX_WITH_RAW_MODE
951 #
952 # VBoxDDRC (sysmod)
953 #
954 VBoxDDRC_TEMPLATE = VBoxRc
955 ifeq ($(KBUILD_TARGET_ARCH),x86)
956 VBoxDDRC_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
957 endif
958 VBoxDDRC_DEFS = $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) $(if $(VBOX_WITH_IOMMU_AMD),VBOX_WITH_IOMMU_AMD,)
959 VBoxDDRC_INCS = build $(VBOX_GRAPHICS_INCS)
960 VBoxDDRC_SOURCES = \
961 Bus/DevPCI.cpp \
962 Bus/DevPciIch9.cpp \
963 Bus/MsiCommon.cpp \
964 Bus/MsixCommon.cpp \
965 $(if $(VBOX_WITH_IOMMU_AMD),Bus/DevIommuAmd.cpp,) \
966 EFI/DevSmc.cpp \
967 Graphics/DevVGA.cpp \
968 Input/DevPS2.cpp \
969 Input/DevPS2K.cpp \
970 Input/DevPS2M.cpp \
971 PC/DevACPI.cpp \
972 PC/DevIoApic.cpp \
973 PC/DevPit-i8254.cpp \
974 PC/DevPIC.cpp \
975 PC/DevRTC.cpp \
976 PC/DevDMA.cpp \
977 PC/DevHPET.cpp \
978 Storage/DevATA.cpp \
979 Network/DevPCNet.cpp \
980 Serial/DevSerial.cpp \
981 Serial/DevOxPcie958.cpp \
982 Serial/UartCore.cpp \
983 Parallel/DevParallel.cpp \
984 VMMDev/VMMDev.cpp \
985 VMMDev/VMMDevTesting.cpp
986
987 VBoxDDRC_DEFS += $(VBOX_AUDIO_DEFS)
988 VBoxDDRC_SOURCES += \
989 Audio/DevHDA.cpp \
990 Audio/DevHDACommon.cpp \
991 Audio/DevIchAc97.cpp
992
993 VBoxDDRC_DEFS += \
994 $(if $(VBOX_WITH_HP_HDA),VBOX_WITH_HP_HDA,) \
995 $(if $(VBOX_WITH_INTEL_HDA),VBOX_WITH_INTEL_HDA,) \
996 $(if $(VBOX_WITH_NVIDIA_HDA),VBOX_WITH_NVIDIA_HDA,)
997
998 ifdef VBOX_WITH_E1000
999 VBoxDDRC_DEFS += VBOX_WITH_E1000
1000 VBoxDDRC_SOURCES += \
1001 Network/DevE1000.cpp \
1002 Network/DevE1000Phy.cpp
1003 endif
1004
1005 ifdef VBOX_WITH_VIRTIO
1006 VBoxDDRC_DEFS += VBOX_WITH_VIRTIO
1007 VBoxDDRC_SOURCES += \
1008 VirtIO/Virtio.cpp \
1009 VirtIO/VirtioCore.cpp \
1010 Network/DevVirtioNet.cpp
1011 endif
1012
1013 ifdef defined(VBOX_WITH_VIRTIO) && defined(VBOX_WITH_VIRTIO_NET_1_0)
1014 VBoxDDRC_DEFS += VBOX_WITH_VIRTIO_NET_1_0
1015 VBoxDDRC_SOURCES += \
1016 Network/DevVirtioNet_1_0.cpp
1017 endif
1018
1019 ifdef VBOX_WITH_HGSMI
1020 VBoxDDRC_DEFS += VBOX_WITH_HGSMI
1021 endif
1022 ifdef VBOX_WITH_WDDM
1023 VBoxDDRC_DEFS += VBOX_WITH_WDDM
1024 endif
1025 ifdef VBOX_WITH_VDMA
1026 VBoxDDRC_DEFS += VBOX_WITH_VDMA
1027 endif
1028 ifdef VBOXWDDM_WITH_VBVA
1029 VBoxDDRC_DEFS += VBOXWDDM_WITH_VBVA
1030 endif
1031 ifdef VBOX_WITH_VMSVGA
1032 VBoxDDRC_DEFS += VBOX_WITH_VMSVGA
1033 VBoxDDRC_SOURCES += \
1034 Graphics/DevVGA-SVGA.cpp
1035 endif
1036 ifdef VBOX_WITH_VMSVGA3D
1037 VBoxDDRC_DEFS += VBOX_WITH_VMSVGA3D
1038 endif
1039
1040 ifdef VBOX_WITH_VUSB
1041 VBoxDDRC_DEFS += VBOX_WITH_VUSB
1042 VBoxDDRC_SOURCES += \
1043 USB/DevOHCI.cpp
1044 endif
1045
1046 ifdef VBOX_WITH_USB
1047 VBoxDDRC_DEFS += VBOX_WITH_USB
1048 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1049 VBoxDDRC_DEFS += VBOX_WITH_EHCI_IMPL
1050 VBoxDDRC_SOURCES += \
1051 USB/DevEHCI.cpp
1052 endif
1053 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1054 VBoxDDRC_DEFS += VBOX_WITH_XHCI_IMPL
1055 VBoxDDRC_SOURCES += \
1056 USB/DevXHCI.cpp
1057 endif
1058 endif
1059
1060 ifdef VBOX_WITH_VIDEOHWACCEL
1061 VBoxDDRC_DEFS += VBOX_WITH_VIDEOHWACCEL
1062 endif
1063
1064 ifdef VBOX_WITH_AHCI
1065 VBoxDDRC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
1066 VBoxDDRC_SOURCES += \
1067 Storage/DevAHCI.cpp
1068 endif
1069
1070 ifdef VBOX_WITH_BUSLOGIC
1071 VBoxDDRC_DEFS += VBOX_WITH_BUSLOGIC
1072 VBoxDDRC_SOURCES += \
1073 Storage/DevBusLogic.cpp
1074 endif
1075
1076 ifdef VBOX_WITH_LSILOGIC
1077 VBoxDDRC_DEFS += VBOX_WITH_LSILOGIC
1078 VBoxDDRC_SOURCES += \
1079 Storage/DevLsiLogicSCSI.cpp
1080 endif
1081
1082 if defined(VBOX_WITH_NVME_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1083 VBoxDDGC_DEFS += VBOX_WITH_NVME_IMPL
1084 VBoxDDGC_SOURCES += \
1085 Storage/DevNVMe.cpp
1086 endif
1087
1088 if1of ($(VBOX_LDR_FMT32), pe lx)
1089 VBoxDDRC_LIBS = \
1090 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
1091 $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
1092 endif
1093 $(call VBOX_SET_VER_INFO_RC,VBoxDDRC,VirtualBox VMM Devices and Drivers$(COMMA) raw-mode) # last!
1094 endif # VBOX_WITH_RAW_MODE
1095
1096
1097 #
1098 # VBoxDD2 (shared object)
1099 #
1100 VBoxDD2_TEMPLATE = VBoxR3DllWarnNoPic
1101 VBoxDD2_DEFS = \
1102 IN_VBOXDD2 \
1103 $(if $(VBOX_WITH_PXE_ROM),VBOX_WITH_PXE_ROM,)
1104 VBoxDD2_INCS := \
1105 build \
1106 $(PATH_SUB_CURRENT)
1107 VBoxDD2_SOURCES = \
1108 build/VBoxDD2.cpp
1109 VBoxDD2_LIBS = \
1110 $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
1111 $(PATH_STAGE_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
1112 $(if $(VBOX_WITH_PXE_ROM),\
1113 $(if $(VBOX_WITH_INTEL_PXE),\
1114 $(PATH_STAGE_LIB)/NetBiosBin$(VBOX_SUFF_LIB),\
1115 $(PATH_STAGE_LIB)/iPxeBiosBin$(VBOX_SUFF_LIB)),) \
1116 $(LIB_VMM) \
1117 $(LIB_RUNTIME)
1118 VBoxDD2_LIBS.darwin += $(LIB_REM)
1119 VBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
1120 VBoxDD2_LDFLAGS.linux = $(VBOX_GCC_NO_UNDEFINED)
1121 if defined(VBOX_WITH_EFI) && !defined(VBOX_WITH_EFIFW_PACKING)
1122 VBoxDD_DEFS += VBOX_WITH_EFI_IN_DD2
1123 VBoxDD2_DEFS += VBOX_WITH_EFI
1124 VBoxDD2_SOURCES.x86 += EFI/DevEFI-binaries.asm
1125 VBoxDD2_SOURCES.amd64 += EFI/DevEFI-binaries.asm
1126 EFI/DevEFI-binaries.asm_ASINCS = $(PATH_STAGE)/$(INST_BIN)
1127 EFI/DevEFI-binaries.asm_DEPS = \
1128 $(PATH_STAGE)/$(INST_BIN)VBoxEFI32.fd \
1129 $(PATH_STAGE)/$(INST_BIN)VBoxEFI64.fd
1130
1131 VBoxDD2_SOURCES.arm64 += EFI/DevEFI-binaries.S
1132 EFI/DevEFI-binaries.S_ASINCS = $(PATH_STAGE)/$(INST_BIN)
1133 EFI/DevEFI-binaries.S_DEPS = \
1134 $(PATH_STAGE)/$(INST_BIN)VBoxEFI32.fd \
1135 $(PATH_STAGE)/$(INST_BIN)VBoxEFI64.fd
1136 endif
1137
1138 $(call VBOX_SET_VER_INFO_DLL,VBoxDD2,VirtualBox VMM Devices and Drivers 2) # (last!)
1139
1140 #
1141 # VBoxDDR0 (sysmod)
1142 #
1143 if "$(KBUILD_TARGET)" != "win" && $(VBOX_GCC_VERSION_CXX) < 40600
1144 #
1145 # Disable "ISO C++ prohibits anonymous structs [-Werror=pedantic]" caused by Mesa VMSVGA driver headers
1146 # For GCC >= 4.6.0 the warning is disabled in DevVGA_SVGA.h
1147 #
1148 # Template used for gcc older than 4.6. (Strips away compiler options.)
1149 #
1150 TEMPLATE_VBoxDDR0OldGCC := VBoxDDR0OldGCC
1151 TEMPLATE_VBoxDDR0OldGCC_EXTENDS := VBoxR0
1152 TEMPLATE_VBoxDDR0OldGCC_CXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxDDR0OldGCC_EXTENDS)_CXXFLAGS))
1153
1154 VBoxDDR0_TEMPLATE = VBoxDDR0OldGCC
1155 else
1156 VBoxDDR0_TEMPLATE = VBoxR0
1157 endif
1158 VBoxDDR0_DEFS = \
1159 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \
1160 $(if $(VBOX_WITH_IOMMU_AMD),VBOX_WITH_IOMMU_AMD,) \
1161 IN_RT_R0 # - WTF is IN_RT_R0 doing here?
1162 VBoxDDR0_DEFS.win += VBOX_WITH_WIN_PARPORT_SUP
1163 VBoxDDR0_INCS = build $(VBOX_GRAPHICS_INCS)
1164 VBoxDDR0_INCS += $(VBOX_PATH_VMSVGA_DEVICE_INC)
1165 VBoxDDR0_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
1166 VBoxDDR0_SOURCES = \
1167 build/VBoxDDR0.cpp \
1168 Bus/DevPCI.cpp \
1169 Bus/DevPciIch9.cpp \
1170 Bus/MsiCommon.cpp \
1171 Bus/MsixCommon.cpp \
1172 $(if $(VBOX_WITH_IOMMU_AMD),Bus/DevIommuAmd.cpp,) \
1173 EFI/DevSmc.cpp \
1174 EFI/DevFlash.cpp \
1175 EFI/FlashCore.cpp \
1176 Graphics/DevVGA.cpp \
1177 Input/DevPS2.cpp \
1178 Input/DevPS2K.cpp \
1179 Input/DevPS2M.cpp \
1180 PC/DevACPI.cpp \
1181 PC/DevIoApic.cpp \
1182 PC/DevPit-i8254.cpp \
1183 PC/DevPIC.cpp \
1184 PC/DevRTC.cpp \
1185 PC/DevDMA.cpp \
1186 PC/DevHPET.cpp \
1187 Storage/DevATA.cpp \
1188 Network/DevPCNet.cpp \
1189 Serial/DevSerial.cpp \
1190 Serial/DevOxPcie958.cpp \
1191 Serial/UartCore.cpp \
1192 Parallel/DevParallel.cpp \
1193 GIMDev/GIMDev.cpp \
1194 VMMDev/VMMDev.cpp \
1195 VMMDev/VMMDevTesting.cpp \
1196 Network/DrvIntNet.cpp \
1197 Network/DrvDedicatedNic.cpp
1198
1199 VBoxDDR0_SOURCES.win += Parallel/DrvHostParallel.cpp
1200
1201 VBoxDDR0_DEFS += \
1202 $(if $(VBOX_WITH_HGSMI),VBOX_WITH_HGSMI,) \
1203 $(if $(VBOX_WITH_WDDM),VBOX_WITH_WDDM,) \
1204 $(if $(VBOX_WITH_VDMA),VBOX_WITH_VDMA,) \
1205 $(if $(VBOXWDDM_WITH_VBVA),VBOXWDDM_WITH_VBVA,) \
1206 $(if $(VBOX_WITH_HP_HDA),VBOX_WITH_HP_HDA,) \
1207 $(if $(VBOX_WITH_INTEL_HDA),VBOX_WITH_INTEL_HDA,) \
1208 $(if $(VBOX_WITH_NVIDIA_HDA),VBOX_WITH_NVIDIA_HDA,)
1209
1210 VBoxDDR0_DEFS += $(VBOX_AUDIO_DEFS)
1211 VBoxDDR0_SOURCES += \
1212 Audio/DevHDA.cpp \
1213 Audio/DevHDACommon.cpp \
1214 Audio/DevIchAc97.cpp \
1215 Audio/HDACodec.cpp
1216
1217 ifdef VBOX_WITH_E1000
1218 VBoxDDR0_DEFS += VBOX_WITH_E1000
1219 VBoxDDR0_SOURCES += \
1220 Network/DevE1000.cpp \
1221 Network/DevE1000Phy.cpp
1222 endif
1223
1224 ifdef VBOX_WITH_VIRTIO
1225 VBoxDDR0_DEFS += VBOX_WITH_VIRTIO
1226 VBoxDDR0_SOURCES += \
1227 VirtIO/Virtio.cpp \
1228 VirtIO/VirtioCore.cpp \
1229 Network/DevVirtioNet.cpp
1230 endif
1231
1232 if defined(VBOX_WITH_VIRTIO) && defined(VBOX_WITH_VIRTIO_NET_1_0)
1233 VBoxDDR0_DEFS += VBOX_WITH_VIRTIO_NET_1_0
1234 VBoxDDR0_SOURCES += \
1235 Network/DevVirtioNet_1_0.cpp
1236 endif
1237
1238 ifdef VBOX_WITH_NETSHAPER
1239 VBoxDDR0_DEFS += VBOX_WITH_NETSHAPER
1240 VBoxDDR0_SOURCES += \
1241 Network/DrvNetShaper.cpp
1242 endif
1243
1244 ifdef VBOX_WITH_VMSVGA
1245 VBoxDDR0_DEFS += VBOX_WITH_VMSVGA
1246 VBoxDDR0_SOURCES += \
1247 Graphics/DevVGA-SVGA.cpp
1248 endif
1249 ifdef VBOX_WITH_VMSVGA3D
1250 VBoxDDR0_DEFS += VBOX_WITH_VMSVGA3D
1251 endif
1252
1253 ifdef VBOX_WITH_VUSB
1254 VBoxDDR0_DEFS += VBOX_WITH_VUSB
1255 VBoxDDR0_SOURCES += \
1256 USB/DevOHCI.cpp
1257 endif
1258 ifdef VBOX_WITH_USB
1259 VBoxDDR0_DEFS += VBOX_WITH_USB
1260 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1261 VBoxDDR0_DEFS += VBOX_WITH_EHCI_IMPL
1262 VBoxDDR0_SOURCES += \
1263 USB/DevEHCI.cpp
1264 endif
1265 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1266 VBoxDDR0_DEFS += VBOX_WITH_XHCI_IMPL
1267 VBoxDDR0_SOURCES += \
1268 USB/DevXHCI.cpp
1269 endif
1270 endif
1271
1272 ifdef VBOX_WITH_EFI
1273 VBoxDDR0_DEFS += VBOX_WITH_EFI
1274 VBoxDDR0_SOURCES += EFI/DevEFI.cpp
1275 endif
1276
1277 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1278 VBoxDDR0_SOURCES += \
1279 Bus/DevPciRaw.cpp
1280 endif
1281
1282 ifdef VBOX_WITH_AHCI
1283 VBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
1284 VBoxDDR0_SOURCES += \
1285 Storage/DevAHCI.cpp
1286 endif
1287
1288 ifdef VBOX_WITH_BUSLOGIC
1289 VBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
1290 VBoxDDR0_SOURCES += \
1291 Storage/DevBusLogic.cpp
1292 endif
1293
1294 ifdef VBOX_WITH_LSILOGIC
1295 VBoxDDR0_DEFS += VBOX_WITH_LSILOGIC
1296 VBoxDDR0_SOURCES += \
1297 Storage/DevLsiLogicSCSI.cpp
1298 endif
1299
1300 if defined(VBOX_WITH_NVME_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1301 VBoxDDR0_DEFS += VBOX_WITH_NVME_IMPL
1302 VBoxDDR0_SOURCES += \
1303 Storage/DevNVMe.cpp
1304 endif
1305
1306 if defined (VBOX_WITH_VIRTIO) && defined(VBOX_WITH_VIRTIO_SCSI)
1307 VBoxDDR0_DEFS += VBOX_WITH_VIRTIO_SCSI
1308 VBoxDDR0_SOURCES += \
1309 Storage/DevVirtioSCSI.cpp
1310 endif
1311
1312 ifdef VBOX_WITH_HGSMI
1313 VBoxDDR0_DEFS += VBOX_WITH_HGSMI
1314 endif
1315 ifdef VBOX_WITH_VIDEOHWACCEL
1316 VBoxDDR0_DEFS += VBOX_WITH_VIDEOHWACCEL
1317 endif
1318
1319 if1of ($(VBOX_LDR_FMT), pe lx)
1320 VBoxDDR0_LIBS = \
1321 $(PATH_STAGE_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
1322 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
1323 endif
1324
1325 $(call VBOX_SET_VER_INFO_R0,VBoxDDR0,VirtualBox VMM Devices and Drivers$(COMMA) ring-0) # (last!)
1326
1327 ifdef VBOX_WITH_KMOD_WRAPPED_R0_MODS
1328 # Wrapper kmod for VBoxDDR0.r0
1329 INSTALLS.linux += vbox_vboxddr0-src
1330 vbox_vboxddr0-src_INST = bin/src/vbox_vboxddr0/
1331 vbox_vboxddr0-src_SYMLINKS = \
1332 SUPWrapperMod-linux.c=>../common/SUPWrapperMod-linux.c \
1333 Makefile-wrapper.gmk=>../common/Makefile-wrapper.gmk
1334 vbox_vboxddr0-src_SOURCES = \
1335 $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/Makefile-vbox_vboxddr0.gmk=>Makefile \
1336 $(VBoxDDR0_0_OUTDIR)/VBoxDDR0.r0=>VBoxDDR0.r0 \
1337 $(VBoxDDR0_0_OUTDIR)/VBoxDDR0.debug=>VBoxDDR0.debug
1338 endif
1339
1340 #
1341 # Ring-0 Services (library, linked into VMMR0.r0)
1342 #
1343 ServicesR0_TEMPLATE = VBoxR0
1344 ServicesR0_DEFS = VBOX_IN_VMM IN_INTNET_R0 IN_RT_R0 $(VMM_COMMON_DEFS) \
1345 $(if $(VBOX_WITH_PCI_PASSTHROUGH),IN_PCIRAW_R0,) \
1346 $(if $(VBOX_WITH_NAT_SERVICE),VBOX_WITH_NAT_SERVICE,)
1347 ServicesR0_SOURCES = \
1348 Network/SrvIntNetR0.cpp \
1349# $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/SrvPciRawR0.cpp,)
1350 Network/SrvIntNetR0.cpp_CXXFLAGS := $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds))
1351
1352
1353 #
1354 # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
1355 #
1356 ifdef VBOX_WITH_TESTCASES
1357 PROGRAMS += tstIntNetR0
1358 tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
1359 tstIntNetR0_DEFS = IN_INTNET_R0
1360 tstIntNetR0_SOURCES = \
1361 Network/testcase/tstIntNetR0.cpp
1362 ifneq ($(KBUILD_TARGET),win)
1363 Network/testcase/tstIntNetR0.cpp_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
1364 endif
1365 endif
1366
1367
1368 #
1369 # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
1370 #
1371 ifdef VBOX_WITH_TESTCASES
1372 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
1373 PROGRAMS += tstIntNetHardened-1
1374 tstIntNetHardened-1_TEMPLATE = VBoxR3HardenedTstExe
1375 tstIntNetHardened-1_NAME = tstIntNet-1
1376 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
1377 tstIntNetHardened-1_DEFS = PROGRAM_NAME_STR="tstIntNet-1"
1378 else
1379 tstIntNetHardened-1_DEFS = PROGRAM_NAME_STR=\"tstIntNet-1\"
1380 endif
1381 tstIntNetHardened-1_SOURCES = ../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp
1382
1383 DLLS += tstIntNet-1
1384 tstIntNet-1_TEMPLATE = VBoxR3HardenedTstDll
1385 else
1386 PROGRAMS += tstIntNet-1
1387 tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
1388 endif
1389 tstIntNet-1_SOURCES = \
1390 Network/testcase/tstIntNet-1.cpp \
1391 Network/Pcap.cpp
1392 endif
1393
1394
1395 #
1396 # EEPROM device unit test requires cppunit
1397 #
1398 ifdef VBOX_WITH_CPPUNIT_TESTCASES
1399 ifdef VBOX_WITH_E1000
1400 PROGRAMS += tstDevEEPROM
1401 tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
1402 tstDevEEPROM_SOURCES = \
1403 Network/testcase/tstDevEEPROM.cpp
1404 tstDevEEPROM_LIBS = \
1405 $(TARGET_VBoxDD)
1406 PROGRAMS += tstDevPhy
1407 tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
1408 tstDevPhy_SOURCES = \
1409 Network/testcase/tstDevPhy.cpp \
1410 Network/DevE1000Phy.cpp
1411 tstDevPhy_DEFS = PHY_UNIT_TEST
1412 endif
1413 endif
1414
1415 #
1416 # Apple SMC Utility.
1417 #
1418 ifdef VBOX_WITH_TESTCASES
1419 PROGRAMS.darwin += VBoxSmcUtil-darwin
1420 VBoxSmcUtil-darwin_TEMPLATE = VBOXR3TSTEXE
1421 VBoxSmcUtil-darwin_SOURCES = EFI/VBoxSmcUtil-darwin.cpp
1422 VBoxSmcUtil-darwin_LDFLAGS = -framework IOKit
1423 endif
1424
1425 #
1426 # PDM device testcase framework.
1427 #
1428 ifdef VBOX_WITH_TESTCASES_TSTDEV
1429 PROGRAMS += tstDevice
1430 tstDevice_TEMPLATE = VBOXR3TSTEXE
1431 tstDevice_DEFS += IN_SUP_R3
1432 tstDevice_SOURCES = \
1433 testcase/tstDevice.cpp \
1434 testcase/tstDeviceCfg.cpp \
1435 testcase/tstDevicePdmDevHlp.cpp \
1436 testcase/tstDevicePdmThread.cpp \
1437 testcase/tstDeviceSsmFuzz.cpp
1438 endif
1439
1440endif # !VBOX_ONLY_EXTPACKS && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
1441
1442
1443if defined(VBOX_WITH_EXTPACK) && defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
1444 #
1445 # The EHCI (USB 2.0) Extension Pack Modules.
1446 #
1447 if defined(VBOX_WITH_USB)
1448 DLLS += VBoxEhciR3
1449 VBoxEhciR3_TEMPLATE = VBoxR3ExtPackPuel
1450 VBoxEhciR3_SOURCES = \
1451 USB/DevEHCI.cpp \
1452 USB/DevXHCI.cpp
1453 $(call VBOX_SET_VER_INFO_DLL,VBoxEhciR3,PUEL Extension Pack - EHCI Device)
1454
1455 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += VBoxEhciR0
1456 VBoxEhciR0_TEMPLATE = VBoxR0ExtPackPuel
1457 VBoxEhciR0_SOURCES = \
1458 USB/DevEHCI.cpp \
1459 USB/DevXHCI.cpp
1460 $(call VBOX_SET_VER_INFO_R0,VBoxEhciR0,PUEL Extension Pack - EHCI Device$(COMMA) ring-0)
1461 ifdef VBOX_WITH_KMOD_WRAPPED_R0_MODS # Wrapper kmod for VBoxEhciR0.r0
1462 INSTALLS.linux += vbox_vboxehcir0-src
1463 vbox_vboxehcir0-src_INST = bin/src/vbox_vboxehcir0/
1464 vbox_vboxehcir0-src_SYMLINKS = \
1465 SUPWrapperMod-linux.c=>../common/SUPWrapperMod-linux.c \
1466 Makefile-wrapper.gmk=>../common/Makefile-wrapper.gmk
1467 vbox_vboxehcir0-src_SOURCES = \
1468 $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/Makefile-vbox_vboxehcir0.gmk=>Makefile \
1469 $(VBoxEhciR0_0_OUTDIR)/VBoxEhciR0.r0=>VBoxEhciR0.r0 \
1470 $(VBoxEhciR0_0_OUTDIR)/VBoxEhciR0.debug=>VBoxEhciR0.debug
1471 endif
1472
1473 ifdef VBOX_WITH_RAW_MODE
1474 SYSMODS += VBoxEhciRC
1475 VBoxEhciRC_TEMPLATE = VBoxRcExtPackPuel
1476 VBoxEhciRC_SOURCES = \
1477 USB/DevEHCI.cpp \
1478 USB/DevXHCI.cpp
1479 $(call VBOX_SET_VER_INFO_RC,VBoxEhciRC,PUEL Extension Pack - EHCI Device$(COMMA) raw-mode)
1480 endif
1481
1482 # Hacky but MSI support *must* be enabled
1483 ifdef VBOX_WITH_MSI_DEVICES
1484 VBoxEhciR3_DEFS += VBOX_WITH_MSI_DEVICES
1485 VBoxEhciR0_DEFS += VBOX_WITH_MSI_DEVICES
1486 VBoxEhciRC_DEFS += VBOX_WITH_MSI_DEVICES
1487 endif
1488
1489 endif
1490
1491 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL)
1492 DLLS += VBoxPciRawR3
1493 VBoxPciRawR3_TEMPLATE = VBoxR3ExtPackPuel
1494 VBoxPciRawR3_SOURCES = Bus/DevPciRaw.cpp
1495 $(call VBOX_SET_VER_INFO_DLL,VBoxPciRawR3,PUEL Extension Pack - PCI Passthrough Device)
1496
1497 DLLS += VBoxPciRawDrv
1498 VBoxPciRawDrv_TEMPLATE = VBoxR3ExtPackPuel
1499 VBoxPciRawDrv_SOURCES = Bus/DrvPciRaw.cpp
1500 $(call VBOX_SET_VER_INFO_DLL,VBoxPciRawDrv,PUEL Extension Pack - PCI Passthrough Driver)
1501
1502 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += VBoxPciRawR0
1503 VBoxPciRawR0_TEMPLATE = VBoxR0ExtPackPuel
1504 VBoxPciRawR0_SOURCES = Bus/DevPciRaw.cpp
1505 $(call VBOX_SET_VER_INFO_R0,VBoxPciRawR0,PUEL Extension Pack - PCI Passthrough Driver$(COMMA) ring-0)
1506
1507 Bus/DevPciRaw.cpp_INCS = Bus
1508 endif
1509
1510 #
1511 # The NVMe Extension Pack Modules.
1512 #
1513 if defined(VBOX_WITH_NVME_IMPL)
1514 DLLS += VBoxNvmeR3
1515 VBoxNvmeR3_TEMPLATE = VBoxR3ExtPackPuel
1516 VBoxNvmeR3_SOURCES = \
1517 Storage/DevNVMe.cpp
1518 $(call VBOX_SET_VER_INFO_DLL,VBoxNvmeR3,PUEL Extension Pack - NVMe Device)
1519
1520 $(if-expr defined(VBOX_WITH_VBOXR0_AS_DLL),DLLS,SYSMODS) += VBoxNvmeR0
1521 VBoxNvmeR0_TEMPLATE = VBoxR0ExtPackPuel
1522 VBoxNvmeR0_SOURCES = \
1523 Storage/DevNVMe.cpp
1524 $(call VBOX_SET_VER_INFO_R0,VBoxNvmeR0,PUEL Extension Pack - NVMe Device$(COMMA) ring-0)
1525 ifdef VBOX_WITH_KMOD_WRAPPED_R0_MODS # Wrapper kmod for VBoxEhciR0.r0
1526 INSTALLS.linux += vbox_vboxnvmer0-src
1527 vbox_vboxnvmer0-src_INST = bin/src/vbox_vboxnvmer0/
1528 vbox_vboxnvmer0-src_SYMLINKS = \
1529 SUPWrapperMod-linux.c=>../common/SUPWrapperMod-linux.c \
1530 Makefile-wrapper.gmk=>../common/Makefile-wrapper.gmk
1531 vbox_vboxnvmer0-src_SOURCES = \
1532 $(PATH_ROOT)/src/VBox/HostDrivers/Support/linux/Makefile-vbox_vboxnvmer0.gmk=>Makefile \
1533 $(VBoxNvmeR0_0_OUTDIR)/VBoxNvmeR0.r0=>VBoxNvmeR0.r0 \
1534 $(VBoxNvmeR0_0_OUTDIR)/VBoxNvmeR0.debug=>VBoxNvmeR0.debug
1535 endif
1536
1537 ifdef VBOX_WITH_RAW_MODE
1538 SYSMODS += VBoxNvmeRC
1539 VBoxNvmeRC_TEMPLATE = VBoxRcExtPackPuel
1540 VBoxNvmeRC_SOURCES = \
1541 Storage/DevNVMe.cpp
1542 $(call VBOX_SET_VER_INFO_RC,VBoxNvmeRC,PUEL Extension Pack - NVMe Device$(COMMA) raw-mode)
1543 endif
1544
1545 # Hacky but MSI support *must* be enabled
1546 ifdef VBOX_WITH_MSI_DEVICES
1547 VBoxNvmeR3_DEFS += VBOX_WITH_MSI_DEVICES
1548 VBoxNvmeR0_DEFS += VBOX_WITH_MSI_DEVICES
1549 VBoxNvmeRC_DEFS += VBOX_WITH_MSI_DEVICES
1550 endif
1551
1552 endif
1553
1554
1555 #
1556 # The Intel PXE ROM.
1557 #
1558 INSTALLS += VBoxExtPackPuelInsRoms
1559 VBoxExtPackPuelInsRoms_TEMPLATE = VBoxInsExtPackPuel
1560 ifdef PXE_EXPERIMENTAL_BUILD_SETUP
1561 VBoxExtPackPuelInsRoms_SOURCES = $(PATH_OUT)/obj/NetBiosBin/NetBiosBin.rom=>PXE-Intel.rom
1562 else
1563 VBoxExtPackPuelInsRoms_SOURCES = PC/PXE/PXE-Intel.rom=>PXE-Intel.rom
1564 endif
1565endif # VBOX_WITH_EXTPACK_PUEL && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
1566
1567
1568if defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_EXTPACKS) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
1569 #
1570 # Template used for VBoxSVGA3D. (Strips away compiler options.)
1571 #
1572 TEMPLATE_VBoxSVGA3D := VBoxSVGA3D
1573 TEMPLATE_VBoxSVGA3D_EXTENDS := VBOXR3
1574 TEMPLATE_VBoxSVGA3D_CFLAGS = $(filter-out -pedantic -Wstrict-prototypes,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CFLAGS))
1575 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC140"
1576 # -wd4777: glsl_shader.c(1542): warning C4777: 'sprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 2 has type 'DWORD'
1577 TEMPLATE_VBoxSVGA3D_CFLAGS.win = $(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CFLAGS.win) \
1578 -wd4777
1579 endif
1580 ifeq ($(KBUILD_TARGET),darwin)
1581 TEMPLATE_VBoxSVGA3D_CXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CXXFLAGS)) $(VBOX_GCC_Wno-deprecated-declarations)
1582 TEMPLATE_VBoxSVGA3D_OBJCFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_OBJCFLAGS)) $(VBOX_GCC_Wno-deprecated-declarations)
1583 TEMPLATE_VBoxSVGA3D_OBJCXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_OBJCXXFLAGS)) $(VBOX_GCC_Wno-deprecated-declarations)
1584 else
1585 TEMPLATE_VBoxSVGA3D_CXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CXXFLAGS))
1586 TEMPLATE_VBoxSVGA3D_OBJCFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_OBJCFLAGS))
1587 TEMPLATE_VBoxSVGA3D_OBJCXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_OBJCXXFLAGS))
1588 endif
1589 TEMPLATE_VBoxSVGA3D_LDFLAGS.darwin = $(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_LDFLAGS.darwin) \
1590 -framework AppKit -framework OpenGL -framework IOKit
1591
1592
1593 #
1594 # The shader library used by the SVGA3D implementation.
1595 #
1596 DLLS += VBoxSVGA3D
1597 VBoxSVGA3D_TEMPLATE = VBoxSVGA3D
1598 VBoxSVGA3D_SDKS = ReorderCompilerIncs
1599 VBoxSVGA3D_DEFS = \
1600 __WINESRC__ \
1601 _REENTRANT \
1602 WINE_NOWINSOCK \
1603 VBOX_WITH_VMSVGA \
1604 VBOX_WITH_VMSVGA3D \
1605 _USE_MATH_DEFINES \
1606 VBOX_USING_WINDDK_W7_OR_LATER \
1607 VBOX_WINE_WITH_SINGLE_SWAPCHAIN_CONTEXT \
1608 IN_vmsvgashader_STATIC \
1609 IN_VMSVGA3D \
1610 VBOX_WINE_WITH_IPRT
1611 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
1612 VBoxSVGA3D_DEFS += \
1613 WINE_UNICODE_API= \
1614 DLLDIR="" \
1615 BINDIR="" \
1616 LIB_TO_BINDIR="" \
1617 LIB_TO_DLLDIR="" \
1618 BIN_TO_DLLDIR="" \
1619 LIB_TO_DATADIR="" \
1620 BIN_TO_DATADIR=""
1621 else
1622 VBoxSVGA3D_DEFS += \
1623 WINE_UNICODE_API="" \
1624 DLLDIR=\"\" \
1625 BINDIR=\"\" \
1626 LIB_TO_BINDIR=\"\" \
1627 LIB_TO_DLLDIR=\"\" \
1628 BIN_TO_DLLDIR=\"\" \
1629 LIB_TO_DATADIR=\"\" \
1630 BIN_TO_DATADIR=\"\"
1631 endif
1632 if "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS)
1633 VBoxSVGA3D_DEFS += WINE_NO_DEBUG_MSGS
1634 endif
1635 VBoxSVGA3D_DEFS.x86 += __i386__
1636 VBoxSVGA3D_DEFS.amd64 += __x86_64__
1637 VBoxSVGA3D_DEFS.win += \
1638 USE_WIN32_OPENGL \
1639 VBOX_WINE_WITHOUT_LIBWINE
1640 VBoxSVGA3D_DEFS.darwin += VBOX_VMSVGA3D_DUAL_OPENGL_PROFILE
1641 if 0 # Use the OpenGL 3.2 Core profile (VBoxSVGA3D_DEFS.darwin).
1642 VBoxSVGA3D_DEFS.darwin += VBOX_VMSVGA3D_DEFAULT_OGL_PROFILE=3.2 VBOX_VMSVGA3D_OTHER_OGL_PROFILE=2.1
1643 else
1644 VBoxSVGA3D_DEFS.darwin += VBOX_VMSVGA3D_DEFAULT_OGL_PROFILE=2.1 VBOX_VMSVGA3D_OTHER_OGL_PROFILE=3.2
1645 endif
1646
1647 # WINE relies on a gcc 4.4 feature but we have 4.2 on Darwin
1648 VBoxSVGA3D_DEFS.darwin += \
1649 __builtin_ms_va_list=va_list \
1650 __stdcall= \
1651 ms_abi=
1652 VBoxSVGA3D_INCS = $(VBOX_GRAPHICS_INCS)
1653 VBoxSVGA3D_INCS.win := \
1654 Graphics/shaderlib/libWineStub/include
1655 VBoxSVGA3D_INCS.linux := \
1656 Graphics/shaderlib/wine/include
1657 VBoxSVGA3D_INCS.darwin := \
1658 Graphics/ \
1659 Graphics/shaderlib/wine/include
1660 VBoxSVGA3D_SOURCES := \
1661 Graphics/shaderlib/glsl_shader.c \
1662 Graphics/shaderlib/shader.c \
1663 Graphics/shaderlib/shader_sm1.c \
1664 Graphics/shaderlib/shader_sm4.c \
1665 Graphics/shaderlib/shaderapi.c \
1666 Graphics/shaderlib/utils.c \
1667 Graphics/shaderlib/stateblock.c \
1668 Graphics/shaderlib/directx.c \
1669 Graphics/shaderlib/libWineStub/debug.c
1670 VBoxSVGA3D_LIBS = $(LIB_RUNTIME)
1671 VBoxSVGA3D_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
1672 if1of ($(KBUILD_TARGET), solaris linux freebsd)
1673 VBoxSVGA3D_LIBS += GL
1674 endif
1675 VBoxSVGA3D_LDFLAGS.darwin += \
1676 -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSVGA3D.dylib
1677 $(call VBOX_SET_VER_INFO_DLL,VBoxSVGA3D,VirtualBox VMSVGA 3D)
1678 # -wd4100: unreferenced format parameter
1679 # -wd4204: nonstandard extension used : non-constant initializer
1680 # -wd4245: '=' : conversion from 'int' to 'DWORD', signed/unsigned mismatch
1681 # -wd4305: 'function' : truncation from 'double' to 'GLclampf'
1682 VBoxSVGA3D_CFLAGS.win = -wd4100 -wd4204 -wd4245 -wd4305
1683 ifneq ($(KBUILD_TARGET),win)
1684 VBoxSVGA3D_CFLAGS += -Wno-unused-parameter -Wno-unused-function
1685 endif
1686
1687 #
1688 # The Objective C code needs to be separate since the shaderlib redefines most
1689 # GL functions as pointers, making it impossible to mix with code calling OpenGL
1690 # functions directly. This module must be compiled for 10.7 or later, thus it
1691 # needs to be separate from VBoxDD.dylib, or at least that's our belief...
1692 #
1693 DLLS.darwin += VBoxSVGA3DObjC
1694 VBoxSVGA3DObjC_TEMPLATE = VBoxSVGA3D
1695 VBoxSVGA3DObjC_DEFS = $(VBoxSVGA3D_DEFS) IN_VMSVGA3DCOCOA
1696 VBoxSVGA3DObjC_DEFS.x86 = __i386__
1697 VBoxSVGA3DObjC_DEFS.amd64 = __x86_64__
1698 VBoxSVGA3DObjC_DEFS.darwin = $(VBoxSVGA3D_DEFS.darwin)
1699 VBoxSVGA3DObjC_INCS = $(VBoxSVGA3D_INCS)
1700 VBoxSVGA3DObjC_INCS.darwin = $(VBoxSVGA3D_INCS.darwin)
1701 VBoxSVGA3DObjC_LIBS = $(LIB_RUNTIME)
1702 VBoxSVGA3DObjC_LDFLAGS.darwin = \
1703 -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSVGA3DObjC.dylib \
1704 -framework OpenGL
1705 VBoxSVGA3DObjC_SOURCES.darwin += \
1706 Graphics/DevVGA-SVGA3d-cocoa.m
1707
1708
1709endif # defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_EXTPACKS) && "$(intersects $(KBUILD_TARGET_ARCH),$(VBOX_SUPPORTED_HOST_ARCHS))" != ""
1710
1711include $(FILE_KBUILD_SUB_FOOTER)
Note: See TracBrowser for help on using the repository browser.

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