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