VirtualBox

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

Last change on this file since 53548 was 53523, checked in by vboxsync, 10 years ago

PDM/Audio: Add ALSA backend (work in progress).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 40.1 KB
Line 
1# $Id: Makefile.kmk 53523 2014-12-12 13:46:29Z vboxsync $
2## @file
3# Top-level sub-makefile for the devices, drivers and services.
4#
5
6#
7# Copyright (C) 2006-2014 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.
27include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
28ifdef VBOX_WITH_PDM_AUDIO_DRIVER
29 include $(PATH_SUB_CURRENT)/Audio/testcase/Makefile.kmk
30endif
31include $(PATH_SUB_CURRENT)/Input/testcase/Makefile.kmk
32if defined(VBOX_WITH_INTEL_PXE) || defined(VBOX_ONLY_EXTPACKS)
33 include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
34else if defined(VBOX_WITH_PXE_ROM)
35 if !defined(VBOX_WITHOUT_IPXE)
36 include $(PATH_SUB_CURRENT)/PC/ipxe/Makefile.kmk
37 endif
38endif
39if !defined(VBOX_ONLY_EXTPACKS) # Goes on almost to the end of the file.
40 include $(PATH_SUB_CURRENT)/BiosCommonCode/Makefile.kmk
41 include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
42 include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
43
44 #
45 # Main targets.
46 #
47 LIBRARIES += ServicesR0
48 DLLS += VBoxDDU VBoxDD VBoxDD2
49 SYSMODS += VBoxDDR0 VBoxDD2R0
50 ifdef VBOX_WITH_RAW_MODE
51 SYSMODS += VBoxDDGC VBoxDD2GC
52 endif
53
54
55 #
56 # VBoxDDU (shared object)
57 #
58 VBoxDDU_TEMPLATE = VBoxR3DllWarnNoPic
59 VBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
60 VBoxDDU_INST.darwin = $(INST_DLL) $(INST_TESTCASE)
61 VBoxDDU_DEFS = IN_VBOXDDU
62 ifdef VBOX_WITH_VUSB
63 VBoxDDU_DEFS += VBOX_WITH_VUSB
64 endif
65 ifdef VBOX_WITH_USB
66 VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
67 VBoxDDU_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
68 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
69 VBoxDDU_DEFS += VBOX_WITH_EHCI_IMPL
70 endif
71 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
72 VBoxDDU_DEFS += VBOX_WITH_XHCI_IMPL
73 endif
74 ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
75 VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
76 endif
77 else
78 VBoxDDU_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK)
79 endif
80 VBoxDDU_SOURCES = \
81 Storage/VSCSI/VSCSIDevice.cpp \
82 Storage/VSCSI/VSCSILun.cpp \
83 Storage/VSCSI/VSCSILunSbc.cpp \
84 Storage/VSCSI/VSCSILunMmc.cpp \
85 Storage/VSCSI/VSCSISense.cpp \
86 Storage/VSCSI/VSCSIIoReq.cpp \
87 Storage/VSCSI/VSCSIVpdPagePool.cpp \
88 build/VBoxDDUDeps.cpp
89 ifdef VBOX_WITH_USB
90 VBoxDDU_INCS.os2 += \
91 $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
92 endif
93 VBoxDDU_LIBS = \
94 $(LIB_RUNTIME) \
95 $(PATH_STAGE_LIB)/StorageLib$(VBOX_SUFF_LIB)
96 ifdef VBOX_WITH_USB
97 VBoxDDU_LIBS += \
98 $(PATH_STAGE_LIB)/USBLib$(VBOX_SUFF_LIB)
99 VBoxDDU_LIBS.win += \
100 $(PATH_STAGE_LIB)/VBoxDrvCfg$(VBOX_SUFF_LIB) \
101 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/Newdev.lib
102 endif
103 VBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib
104 ifdef VBOX_WITH_USB
105 ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
106 VBoxDDU_LDFLAGS.darwin += -framework IOKit
107 endif
108 endif
109
110 VBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
111
112 #
113 # VBoxDD (shared object)
114 #
115 VBoxDD_TEMPLATE = VBoxR3DllWarnNoPic
116 VBoxDD_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
117 Storage/DrvHostDVD.cpp_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK)
118 VBoxDD_INCS = \
119 build \
120 Network/slirp
121 VBoxDD_DEFS = \
122 VBOX_ACPI \
123 VBOX_HGCM_HOST_CODE \
124 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) \
125 $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \
126 VBOX_WITH_DMI_CHASSIS \
127 VBOX_WITH_DMI_OEMSTRINGS
128 VBoxDD_DEFS.win = _WIN32_WINNT=0x0510
129 ifeq ($(KBUILD_TARGET_ARCH),x86)
130 VBoxDD_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
131 endif
132 VBoxDD_SOURCES = \
133 build/VBoxDD.cpp \
134 \
135 Input/DevPS2.cpp \
136 Input/PS2K.cpp \
137 Input/PS2M.cpp \
138 Input/UsbKbd.cpp \
139 Input/UsbMouse.cpp \
140 Bus/DevPCI.cpp \
141 Bus/DevPciIch9.cpp \
142 Bus/MsiCommon.cpp \
143 Bus/MsixCommon.cpp \
144 EFI/DevSmc.cpp \
145 Graphics/DevVGA.cpp \
146 Storage/DevATA.cpp \
147 PC/DevPit-i8254.cpp \
148 PC/DevPIC.cpp \
149 PC/DevACPI.cpp \
150 PC/ACPI/VBoxAcpi.cpp \
151 PC/DevRTC.cpp \
152 PC/DevPcBios.cpp \
153 PC/DevFwCommon.cpp \
154 PC/DevPcArch.cpp \
155 GIMDev/GIMDev.cpp \
156 VMMDev/VMMDev.cpp \
157 $(if $(VBOX_WITH_HGCM),VMMDev/VMMDevHGCM.cpp,) \
158 VMMDev/VMMDevTesting.cpp \
159 Network/DevPCNet.cpp \
160 Audio/DevIchAc97.cpp \
161 Audio/DevSB16.cpp \
162 Audio/DevIchHda.cpp \
163 Audio/DevIchHdaCodec.cpp \
164 PC/DevDMA.cpp \
165 PC/DevHPET.cpp \
166 Storage/DevFdc.cpp \
167 Serial/DevSerial.cpp \
168 Parallel/DevParallel.cpp \
169 \
170 Input/DrvKeyboardQueue.cpp \
171 Input/DrvMouseQueue.cpp \
172 Network/DrvIntNet.cpp \
173 Network/DrvDedicatedNic.cpp \
174 PC/DrvACPI.cpp \
175 PC/DrvAcpiCpu.cpp \
176 Serial/DrvChar.cpp \
177 Serial/DrvNamedPipe.cpp \
178 Serial/DrvRawFile.cpp \
179 Storage/DrvBlock.cpp \
180 Storage/DrvHostBase.cpp \
181 Storage/DrvHostDVD.cpp \
182 Storage/DrvHostFloppy.cpp \
183 Storage/DrvMediaISO.cpp \
184 Storage/DrvRawImage.cpp \
185 Storage/Debug.cpp \
186 Storage/DrvVD.cpp \
187 Storage/ATAPIPassthrough.cpp \
188 Network/DrvNetSniffer.cpp \
189 Network/Pcap.cpp
190 VBoxDD_LIBS = # more later.
191 VBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \
192 -framework CoreAudio \
193 -framework AudioUnit \
194 -framework AudioToolbox \
195 -framework IOKit \
196 -framework Carbon \
197 -framework DiskArbitration \
198 -framework SystemConfiguration
199 VBoxDD_LDFLAGS.linux = -Wl,--no-undefined
200
201 # --- Tracing bits. ---
202
203 ifdef VBOX_WITH_DTRACE_R3
204 VBoxDD_DEFS += VBOX_WITH_DTRACE
205 VBoxDD_USES += dtrace
206 VBoxDD_SOURCES += build/VBoxDD.d
207 endif
208
209 # --- Graphics bits. ---
210
211 ifdef VBOX_WITH_CRHGSMI
212 VBoxDD_DEFS += VBOX_WITH_CRHGSMI
213 endif
214 ifdef VBOXWDDM_TEST_UHGSMI
215 VBoxDD_DEFS += VBOXWDDM_TEST_UHGSMI
216 endif
217 ifdef VBOXWDDM_WITH_VBVA
218 VBoxDD_DEFS += VBOXWDDM_WITH_VBVA
219 endif
220 ifdef VBOX_WITH_VIDEOHWACCEL
221 VBoxDD_DEFS += VBOX_WITH_VIDEOHWACCEL
222 endif
223
224 ifdef VBOX_WITH_HGSMI
225 VBoxDD_DEFS += VBOX_WITH_HGSMI
226 VBoxDD_SOURCES += \
227 Graphics/DevVGA_VBVA.cpp \
228 Graphics/HGSMI/HGSMIHost.cpp
229 VBoxDD_LIBS += \
230 $(PATH_STAGE_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB)
231 endif
232
233 ifdef VBOX_WITH_WDDM
234 VBoxDD_DEFS += VBOX_WITH_WDDM
235 VBoxDD_SOURCES += \
236 Graphics/HGSMI/SHGSMIHost.cpp
237 endif
238
239 ifdef VBOX_WITH_VMSVGA
240 VBoxDD_DEFS += VBOX_WITH_VMSVGA
241 VBoxDD_SOURCES += Graphics/DevVGA-SVGA.cpp
242 endif
243 ifdef VBOX_WITH_VMSVGA3D
244 VBoxDD_DEFS += VBOX_WITH_VMSVGA3D
245 VBoxDD_SOURCES += Graphics/DevVGA-SVGA3d-shared.cpp
246 ifeq ($(KBUILD_TARGET),win) # (Disable this to work with OpenGL on Windows.)
247 VBoxDD_SOURCES += Graphics/DevVGA-SVGA3d-win.cpp
248 VBoxDD_LIBS.win += d3d9.lib $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
249 VBoxDD_LDFLAGS.win += /DELAYLOAD:d3d9.dll
250 else
251 VBoxDD_SOURCES += Graphics/DevVGA-SVGA3d-ogl.cpp
252 if1of ($(KBUILD_TARGET),win)
253 VBoxDD_LIBS += $(PATH_STAGE_LIB)/VBoxSVGA3D$(VBOX_SUFF_LIB)
254 else
255 VBoxDD_LIBS += $(PATH_STAGE_BIN)/VBoxSVGA3D$(VBOX_SUFF_DLL)
256 endif
257 VBoxDD_LIBS.linux += GL X11
258 VBoxDD_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
259 VBoxDD_LDFLAGS.darwin += -framework OpenGL
260 endif
261 Graphics/DevVGA-SVGA3d-ogl.cpp_CXXFLAGS.darwin = -F$(VBOX_PATH_MACOSX_SDK_10_7)/System/Library/Frameworks/
262 endif
263
264 ifdef VBOX_WITH_VDMA
265 VBoxDD_DEFS += VBOX_WITH_VDMA
266 VBoxDD_SOURCES += \
267 Graphics/DevVGA_VDMA.cpp
268 endif
269
270 ifdef VBOX_VDMA_WITH_WATCHDOG
271 VBoxDD_DEFS += VBOX_VDMA_WITH_WATCHDOG
272 endif
273
274 ifdef VBOX_WITH_PXE_ROM
275 VBoxDD_DEFS += VBOX_WITH_PXE_ROM
276 endif
277
278 # --- USB bits. ---
279
280 ifdef VBOX_WITH_USB
281 VBoxDD_DEFS += VBOX_WITH_USB
282 VBoxDD_SOURCES += \
283 USB/vrdp/USBProxyDevice-vrdp.cpp
284
285 VBoxDD_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
286 ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
287 VBoxDD_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
288 endif
289 VBoxDD_SOURCES.darwin += \
290 USB/USBProxyDevice.cpp \
291 USB/darwin/USBProxyDevice-darwin.cpp
292
293 VBoxDD_DEFS.linux += \
294 VUSB_HAVE_USBPROXY_DEVICE \
295 $(if $(VBOX_WITH_LINUX_COMPILER_H),VBOX_WITH_LINUX_COMPILER_H,) \
296 $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,)
297 VBoxDD_SOURCES.linux += \
298 USB/USBProxyDevice.cpp \
299 USB/linux/USBProxyDevice-linux.cpp
300
301 VBoxDD_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
302 VBoxDD_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
303 VBoxDD_SOURCES.os2 += \
304 USB/USBProxyDevice.cpp \
305 USB/os2/USBProxyDevice-os2.cpp
306
307 VBoxDD_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
308 VBoxDD_SOURCES.win += \
309 USB/USBProxyDevice.cpp \
310 USB/win/USBProxyDevice-win.cpp
311
312 VBoxDD_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
313 VBoxDD_SOURCES.solaris+= \
314 USB/USBProxyDevice.cpp \
315 USB/solaris/USBProxyDevice-solaris.cpp
316
317 VBoxDD_DEFS.freebsd += VUSB_HAVE_USBPROXY_DEVICE
318 VBoxDD_SOURCES.freebsd+= \
319 USB/USBProxyDevice.cpp \
320 USB/freebsd/USBProxyDevice-freebsd.cpp
321
322 ifdef VBOX_WITH_SCSI
323 VBoxDD_SOURCES += \
324 Storage/UsbMsd.cpp
325 endif
326
327 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
328 VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL
329 VBoxDD_SOURCES += \
330 USB/DevEHCI.cpp
331 endif
332
333 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
334 VBoxDD_DEFS += VBOX_WITH_XHCI_IMPL
335 VBoxDD_SOURCES += \
336 USB/DevXHCI.cpp
337 endif
338
339 if defined(VBOX_WITH_USB_VIDEO_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
340 if1of ($(KBUILD_TARGET), linux)
341 VBoxDD_DEFS += VBOX_WITH_USB_VIDEO_IMPL
342 VBoxDD_SOURCES += \
343 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/UsbWebcam.cpp \
344 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/UsbWebcamDesc.cpp \
345 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/jpggen.cpp \
346 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/DrvHostWebcam.cpp \
347 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/JPEGEnc.cpp
348 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/JPEGEnc.cpp_INCS = \
349 $(PATH_ROOT)/src/libs/jpeg-8a
350 VBoxDD_SOURCES.linux += \
351 $(PATH_ROOT)/src/VBox/ExtPacks/Puel/UsbWebcam/DrvHostWebcam/HostWebcam-v4l2.cpp
352 VBoxDD_LIBS += \
353 $(PATH_STAGE_LIB)/VBox-libjpeg$(VBOX_SUFF_LIB)
354 endif
355 endif
356
357 endif # VBOX_WITH_USB
358
359 ifdef VBOX_WITH_VUSB
360 VBoxDD_DEFS += VBOX_WITH_VUSB
361 VBoxDD_SOURCES += \
362 USB/DevOHCI.cpp \
363 USB/DrvVUSBRootHub.cpp \
364 USB/VUSBDevice.cpp \
365 USB/VUSBReadAhead.cpp \
366 USB/VUSBUrb.cpp \
367 USB/VUSBSniffer.cpp
368 endif
369
370 # --- Networking bits. ---
371
372 ifdef VBOX_WITH_INIP
373 VBoxDD_DEFS += VBOX_WITH_INIP
374 VBoxDD_SOURCES += \
375 Network/DevINIP.cpp
376 ifndef VBOX_WITH_NEW_LWIP
377 include $(PATH_SUB_CURRENT)/Network/lwip/Makefile.kmk
378 VBoxDD_INCS += $(LWIP_INCS)
379 VBoxDD_SOURCES += $(LWIP_SOURCES)
380 else
381 # XXX: do not depend on order
382 ifndef LWIP_SOURCES
383 include $(PATH_SUB_CURRENT)/Network/lwip-new/Makefile.kmk
384 endif
385 Network/DevINIP.cpp_DEFS += VBOX_WITH_NEW_LWIP
386 VBoxDD_LWIP_INCS += Network # for lwipopts.h
387 $(eval $(call def_vbox_lwip_private, \
388 VBoxDD, Network/lwip-new))
389 $(eval $(call def_vbox_lwip_flags, \
390 VBoxDD, Network/DevINIP.cpp, Network/lwip-new))
391 endif
392 endif # VBOX_WITH_INIP
393
394 ifdef VBOX_WITH_E1000
395 VBoxDD_DEFS += VBOX_WITH_E1000
396 VBoxDD_SOURCES += \
397 Network/DevE1000.cpp \
398 Network/DevE1000Phy.cpp \
399 Network/DevEEPROM.cpp
400 endif
401
402 ifdef VBOX_WITH_VIRTIO
403 VBoxDD_DEFS += VBOX_WITH_VIRTIO
404 VBoxDD_SOURCES += \
405 VirtIO/Virtio.cpp \
406 Network/DevVirtioNet.cpp
407 endif
408
409 ifdef VBOX_WITH_UDPTUNNEL
410 VBoxDD_DEFS += VBOX_WITH_UDPTUNNEL
411 VBoxDD_SOURCES += \
412 Network/DrvUDPTunnel.cpp
413 endif
414
415 ifdef VBOX_WITH_VDE
416 VBoxDD_DEFS += VBOX_WITH_VDE
417 VBoxDD_SOURCES += \
418 Network/DrvVDE.cpp \
419 Network/VDEPlug.cpp
420 endif
421
422 ifdef VBOX_WITH_NETSHAPER
423 VBoxDD_DEFS += VBOX_WITH_NETSHAPER
424 VBoxDD_SOURCES += \
425 Network/DrvNetShaper.cpp
426 endif
427
428 # --- Storage bits. ---
429
430 ifdef VBOX_WITH_AHCI
431 VBoxDD_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
432 VBoxDD_SOURCES += \
433 Storage/DevAHCI.cpp
434 endif
435
436 ifdef VBOX_WITH_BUSLOGIC
437 VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
438 VBoxDD_SOURCES += \
439 Storage/DevBusLogic.cpp \
440 Storage/VBoxSCSI.cpp
441 endif
442
443 ifdef VBOX_WITH_LSILOGIC
444 VBoxDD_DEFS += VBOX_WITH_LSILOGIC
445 VBoxDD_SOURCES += \
446 Storage/DevLsiLogicSCSI.cpp
447 endif
448
449 ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
450 VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
451 endif
452
453 ifdef VBOX_WITH_SCSI
454 VBoxDD_DEFS += VBOX_WITH_SCSI
455 VBoxDD_SOURCES += \
456 Storage/DrvSCSI.cpp
457 VBoxDD_SOURCES.linux += \
458 Storage/DrvSCSIHost.cpp
459 endif
460
461 ifdef VBOX_WITH_ISCSI
462 ifdef VBOX_WITH_NEW_LWIP
463 Storage/DrvVD.cpp_DEFS += VBOX_WITH_NEW_LWIP
464 $(eval $(call def_vbox_lwip_flags, \
465 VBoxDD, Storage/DrvVD.cpp, Network/lwip-new))
466 else
467 Storage/DrvVD.cpp_INCS = $(LWIP_INCS)
468 endif
469 endif
470
471 ifdef VBOX_WITH_DRV_DISK_INTEGRITY
472 VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY
473 VBoxDD_SOURCES += \
474 Storage/DrvDiskIntegrity.cpp
475 VBoxDD_LIBS += \
476 $(PATH_STAGE_LIB)/StorageDbgLib$(VBOX_SUFF_LIB)
477 endif
478
479 ifdef VBOX_WITH_EFI
480 VBoxDD_DEFS += VBOX_WITH_EFI
481 VBoxDD_SOURCES += EFI/DevEFI.cpp
482 EFI/DevEFI.cpp_INCS += EFI/Firmware/BaseTools/Source/C/Include
483 EFI/DevEFI.cpp_INCS.x86 += EFI/Firmware/BaseTools/Source/C/Include/Ia32
484 EFI/DevEFI.cpp_INCS.amd64 += EFI/Firmware/BaseTools/Source/C/Include/X64
485 endif
486
487 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
488 VBoxDD_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL
489 VBoxDD_SOURCES += \
490 Bus/DevPciRaw.cpp \
491 Bus/DrvPciRaw.cpp
492 endif
493
494 ifdef VBOX_WITH_MSI_DEVICES
495 VBoxDD_DEFS += VBOX_WITH_MSI_DEVICES
496 endif
497
498 ifdef VBOX_WITH_DYNAMIC_DSDT
499 VBoxDD_DEFS += VBOX_WITH_DYNAMIC_DSDT
500 endif
501
502
503 # --- Input bits. ---
504
505 ifdef VBOX_WITH_NEW_PS2M
506 VBoxDD_DEFS += VBOX_WITH_NEW_PS2M
507 endif
508
509
510 # --- Audio bits. ---
511
512 ifdef VBOX_WITH_PDM_AUDIO_DRIVER
513 VBoxDD_DEFS += VBOX_WITH_PDM_AUDIO_DRIVER
514 VBoxDD_SOURCES += \
515 Audio/AudioMixBuffer.cpp \
516 Audio/AudioMixer.cpp \
517 Audio/DrvAudio.cpp \
518 Audio/DrvAudioCommon.cpp \
519 Audio/DrvHostNullAudio.cpp
520
521 ## @todo Darwin CoreAudio driver missing!
522
523 ifeq ($(KBUILD_TARGET),win)
524 VBoxDD_SOURCES += \
525 Audio/DrvHostDSound.cpp
526 VBoxDD_LIBS += \
527 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dsound.lib
528 endif
529
530 ifeq ($(KBUILD_TARGET),linux)
531 VBoxDD_SOURCES += \
532 Audio/DrvHostOSSAudio.cpp
533
534 ifdef VBOX_WITH_PULSE
535 VBoxDD_DEFS += VBOX_WITH_PULSE
536 VBoxDD_SOURCES += \
537 Audio/DrvHostPulseAudio.cpp \
538 Audio/pulse_stubs.c
539 endif
540
541 ifdef VBOX_WITH_ALSA
542 VBoxDD_DEFS += VBOX_WITH_ALSA
543 VBoxDD_SOURCES += \
544 Audio/DrvHostALSAAudio.cpp \
545 Audio/alsa_stubs.c
546 endif
547 endif
548
549 ifeq ($(KBUILD_TARGET),freebsd)
550 VBoxDD_SOURCES += \
551 Audio/DrvHostOSSAudio.cpp
552 ifdef VBOX_WITH_PULSE
553 VBoxDD_DEFS += VBOX_WITH_PULSE
554 VBoxDD_SOURCES += \
555 Audio/DrvHostPulseAudio.cpp \
556 Audio/pulse_stubs.c
557 endif
558 endif
559
560 ifeq ($(KBUILD_TARGET),solaris)
561 VBoxDD_SOURCES += \
562 Audio/DrvHostSolAudio.cpp
563 ifdef VBOX_WITH_SOLARIS_OSS
564 VBoxDD_SOURCES += Audio/DrvHostOSSAudio.cpp
565 VBoxDD_DEFS += VBOX_WITH_SOLARIS_OSS
566 endif
567 endif
568
569 else # !VBOX_WITH_PDM_AUDIO_DRIVER
570
571 VBoxDD_SOURCES += \
572 Audio/audio.c \
573 Audio/audiosniffer.c \
574 Audio/noaudio.c \
575 Audio/filteraudio.c \
576 Audio/mixeng.c
577
578 ifeq ($(KBUILD_TARGET),win)
579 VBoxDD_SOURCES += \
580 Audio/dsoundaudio.c
581 endif
582
583 VBoxDD_SOURCES.darwin += \
584 Audio/coreaudio.c
585
586 ifeq ($(KBUILD_TARGET),solaris)
587 VBoxDD_SOURCES += \
588 Audio/solaudio.c
589 ifdef VBOX_WITH_SOLARIS_OSS
590 VBoxDD_DEFS += VBOX_WITH_SOLARIS_OSS
591 VBoxDD_SOURCES += \
592 Audio/ossaudio.c
593 endif
594 endif
595
596 ifeq ($(KBUILD_TARGET),linux)
597 VBoxDD_SOURCES += \
598 Audio/ossaudio.c
599 ifdef VBOX_WITH_PULSE
600 VBoxDD_DEFS += VBOX_WITH_PULSE
601 VBoxDD_SOURCES += \
602 Audio/pulseaudio.c \
603 Audio/pulse_stubs.c
604 endif
605 ifdef VBOX_WITH_ALSA
606 VBoxDD_DEFS += VBOX_WITH_ALSA
607 VBoxDD_SOURCES += \
608 Audio/alsaaudio.c \
609 Audio/alsa_stubs.c
610 endif
611 endif
612
613 ifeq ($(KBUILD_TARGET),freebsd)
614 VBoxDD_SOURCES += \
615 Audio/ossaudio.c
616 ifdef VBOX_WITH_PULSE
617 VBoxDD_DEFS += VBOX_WITH_PULSE
618 VBoxDD_SOURCES += \
619 Audio/pulseaudio.c \
620 Audio/pulse_stubs.c
621 endif
622 endif
623
624 ifeq ($(KBUILD_TARGET),solaris)
625 VBoxDD_SOURCES += \
626 Audio/solaudio.c
627 ifdef VBOX_WITH_SOLARIS_OSS
628 VBoxDD_SOURCES += Audio/ossaudio.c
629 VBoxDD_DEFS += VBOX_WITH_SOLARIS_OSS
630 endif
631 endif
632
633 endif # VBOX_WITH_PDM_AUDIO_DRIVER
634
635 # --- WARNING! SLIRP MESS AHEAD! ;-) ---
636 VBOX_SLIRP_SOURCES = \
637 Network/DrvNAT.cpp \
638 Network/slirp/bootp.c \
639 Network/slirp/debug.c \
640 Network/slirp/ip_icmp.c \
641 Network/slirp/ip_input.c \
642 Network/slirp/ip_output.c \
643 Network/slirp/misc.c \
644 Network/slirp/sbuf.c \
645 Network/slirp/slirp.c \
646 Network/slirp/slirp_dns.c \
647 Network/slirp/socket.c \
648 Network/slirp/tcp_input.c \
649 Network/slirp/tcp_output.c \
650 Network/slirp/tcp_subr.c \
651 Network/slirp/tcp_timer.c \
652 Network/slirp/udp.c \
653 Network/slirp/dnsproxy/hash.c \
654 Network/slirp/tftp.c \
655 Network/slirp/dnsproxy/dnsproxy.c
656
657 ifeq ($(KBUILD_TARGET), win)
658 VBOX_SLIRP_SOURCES += Network/slirp/ip_icmpwin.c
659 endif
660
661 ifneq ($(KBUILD_TARGET), win)
662 VBOX_SLIRP_SOURCES += Network/slirp/resolv_conf_parser.c
663 endif
664
665 ifdef VBOX_WITH_SLIRP_BSD_SBUF
666 VBOX_SLIRP_SOURCES += Network/slirp/bsd/kern/subr_sbuf.c
667 endif
668 VBOX_SLIRP_BSD_ARCH = $(subst x86,i386,$(KBUILD_TARGET_ARCH))
669 VBOX_SLIRP_BSD_SOURCES += \
670 Network/slirp/bsd/kern/kern_mbuf.c \
671 Network/slirp/bsd/kern/uipc_mbuf.c \
672 Network/slirp/bsd/kern/uipc_mbuf2.c \
673 Network/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/in_cksum.c
674 VBOX_SLIRP_ALIAS_SOURCES = \
675 Network/slirp/libalias/alias.c \
676 Network/slirp/libalias/alias_db.c \
677 Network/slirp/libalias/alias_mod.c \
678 Network/slirp/libalias/alias_proxy.c \
679 Network/slirp/libalias/alias_ftp.c \
680 Network/slirp/libalias/alias_dns.c \
681 Network/slirp/libalias/alias_nbt.c \
682 Network/slirp/libalias/alias_util.c
683
684 # Enable VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER here for a while, then move to
685 # $(file)_DEFS or clean the code disabled with this definition.
686 VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER=1
687
688 # dump memory related operations.
689 Network/slirp/misc.c_DEFS += $(if $(VBOX_NAT_MEM_DEBUG),VBOX_NAT_MEM_DEBUG,)
690
691 VBoxDD_SOURCES += $(VBOX_SLIRP_SOURCES)
692 define def_vbox_slirp_cflags
693 $(file)_DEFS += \
694 $(if $(VBOX_WITH_SLIRP_BSD_SBUF),VBOX_WITH_SLIRP_BSD_SBUF,) \
695 $(if $(VBOX_WITH_SLIRP_MEMORY_CHECK),RTMEM_WRAP_TO_EF_APIS,) \
696 $(if $(VBOX_WITH_DEBUG_NAT_SOCKETS),VBOX_WITH_DEBUG_NAT_SOCKETS,) \
697 $(if $(VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER),VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER,) \
698 $(if $(VBOX_WITH_NAT_UDP_SOCKET_CLONE),VBOX_WITH_NAT_UDP_SOCKET_CLONE,) \
699 $(if $(VBOX_WITH_NAT_SEND2HOME),VBOX_WITH_NAT_SEND2HOME,) \
700 $(if $(VBOX_WITH_HIDDEN_TCPTEMPLATE),VBOX_WITH_HIDDEN_TCPTEMPLATE,) \
701 $(if $(VBOX_WITH_SLIRP_MT),VBOX_WITH_SLIRP_MT,)
702 $(file)_INCS += \
703 $(1)/slirp/bsd/sys \
704 $(1)/slirp/bsd/sys/sys \
705 $(1)/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/include \
706 $(1)/slirp/bsd/netinet \
707 $(1)/slirp \
708 $(1)/slirp/libalias
709 ifeq ($(KBUILD_TARGET),win)
710 $(file)_CFLAGS = -wd4018
711 else
712 $(file)_CFLAGS += -Wno-sign-compare -Wno-format -Wno-bad-function-cast
713 endif
714 endef
715
716 $(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
717
718 VBoxDD_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
719 define def_vbox_slirp_alias_cflags
720 $(file)_DEFS += VBOX_SLIRP_ALIAS \
721 $(if $(VBOX_WITH_DEBUG_LIBALIAS),VBOX_WITH_DEBUG_LIBALIAS,)
722 $(file)_INCS += \
723 $(1)/slirp/libalias \
724 $(1)/slirp \
725 $(1)/slirp/dnsproxy
726 ifneq ($(KBUILD_TARGET),win)
727 $(file)_CFLAGS += -Wno-shadow
728 endif
729 endef
730 $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
731 $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_alias_cflags, Network)))
732
733 VBOX_SLIRP_BSD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES.${KBUILD_TARGET_ARCH})
734 VBoxDD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES)
735 define def_vbox_slirp_bsd_cflags
736 $(file)_DEFS += VBOX_SLIRP_BSD
737 $(file)_INCS += $(1)/slirp/dnsproxy
738 endef
739 $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
740 $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_bsd_cflags, Network)))
741
742
743 # --- OS specific driver hacks. ---
744
745 ifeq ($(KBUILD_TARGET),darwin)
746 VBoxDD_SOURCES := \
747 $(filter-out Storage/DrvHostRaw% Storage/DrvHostFloppy%, $(VBoxDD_SOURCES))
748 VBoxDD_SOURCES.darwin += \
749 Serial/DrvHostSerial.cpp
750 endif # darwin
751
752 ifeq ($(KBUILD_TARGET),freebsd)
753 VBoxDD_SOURCES := \
754 $(filter-out Storage/DrvHostFloppy%, $(VBoxDD_SOURCES))
755 Serial/DrvHostSerial.cpp
756 VBoxDD_SOURCES.freebsd += \
757 Network/DrvTAP.cpp
758 endif # freebsd
759
760 VBoxDD_SOURCES.linux += \
761 Network/DrvTAP.cpp \
762 Parallel/DrvHostParallel.cpp \
763 Serial/DrvHostSerial.cpp
764
765 ifeq ($(KBUILD_TARGET),os2)
766 VBoxDD_SOURCES := $(filter-out Storage/DrvHost%, $(VBoxDD_SOURCES))
767 endif
768
769 ifeq ($(KBUILD_TARGET),solaris)
770 VBoxDD_SOURCES := $(filter-out Storage/DrvHostFloppy%, $(VBoxDD_SOURCES))
771 VBoxDD_SOURCES.solaris += \
772 Serial/DrvHostSerial.cpp
773 ifdef VBOX_WITH_SUID_WRAPPER
774 VBoxDD_DEFS += VBOX_WITH_SUID_WRAPPER
775 endif
776 endif
777
778 VBoxDD_DEFS.win += VBOX_WITH_WIN_PARPORT_SUP
779 VBoxDD_SOURCES.win += \
780 Serial/DrvHostSerial.cpp \
781 Parallel/DrvHostParallel.cpp
782
783 if defined(VBOX_WITH_NETFLT)
784 VBoxDD_DEFS += VBOX_WITH_NETFLT
785 if defined(VBOX_NETFLT_ONDEMAND_BIND)
786 VBoxDD_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
787 endif
788 endif
789
790
791 # --- Final bits, mostly libraries for order dependant linkers. ---
792
793 VBoxDD_LIBS += \
794 $(PATH_STAGE_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
795 $(LIB_VMM) \
796 $(LIB_RUNTIME)
797 ifeq ($(KBUILD_TARGET),win)
798 VBoxDD_LIBS += \
799 $(LIB_DDU) \
800 $(PATH_STAGE_LIB)/VBoxDD2.lib \
801 $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
802 else
803 VBoxDD_LIBS += \
804 $(VBoxDDU_1_STAGE_TARGET) \
805 $(VBoxDD2_1_STAGE_TARGET)
806 endif
807
808 ifdef VBOX_WITH_NETFLT
809 VBoxDD_LIBS.win += $(PATH_STAGE_LIB)/WinNetConfig.lib
810 endif
811
812 ifeq ($(KBUILD_TARGET),solaris)
813 VBoxDD_LIBS += adm
814 ifdef VBOX_WITH_SUID_WRAPPER
815 VBoxDD_LIBS += secdb
816 endif
817 ifdef VBOX_WITH_USB
818 VBoxDD_LIBS += aio
819 endif
820 endif
821
822 VBoxDD_LIBS.darwin += \
823 $(LIB_REM)
824
825
826 ifdef VBOX_WITH_DYNAMIC_DSDT
827 VBoxDD_CLEAN += $(VBoxDD_0_OUTDIR)/vboxdsl.hex
828 PC/ACPI/VBoxAcpi.cpp_DEPS = $(VBoxDD_0_OUTDIR)/vboxdsl.hex
829
830 $$(VBoxDD_0_OUTDIR)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
831 $(call MSG_TOOL,bin2c,VBoxDD,$<,$@)
832 $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@
833
834 vboxdsl.hex:: $$(VBoxDD_0_OUTDIR)/vboxdsl.hex
835
836 else # !VBOX_WITH_DYNAMIC_DSDT
837 # VBoxAcpi.cpp needs vboxaml.hex which we generate from PC/vbox.dsl
838 VBoxDD_CLEAN += \
839 $(VBoxDD_0_OUTDIR)/vboxaml.hex \
840 $(VBoxDD_0_OUTDIR)/vboxaml.aml \
841 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex \
842 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.aml \
843 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.aml.tmp \
844 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex \
845 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml \
846 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml.tmp \
847 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml.pre
848 PC/ACPI/VBoxAcpi.cpp_DEPS = \
849 $(VBoxDD_0_OUTDIR)/vboxaml.hex \
850 $(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex \
851 $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex
852
853 $$(VBoxDD_0_OUTDIR)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
854 $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
855 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
856
857 vboxaml.hex:: $$(VBoxDD_0_OUTDIR)/vboxaml.hex
858
859 $$(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex: $(PATH_SUB_CURRENT)/PC/vbox-standard.dsl | $$(dir $$@)
860 $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
861 $(QUIET)$(RM) -f $@ [email protected]
862 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
863 $(QUIET)$(MV) -f $@ [email protected]
864 $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtStandard/g" \
865 --output $@ [email protected]
866 $(QUIET)$(RM) -f [email protected]
867
868
869 vboxssdt-standard.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex
870
871 $$(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex: $(PATH_SUB_CURRENT)/PC/vbox-cpuhotplug.dsl | $$(dir $$@)
872 $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
873 $(QUIET)$(RM) -f $@ [email protected] [email protected]
874 $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o [email protected] $<
875 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ [email protected]
876 $(QUIET)$(MV) -f $@ [email protected]
877 $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtCpuHotPlug/g" \
878 --output $@ [email protected]
879 $(QUIET)$(RM) -f [email protected] [email protected]
880
881
882 vboxssdt-cpuhotplug.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex
883
884 endif # !VBOX_WITH_DYNAMIC_DSDT
885 PC/ACPI/VBoxAcpi.cpp_INCS = $(VBoxDD_0_OUTDIR)
886
887 # For finding PCIInternal.h from VBox/pci.h.
888 Bus/DevPCI.cpp_INCS = Bus
889 Bus/DevPciIch9.cpp_INCS = Bus
890 Bus/MsiCommon.cpp_INCS = Bus
891 Bus/MsixCommon.cpp_INCS = Bus
892 Bus/DevPciRaw.cpp_INCS = Bus
893
894 # For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
895 Graphics/DevVGA.cpp_INCS = $(VgaBiosBin_0_OUTDIR)
896 Graphics/DevVGA.cpp_DEPS = $(VgaBiosBin_0_OUTDIR)/vbetables.h
897
898
899 ifdef VBOX_WITH_RAW_MODE
900 #
901 # VBoxDDGC (sysmod)
902 #
903 VBoxDDGC_TEMPLATE = VBoxRc
904 ifeq ($(KBUILD_TARGET_ARCH),x86)
905 VBoxDDGC_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
906 endif
907 VBoxDDGC_DEFS = $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,)
908 VBoxDDGC_INCS = build
909 VBoxDDGC_SOURCES = \
910 Audio/DevIchHda.cpp \
911 Bus/DevPCI.cpp \
912 Bus/DevPciIch9.cpp \
913 Bus/MsiCommon.cpp \
914 Bus/MsixCommon.cpp \
915 EFI/DevSmc.cpp \
916 Graphics/DevVGA.cpp \
917 Input/DevPS2.cpp \
918 Input/PS2K.cpp \
919 Input/PS2M.cpp \
920 PC/DevACPI.cpp \
921 PC/DevPit-i8254.cpp \
922 PC/DevPIC.cpp \
923 PC/DevRTC.cpp \
924 PC/DevHPET.cpp \
925 Storage/DevATA.cpp \
926 Network/DevPCNet.cpp \
927 Serial/DevSerial.cpp \
928 Parallel/DevParallel.cpp \
929 VMMDev/VMMDevTesting.cpp
930
931 ifdef VBOX_WITH_E1000
932 VBoxDDGC_DEFS += VBOX_WITH_E1000
933 VBoxDDGC_SOURCES += \
934 Network/DevE1000.cpp \
935 Network/DevE1000Phy.cpp
936 endif
937
938 ifdef VBOX_WITH_VIRTIO
939 VBoxDDGC_DEFS += VBOX_WITH_VIRTIO
940 VBoxDDGC_SOURCES += \
941 VirtIO/Virtio.cpp \
942 Network/DevVirtioNet.cpp
943 endif
944
945 ifdef VBOX_WITH_HGSMI
946 VBoxDDGC_DEFS += VBOX_WITH_HGSMI
947 endif
948 ifdef VBOX_WITH_WDDM
949 VBoxDDGC_DEFS += VBOX_WITH_WDDM
950 endif
951 ifdef VBOX_WITH_VDMA
952 VBoxDDGC_DEFS += VBOX_WITH_VDMA
953 endif
954 ifdef VBOX_WITH_CRHGSMI
955 VBoxDDGC_DEFS += VBOX_WITH_CRHGSMI
956 endif
957 ifdef VBOXWDDM_WITH_VBVA
958 VBoxDDGC_DEFS += VBOXWDDM_WITH_VBVA
959 endif
960 ifdef VBOX_WITH_VMSVGA
961 VBoxDDGC_DEFS += VBOX_WITH_VMSVGA
962 VBoxDDGC_SOURCES += \
963 Graphics/DevVGA-SVGA.cpp
964 endif
965 ifdef VBOX_WITH_VMSVGA3D
966 VBoxDDGC_DEFS += VBOX_WITH_VMSVGA3D
967 endif
968 ifdef VBOX_VDMA_WITH_WATCHDOG
969 VBoxDDGC_DEFS += VBOX_VDMA_WITH_WATCHDOG
970 endif
971
972 ifdef VBOX_WITH_VUSB
973 VBoxDDGC_DEFS += VBOX_WITH_VUSB
974 VBoxDDGC_SOURCES += \
975 USB/DevOHCI.cpp
976 endif
977
978 ifdef VBOX_WITH_USB
979 VBoxDDGC_DEFS += VBOX_WITH_USB
980 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
981 VBoxDDGC_DEFS += VBOX_WITH_EHCI_IMPL
982 VBoxDDGC_SOURCES += \
983 USB/DevEHCI.cpp
984 endif
985 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
986 VBoxDDGC_DEFS += VBOX_WITH_XHCI_IMPL
987 VBoxDDGC_SOURCES += \
988 USB/DevXHCI.cpp
989 endif
990 endif
991
992 ifdef VBOX_WITH_VIDEOHWACCEL
993 VBoxDDGC_DEFS += VBOX_WITH_VIDEOHWACCEL
994 endif
995
996 ifdef VBOX_WITH_AHCI
997 VBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
998 VBoxDDGC_SOURCES += \
999 Storage/DevAHCI.cpp
1000 endif
1001
1002 ifdef VBOX_WITH_BUSLOGIC
1003 VBoxDDGC_DEFS += VBOX_WITH_BUSLOGIC
1004 VBoxDDGC_SOURCES += \
1005 Storage/DevBusLogic.cpp
1006 endif
1007
1008 ifdef VBOX_WITH_LSILOGIC
1009 VBoxDDGC_DEFS += VBOX_WITH_LSILOGIC
1010 VBoxDDGC_SOURCES += \
1011 Storage/DevLsiLogicSCSI.cpp
1012 endif
1013
1014 ifdef VBOX_WITH_NEW_PS2M
1015 VBoxDDGC_DEFS += VBOX_WITH_NEW_PS2M
1016 endif
1017
1018 if1of ($(VBOX_LDR_FMT32), pe lx)
1019 VBoxDDGC_LIBS = \
1020 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
1021 $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
1022 endif
1023 endif # VBOX_WITH_RAW_MODE
1024
1025
1026 #
1027 # VBoxDD2 (shared object)
1028 #
1029 VBoxDD2_TEMPLATE = VBoxR3DllWarnNoPic
1030 VBoxDD2_DEFS = IN_VBOXDD2
1031 VBoxDD2_INCS := \
1032 build \
1033 $(PATH_SUB_CURRENT)
1034 VBoxDD2_SOURCES = \
1035 build/VBoxDD2.cpp \
1036 PC/DevAPIC.cpp \
1037 PC/DevIoApic.cpp \
1038 PC/DevLPC.cpp
1039 VBoxDD2_LIBS = \
1040 $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
1041 $(PATH_STAGE_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
1042 $(if $(VBOX_WITH_PXE_ROM),\
1043 $(if $(VBOX_WITH_INTEL_PXE),\
1044 $(PATH_STAGE_LIB)/NetBiosBin$(VBOX_SUFF_LIB),\
1045 $(PATH_STAGE_LIB)/iPxeBiosBin$(VBOX_SUFF_LIB)),) \
1046 $(LIB_VMM) \
1047 $(LIB_RUNTIME)
1048 VBoxDD2_LIBS.darwin += $(LIB_REM)
1049 VBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
1050 VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
1051
1052 ifdef VBOX_WITH_PXE_ROM
1053 VBoxDD2_DEFS += VBOX_WITH_PXE_ROM
1054 endif
1055
1056
1057 #
1058 # VBoxDDR0 (sysmod)
1059 #
1060 VBoxDDR0_TEMPLATE = VBoxR0
1061 VBoxDDR0_DEFS.darwin.x86= VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 VBOX_WITH_2X_4GB_ADDR_SPACE
1062 VBoxDDR0_DEFS = IN_RT_R0 $(if $(VBOX_WITH_HGCM),VBOX_WITH_HGCM,) # - WTF is IN_RT_R0 doing here?
1063 VBoxDDR0_DEFS.win += VBOX_WITH_WIN_PARPORT_SUP
1064 VBoxDDR0_INCS = build
1065 VBoxDDR0_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
1066 VBoxDDR0_SOURCES = \
1067 build/VBoxDDR0.cpp \
1068 Audio/DevIchHda.cpp \
1069 Bus/DevPCI.cpp \
1070 Bus/DevPciIch9.cpp \
1071 Bus/MsiCommon.cpp \
1072 Bus/MsixCommon.cpp \
1073 EFI/DevSmc.cpp \
1074 Graphics/DevVGA.cpp \
1075 Input/DevPS2.cpp \
1076 Input/PS2K.cpp \
1077 Input/PS2M.cpp \
1078 PC/DevACPI.cpp \
1079 PC/DevPit-i8254.cpp \
1080 PC/DevPIC.cpp \
1081 PC/DevRTC.cpp \
1082 PC/DevHPET.cpp \
1083 Storage/DevATA.cpp \
1084 Network/DevPCNet.cpp \
1085 Serial/DevSerial.cpp \
1086 Parallel/DevParallel.cpp \
1087 VMMDev/VMMDevTesting.cpp \
1088 \
1089 Network/DrvIntNet.cpp \
1090 Network/DrvDedicatedNic.cpp
1091
1092 VBoxDDR0_SOURCES.win += Parallel/DrvHostParallel.cpp
1093
1094 ifdef VBOX_WITH_E1000
1095 VBoxDDR0_DEFS += VBOX_WITH_E1000
1096 VBoxDDR0_SOURCES += \
1097 Network/DevE1000.cpp \
1098 Network/DevE1000Phy.cpp
1099 endif
1100
1101 ifdef VBOX_WITH_VIRTIO
1102 VBoxDDR0_DEFS += VBOX_WITH_VIRTIO
1103 VBoxDDR0_SOURCES += \
1104 VirtIO/Virtio.cpp \
1105 Network/DevVirtioNet.cpp
1106 endif
1107
1108 ifdef VBOX_WITH_NETSHAPER
1109 VBoxDDR0_DEFS += VBOX_WITH_NETSHAPER
1110 VBoxDDR0_SOURCES += \
1111 Network/DrvNetShaper.cpp
1112 endif
1113
1114 ifdef VBOX_WITH_VMSVGA
1115 VBoxDDR0_DEFS += VBOX_WITH_VMSVGA
1116 VBoxDDR0_SOURCES += \
1117 Graphics/DevVGA-SVGA.cpp
1118 endif
1119 ifdef VBOX_WITH_VMSVGA3D
1120 VBoxDDR0_DEFS += VBOX_WITH_VMSVGA3D
1121 endif
1122
1123 ifdef VBOX_WITH_HGSMI
1124 VBoxDDR0_DEFS += VBOX_WITH_HGSMI
1125 endif
1126 ifdef VBOX_WITH_WDDM
1127 VBoxDDR0_DEFS += VBOX_WITH_WDDM
1128 endif
1129 ifdef VBOX_WITH_VDMA
1130 VBoxDDR0_DEFS += VBOX_WITH_VDMA
1131 endif
1132 ifdef VBOX_WITH_CRHGSMI
1133 VBoxDDR0_DEFS += VBOX_WITH_CRHGSMI
1134 endif
1135 ifdef VBOXWDDM_WITH_VBVA
1136 VBoxDDR0_DEFS += VBOXWDDM_WITH_VBVA
1137 endif
1138 ifdef VBOX_VDMA_WITH_WATCHDOG
1139 VBoxDDR0_DEFS += VBOX_VDMA_WITH_WATCHDOG
1140 endif
1141
1142 ifdef VBOX_WITH_VUSB
1143 VBoxDDR0_DEFS += VBOX_WITH_VUSB
1144 VBoxDDR0_SOURCES += \
1145 USB/DevOHCI.cpp
1146 endif
1147 ifdef VBOX_WITH_USB
1148 VBoxDDR0_DEFS += VBOX_WITH_USB
1149 if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1150 VBoxDDR0_DEFS += VBOX_WITH_EHCI_IMPL
1151 VBoxDDR0_SOURCES += \
1152 USB/DevEHCI.cpp
1153 endif
1154 if defined(VBOX_WITH_XHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1155 VBoxDDR0_DEFS += VBOX_WITH_XHCI_IMPL
1156 VBoxDDR0_SOURCES += \
1157 USB/DevXHCI.cpp
1158 endif
1159 endif
1160
1161 if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
1162 VBoxDDR0_SOURCES += \
1163 Bus/DevPciRaw.cpp
1164 endif
1165
1166 ifdef VBOX_WITH_AHCI
1167 VBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
1168 VBoxDDR0_SOURCES += \
1169 Storage/DevAHCI.cpp
1170 endif
1171
1172 ifdef VBOX_WITH_BUSLOGIC
1173 VBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
1174 VBoxDDR0_SOURCES += \
1175 Storage/DevBusLogic.cpp
1176 endif
1177
1178 ifdef VBOX_WITH_LSILOGIC
1179 VBoxDDR0_DEFS += VBOX_WITH_LSILOGIC
1180 VBoxDDR0_SOURCES += \
1181 Storage/DevLsiLogicSCSI.cpp
1182 endif
1183
1184 ifdef VBOX_WITH_NEW_PS2M
1185 VBoxDDR0_DEFS += VBOX_WITH_NEW_PS2M
1186 endif
1187
1188 ifdef VBOX_WITH_HGSMI
1189 VBoxDDR0_DEFS += VBOX_WITH_HGSMI
1190 endif
1191 ifdef VBOX_WITH_VIDEOHWACCEL
1192 VBoxDDR0_DEFS += VBOX_WITH_VIDEOHWACCEL
1193 endif
1194
1195 if1of ($(VBOX_LDR_FMT), pe lx)
1196 VBoxDDR0_LIBS = \
1197 $(PATH_STAGE_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
1198 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
1199 endif
1200
1201
1202 ifdef VBOX_WITH_RAW_MODE
1203 #
1204 # VBoxDD2GC (LGPL sysmod)
1205 #
1206 VBoxDD2GC_TEMPLATE = VBoxRc
1207 VBoxDD2GC_INCS = build
1208 VBoxDD2GC_SOURCES = \
1209 PC/DevAPIC.cpp \
1210 PC/DevIoApic.cpp
1211 if1of ($(VBOX_LDR_FMT32), pe lx)
1212 VBoxDD2GC_LIBS = \
1213 $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
1214 $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
1215 endif
1216 endif
1217
1218
1219 #
1220 # VBoxDD2R0 (LGPL sysmod)
1221 #
1222 VBoxDD2R0_TEMPLATE = VBoxR0
1223 VBoxDD2R0_DEFS = IN_RT_R0
1224 VBoxDD2R0_INCS = build
1225 VBoxDD2R0_SOURCES = \
1226 build/VBoxDD2R0.cpp \
1227 PC/DevAPIC.cpp \
1228 PC/DevIoApic.cpp \
1229
1230 if1of ($(VBOX_LDR_FMT), pe lx)
1231 VBoxDD2R0_LIBS = \
1232 $(PATH_STAGE_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
1233 $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
1234 endif
1235
1236
1237 #
1238 # Ring-0 Services (library, linked into VMMR0.r0)
1239 #
1240 ServicesR0_TEMPLATE = VBoxR0
1241 ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0 \
1242 $(if $(VBOX_WITH_PCI_PASSTHROUGH),IN_PCIRAW_R0,) \
1243 $(if $(VBOX_WITH_NAT_SERVICE),VBOX_WITH_NAT_SERVICE,)
1244 ServicesR0_SOURCES = \
1245 Network/SrvIntNetR0.cpp \
1246 $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/SrvPciRawR0.cpp,)
1247 Network/SrvIntNetR0.cpp_CXXFLAGS := $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds))
1248
1249
1250 #
1251 # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
1252 #
1253 ifdef VBOX_WITH_TESTCASES
1254 PROGRAMS += tstIntNetR0
1255 tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
1256 tstIntNetR0_DEFS = IN_INTNET_R0
1257 tstIntNetR0_SOURCES = \
1258 Network/testcase/tstIntNetR0.cpp
1259 ifneq ($(KBUILD_TARGET),win)
1260 Network/testcase/tstIntNetR0.cpp_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
1261 endif
1262 endif
1263
1264
1265 #
1266 # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
1267 #
1268 ifdef VBOX_WITH_TESTCASES
1269 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win"
1270 PROGRAMS += tstIntNetHardened-1
1271 tstIntNetHardened-1_TEMPLATE = VBoxR3HardenedTstExe
1272 tstIntNetHardened-1_NAME = tstIntNet-1
1273 tstIntNetHardened-1_DEFS = PROGRAM_NAME_STR=\"tstIntNet-1\"
1274 tstIntNetHardened-1_SOURCES = ../HostDrivers/Support/SUPR3HardenedMainTemplate.cpp
1275
1276 DLLS += tstIntNet-1
1277 tstIntNet-1_TEMPLATE = VBoxR3TstDll
1278 else
1279 PROGRAMS += tstIntNet-1
1280 tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
1281 endif
1282 tstIntNet-1_SOURCES = \
1283 Network/testcase/tstIntNet-1.cpp \
1284 Network/Pcap.cpp
1285 endif
1286
1287
1288 #
1289 # EEPROM device unit test requires cppunit
1290 #
1291 ifdef VBOX_WITH_CPPUNIT_TESTCASES
1292 ifdef VBOX_WITH_E1000
1293 PROGRAMS += tstDevEEPROM
1294 tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
1295 tstDevEEPROM_SOURCES = \
1296 Network/testcase/tstDevEEPROM.cpp
1297 tstDevEEPROM_LIBS = \
1298 $(TARGET_VBoxDD)
1299 PROGRAMS += tstDevPhy
1300 tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
1301 tstDevPhy_SOURCES = \
1302 Network/testcase/tstDevPhy.cpp \
1303 Network/DevE1000Phy.cpp
1304 tstDevPhy_DEFS = PHY_UNIT_TEST
1305 endif
1306 endif
1307
1308 #
1309 # Apple SMC Utility.
1310 #
1311 ifdef VBOX_WITH_TESTCASES
1312 PROGRAMS.darwin += VBoxSmcUtil-darwin
1313 VBoxSmcUtil-darwin_TEMPLATE = VBOXR3TSTEXE
1314 VBoxSmcUtil-darwin_SOURCES = EFI/VBoxSmcUtil-darwin.cpp
1315 VBoxSmcUtil-darwin_LDFLAGS = -framework IOKit
1316 endif
1317
1318endif # !VBOX_ONLY_EXTPACKS
1319
1320
1321if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
1322 #
1323 # The EHCI (USB 2.0) Extension Pack Modules.
1324 #
1325 if defined(VBOX_WITH_USB)
1326 DLLS += VBoxEhciR3
1327 VBoxEhciR3_TEMPLATE = VBoxR3ExtPackPuel
1328 VBoxEhciR3_SOURCES = \
1329 USB/DevEHCI.cpp \
1330 USB/DevXHCI.cpp
1331
1332 SYSMODS += VBoxEhciR0
1333 VBoxEhciR0_TEMPLATE = VBoxR0ExtPackPuel
1334 VBoxEhciR0_SOURCES = \
1335 USB/DevEHCI.cpp \
1336 USB/DevXHCI.cpp
1337
1338 ifdef VBOX_WITH_RAW_MODE
1339 SYSMODS += VBoxEhciRC
1340 VBoxEhciRC_TEMPLATE = VBoxRcExtPackPuel
1341 VBoxEhciRC_SOURCES = \
1342 USB/DevEHCI.cpp \
1343 USB/DevXHCI.cpp
1344 endif
1345
1346 # Hacky but MSI support *must* be enabled
1347 ifdef VBOX_WITH_MSI_DEVICES
1348 VBoxEhciR3_DEFS += VBOX_WITH_MSI_DEVICES
1349 VBoxEhciR0_DEFS += VBOX_WITH_MSI_DEVICES
1350 VBoxEhciRC_DEFS += VBOX_WITH_MSI_DEVICES
1351 endif
1352
1353 endif
1354
1355 if defined(VBOX_WITH_PCI_PASSTHROUGH)
1356 DLLS += VBoxPciRawR3
1357 VBoxPciRawR3_TEMPLATE = VBoxR3ExtPackPuel
1358 VBoxPciRawR3_SOURCES = Bus/DevPciRaw.cpp
1359
1360 DLLS += VBoxPciRawDrv
1361 VBoxPciRawDrv_TEMPLATE = VBoxR3ExtPackPuel
1362 VBoxPciRawDrv_SOURCES = Bus/DrvPciRaw.cpp
1363
1364 SYSMODS += VBoxPciRawR0
1365 VBoxPciRawR0_TEMPLATE = VBoxR0ExtPackPuel
1366 VBoxPciRawR0_SOURCES = Bus/DevPciRaw.cpp
1367
1368 Bus/DevPciRaw.cpp_INCS = Bus
1369 endif
1370
1371
1372 #
1373 # The Intel PXE ROM.
1374 #
1375 INSTALLS += VBoxExtPackPuelInsRoms
1376 VBoxExtPackPuelInsRoms_TEMPLATE = VBoxInsExtPackPuel
1377 VBoxExtPackPuelInsRoms_SOURCES = PC/PXE/PXE-Intel.rom=>PXE-Intel.rom
1378endif # VBOX_WITH_EXTPACK_PUEL
1379
1380
1381if defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_EXTPACKS)
1382 #
1383 # Template used for VBoxSVGA3D. (Stips away compiler options.)
1384 #
1385 TEMPLATE_VBoxSVGA3D = VBoxSVGA3D
1386 TEMPLATE_VBoxSVGA3D_EXTENDS = VBOXR3
1387 TEMPLATE_VBoxSVGA3D_CFLAGS = \
1388 $(filter-out -pedantic -fno-common -Wstrict-prototypes,$(TEMPLATE_VBOXR3_CFLAGS))
1389 TEMPLATE_VBoxSVGA3D_CXXFLAGS = \
1390 $(filter-out -pedantic -fno-common,$(TEMPLATE_VBOXR3_CXXFLAGS))
1391 TEMPLATE_VBoxSVGA3D_CFLAGS.darwin = \
1392 $(filter-out -fno-common,$(TEMPLATE_VBOXR3_CFLAGS.darwin))
1393 TEMPLATE_VBoxSVGA3D_LDFLAGS.darwin = $(TEMPLATE_VBOXR3_LDFLAGS.darwin) \
1394 -framework AppKit -framework OpenGL
1395
1396 #
1397 # The shader library used by the SVGA3D implementation.
1398 #
1399 DLLS += VBoxSVGA3D
1400 VBoxSVGA3D_TEMPLATE = VBoxSVGA3D
1401 VBoxSVGA3D_SDKS = ReorderCompilerIncs
1402 VBoxSVGA3D_DEFS = \
1403 __WINESRC__ \
1404 WINE_UNICODE_API="" \
1405 _REENTRANT \
1406 WINE_NOWINSOCK \
1407 VBOX_WITH_VMSVGA \
1408 VBOX_WITH_VMSVGA3D \
1409 DLLDIR=\"\" \
1410 BINDIR=\"\" \
1411 LIB_TO_BINDIR=\"\" \
1412 LIB_TO_DLLDIR=\"\" \
1413 BIN_TO_DLLDIR=\"\" \
1414 LIB_TO_DATADIR=\"\" \
1415 BIN_TO_DATADIR=\"\" \
1416 _USE_MATH_DEFINES \
1417 VBOX_USING_WINDDK_W7_OR_LATER \
1418 VBOX_WINE_WITH_SINGLE_SWAPCHAIN_CONTEXT \
1419 IN_vmsvgashader_STATIC \
1420 VBOX_WINE_WITH_IPRT
1421 if "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS)
1422 VBoxSVGA3D_DEFS += WINE_NO_DEBUG_MSGS
1423 endif
1424 VBoxSVGA3D_DEFS.x86 += __i386__
1425 VBoxSVGA3D_DEFS.amd64 += __x86_64__
1426 VBoxSVGA3D_DEFS.win += \
1427 USE_WIN32_OPENGL \
1428 VBOX_WINE_WITHOUT_LIBWINE
1429 # WINE relies on a gcc 4.4 feature but we have 4.2 on Darwin
1430 VBoxSVGA3D_DEFS.darwin += \
1431 __builtin_ms_va_list=va_list \
1432 __stdcall= \
1433 ms_abi=
1434 # WTF IS THIS? -fno-pic?? doubt it.
1435 VBoxSVGA3D_CFLAGS = \
1436 $(filter-out -pedantic -Wattributes,$(VBoxR3DllWarnNoPic_CFLAGS))
1437 VBoxSVGA3D_INCS.win := \
1438 Graphics/shaderlib/libWineStub/include
1439 VBoxSVGA3D_INCS.linux := \
1440 Graphics/shaderlib/wine/include
1441 VBoxSVGA3D_INCS.darwin := \
1442 Graphics/shaderlib/wine/include
1443 VBoxSVGA3D_SOURCES := \
1444 Graphics/shaderlib/glsl_shader.c \
1445 Graphics/shaderlib/shader.c \
1446 Graphics/shaderlib/shader_sm1.c \
1447 Graphics/shaderlib/shader_sm4.c \
1448 Graphics/shaderlib/shaderapi.c \
1449 Graphics/shaderlib/utils.c \
1450 Graphics/shaderlib/stateblock.c \
1451 Graphics/shaderlib/directx.c \
1452 Graphics/shaderlib/libWineStub/debug.c
1453 VBoxSVGA3D_SOURCES.darwin += \
1454 Graphics/DevVGA-SVGA3d-cocoa.m
1455 VBoxSVGA3D_LIBS = \
1456 $(LIB_RUNTIME)
1457 VBoxSVGA3D_LIBS.win += $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/Opengl32.lib
1458 if1of ($(KBUILD_TARGET), solaris linux freebsd)
1459 VBoxSVGA3D_LIBS += GL
1460 endif
1461 VBoxSVGA3D_LDFLAGS.darwin += \
1462 -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxSVGA3D.dylib
1463
1464endif # defined(VBOX_WITH_VMSVGA3D) && !defined(VBOX_ONLY_EXTPACKS)
1465
1466include $(FILE_KBUILD_SUB_FOOTER)
1467
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