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