1 | # $Id: Makefile.kmk 43921 2012-11-21 06:26:12Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level sub-makefile for the devices, drivers and services.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2012 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 |
|
---|
18 | SUB_DEPTH = ../../..
|
---|
19 | include $(KBUILD_PATH)/subheader.kmk
|
---|
20 |
|
---|
21 | # Make sure our Config.kmk is included.
|
---|
22 | ifndef VBOX_DEVICES_CONFIG_KMK_INCLUDED
|
---|
23 | include $(PATH_SUB_CURRENT)/Config.kmk
|
---|
24 | endif
|
---|
25 |
|
---|
26 | # Include sub-makefiles.
|
---|
27 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
28 | if defined(VBOX_WITH_INTEL_PXE) || defined(VBOX_ONLY_EXTPACKS)
|
---|
29 | include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
|
---|
30 | else if defined(VBOX_WITH_PXE_ROM)
|
---|
31 | if !defined(VBOX_WITHOUT_ETHERBOOT)
|
---|
32 | include $(PATH_SUB_CURRENT)/PC/Etherboot-src/Makefile.kmk
|
---|
33 | endif
|
---|
34 | if !defined(VBOX_WITHOUT_IPXE)
|
---|
35 | include $(PATH_SUB_CURRENT)/PC/ipxe/Makefile.kmk
|
---|
36 | endif
|
---|
37 | endif
|
---|
38 | if !defined(VBOX_ONLY_EXTPACKS) # Goes on almost to the end of the file.
|
---|
39 | include $(PATH_SUB_CURRENT)/BiosCommonCode/Makefile.kmk
|
---|
40 | include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
|
---|
41 | include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
|
---|
42 | if defined(VBOX_WITH_EFI) && !defined(VBOX_WITH_OVMF)
|
---|
43 | include $(PATH_SUB_CURRENT)/EFI/Thunk/Makefile.kmk
|
---|
44 | endif
|
---|
45 |
|
---|
46 | #
|
---|
47 | # Main targets.
|
---|
48 | #
|
---|
49 | LIBRARIES += ServicesR0
|
---|
50 | DLLS += VBoxDDU VBoxDD VBoxDD2
|
---|
51 | SYSMODS += VBoxDDR0 VBoxDD2R0
|
---|
52 | ifdef VBOX_WITH_RAW_MODE
|
---|
53 | SYSMODS += VBoxDDGC VBoxDD2GC
|
---|
54 | endif
|
---|
55 |
|
---|
56 |
|
---|
57 | #
|
---|
58 | # VBoxDDU (shared object)
|
---|
59 | #
|
---|
60 | VBoxDDU_TEMPLATE = VBoxR3DllWarnNoPic
|
---|
61 | VBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
|
---|
62 | VBoxDDU_INST.darwin = $(INST_DLL) $(INST_TESTCASE)
|
---|
63 | VBoxDDU_DEFS = IN_VBOXDDU
|
---|
64 | ifdef VBOX_WITH_VUSB
|
---|
65 | VBoxDDU_DEFS += VBOX_WITH_VUSB
|
---|
66 | endif
|
---|
67 | ifdef VBOX_WITH_USB
|
---|
68 | VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
|
---|
69 | VBoxDDU_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
|
---|
70 | if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
71 | VBoxDDU_DEFS += VBOX_WITH_EHCI_IMPL
|
---|
72 | endif
|
---|
73 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
74 | VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
75 | endif
|
---|
76 | else
|
---|
77 | VBoxDDU_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK)
|
---|
78 | endif
|
---|
79 | VBoxDDU_SOURCES = \
|
---|
80 | Storage/VSCSI/VSCSIDevice.cpp \
|
---|
81 | Storage/VSCSI/VSCSILun.cpp \
|
---|
82 | Storage/VSCSI/VSCSILunSbc.cpp \
|
---|
83 | Storage/VSCSI/VSCSILunMmc.cpp \
|
---|
84 | Storage/VSCSI/VSCSISense.cpp \
|
---|
85 | Storage/VSCSI/VSCSIIoReq.cpp \
|
---|
86 | Storage/VSCSI/VSCSIVpdPagePool.cpp \
|
---|
87 | build/VBoxDDUDeps.cpp
|
---|
88 | ifdef VBOX_WITH_USB
|
---|
89 | VBoxDDU_INCS.os2 += \
|
---|
90 | $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
|
---|
91 | endif
|
---|
92 | VBoxDDU_LIBS = \
|
---|
93 | $(LIB_RUNTIME) \
|
---|
94 | $(PATH_STAGE_LIB)/StorageLib$(VBOX_SUFF_LIB)
|
---|
95 | ifdef VBOX_WITH_USB
|
---|
96 | VBoxDDU_LIBS += \
|
---|
97 | $(PATH_STAGE_LIB)/USBLib$(VBOX_SUFF_LIB)
|
---|
98 | VBoxDDU_LIBS.win += \
|
---|
99 | $(PATH_STAGE_LIB)/VBoxDrvCfg$(VBOX_SUFF_LIB) \
|
---|
100 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/Newdev.lib
|
---|
101 | endif
|
---|
102 | ifeq ($(KBUILD_TARGET),l4)
|
---|
103 | VBoxDDU_LIBS += \
|
---|
104 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
105 | endif
|
---|
106 | VBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib
|
---|
107 | ifdef VBOX_WITH_USB
|
---|
108 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
109 | VBoxDDU_LDFLAGS.darwin += -framework IOKit
|
---|
110 | endif
|
---|
111 | endif
|
---|
112 |
|
---|
113 | VBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
|
---|
114 | VBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
115 |
|
---|
116 | #
|
---|
117 | # VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)
|
---|
118 | #
|
---|
119 | ifeq ($(KBUILD_TARGET),l4)
|
---|
120 | LIBRARIES += VBoxDDULnxHostR3
|
---|
121 | VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
|
---|
122 | VBoxDDULnxHostR3_DEFS = IN_VBOXDDU
|
---|
123 | VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)
|
---|
124 | endif
|
---|
125 |
|
---|
126 | #
|
---|
127 | # VBoxDD (shared object)
|
---|
128 | #
|
---|
129 | VBoxDD_TEMPLATE = VBoxR3DllWarnNoPic
|
---|
130 | VBoxDD_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK) VBOX_NTDLL
|
---|
131 | Storage/DrvHostDVD.cpp_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK)
|
---|
132 | VBoxDD_INCS = \
|
---|
133 | build \
|
---|
134 | Network/slirp
|
---|
135 | VBoxDD_DEFS = \
|
---|
136 | VBOX_ACPI \
|
---|
137 | VBOX_HGCM_HOST_CODE \
|
---|
138 | VBOX_WITH_HGCM \
|
---|
139 | $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,) \
|
---|
140 | VBOX_WITH_DMI_CHASSIS \
|
---|
141 | VBOX_WITH_DMI_OEMSTRINGS
|
---|
142 | VBoxDD_DEFS.win = _WIN32_WINNT=0x0510
|
---|
143 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
144 | VBoxDD_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
|
---|
145 | endif
|
---|
146 | VBoxDD_SOURCES = \
|
---|
147 | build/VBoxDD.cpp \
|
---|
148 | \
|
---|
149 | Input/DevPS2.cpp \
|
---|
150 | Input/PS2K.cpp \
|
---|
151 | Input/UsbKbd.cpp \
|
---|
152 | Input/UsbMouse.cpp \
|
---|
153 | Bus/DevPCI.cpp \
|
---|
154 | Bus/DevPciIch9.cpp \
|
---|
155 | Bus/MsiCommon.cpp \
|
---|
156 | Bus/MsixCommon.cpp \
|
---|
157 | Graphics/DevVGA.cpp \
|
---|
158 | Storage/DevATA.cpp \
|
---|
159 | PC/DevPit-i8254.cpp \
|
---|
160 | PC/DevPIC.cpp \
|
---|
161 | PC/DevACPI.cpp \
|
---|
162 | PC/ACPI/VBoxAcpi.cpp \
|
---|
163 | PC/DevRTC.cpp \
|
---|
164 | PC/DevPcBios.cpp \
|
---|
165 | PC/DevFwCommon.cpp \
|
---|
166 | PC/DevPcArch.c \
|
---|
167 | VMMDev/VMMDev.cpp \
|
---|
168 | VMMDev/VMMDevHGCM.cpp \
|
---|
169 | VMMDev/VMMDevTesting.cpp \
|
---|
170 | Network/DevPCNet.cpp \
|
---|
171 | Audio/DevIchAc97.cpp \
|
---|
172 | Audio/DevSB16.cpp \
|
---|
173 | Audio/DevIchIntelHDA.cpp \
|
---|
174 | Audio/DevCodec.cpp \
|
---|
175 | PC/DevDMA.cpp \
|
---|
176 | PC/DevHPET.cpp \
|
---|
177 | PC/DevSMC.cpp \
|
---|
178 | PC/DevLPC.cpp \
|
---|
179 | Storage/fdc.c \
|
---|
180 | Serial/DevSerial.cpp \
|
---|
181 | Parallel/DevParallel.cpp \
|
---|
182 | \
|
---|
183 | Audio/audio.c \
|
---|
184 | Audio/audiosniffer.c \
|
---|
185 | Audio/mixeng.c \
|
---|
186 | Audio/noaudio.c \
|
---|
187 | Audio/filteraudio.c \
|
---|
188 | Input/DrvKeyboardQueue.cpp \
|
---|
189 | Input/DrvMouseQueue.cpp \
|
---|
190 | Network/DrvIntNet.cpp \
|
---|
191 | Network/DrvDedicatedNic.cpp \
|
---|
192 | PC/DrvACPI.cpp \
|
---|
193 | PC/DrvAcpiCpu.cpp \
|
---|
194 | Serial/DrvChar.cpp \
|
---|
195 | Serial/DrvNamedPipe.cpp \
|
---|
196 | Serial/DrvRawFile.cpp \
|
---|
197 | Storage/DrvBlock.cpp \
|
---|
198 | Storage/DrvHostBase.cpp \
|
---|
199 | Storage/DrvHostDVD.cpp \
|
---|
200 | Storage/DrvHostFloppy.cpp \
|
---|
201 | Storage/DrvMediaISO.cpp \
|
---|
202 | Storage/DrvRawImage.cpp \
|
---|
203 | Storage/Debug.cpp \
|
---|
204 | Storage/DrvVD.cpp \
|
---|
205 | Storage/ATAPIPassthrough.cpp \
|
---|
206 | Network/DrvNetSniffer.cpp \
|
---|
207 | Network/Pcap.cpp
|
---|
208 | VBoxDD_LIBS = # more later.
|
---|
209 | VBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \
|
---|
210 | -framework CoreAudio \
|
---|
211 | -framework AudioUnit \
|
---|
212 | -framework AudioToolbox \
|
---|
213 | -framework IOKit \
|
---|
214 | -framework Carbon \
|
---|
215 | -framework DiskArbitration
|
---|
216 | VBoxDD_LDFLAGS.linux = -Wl,--no-undefined
|
---|
217 | VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
218 |
|
---|
219 | # --- Tracing bits. ---
|
---|
220 |
|
---|
221 | ifdef VBOX_WITH_DTRACE_R3
|
---|
222 | VBoxDD_DEFS += VBOX_WITH_DTRACE
|
---|
223 | VBoxDD_USES += dtrace
|
---|
224 | VBoxDD_SOURCES += build/VBoxDD.d
|
---|
225 | endif
|
---|
226 |
|
---|
227 | # --- Graphics bits. ---
|
---|
228 |
|
---|
229 | ifdef VBOX_WITH_CRHGSMI
|
---|
230 | VBoxDD_DEFS += VBOX_WITH_CRHGSMI
|
---|
231 | endif
|
---|
232 | ifdef VBOXWDDM_TEST_UHGSMI
|
---|
233 | VBoxDD_DEFS += VBOXWDDM_TEST_UHGSMI
|
---|
234 | endif
|
---|
235 | ifdef VBOXWDDM_WITH_VBVA
|
---|
236 | VBoxDD_DEFS += VBOXWDDM_WITH_VBVA
|
---|
237 | endif
|
---|
238 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
239 | VBoxDD_DEFS += VBOX_WITH_VIDEOHWACCEL
|
---|
240 | endif
|
---|
241 |
|
---|
242 | ifdef VBOX_WITH_HGSMI
|
---|
243 | VBoxDD_DEFS += VBOX_WITH_HGSMI
|
---|
244 | VBoxDD_SOURCES += \
|
---|
245 | Graphics/DevVGA_VBVA.cpp \
|
---|
246 | Graphics/HGSMI/HGSMIHost.cpp \
|
---|
247 | Graphics/HGSMI/HGSMIHostHlp.cpp
|
---|
248 | VBoxDD_LIBS += \
|
---|
249 | $(PATH_STAGE_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB)
|
---|
250 | endif
|
---|
251 |
|
---|
252 | ifdef VBOX_WITH_WDDM
|
---|
253 | VBoxDD_DEFS += VBOX_WITH_WDDM
|
---|
254 | VBoxDD_SOURCES += \
|
---|
255 | Graphics/HGSMI/SHGSMIHost.cpp
|
---|
256 | endif
|
---|
257 |
|
---|
258 | ifdef VBOX_WITH_VDMA
|
---|
259 | VBoxDD_DEFS += VBOX_WITH_VDMA
|
---|
260 | VBoxDD_SOURCES += \
|
---|
261 | Graphics/DevVGA_VDMA.cpp
|
---|
262 | endif
|
---|
263 |
|
---|
264 | ifdef VBOX_VDMA_WITH_WATCHDOG
|
---|
265 | VBoxDD_DEFS += VBOX_VDMA_WITH_WATCHDOG
|
---|
266 | endif
|
---|
267 |
|
---|
268 | ifdef VBOX_WITH_PXE_ROM
|
---|
269 | VBoxDD_DEFS += VBOX_WITH_PXE_ROM
|
---|
270 | endif
|
---|
271 |
|
---|
272 | # --- USB bits. ---
|
---|
273 |
|
---|
274 | ifdef VBOX_WITH_USB
|
---|
275 | VBoxDD_DEFS += VBOX_WITH_USB
|
---|
276 | VBoxDD_SOURCES += \
|
---|
277 | USB/vrdp/USBProxyDevice-vrdp.cpp
|
---|
278 |
|
---|
279 | VBoxDD_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
|
---|
280 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
281 | VBoxDD_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
282 | endif
|
---|
283 | VBoxDD_SOURCES.darwin += \
|
---|
284 | USB/USBProxyDevice.cpp \
|
---|
285 | USB/darwin/USBProxyDevice-darwin.cpp
|
---|
286 |
|
---|
287 | VBoxDD_DEFS.linux += \
|
---|
288 | VUSB_HAVE_USBPROXY_DEVICE \
|
---|
289 | $(if $(VBOX_WITH_LINUX_COMPILER_H),VBOX_WITH_LINUX_COMPILER_H,) \
|
---|
290 | $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,)
|
---|
291 | VBoxDD_SOURCES.linux += \
|
---|
292 | USB/USBProxyDevice.cpp \
|
---|
293 | USB/linux/USBProxyDevice-linux.cpp
|
---|
294 |
|
---|
295 | VBoxDD_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
|
---|
296 | VBoxDD_SOURCES.l4 += \
|
---|
297 | USB/USBProxyDevice.cpp \
|
---|
298 | USB/linux/USBProxyDevice-linux.cpp
|
---|
299 |
|
---|
300 | VBoxDD_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
|
---|
301 | VBoxDD_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
|
---|
302 | VBoxDD_SOURCES.os2 += \
|
---|
303 | USB/USBProxyDevice.cpp \
|
---|
304 | USB/os2/USBProxyDevice-os2.cpp
|
---|
305 |
|
---|
306 | VBoxDD_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
|
---|
307 | VBoxDD_SOURCES.win += \
|
---|
308 | USB/USBProxyDevice.cpp \
|
---|
309 | USB/win/USBProxyDevice-win.cpp
|
---|
310 |
|
---|
311 | VBoxDD_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
|
---|
312 | VBoxDD_SOURCES.solaris+= \
|
---|
313 | USB/USBProxyDevice.cpp \
|
---|
314 | USB/solaris/USBProxyDevice-solaris.cpp
|
---|
315 |
|
---|
316 | VBoxDD_DEFS.freebsd += VUSB_HAVE_USBPROXY_DEVICE
|
---|
317 | VBoxDD_SOURCES.freebsd+= \
|
---|
318 | USB/USBProxyDevice.cpp \
|
---|
319 | USB/freebsd/USBProxyDevice-freebsd.cpp
|
---|
320 |
|
---|
321 | ifdef VBOX_WITH_SCSI
|
---|
322 | VBoxDD_SOURCES += \
|
---|
323 | Storage/UsbMsd.cpp
|
---|
324 | endif
|
---|
325 |
|
---|
326 | if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
327 | VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL
|
---|
328 | endif
|
---|
329 | VBoxDD_DEFS += VBOX_WITH_USB
|
---|
330 | if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
331 | VBoxDD_DEFS += VBOX_WITH_EHCI_IMPL
|
---|
332 | VBoxDD_SOURCES += \
|
---|
333 | USB/DevEHCI.cpp
|
---|
334 | endif
|
---|
335 |
|
---|
336 | endif # VBOX_WITH_USB
|
---|
337 |
|
---|
338 | ifdef VBOX_WITH_VUSB
|
---|
339 | VBoxDD_DEFS += VBOX_WITH_VUSB
|
---|
340 | VBoxDD_SOURCES += \
|
---|
341 | USB/DevOHCI.cpp \
|
---|
342 | USB/DrvVUSBRootHub.cpp \
|
---|
343 | USB/VUSBDevice.cpp \
|
---|
344 | USB/VUSBReadAhead.cpp \
|
---|
345 | USB/VUSBUrb.cpp
|
---|
346 | endif
|
---|
347 |
|
---|
348 | # --- Networking bits. ---
|
---|
349 |
|
---|
350 | ifdef VBOX_WITH_INIP
|
---|
351 | ifndef VBOX_WITH_NEW_LWIP
|
---|
352 | include $(PATH_SUB_CURRENT)/Network/lwip/Makefile.kmk
|
---|
353 | else
|
---|
354 | include $(PATH_SUB_CURRENT)/Network/lwip-new/Makefile.kmk
|
---|
355 | endif
|
---|
356 | VBoxDD_DEFS += VBOX_WITH_INIP
|
---|
357 | VBoxDD_SOURCES += $(LWIP_SOURCES)
|
---|
358 | VBoxDD_INCS += $(LWIP_INCS)
|
---|
359 | VBoxDD_SOURCES += Network/DevINIP.cpp
|
---|
360 | endif
|
---|
361 |
|
---|
362 | ifdef VBOX_WITH_E1000
|
---|
363 | VBoxDD_DEFS += VBOX_WITH_E1000
|
---|
364 | VBoxDD_SOURCES += \
|
---|
365 | Network/DevE1000.cpp \
|
---|
366 | Network/DevE1000Phy.cpp \
|
---|
367 | Network/DevEEPROM.cpp
|
---|
368 | endif
|
---|
369 |
|
---|
370 | ifdef VBOX_WITH_VIRTIO
|
---|
371 | VBoxDD_DEFS += VBOX_WITH_VIRTIO
|
---|
372 | VBoxDD_SOURCES += \
|
---|
373 | VirtIO/Virtio.cpp \
|
---|
374 | Network/DevVirtioNet.cpp
|
---|
375 | endif
|
---|
376 |
|
---|
377 | ifdef VBOX_WITH_UDPTUNNEL
|
---|
378 | VBoxDD_DEFS += VBOX_WITH_UDPTUNNEL
|
---|
379 | VBoxDD_SOURCES += \
|
---|
380 | Network/DrvUDPTunnel.cpp
|
---|
381 | endif
|
---|
382 |
|
---|
383 | ifdef VBOX_WITH_VDE
|
---|
384 | VBoxDD_DEFS += VBOX_WITH_VDE
|
---|
385 | VBoxDD_SOURCES += \
|
---|
386 | Network/DrvVDE.cpp \
|
---|
387 | Network/VDEPlug.cpp
|
---|
388 | endif
|
---|
389 |
|
---|
390 | ifdef VBOX_WITH_NETSHAPER
|
---|
391 | VBoxDD_DEFS += VBOX_WITH_NETSHAPER
|
---|
392 | VBoxDD_SOURCES += \
|
---|
393 | Network/DrvNetShaper.cpp
|
---|
394 | endif
|
---|
395 |
|
---|
396 | # --- Storage bits. ---
|
---|
397 |
|
---|
398 | ifdef VBOX_WITH_AHCI
|
---|
399 | VBoxDD_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
|
---|
400 | VBoxDD_SOURCES += \
|
---|
401 | Storage/DevAHCI.cpp
|
---|
402 | endif
|
---|
403 |
|
---|
404 | ifdef VBOX_WITH_BUSLOGIC
|
---|
405 | VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
|
---|
406 | VBoxDD_SOURCES += \
|
---|
407 | Storage/DevBusLogic.cpp \
|
---|
408 | Storage/VBoxSCSI.cpp
|
---|
409 | endif
|
---|
410 |
|
---|
411 | ifdef VBOX_WITH_LSILOGIC
|
---|
412 | VBoxDD_DEFS += VBOX_WITH_LSILOGIC
|
---|
413 | VBoxDD_SOURCES += \
|
---|
414 | Storage/DevLsiLogicSCSI.cpp
|
---|
415 | endif
|
---|
416 |
|
---|
417 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
418 | VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
419 | endif
|
---|
420 |
|
---|
421 | ifdef VBOX_WITH_SCSI
|
---|
422 | VBoxDD_DEFS += VBOX_WITH_SCSI
|
---|
423 | VBoxDD_SOURCES += \
|
---|
424 | Storage/DrvSCSI.cpp
|
---|
425 | VBoxDD_SOURCES.linux += \
|
---|
426 | Storage/DrvSCSIHost.cpp
|
---|
427 | endif
|
---|
428 |
|
---|
429 | ifdef VBOX_WITH_ISCSI
|
---|
430 | Storage/DrvVD.cpp_INCS = $(LWIP_INCS)
|
---|
431 | endif
|
---|
432 |
|
---|
433 | ifdef VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
434 | VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY
|
---|
435 | VBoxDD_SOURCES += \
|
---|
436 | Storage/DrvDiskIntegrity.cpp
|
---|
437 | endif
|
---|
438 |
|
---|
439 | ifdef VBOX_WITH_EFI
|
---|
440 | ifndef VBOX_WITH_OVMF
|
---|
441 | VBoxDD_DEFS += VBOX_WITH_EFI
|
---|
442 | VBoxDD_LIBS += $(PATH_STAGE_LIB)/EfiThunkBin$(VBOX_SUFF_LIB)
|
---|
443 | ifdef VBOX_WITH_ALT_EFITHUNK
|
---|
444 | VBoxDD_DEFS += VBOX_WITH_ALT_EFITHUNK
|
---|
445 | endif
|
---|
446 | VBoxDD_SOURCES += EFI/DevEFI.cpp
|
---|
447 | EFI/DevEFI.cpp_INCS += EFI/tools/include
|
---|
448 | EFI/DevEFI.cpp_INCS.x86 += EFI/tools/include/Ia32
|
---|
449 | EFI/DevEFI.cpp_INCS.amd64 += EFI/tools/include/X64
|
---|
450 | else
|
---|
451 | VBoxDD_DEFS += VBOX_WITH_EFI
|
---|
452 | VBoxDD_SOURCES += EFI/DevOVMF.cpp
|
---|
453 | EFI/DevOVMF.cpp_INCS += EFI/tools/include
|
---|
454 | EFI/DevOVMF.cpp_INCS.x86 += EFI/tools/include/Ia32
|
---|
455 | EFI/DevOVMF.cpp_INCS.amd64 += EFI/tools/include/X64
|
---|
456 | build/VBoxDD.cpp_DEFS += VBOX_WITH_OVMF
|
---|
457 | endif
|
---|
458 | endif
|
---|
459 |
|
---|
460 | if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
461 | VBoxDD_DEFS += VBOX_WITH_PCI_PASSTHROUGH_IMPL
|
---|
462 | VBoxDD_SOURCES += \
|
---|
463 | Bus/DevPciRaw.cpp \
|
---|
464 | Bus/DrvPciRaw.cpp
|
---|
465 | endif
|
---|
466 |
|
---|
467 | ifdef VBOX_WITH_MSI_DEVICES
|
---|
468 | VBoxDD_DEFS += VBOX_WITH_MSI_DEVICES
|
---|
469 | endif
|
---|
470 |
|
---|
471 | ifdef VBOX_WITH_DYNAMIC_DSDT
|
---|
472 | VBoxDD_DEFS += VBOX_WITH_DYNAMIC_DSDT
|
---|
473 | endif
|
---|
474 |
|
---|
475 |
|
---|
476 | # --- Audio bits. ---
|
---|
477 |
|
---|
478 | ifdef VBOX_WITH_ALSA
|
---|
479 | VBoxDD_DEFS.linux += VBOX_WITH_ALSA
|
---|
480 | VBoxDD_SOURCES.linux += \
|
---|
481 | Audio/alsaaudio.c \
|
---|
482 | Audio/alsa_stubs.c
|
---|
483 | endif
|
---|
484 |
|
---|
485 | ifdef VBOX_WITH_PULSE
|
---|
486 | VBoxDD_DEFS.linux += VBOX_WITH_PULSE
|
---|
487 | VBoxDD_SOURCES.linux += \
|
---|
488 | Audio/pulseaudio.c \
|
---|
489 | Audio/pulse_stubs.c
|
---|
490 | VBoxDD_DEFS.freebsd += VBOX_WITH_PULSE
|
---|
491 | VBoxDD_SOURCES.freebsd+= \
|
---|
492 | Audio/pulseaudio.c \
|
---|
493 | Audio/pulse_stubs.c
|
---|
494 | endif
|
---|
495 |
|
---|
496 |
|
---|
497 | # --- WARNING! SLIRP MESS AHEAD! ;-) ---
|
---|
498 | VBOX_SLIRP_SOURCES = \
|
---|
499 | Network/DrvNAT.cpp \
|
---|
500 | Network/slirp/bootp.c \
|
---|
501 | Network/slirp/debug.c \
|
---|
502 | Network/slirp/ip_icmp.c \
|
---|
503 | Network/slirp/ip_input.c \
|
---|
504 | Network/slirp/ip_output.c \
|
---|
505 | Network/slirp/misc.c \
|
---|
506 | Network/slirp/sbuf.c \
|
---|
507 | Network/slirp/slirp.c \
|
---|
508 | Network/slirp/slirp_dns.c \
|
---|
509 | Network/slirp/socket.c \
|
---|
510 | Network/slirp/tcp_input.c \
|
---|
511 | Network/slirp/tcp_output.c \
|
---|
512 | Network/slirp/tcp_subr.c \
|
---|
513 | Network/slirp/tcp_timer.c \
|
---|
514 | Network/slirp/udp.c \
|
---|
515 | Network/slirp/dnsproxy/hash.c \
|
---|
516 | Network/slirp/tftp.c \
|
---|
517 | Network/slirp/dnsproxy/dnsproxy.c
|
---|
518 | ifdef VBOX_WITH_SLIRP_BSD_SBUF
|
---|
519 | VBOX_SLIRP_SOURCES += Network/slirp/bsd/kern/subr_sbuf.c
|
---|
520 | endif
|
---|
521 | VBOX_SLIRP_BSD_ARCH = $(subst x86,i386,$(KBUILD_TARGET_ARCH))
|
---|
522 | VBOX_SLIRP_BSD_SOURCES += \
|
---|
523 | Network/slirp/bsd/kern/kern_mbuf.c \
|
---|
524 | Network/slirp/bsd/kern/uipc_mbuf.c \
|
---|
525 | Network/slirp/bsd/kern/uipc_mbuf2.c \
|
---|
526 | Network/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/in_cksum.c
|
---|
527 | VBOX_SLIRP_ALIAS_SOURCES = \
|
---|
528 | Network/slirp/libalias/alias.c \
|
---|
529 | Network/slirp/libalias/alias_db.c \
|
---|
530 | Network/slirp/libalias/alias_mod.c \
|
---|
531 | Network/slirp/libalias/alias_proxy.c \
|
---|
532 | Network/slirp/libalias/alias_ftp.c \
|
---|
533 | Network/slirp/libalias/alias_dns.c \
|
---|
534 | Network/slirp/libalias/alias_nbt.c \
|
---|
535 | Network/slirp/libalias/alias_util.c
|
---|
536 |
|
---|
537 | # Enable VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER here for a while, then move to
|
---|
538 | # $(file)_DEFS or clean the code disabled with this definition.
|
---|
539 | VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER=1
|
---|
540 |
|
---|
541 | # dump memory related operations.
|
---|
542 | Network/slirp/misc.c_DEFS += $(if $(VBOX_NAT_MEM_DEBUG),VBOX_NAT_MEM_DEBUG,)
|
---|
543 |
|
---|
544 | VBoxDD_SOURCES += $(VBOX_SLIRP_SOURCES)
|
---|
545 | define def_vbox_slirp_cflags
|
---|
546 | $(file)_DEFS += \
|
---|
547 | $(if $(VBOX_WITH_SLIRP_BSD_SBUF),VBOX_WITH_SLIRP_BSD_SBUF,) \
|
---|
548 | $(if $(VBOX_WITH_SLIRP_MEMORY_CHECK),RTMEM_WRAP_TO_EF_APIS,) \
|
---|
549 | $(if $(VBOX_WITH_DEBUG_NAT_SOCKETS),VBOX_WITH_DEBUG_NAT_SOCKETS,) \
|
---|
550 | $(if $(VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER),VBOX_WITH_DNSMAPPING_IN_HOSTRESOLVER,) \
|
---|
551 | $(if $(VBOX_WITH_NAT_UDP_SOCKET_CLONE),VBOX_WITH_NAT_UDP_SOCKET_CLONE,) \
|
---|
552 | $(if $(VBOX_WITH_NAT_SEND2HOME),VBOX_WITH_NAT_SEND2HOME,) \
|
---|
553 | $(if $(VBOX_WITH_HIDDEN_TCPTEMPLATE),VBOX_WITH_HIDDEN_TCPTEMPLATE,) \
|
---|
554 | $(if $(VBOX_WITH_SLIRP_MT),VBOX_WITH_SLIRP_MT,)
|
---|
555 | $(file)_INCS += \
|
---|
556 | $(1)/slirp/bsd/sys \
|
---|
557 | $(1)/slirp/bsd/sys/sys \
|
---|
558 | $(1)/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/include \
|
---|
559 | $(1)/slirp/bsd/netinet \
|
---|
560 | $(1)/slirp \
|
---|
561 | $(1)/slirp/libalias
|
---|
562 | ifeq ($(KBUILD_TARGET),win)
|
---|
563 | $(file)_CFLAGS = -wd4018
|
---|
564 | else
|
---|
565 | $(file)_CFLAGS += -Wno-sign-compare -Wno-format -Wno-bad-function-cast
|
---|
566 | endif
|
---|
567 | endef
|
---|
568 |
|
---|
569 | $(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
|
---|
570 |
|
---|
571 | VBoxDD_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
|
---|
572 | define def_vbox_slirp_alias_cflags
|
---|
573 | $(file)_DEFS += VBOX_SLIRP_ALIAS \
|
---|
574 | $(if $(VBOX_WITH_DEBUG_LIBALIAS),VBOX_WITH_DEBUG_LIBALIAS,)
|
---|
575 | $(file)_INCS += \
|
---|
576 | $(1)/slirp/libalias \
|
---|
577 | $(1)/slirp \
|
---|
578 | $(1)/slirp/dnsproxy
|
---|
579 | ifneq ($(KBUILD_TARGET),win)
|
---|
580 | $(file)_CFLAGS += -Wno-shadow
|
---|
581 | endif
|
---|
582 | endef
|
---|
583 | $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
|
---|
584 | $(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_alias_cflags, Network)))
|
---|
585 |
|
---|
586 | VBOX_SLIRP_BSD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES.${KBUILD_TARGET_ARCH})
|
---|
587 | VBoxDD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES)
|
---|
588 | define def_vbox_slirp_bsd_cflags
|
---|
589 | $(file)_DEFS += VBOX_SLIRP_BSD
|
---|
590 | $(file)_INCS += $(1)/slirp/dnsproxy
|
---|
591 | endef
|
---|
592 | $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
|
---|
593 | $(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_bsd_cflags, Network)))
|
---|
594 |
|
---|
595 |
|
---|
596 | # --- OS specific driver hacks. ---
|
---|
597 |
|
---|
598 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
599 | VBoxDD_SOURCES := \
|
---|
600 | $(filter-out Storage/DrvHostRaw% Storage/DrvHostFloppy%, $(VBoxDD_SOURCES)) \
|
---|
601 | Audio/coreaudio.c
|
---|
602 | VBoxDD_SOURCES.darwin += \
|
---|
603 | Serial/DrvHostSerial.cpp
|
---|
604 | endif # darwin
|
---|
605 |
|
---|
606 | ifeq ($(KBUILD_TARGET),freebsd)
|
---|
607 | VBoxDD_SOURCES := \
|
---|
608 | $(filter-out Storage/DrvHostFloppy%, $(VBoxDD_SOURCES)) \
|
---|
609 | Audio/ossaudio.c \
|
---|
610 | Serial/DrvHostSerial.cpp
|
---|
611 | VBoxDD_SOURCES.freebsd += \
|
---|
612 | Network/DrvTAP.cpp
|
---|
613 | endif # freebsd
|
---|
614 |
|
---|
615 | ifeq ($(KBUILD_TARGET),l4)
|
---|
616 | $(error L4 is busted. Fix when needed.)
|
---|
617 | #VBoxDD_SOURCES = filter needed
|
---|
618 | VBoxDD_SOURCES.l4 += \
|
---|
619 | Audio/ossaudio.c
|
---|
620 | endif # l4
|
---|
621 |
|
---|
622 | VBoxDD_SOURCES.linux += \
|
---|
623 | Network/DrvTAP.cpp \
|
---|
624 | Audio/ossaudio.c \
|
---|
625 | Parallel/DrvHostParallel.cpp \
|
---|
626 | Serial/DrvHostSerial.cpp
|
---|
627 |
|
---|
628 | ifeq ($(KBUILD_TARGET),os2)
|
---|
629 | VBoxDD_SOURCES := $(filter-out Storage/DrvHost%, $(VBoxDD_SOURCES))
|
---|
630 | endif
|
---|
631 |
|
---|
632 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
633 | VBoxDD_SOURCES := $(filter-out Storage/DrvHostFloppy%, $(VBoxDD_SOURCES))
|
---|
634 | VBoxDD_SOURCES.solaris += \
|
---|
635 | Audio/solaudio.c \
|
---|
636 | Serial/DrvHostSerial.cpp
|
---|
637 | ifdef VBOX_WITH_SOLARIS_OSS
|
---|
638 | VBoxDD_SOURCES += Audio/ossaudio.c
|
---|
639 | VBoxDD_DEFS += VBOX_WITH_SOLARIS_OSS
|
---|
640 | endif
|
---|
641 | ifdef VBOX_WITH_SUID_WRAPPER
|
---|
642 | VBoxDD_DEFS += VBOX_WITH_SUID_WRAPPER
|
---|
643 | endif
|
---|
644 | endif
|
---|
645 |
|
---|
646 | VBoxDD_DEFS.win += VBOX_WITH_WIN_PARPORT_SUP
|
---|
647 | VBoxDD_SOURCES.win += \
|
---|
648 | Audio/dsoundaudio.c \
|
---|
649 | Serial/DrvHostSerial.cpp \
|
---|
650 | Parallel/DrvHostParallel.cpp
|
---|
651 |
|
---|
652 | if defined(VBOX_WITH_NETFLT)
|
---|
653 | VBoxDD_DEFS += VBOX_WITH_NETFLT
|
---|
654 | if defined(VBOX_NETFLT_ONDEMAND_BIND)
|
---|
655 | VBoxDD_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
|
---|
656 | endif
|
---|
657 | endif
|
---|
658 |
|
---|
659 |
|
---|
660 | # --- Final bits, mostly libraries for order dependant linkers. ---
|
---|
661 |
|
---|
662 | VBoxDD_LIBS += \
|
---|
663 | $(PATH_STAGE_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
|
---|
664 | $(LIB_VMM) \
|
---|
665 | $(LIB_RUNTIME)
|
---|
666 | ifeq ($(KBUILD_TARGET),win)
|
---|
667 | VBoxDD_LIBS += \
|
---|
668 | $(LIB_DDU) \
|
---|
669 | $(PATH_STAGE_LIB)/VBoxDD2.lib \
|
---|
670 | $(PATH_SDK_$(VBOX_WINDDK)_LIB)/dxguid.lib
|
---|
671 | else
|
---|
672 | VBoxDD_LIBS += \
|
---|
673 | $(VBoxDDU_1_STAGE_TARGET) \
|
---|
674 | $(VBoxDD2_1_STAGE_TARGET)
|
---|
675 | endif
|
---|
676 | ifeq ($(KBUILD_TARGET),l4)
|
---|
677 | VBoxDD_LIBS += \
|
---|
678 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
679 | endif
|
---|
680 |
|
---|
681 | ifdef VBOX_WITH_NETFLT
|
---|
682 | VBoxDD_LIBS.win += $(PATH_STAGE_LIB)/WinNetConfig.lib
|
---|
683 | endif
|
---|
684 |
|
---|
685 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
686 | VBoxDD_LIBS += adm
|
---|
687 | ifdef VBOX_WITH_SUID_WRAPPER
|
---|
688 | VBoxDD_LIBS += secdb
|
---|
689 | endif
|
---|
690 | ifdef VBOX_WITH_USB
|
---|
691 | VBoxDD_LIBS += aio
|
---|
692 | endif
|
---|
693 | endif
|
---|
694 |
|
---|
695 | VBoxDD_LIBS.darwin += \
|
---|
696 | $(LIB_REM)
|
---|
697 |
|
---|
698 |
|
---|
699 | ifdef VBOX_WITH_DYNAMIC_DSDT
|
---|
700 | VBoxDD_CLEAN += $(VBoxDD_0_OUTDIR)/vboxdsl.hex
|
---|
701 | PC/ACPI/VBoxAcpi.cpp_DEPS = $(VBoxDD_0_OUTDIR)/vboxdsl.hex
|
---|
702 |
|
---|
703 | $$(VBoxDD_0_OUTDIR)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
|
---|
704 | $(call MSG_TOOL,bin2c,VBoxDD,$<,$@)
|
---|
705 | $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@
|
---|
706 |
|
---|
707 | vboxdsl.hex:: $$(VBoxDD_0_OUTDIR)/vboxdsl.hex
|
---|
708 |
|
---|
709 | else # !VBOX_WITH_DYNAMIC_DSDT
|
---|
710 | # VBoxAcpi.cpp needs vboxaml.hex which we generate from PC/vbox.dsl
|
---|
711 | VBoxDD_CLEAN += \
|
---|
712 | $(VBoxDD_0_OUTDIR)/vboxaml.hex \
|
---|
713 | $(VBoxDD_0_OUTDIR)/vboxaml.aml \
|
---|
714 | $(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex \
|
---|
715 | $(VBoxDD_0_OUTDIR)/vboxssdt-standard.aml \
|
---|
716 | $(VBoxDD_0_OUTDIR)/vboxssdt-standard.aml.tmp \
|
---|
717 | $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex \
|
---|
718 | $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml \
|
---|
719 | $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml.tmp \
|
---|
720 | $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.aml.pre
|
---|
721 | PC/ACPI/VBoxAcpi.cpp_DEPS = \
|
---|
722 | $(VBoxDD_0_OUTDIR)/vboxaml.hex \
|
---|
723 | $(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex \
|
---|
724 | $(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex
|
---|
725 |
|
---|
726 | $$(VBoxDD_0_OUTDIR)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
|
---|
727 | $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
|
---|
728 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
|
---|
729 |
|
---|
730 | vboxaml.hex:: $$(VBoxDD_0_OUTDIR)/vboxaml.hex
|
---|
731 |
|
---|
732 | $$(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex: $(PATH_SUB_CURRENT)/PC/vbox-standard.dsl | $$(dir $$@)
|
---|
733 | $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
|
---|
734 | $(QUIET)$(RM) -f $@ [email protected]
|
---|
735 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
|
---|
736 | $(QUIET)$(MV) -f $@ [email protected]
|
---|
737 | $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtStandard/g" \
|
---|
738 | --output $@ [email protected]
|
---|
739 | $(QUIET)$(RM) -f [email protected]
|
---|
740 |
|
---|
741 |
|
---|
742 | vboxssdt-standard.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt-standard.hex
|
---|
743 |
|
---|
744 | $$(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex: $(PATH_SUB_CURRENT)/PC/vbox-cpuhotplug.dsl | $$(dir $$@)
|
---|
745 | $(call MSG_TOOL,iasl,VBoxDD,$<,$@)
|
---|
746 | $(QUIET)$(RM) -f $@ [email protected] [email protected]
|
---|
747 | $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o [email protected] $<
|
---|
748 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ [email protected]
|
---|
749 | $(QUIET)$(MV) -f $@ [email protected]
|
---|
750 | $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtCpuHotPlug/g" \
|
---|
751 | --output $@ [email protected]
|
---|
752 | $(QUIET)$(RM) -f [email protected] [email protected]
|
---|
753 |
|
---|
754 |
|
---|
755 | vboxssdt-cpuhotplug.hex:: $$(VBoxDD_0_OUTDIR)/vboxssdt-cpuhotplug.hex
|
---|
756 |
|
---|
757 | endif # !VBOX_WITH_DYNAMIC_DSDT
|
---|
758 | PC/ACPI/VBoxAcpi.cpp_INCS = $(VBoxDD_0_OUTDIR)
|
---|
759 |
|
---|
760 | # For finding PCIInternal.h from VBox/pci.h.
|
---|
761 | Bus/DevPCI.cpp_INCS = Bus
|
---|
762 | Bus/DevPciIch9.cpp_INCS = Bus
|
---|
763 | Bus/MsiCommon.cpp_INCS = Bus
|
---|
764 | Bus/MsixCommon.cpp_INCS = Bus
|
---|
765 | Bus/DevPciRaw.cpp_INCS = Bus
|
---|
766 |
|
---|
767 | # For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
|
---|
768 | Graphics/DevVGA.cpp_INCS = $(VgaBiosBin_0_OUTDIR)
|
---|
769 | Graphics/DevVGA.cpp_DEPS = $(VgaBiosBin_0_OUTDIR)/vbetables.h
|
---|
770 |
|
---|
771 |
|
---|
772 | ifdef VBOX_WITH_RAW_MODE
|
---|
773 | #
|
---|
774 | # VBoxDDGC (sysmod)
|
---|
775 | #
|
---|
776 | VBoxDDGC_TEMPLATE = VBoxRc
|
---|
777 | ifeq ($(KBUILD_TARGET_ARCH),x86)
|
---|
778 | VBoxDDGC_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
|
---|
779 | endif
|
---|
780 | VBoxDDGC_DEFS = VBOX_WITH_HGCM
|
---|
781 | VBoxDDGC_INCS = build
|
---|
782 | VBoxDDGC_SOURCES = \
|
---|
783 | Bus/DevPCI.cpp \
|
---|
784 | Bus/DevPciIch9.cpp \
|
---|
785 | Bus/MsiCommon.cpp \
|
---|
786 | Bus/MsixCommon.cpp \
|
---|
787 | Graphics/DevVGA.cpp \
|
---|
788 | Input/DevPS2.cpp \
|
---|
789 | Input/PS2K.cpp \
|
---|
790 | PC/DevACPI.cpp \
|
---|
791 | PC/DevPit-i8254.cpp \
|
---|
792 | PC/DevPIC.cpp \
|
---|
793 | PC/DevRTC.cpp \
|
---|
794 | PC/DevHPET.cpp \
|
---|
795 | Storage/DevATA.cpp \
|
---|
796 | Network/DevPCNet.cpp \
|
---|
797 | Serial/DevSerial.cpp \
|
---|
798 | Parallel/DevParallel.cpp \
|
---|
799 | VMMDev/VMMDevTesting.cpp
|
---|
800 |
|
---|
801 | ifdef VBOX_WITH_E1000
|
---|
802 | VBoxDDGC_DEFS += VBOX_WITH_E1000
|
---|
803 | VBoxDDGC_SOURCES += \
|
---|
804 | Network/DevE1000.cpp \
|
---|
805 | Network/DevE1000Phy.cpp
|
---|
806 | endif
|
---|
807 |
|
---|
808 | ifdef VBOX_WITH_VIRTIO
|
---|
809 | VBoxDDGC_DEFS += VBOX_WITH_VIRTIO
|
---|
810 | VBoxDDGC_SOURCES += \
|
---|
811 | VirtIO/Virtio.cpp \
|
---|
812 | Network/DevVirtioNet.cpp
|
---|
813 | endif
|
---|
814 |
|
---|
815 | ifdef VBOX_WITH_HGSMI
|
---|
816 | VBoxDDGC_DEFS += VBOX_WITH_HGSMI
|
---|
817 | endif
|
---|
818 | ifdef VBOX_WITH_WDDM
|
---|
819 | VBoxDDGC_DEFS += VBOX_WITH_WDDM
|
---|
820 | endif
|
---|
821 | ifdef VBOX_WITH_VDMA
|
---|
822 | VBoxDDGC_DEFS += VBOX_WITH_VDMA
|
---|
823 | endif
|
---|
824 | ifdef VBOX_WITH_CRHGSMI
|
---|
825 | VBoxDDGC_DEFS += VBOX_WITH_CRHGSMI
|
---|
826 | endif
|
---|
827 | ifdef VBOXWDDM_WITH_VBVA
|
---|
828 | VBoxDDGC_DEFS += VBOXWDDM_WITH_VBVA
|
---|
829 | endif
|
---|
830 | ifdef VBOX_VDMA_WITH_WATCHDOG
|
---|
831 | VBoxDDGC_DEFS += VBOX_VDMA_WITH_WATCHDOG
|
---|
832 | endif
|
---|
833 |
|
---|
834 | ifdef VBOX_WITH_VUSB
|
---|
835 | VBoxDDGC_DEFS += VBOX_WITH_VUSB
|
---|
836 | VBoxDDGC_SOURCES += \
|
---|
837 | USB/DevOHCI.cpp
|
---|
838 | endif
|
---|
839 |
|
---|
840 | ifdef VBOX_WITH_USB
|
---|
841 | VBoxDDGC_DEFS += VBOX_WITH_USB
|
---|
842 | if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
843 | VBoxDDGC_DEFS += VBOX_WITH_EHCI_IMPL
|
---|
844 | VBoxDDGC_SOURCES += \
|
---|
845 | USB/DevEHCI.cpp
|
---|
846 | endif
|
---|
847 | endif
|
---|
848 |
|
---|
849 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
850 | VBoxDDGC_DEFS += VBOX_WITH_VIDEOHWACCEL
|
---|
851 | endif
|
---|
852 |
|
---|
853 | ifdef VBOX_WITH_AHCI
|
---|
854 | VBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
|
---|
855 | VBoxDDGC_SOURCES += \
|
---|
856 | Storage/DevAHCI.cpp
|
---|
857 | endif
|
---|
858 |
|
---|
859 | ifdef VBOX_WITH_BUSLOGIC
|
---|
860 | VBoxDDGC_DEFS += VBOX_WITH_BUSLOGIC
|
---|
861 | VBoxDDGC_SOURCES += \
|
---|
862 | Storage/DevBusLogic.cpp
|
---|
863 | endif
|
---|
864 |
|
---|
865 | ifdef VBOX_WITH_LSILOGIC
|
---|
866 | VBoxDDGC_DEFS += VBOX_WITH_LSILOGIC
|
---|
867 | VBoxDDGC_SOURCES += \
|
---|
868 | Storage/DevLsiLogicSCSI.cpp
|
---|
869 | endif
|
---|
870 |
|
---|
871 | if1of ($(VBOX_LDR_FMT32), pe lx)
|
---|
872 | VBoxDDGC_LIBS = \
|
---|
873 | $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
|
---|
874 | $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
|
---|
875 | endif
|
---|
876 | endif # VBOX_WITH_RAW_MODE
|
---|
877 |
|
---|
878 |
|
---|
879 | #
|
---|
880 | # VBoxDD2 (shared object)
|
---|
881 | #
|
---|
882 | VBoxDD2_TEMPLATE = VBoxR3DllWarnNoPic
|
---|
883 | VBoxDD2_DEFS = IN_VBOXDD2
|
---|
884 | VBoxDD2_INCS := \
|
---|
885 | build \
|
---|
886 | $(PATH_SUB_CURRENT)
|
---|
887 | VBoxDD2_SOURCES = \
|
---|
888 | build/VBoxDD2.cpp \
|
---|
889 | PC/DevAPIC.cpp \
|
---|
890 | PC/DevIoApic.cpp \
|
---|
891 | PC/DevSMC.cpp \
|
---|
892 | PC/DevLPC.cpp
|
---|
893 | VBoxDD2_LIBS = \
|
---|
894 | $(PATH_STAGE_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
|
---|
895 | $(PATH_STAGE_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
|
---|
896 | $(if $(VBOX_WITH_PXE_ROM),$(if $(VBOX_WITHOUT_IPXE),$(PATH_STAGE_LIB)/NetBiosBin$(VBOX_SUFF_LIB),$(PATH_STAGE_LIB)/iPxeBiosBin$(VBOX_SUFF_LIB)),) \
|
---|
897 | $(LIB_VMM) \
|
---|
898 | $(LIB_RUNTIME)
|
---|
899 | ifeq ($(KBUILD_TARGET),l4)
|
---|
900 | VBoxDD2_LIBS += \
|
---|
901 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
902 | endif
|
---|
903 | VBoxDD2_LIBS.darwin += $(LIB_REM)
|
---|
904 | VBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
|
---|
905 | VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
|
---|
906 | VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
907 |
|
---|
908 | ifdef VBOX_WITH_PXE_ROM
|
---|
909 | VBoxDD2_DEFS += VBOX_WITH_PXE_ROM
|
---|
910 | endif
|
---|
911 |
|
---|
912 |
|
---|
913 | #
|
---|
914 | # VBoxDDR0 (sysmod)
|
---|
915 | #
|
---|
916 | VBoxDDR0_TEMPLATE = VBoxR0
|
---|
917 | VBoxDDR0_DEFS.darwin.x86= VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 VBOX_WITH_2X_4GB_ADDR_SPACE
|
---|
918 | VBoxDDR0_DEFS = IN_RT_R0 VBOX_WITH_HGCM # - WTF is IN_RT_R0 doing here?
|
---|
919 | VBoxDDR0_DEFS.win += VBOX_WITH_WIN_PARPORT_SUP
|
---|
920 | VBoxDDR0_INCS = build
|
---|
921 | VBoxDDR0_SDKS.win = ReorderCompilerIncs $(VBOX_WINPSDK) $(VBOX_WINDDK)
|
---|
922 | VBoxDDR0_SOURCES = \
|
---|
923 | build/VBoxDDR0.cpp \
|
---|
924 | Bus/DevPCI.cpp \
|
---|
925 | Bus/DevPciIch9.cpp \
|
---|
926 | Bus/MsiCommon.cpp \
|
---|
927 | Bus/MsixCommon.cpp \
|
---|
928 | Graphics/DevVGA.cpp \
|
---|
929 | Input/DevPS2.cpp \
|
---|
930 | Input/PS2K.cpp \
|
---|
931 | PC/DevACPI.cpp \
|
---|
932 | PC/DevPit-i8254.cpp \
|
---|
933 | PC/DevPIC.cpp \
|
---|
934 | PC/DevRTC.cpp \
|
---|
935 | PC/DevHPET.cpp \
|
---|
936 | Storage/DevATA.cpp \
|
---|
937 | Network/DevPCNet.cpp \
|
---|
938 | Serial/DevSerial.cpp \
|
---|
939 | Parallel/DevParallel.cpp \
|
---|
940 | VMMDev/VMMDevTesting.cpp \
|
---|
941 | \
|
---|
942 | Network/DrvIntNet.cpp \
|
---|
943 | Network/DrvDedicatedNic.cpp
|
---|
944 |
|
---|
945 | VBoxDDR0_SOURCES.win += Parallel/DrvHostParallel.cpp
|
---|
946 |
|
---|
947 | ifdef VBOX_WITH_E1000
|
---|
948 | VBoxDDR0_DEFS += VBOX_WITH_E1000
|
---|
949 | VBoxDDR0_SOURCES += \
|
---|
950 | Network/DevE1000.cpp \
|
---|
951 | Network/DevE1000Phy.cpp
|
---|
952 | endif
|
---|
953 |
|
---|
954 | ifdef VBOX_WITH_VIRTIO
|
---|
955 | VBoxDDR0_DEFS += VBOX_WITH_VIRTIO
|
---|
956 | VBoxDDR0_SOURCES += \
|
---|
957 | VirtIO/Virtio.cpp \
|
---|
958 | Network/DevVirtioNet.cpp
|
---|
959 | endif
|
---|
960 |
|
---|
961 | ifdef VBOX_WITH_NETSHAPER
|
---|
962 | VBoxDDR0_DEFS += VBOX_WITH_NETSHAPER
|
---|
963 | VBoxDDR0_SOURCES += \
|
---|
964 | Network/DrvNetShaper.cpp
|
---|
965 | endif
|
---|
966 |
|
---|
967 | ifdef VBOX_WITH_HGSMI
|
---|
968 | VBoxDDR0_DEFS += VBOX_WITH_HGSMI
|
---|
969 | endif
|
---|
970 | ifdef VBOX_WITH_WDDM
|
---|
971 | VBoxDDR0_DEFS += VBOX_WITH_WDDM
|
---|
972 | endif
|
---|
973 | ifdef VBOX_WITH_VDMA
|
---|
974 | VBoxDDR0_DEFS += VBOX_WITH_VDMA
|
---|
975 | endif
|
---|
976 | ifdef VBOX_WITH_CRHGSMI
|
---|
977 | VBoxDDR0_DEFS += VBOX_WITH_CRHGSMI
|
---|
978 | endif
|
---|
979 | ifdef VBOXWDDM_WITH_VBVA
|
---|
980 | VBoxDDR0_DEFS += VBOXWDDM_WITH_VBVA
|
---|
981 | endif
|
---|
982 | ifdef VBOX_VDMA_WITH_WATCHDOG
|
---|
983 | VBoxDDR0_DEFS += VBOX_VDMA_WITH_WATCHDOG
|
---|
984 | endif
|
---|
985 |
|
---|
986 | ifdef VBOX_WITH_VUSB
|
---|
987 | VBoxDDR0_DEFS += VBOX_WITH_VUSB
|
---|
988 | VBoxDDR0_SOURCES += \
|
---|
989 | USB/DevOHCI.cpp
|
---|
990 | endif
|
---|
991 | ifdef VBOX_WITH_USB
|
---|
992 | VBoxDDR0_DEFS += VBOX_WITH_USB
|
---|
993 | if defined(VBOX_WITH_EHCI_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
994 | VBoxDDR0_DEFS += VBOX_WITH_EHCI_IMPL
|
---|
995 | VBoxDDR0_SOURCES += \
|
---|
996 | USB/DevEHCI.cpp
|
---|
997 | endif
|
---|
998 | endif
|
---|
999 |
|
---|
1000 | if defined(VBOX_WITH_PCI_PASSTHROUGH_IMPL) && !defined(VBOX_WITH_EXTPACK_PUEL)
|
---|
1001 | VBoxDDR0_SOURCES += \
|
---|
1002 | Bus/DevPciRaw.cpp
|
---|
1003 | endif
|
---|
1004 |
|
---|
1005 | ifdef VBOX_WITH_AHCI
|
---|
1006 | VBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
|
---|
1007 | VBoxDDR0_SOURCES += \
|
---|
1008 | Storage/DevAHCI.cpp
|
---|
1009 | endif
|
---|
1010 |
|
---|
1011 | ifdef VBOX_WITH_BUSLOGIC
|
---|
1012 | VBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
|
---|
1013 | VBoxDDR0_SOURCES += \
|
---|
1014 | Storage/DevBusLogic.cpp
|
---|
1015 | endif
|
---|
1016 |
|
---|
1017 | ifdef VBOX_WITH_LSILOGIC
|
---|
1018 | VBoxDDR0_DEFS += VBOX_WITH_LSILOGIC
|
---|
1019 | VBoxDDR0_SOURCES += \
|
---|
1020 | Storage/DevLsiLogicSCSI.cpp
|
---|
1021 | endif
|
---|
1022 |
|
---|
1023 | ifdef VBOX_WITH_HGSMI
|
---|
1024 | VBoxDDR0_DEFS += VBOX_WITH_HGSMI
|
---|
1025 | endif
|
---|
1026 | ifdef VBOX_WITH_VIDEOHWACCEL
|
---|
1027 | VBoxDDR0_DEFS += VBOX_WITH_VIDEOHWACCEL
|
---|
1028 | endif
|
---|
1029 |
|
---|
1030 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
1031 | VBoxDDR0_LIBS = \
|
---|
1032 | $(PATH_STAGE_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
|
---|
1033 | $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
1034 | endif
|
---|
1035 |
|
---|
1036 |
|
---|
1037 | ifdef VBOX_WITH_RAW_MODE
|
---|
1038 | #
|
---|
1039 | # VBoxDD2GC (LGPL sysmod)
|
---|
1040 | #
|
---|
1041 | VBoxDD2GC_TEMPLATE = VBoxRc
|
---|
1042 | VBoxDD2GC_DEFS =
|
---|
1043 | VBoxDD2GC_INCS = build
|
---|
1044 | VBoxDD2GC_SOURCES = \
|
---|
1045 | PC/DevAPIC.cpp \
|
---|
1046 | PC/DevIoApic.cpp \
|
---|
1047 | PC/DevSMC.cpp
|
---|
1048 | if1of ($(VBOX_LDR_FMT32), pe lx)
|
---|
1049 | VBoxDD2GC_LIBS = \
|
---|
1050 | $(PATH_STAGE_LIB)/VMMRCBuiltin$(VBOX_SUFF_LIB) \
|
---|
1051 | $(PATH_STAGE_LIB)/VMMRCImp$(VBOX_SUFF_LIB)
|
---|
1052 | endif
|
---|
1053 | endif
|
---|
1054 |
|
---|
1055 |
|
---|
1056 | #
|
---|
1057 | # VBoxDD2R0 (LGPL sysmod)
|
---|
1058 | #
|
---|
1059 | VBoxDD2R0_TEMPLATE = VBoxR0
|
---|
1060 | VBoxDD2R0_DEFS = IN_RT_R0
|
---|
1061 | VBoxDD2R0_INCS = build
|
---|
1062 | VBoxDD2R0_SOURCES = \
|
---|
1063 | build/VBoxDD2R0.cpp \
|
---|
1064 | PC/DevAPIC.cpp \
|
---|
1065 | PC/DevIoApic.cpp \
|
---|
1066 | PC/DevSMC.cpp
|
---|
1067 |
|
---|
1068 | if1of ($(VBOX_LDR_FMT), pe lx)
|
---|
1069 | VBoxDD2R0_LIBS = \
|
---|
1070 | $(PATH_STAGE_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
|
---|
1071 | $(PATH_STAGE_LIB)/SUPR0$(VBOX_SUFF_LIB)
|
---|
1072 | endif
|
---|
1073 |
|
---|
1074 |
|
---|
1075 | #
|
---|
1076 | # Ring-0 Services (library, linked into VMMR0.r0)
|
---|
1077 | #
|
---|
1078 | ServicesR0_TEMPLATE = VBoxR0
|
---|
1079 | ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0 $(if $(VBOX_WITH_PCI_PASSTHROUGH),IN_PCIRAW_R0,)
|
---|
1080 | ServicesR0_SOURCES = \
|
---|
1081 | Network/SrvIntNetR0.cpp \
|
---|
1082 | $(if $(VBOX_WITH_PCI_PASSTHROUGH),Bus/SrvPciRawR0.cpp,)
|
---|
1083 | Network/SrvIntNetR0.cpp_CXXFLAGS := $(if-expr $(KBUILD_TARGET) == "win",,$(VBOX_GCC_Wno-array_bounds))
|
---|
1084 |
|
---|
1085 |
|
---|
1086 | #
|
---|
1087 | # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
|
---|
1088 | #
|
---|
1089 | ifdef VBOX_WITH_TESTCASES
|
---|
1090 | PROGRAMS += tstIntNetR0
|
---|
1091 | tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
|
---|
1092 | tstIntNetR0_DEFS = IN_INTNET_R0
|
---|
1093 | tstIntNetR0_SOURCES = \
|
---|
1094 | Network/testcase/tstIntNetR0.cpp
|
---|
1095 | ifneq ($(KBUILD_TARGET),win)
|
---|
1096 | Network/testcase/tstIntNetR0.cpp_CXXFLAGS = $(VBOX_GCC_Wno-array_bounds)
|
---|
1097 | endif
|
---|
1098 | endif
|
---|
1099 |
|
---|
1100 |
|
---|
1101 | #
|
---|
1102 | # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
|
---|
1103 | #
|
---|
1104 | ifdef VBOX_WITH_TESTCASES
|
---|
1105 | PROGRAMS += tstIntNet-1
|
---|
1106 | tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
|
---|
1107 | tstIntNet-1_SOURCES = \
|
---|
1108 | Network/testcase/tstIntNet-1.cpp \
|
---|
1109 | Network/Pcap.cpp
|
---|
1110 | endif
|
---|
1111 |
|
---|
1112 |
|
---|
1113 | #
|
---|
1114 | # EEPROM device unit test requires cppunit
|
---|
1115 | #
|
---|
1116 | ifdef VBOX_WITH_CPPUNIT_TESTCASES
|
---|
1117 | ifdef VBOX_WITH_E1000
|
---|
1118 | PROGRAMS += tstDevEEPROM
|
---|
1119 | tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
|
---|
1120 | tstDevEEPROM_SOURCES = \
|
---|
1121 | Network/testcase/tstDevEEPROM.cpp
|
---|
1122 | tstDevEEPROM_LIBS = \
|
---|
1123 | $(TARGET_VBoxDD)
|
---|
1124 | PROGRAMS += tstDevPhy
|
---|
1125 | tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
|
---|
1126 | tstDevPhy_SOURCES = \
|
---|
1127 | Network/testcase/tstDevPhy.cpp \
|
---|
1128 | Network/DevE1000Phy.cpp
|
---|
1129 | tstDevPhy_DEFS = PHY_UNIT_TEST
|
---|
1130 | endif
|
---|
1131 | endif
|
---|
1132 |
|
---|
1133 | endif # !VBOX_ONLY_EXTPACKS
|
---|
1134 |
|
---|
1135 |
|
---|
1136 | if defined(VBOX_WITH_EXTPACK_PUEL) && defined(VBOX_WITH_EXTPACK_PUEL_BUILD)
|
---|
1137 | #
|
---|
1138 | # The EHCI (USB 2.0) Extension Pack Modules.
|
---|
1139 | #
|
---|
1140 | if defined(VBOX_WITH_USB)
|
---|
1141 | DLLS += VBoxEhciR3
|
---|
1142 | VBoxEhciR3_TEMPLATE = VBoxR3ExtPackPuel
|
---|
1143 | VBoxEhciR3_SOURCES = USB/DevEHCI.cpp
|
---|
1144 |
|
---|
1145 | SYSMODS += VBoxEhciR0
|
---|
1146 | VBoxEhciR0_TEMPLATE = VBoxR0ExtPackPuel
|
---|
1147 | VBoxEhciR0_SOURCES = USB/DevEHCI.cpp
|
---|
1148 |
|
---|
1149 | ifdef VBOX_WITH_RAW_MODE
|
---|
1150 | SYSMODS += VBoxEhciRC
|
---|
1151 | VBoxEhciRC_TEMPLATE = VBoxRcExtPackPuel
|
---|
1152 | VBoxEhciRC_SOURCES = USB/DevEHCI.cpp
|
---|
1153 | endif
|
---|
1154 | endif
|
---|
1155 |
|
---|
1156 | if defined(VBOX_WITH_PCI_PASSTHROUGH)
|
---|
1157 | DLLS += VBoxPciRawR3
|
---|
1158 | VBoxPciRawR3_TEMPLATE = VBoxR3ExtPackPuel
|
---|
1159 | VBoxPciRawR3_SOURCES = Bus/DevPciRaw.cpp
|
---|
1160 |
|
---|
1161 | DLLS += VBoxPciRawDrv
|
---|
1162 | VBoxPciRawDrv_TEMPLATE = VBoxR3ExtPackPuel
|
---|
1163 | VBoxPciRawDrv_SOURCES = Bus/DrvPciRaw.cpp
|
---|
1164 |
|
---|
1165 | SYSMODS += VBoxPciRawR0
|
---|
1166 | VBoxPciRawR0_TEMPLATE = VBoxR0ExtPackPuel
|
---|
1167 | VBoxPciRawR0_SOURCES = Bus/DevPciRaw.cpp
|
---|
1168 |
|
---|
1169 | Bus/DevPciRaw.cpp_INCS = Bus
|
---|
1170 | endif
|
---|
1171 |
|
---|
1172 |
|
---|
1173 | #
|
---|
1174 | # The Intel PXE rom.
|
---|
1175 | #
|
---|
1176 | INSTALLS += VBoxExtPackPuelInsRoms
|
---|
1177 | VBoxExtPackPuelInsRoms_TEMPLATE = VBoxInsExtPackPuel
|
---|
1178 | VBoxExtPackPuelInsRoms_SOURCES = PC/PXE/PXE-Intel.rom=>PXE-Intel.rom
|
---|
1179 | endif # VBOX_WITH_EXTPACK_PUEL
|
---|
1180 |
|
---|
1181 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
1182 |
|
---|