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