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