1 | # $Id: Makefile.kmk 11171 2008-08-06 01:51:29Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Top-level makefile for the devices, drivers and services.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2007 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 | ifdef VBOX_KBUILD_HACKING
|
---|
23 | SUB_DEPTH = ../../..
|
---|
24 | else
|
---|
25 | DEPTH = ../../..
|
---|
26 | endif
|
---|
27 | include $(KBUILD_PATH)/subheader.kmk
|
---|
28 |
|
---|
29 | # Include sub-makefiles.
|
---|
30 | include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
|
---|
31 | ifndef VBOX_OSE # not yet
|
---|
32 | include $(PATH_SUB_CURRENT)/PC/VMI/Makefile.kmk
|
---|
33 | endif
|
---|
34 | include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
|
---|
35 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
36 | include $(PATH_SUB_CURRENT)/Storage/testcase/Makefile.kmk
|
---|
37 | ifndef VBOX_OSE
|
---|
38 | include $(PATH_SUB_CURRENT)/Storage/VBoxHDDFormats/Makefile.kmk
|
---|
39 | endif
|
---|
40 | ifdef VBOX_WITH_INTEL_PXE
|
---|
41 | include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
|
---|
42 | else
|
---|
43 | # Subdir with complex makefile.
|
---|
44 | SUBDIRS_LIBRARIES += PC/Etherboot-src
|
---|
45 | SUBDIRS_CLEAN += PC/Etherboot-src
|
---|
46 | endif
|
---|
47 |
|
---|
48 | #
|
---|
49 | # Main targets.
|
---|
50 | #
|
---|
51 | LIBRARIES += DevicesR3 Drivers ServicesR0
|
---|
52 | ifdef VBOX_USE_NAT
|
---|
53 | LIBRARIES += NatAlias
|
---|
54 | endif
|
---|
55 | DLLS += VBoxDDU VBoxDD VBoxDD2
|
---|
56 | SYSMODS += VBoxDDGC VBoxDD2GC VBoxDDR0 VBoxDD2R0
|
---|
57 |
|
---|
58 |
|
---|
59 | #
|
---|
60 | # VBoxDDU (shared object)
|
---|
61 | #
|
---|
62 | VBoxDDU_TEMPLATE = VBOXR3
|
---|
63 | VBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
|
---|
64 | VBoxDDU_DEFS = IN_VBOXDDU
|
---|
65 | ifdef VBOX_WITH_USB
|
---|
66 | VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
|
---|
67 | VBoxDDU_SDKS.win = WINPSDK W2K3DDK
|
---|
68 | ifdef VBOX_WITH_EHCI
|
---|
69 | VBoxDDU_DEFS += VBOX_WITH_EHCI
|
---|
70 | endif
|
---|
71 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
72 | VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
73 | endif
|
---|
74 | else
|
---|
75 | VBoxDDU_SDKS.win = WINPSDK
|
---|
76 | endif
|
---|
77 | VBoxDDU_SOURCES = \
|
---|
78 | Storage/VBoxHDD-new.cpp \
|
---|
79 | Storage/VDICore.cpp \
|
---|
80 | Storage/VDIHDDCore.cpp \
|
---|
81 | Storage/VmdkHDDCore.cpp \
|
---|
82 | Storage/RawHDDCore.cpp \
|
---|
83 | VBoxDDUDeps.cpp
|
---|
84 | ifndef VBOX_OSE
|
---|
85 | VBoxDDU_SOURCES += \
|
---|
86 | Storage/VHDHDDCore.cpp
|
---|
87 | endif
|
---|
88 | ifdef VBOX_WITH_USB
|
---|
89 | VBoxDDU_INCS.os2 += \
|
---|
90 | $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
|
---|
91 | endif
|
---|
92 | VBoxDDU_LIBS = \
|
---|
93 | $(LIB_RUNTIME)
|
---|
94 | ifdef VBOX_WITH_USB
|
---|
95 | VBoxDDU_LIBS += \
|
---|
96 | $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
|
---|
97 | endif
|
---|
98 | ifeq ($(KBUILD_TARGET),l4)
|
---|
99 | VBoxDDU_LIBS += \
|
---|
100 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
101 | endif
|
---|
102 | VBoxDDU_LDFLAGS.darwin = -install_name @executable_path/VBoxDDU.dylib
|
---|
103 | ifdef VBOX_WITH_USB
|
---|
104 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
105 | VBoxDDU_LDFLAGS.darwin += -framework IOKit
|
---|
106 | endif
|
---|
107 | endif
|
---|
108 |
|
---|
109 | VBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
|
---|
110 | VBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
111 |
|
---|
112 | #
|
---|
113 | # VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)
|
---|
114 | #
|
---|
115 | ifeq ($(KBUILD_TARGET),l4)
|
---|
116 | LIBRARIES += VBoxDDULnxHostR3
|
---|
117 | VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
|
---|
118 | VBoxDDULnxHostR3_DEFS = IN_VBOXDDU
|
---|
119 | VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)
|
---|
120 | endif
|
---|
121 |
|
---|
122 | #
|
---|
123 | # VBoxDD (shared object)
|
---|
124 | #
|
---|
125 | VBoxDD_TEMPLATE = VBOXR3
|
---|
126 | VBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
|
---|
127 | VBoxDD_SOURCES = \
|
---|
128 | Builtins.cpp
|
---|
129 | VBoxDD_DEFS = VBOX_ACPI
|
---|
130 | ifdef VBOX_WITH_USB
|
---|
131 | VBoxDD_DEFS += VBOX_WITH_USB IN_USB_R3
|
---|
132 | ifdef VBOX_WITH_EHCI
|
---|
133 | VBoxDD_DEFS += VBOX_WITH_EHCI
|
---|
134 | endif
|
---|
135 | endif
|
---|
136 | ifdef VBOX_WITH_AHCI
|
---|
137 | VBoxDD_DEFS += VBOX_WITH_AHCI
|
---|
138 | endif
|
---|
139 | ifdef VBOX_WITH_ISCSI
|
---|
140 | VBoxDD_DEFS += VBOX_WITH_ISCSI
|
---|
141 | endif
|
---|
142 | ifdef VBOX_WITH_E1000
|
---|
143 | VBoxDD_DEFS += VBOX_WITH_E1000
|
---|
144 | endif
|
---|
145 | ifndef VBOX_OSE
|
---|
146 | VBoxDD_DEFS += VBOX_WITH_INIP
|
---|
147 | endif
|
---|
148 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
149 | VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
150 | endif
|
---|
151 | VBoxDD_LIBS = \
|
---|
152 | $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
|
---|
153 | $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
|
---|
154 | $(PATH_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
|
---|
155 | $(LIB_VMM) \
|
---|
156 | $(LIB_RUNTIME)
|
---|
157 | ifeq ($(KBUILD_TARGET),win)
|
---|
158 | VBoxDD_LIBS += \
|
---|
159 | $(LIB_DDU) \
|
---|
160 | $(PATH_LIB)/VBoxDD2.lib \
|
---|
161 | $(PATH_SDK_DXSDK_LIB)/dxguid.lib
|
---|
162 | else
|
---|
163 | VBoxDD_LIBS += \
|
---|
164 | $(INSTARGET_VBoxDDU) \
|
---|
165 | $(INSTARGET_VBoxDD2)
|
---|
166 | endif
|
---|
167 | ifeq ($(KBUILD_TARGET),l4)
|
---|
168 | VBoxDD_LIBS += \
|
---|
169 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
170 | endif
|
---|
171 |
|
---|
172 | ifdef VBOX_USE_NAT
|
---|
173 | VBoxDD_LIBS += $(PATH_LIB)/NatAlias$(VBOX_SUFF_LIB)
|
---|
174 | endif
|
---|
175 |
|
---|
176 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
177 | VBoxDD_LIBS += adm
|
---|
178 | ifdef VBOX_WITH_SUID_WRAPPER
|
---|
179 | VBoxDD_LIBS += secdb
|
---|
180 | endif
|
---|
181 | ifdef VBOX_WITH_USB
|
---|
182 | VBoxDD_LIBS += aio
|
---|
183 | endif
|
---|
184 | endif
|
---|
185 | VBoxDD_LIBS.darwin += \
|
---|
186 | $(LIB_REM)
|
---|
187 | VBoxDD_LDFLAGS.darwin = -install_name @executable_path/VBoxDD.dylib \
|
---|
188 | -framework CoreAudio \
|
---|
189 | -framework IOKit \
|
---|
190 | -framework Carbon \
|
---|
191 | -framework DiskArbitration
|
---|
192 | VBoxDD_LDFLAGS.linux = -Wl,--no-undefined
|
---|
193 | VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
194 |
|
---|
195 |
|
---|
196 | ifndef VBOX_SINGLE_MAKEFILE
|
---|
197 | # damn, fix this.
|
---|
198 | ifeq ($(KBUILD_TARGET),win)
|
---|
199 | $(PATH_LIB)/VBoxDD2.lib: $(PATH_BIN)/VBoxDD2.dll
|
---|
200 | $(PATH_LIB)/VBoxDDU.lib: $(PATH_BIN)/VBoxDDU.dll
|
---|
201 | endif
|
---|
202 | endif
|
---|
203 |
|
---|
204 |
|
---|
205 | #
|
---|
206 | # VBoxDD2 (shared object)
|
---|
207 | #
|
---|
208 | VBoxDD2_TEMPLATE = VBOXR3
|
---|
209 | VBoxDD2_DEFS = IN_VBOXDD2
|
---|
210 | VBoxDD2_INCS := \
|
---|
211 | $(PATH_SUB_CURRENT)
|
---|
212 | VBoxDD2_SOURCES = \
|
---|
213 | Builtins2.cpp \
|
---|
214 | PC/DevAPIC.cpp
|
---|
215 | VBoxDD2_LIBS = \
|
---|
216 | $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
|
---|
217 | $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
|
---|
218 | $(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB) \
|
---|
219 | $(if $(VBOX_OSE),,$(PATH_LIB)/VmiBiosBin$(VBOX_SUFF_LIB)) \
|
---|
220 | $(LIB_VMM) \
|
---|
221 | $(LIB_RUNTIME)
|
---|
222 | ifeq ($(KBUILD_TARGET),l4)
|
---|
223 | VBoxDD2_LIBS += \
|
---|
224 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
225 | endif
|
---|
226 | VBoxDD2_LIBS.darwin += $(LIB_REM)
|
---|
227 | VBoxDD2_LDFLAGS.darwin = -install_name @executable_path/VBoxDD2.dylib
|
---|
228 | VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
|
---|
229 | VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
230 |
|
---|
231 |
|
---|
232 | #
|
---|
233 | # DevicesR3 (library)
|
---|
234 | #
|
---|
235 | DevicesR3_TEMPLATE = VBOXR3
|
---|
236 | DevicesR3_SDKS.win = WINPSDK W2K3DDK
|
---|
237 | DevicesR3_DEFS += VBOX_HGCM_HOST_CODE
|
---|
238 | DevicesR3_INCS := \
|
---|
239 | $(PATH_SUB_CURRENT)
|
---|
240 | DevicesR3_SOURCES = \
|
---|
241 | Input/DevPS2.cpp \
|
---|
242 | Bus/DevPCI.cpp \
|
---|
243 | Graphics/DevVGA.cpp \
|
---|
244 | Storage/DevATA.cpp \
|
---|
245 | PC/DevPit-i8254.cpp \
|
---|
246 | PC/DevPIC.cpp \
|
---|
247 | PC/DevACPI.cpp \
|
---|
248 | PC/DevRTC.cpp \
|
---|
249 | PC/DevPcBios.cpp \
|
---|
250 | PC/DevPcArch.c \
|
---|
251 | VMMDev/VBoxDev.cpp \
|
---|
252 | VMMDev/VMMDevHGCM.cpp \
|
---|
253 | Network/DevPCNet.cpp \
|
---|
254 | Audio/DevIchAc97.cpp \
|
---|
255 | Audio/DevSB16.cpp \
|
---|
256 | PC/DevDMA.cpp \
|
---|
257 | Storage/fdc.c \
|
---|
258 | Serial/DevSerial.cpp \
|
---|
259 | Parallel/DevParallel.cpp
|
---|
260 |
|
---|
261 | ifdef VBOX_WITH_E1000
|
---|
262 | DevicesR3_DEFS += VBOX_WITH_E1000
|
---|
263 | DevicesR3_SOURCES += \
|
---|
264 | Network/DevE1000.cpp \
|
---|
265 | Network/DevE1000Phy.cpp \
|
---|
266 | Network/DevEEPROM.cpp
|
---|
267 | endif
|
---|
268 |
|
---|
269 | ifndef VBOX_OSE
|
---|
270 | DevicesR3_INCS += \
|
---|
271 | Network/lwip/src/include \
|
---|
272 | Network/lwip/src/include/ipv4 \
|
---|
273 | Network/lwip/vbox/include
|
---|
274 | DevicesR3_SOURCES += \
|
---|
275 | Network/lwip/src/api/api_lib.c \
|
---|
276 | Network/lwip/src/api/api_msg.c \
|
---|
277 | Network/lwip/src/api/err.c \
|
---|
278 | Network/lwip/src/api/sockets.c \
|
---|
279 | Network/lwip/src/api/tcpip.c \
|
---|
280 | Network/lwip/src/core/tcp_in.c \
|
---|
281 | Network/lwip/src/core/dhcp.c \
|
---|
282 | Network/lwip/src/core/inet.c \
|
---|
283 | Network/lwip/src/core/mem.c \
|
---|
284 | Network/lwip/src/core/memp.c \
|
---|
285 | Network/lwip/src/core/netif.c \
|
---|
286 | Network/lwip/src/core/pbuf.c \
|
---|
287 | Network/lwip/src/core/raw.c \
|
---|
288 | Network/lwip/src/core/stats.c \
|
---|
289 | Network/lwip/src/core/sys.c \
|
---|
290 | Network/lwip/src/core/tcp.c \
|
---|
291 | Network/lwip/src/core/ipv4/ip_addr.c \
|
---|
292 | Network/lwip/src/core/ipv4/icmp.c \
|
---|
293 | Network/lwip/src/core/ipv4/ip.c \
|
---|
294 | Network/lwip/src/core/ipv4/ip_frag.c \
|
---|
295 | Network/lwip/src/core/tcp_out.c \
|
---|
296 | Network/lwip/src/core/udp.c \
|
---|
297 | Network/lwip/src/netif/etharp.c \
|
---|
298 | Network/lwip/vbox/sys_arch.c \
|
---|
299 | Network/DevINIP.cpp
|
---|
300 | DevicesR3_DEFS += VBOX_WITH_INIP
|
---|
301 | endif
|
---|
302 |
|
---|
303 | ifdef VBOX_WITH_AHCI
|
---|
304 | DevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
|
---|
305 | DevicesR3_SOURCES += \
|
---|
306 | Storage/DevAHCI.cpp \
|
---|
307 | Storage/ATAController.cpp
|
---|
308 | endif
|
---|
309 |
|
---|
310 | ifdef VBOX_WITH_USB
|
---|
311 | DevicesR3_DEFS += VBOX_WITH_USB IN_USB_R3
|
---|
312 |
|
---|
313 | DevicesR3_SOURCES += \
|
---|
314 | USB/DevOHCI.cpp
|
---|
315 |
|
---|
316 | ifdef VBOX_WITH_EHCI
|
---|
317 | DevicesR3_DEFS += VBOX_WITH_EHCI
|
---|
318 | DevicesR3_SOURCES += \
|
---|
319 | USB/DevEHCI.cpp
|
---|
320 | endif
|
---|
321 |
|
---|
322 | endif
|
---|
323 |
|
---|
324 | DevicesR3_DEFS += VBOX_HGCM
|
---|
325 | DevicesR3_DEFS.linux += _GNU_SOURCE
|
---|
326 | DevicesR3_DEFS.l4 += _GNU_SOURCE
|
---|
327 |
|
---|
328 | # DevACPI.cpp needs vboxaml.hex which we generate from PC/vbox.dsl.
|
---|
329 | DevicesR3_CLEAN += $(PATH_TARGET)/vboxaml.hex $(PATH_TARGET)/vboxaml.aml
|
---|
330 | PC/DevACPI.cpp_DEPS = $(PATH_TARGET)/vboxaml.hex
|
---|
331 | PC/DevACPI.cpp_INCS = $(PATH_TARGET)
|
---|
332 |
|
---|
333 | $(PATH_TARGET)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl
|
---|
334 | $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
|
---|
335 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
|
---|
336 |
|
---|
337 | # For finding PCIInternal.h from VBox/pci.h.
|
---|
338 | Bus/DevPCI.cpp_INCS = Bus
|
---|
339 |
|
---|
340 | # For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
|
---|
341 | Graphics/DevVGA.cpp_INCS = $(PATH_TARGET)
|
---|
342 | Graphics/DevVGA.cpp_DEPS = $(PATH_TARGET)/vbetables.h
|
---|
343 |
|
---|
344 |
|
---|
345 |
|
---|
346 | #
|
---|
347 | # VBoxDDGC (sysmod)
|
---|
348 | #
|
---|
349 | VBoxDDGC_TEMPLATE = VBOXGC
|
---|
350 | VBoxDDGC_DEFS =
|
---|
351 | VBoxDDGC_SYSSUFF = .gc
|
---|
352 | VBoxDDGC_INCS := \
|
---|
353 | $(PATH_SUB_CURRENT)
|
---|
354 | VBoxDDGC_SOURCES = \
|
---|
355 | Bus/DevPCI.cpp \
|
---|
356 | Graphics/DevVGA.cpp \
|
---|
357 | Input/DevPS2.cpp \
|
---|
358 | PC/DevACPI.cpp \
|
---|
359 | PC/DevPit-i8254.cpp \
|
---|
360 | PC/DevPIC.cpp \
|
---|
361 | PC/DevRTC.cpp \
|
---|
362 | Storage/DevATA.cpp \
|
---|
363 | Network/DevPCNet.cpp \
|
---|
364 | Serial/DevSerial.cpp \
|
---|
365 | Parallel/DevParallel.cpp
|
---|
366 |
|
---|
367 | ifdef VBOX_WITH_E1000
|
---|
368 | VBoxDDGC_DEFS += VBOX_WITH_E1000
|
---|
369 | VBoxDDGC_SOURCES += \
|
---|
370 | Network/DevE1000.cpp \
|
---|
371 | Network/DevE1000Phy.cpp
|
---|
372 | endif
|
---|
373 |
|
---|
374 | ifdef VBOX_WITH_USB
|
---|
375 | VBoxDDGC_DEFS += VBOX_WITH_USB IN_USB_GC
|
---|
376 | VBoxDDGC_SOURCES += \
|
---|
377 | USB/DevOHCI.cpp
|
---|
378 |
|
---|
379 | ifdef VBOX_WITH_EHCI
|
---|
380 | VBoxDDGC_DEFS += VBOX_WITH_EHCI
|
---|
381 | VBoxDDGC_SOURCES += \
|
---|
382 | USB/DevEHCI.cpp
|
---|
383 | endif
|
---|
384 |
|
---|
385 | endif
|
---|
386 |
|
---|
387 | ifdef VBOX_WITH_AHCI
|
---|
388 | VBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
|
---|
389 | VBoxDDGC_SOURCES += \
|
---|
390 | Storage/DevAHCI.cpp \
|
---|
391 | Storage/ATAController.cpp
|
---|
392 | endif
|
---|
393 |
|
---|
394 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
395 | VBoxDDGC_LDFLAGS = -Entry:vgaMMIOWrite
|
---|
396 | endif
|
---|
397 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
398 | VBoxDDGC_LIBS = \
|
---|
399 | $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
|
---|
400 | $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
|
---|
401 | endif
|
---|
402 |
|
---|
403 |
|
---|
404 | #
|
---|
405 | # VBoxDDR0 (sysmod)
|
---|
406 | #
|
---|
407 | VBoxDDR0_TEMPLATE = VBOXR0
|
---|
408 | VBoxDDR0_SYSSUFF = .r0
|
---|
409 | VBoxDDR0_DEFS = IN_RT_R0
|
---|
410 | VBoxDDR0_INCS := \
|
---|
411 | $(PATH_SUB_CURRENT)
|
---|
412 | VBoxDDR0_SOURCES = \
|
---|
413 | Bus/DevPCI.cpp \
|
---|
414 | Graphics/DevVGA.cpp \
|
---|
415 | Input/DevPS2.cpp \
|
---|
416 | PC/DevACPI.cpp \
|
---|
417 | PC/DevPit-i8254.cpp \
|
---|
418 | PC/DevPIC.cpp \
|
---|
419 | PC/DevRTC.cpp \
|
---|
420 | Storage/DevATA.cpp \
|
---|
421 | Network/DevPCNet.cpp \
|
---|
422 | Serial/DevSerial.cpp \
|
---|
423 | Parallel/DevParallel.cpp
|
---|
424 |
|
---|
425 | ifdef VBOX_WITH_E1000
|
---|
426 | VBoxDDR0_DEFS += VBOX_WITH_E1000
|
---|
427 | VBoxDDR0_SOURCES += \
|
---|
428 | Network/DevE1000.cpp \
|
---|
429 | Network/DevE1000Phy.cpp
|
---|
430 | endif
|
---|
431 |
|
---|
432 | ifdef VBOX_WITH_USB
|
---|
433 | VBoxDDR0_DEFS += VBOX_WITH_USB IN_USB_R0
|
---|
434 | VBoxDDR0_SOURCES += \
|
---|
435 | USB/DevOHCI.cpp
|
---|
436 |
|
---|
437 | ifdef VBOX_WITH_EHCI
|
---|
438 | VBoxDDR0_DEFS += VBOX_WITH_EHCI
|
---|
439 | VBoxDDR0_SOURCES += \
|
---|
440 | USB/DevEHCI.cpp
|
---|
441 | endif
|
---|
442 | endif
|
---|
443 |
|
---|
444 | ifdef VBOX_WITH_AHCI
|
---|
445 | VBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
|
---|
446 | VBoxDDR0_SOURCES += \
|
---|
447 | Storage/DevAHCI.cpp \
|
---|
448 | Storage/ATAController.cpp
|
---|
449 | endif
|
---|
450 |
|
---|
451 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
452 | VBoxDDR0_LDFLAGS = -Entry:vgaMMIOWrite
|
---|
453 | endif
|
---|
454 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
455 | VBoxDDR0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
|
---|
456 | endif
|
---|
457 | VBoxDDR0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
458 | ifeq ($(VBOX_LDR_FMT32),elf) # this is template stuff!
|
---|
459 | VBoxDDR0_LIBS += $(VBOX_GCC_LIBGCC)
|
---|
460 | endif
|
---|
461 |
|
---|
462 |
|
---|
463 | #
|
---|
464 | # VBoxDD2GC (LGPL sysmod)
|
---|
465 | #
|
---|
466 | VBoxDD2GC_TEMPLATE = VBOXGC
|
---|
467 | VBoxDD2GC_DEFS =
|
---|
468 | VBoxDD2GC_SYSSUFF = .gc
|
---|
469 | VBoxDD2GC_INCS := \
|
---|
470 | $(PATH_SUB_CURRENT)
|
---|
471 | VBoxDD2GC_SOURCES = \
|
---|
472 | PC/DevAPIC.cpp
|
---|
473 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
474 | VBoxDD2GC_LDFLAGS = -Entry:apicMMIOWrite
|
---|
475 | endif
|
---|
476 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
477 | VBoxDD2GC_LIBS = \
|
---|
478 | $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
|
---|
479 | $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
|
---|
480 | endif
|
---|
481 |
|
---|
482 |
|
---|
483 | #
|
---|
484 | # VBoxDD2R0 (LGPL sysmod)
|
---|
485 | #
|
---|
486 | VBoxDD2R0_TEMPLATE = VBOXR0
|
---|
487 | VBoxDD2R0_DEFS = IN_RT_R0
|
---|
488 | VBoxDD2R0_SYSSUFF = .r0
|
---|
489 | VBoxDD2R0_INCS := \
|
---|
490 | $(PATH_SUB_CURRENT)
|
---|
491 | VBoxDD2R0_SOURCES = \
|
---|
492 | PC/DevAPIC.cpp
|
---|
493 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
494 | VBoxDD2R0_LDFLAGS = -Entry:apicMMIOWrite
|
---|
495 | endif
|
---|
496 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
|
---|
497 | VBoxDD2R0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
|
---|
498 | endif
|
---|
499 | VBoxDD2R0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
500 | ifeq ($(VBOX_LDR_FMT),elf)
|
---|
501 | VBoxDD2R0_LIBS += $(VBOX_GCC_LIBGCC)
|
---|
502 | endif
|
---|
503 |
|
---|
504 |
|
---|
505 | #
|
---|
506 | # Drivers (library)
|
---|
507 | #
|
---|
508 | ifeq ($(KBUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
|
---|
509 | Drivers_TEMPLATE = VBOXR3NP
|
---|
510 | else
|
---|
511 | Drivers_TEMPLATE = VBOXR3
|
---|
512 | endif
|
---|
513 | Drivers_SDKS.win = WINPSDK W2K3DDK
|
---|
514 | Storage/DrvHostDVD.cpp_SDKS.win = W2K3DDK
|
---|
515 | Drivers_DEFS = IN_IDE_R3
|
---|
516 | Drivers_DEFS.win += _WIN32_WINNT=0x0510
|
---|
517 | Drivers_INCS := \
|
---|
518 | $(PATH_SUB_CURRENT) \
|
---|
519 | Network/slirp
|
---|
520 | Drivers_SOURCES = \
|
---|
521 | Audio/audio.c \
|
---|
522 | Audio/audiosniffer.c \
|
---|
523 | Audio/mixeng.c \
|
---|
524 | Audio/noaudio.c \
|
---|
525 | Input/DrvKeyboardQueue.cpp \
|
---|
526 | Input/DrvMouseQueue.cpp \
|
---|
527 | Network/DrvIntNet.cpp \
|
---|
528 | PC/DrvACPI.cpp \
|
---|
529 | Serial/DrvChar.cpp \
|
---|
530 | Serial/DrvNamedPipe.cpp \
|
---|
531 | Storage/DrvBlock.cpp \
|
---|
532 | Storage/DrvHostBase.cpp \
|
---|
533 | Storage/DrvHostDVD.cpp \
|
---|
534 | Storage/DrvHostFloppy.cpp \
|
---|
535 | Storage/DrvMediaISO.cpp \
|
---|
536 | Storage/DrvRawImage.cpp \
|
---|
537 | Storage/DrvVD.cpp \
|
---|
538 | Storage/VBoxHDD.cpp \
|
---|
539 | Network/DrvNetSniffer.cpp \
|
---|
540 | Network/Pcap.cpp
|
---|
541 | ifndef VBOX_USE_NAT
|
---|
542 | Drivers_SOURCES += \
|
---|
543 | Network/DrvNAT.cpp \
|
---|
544 | Network/slirp/bootp.c \
|
---|
545 | Network/slirp/cksum.c \
|
---|
546 | Network/slirp/debug.c \
|
---|
547 | Network/slirp/if.c \
|
---|
548 | Network/slirp/ip_icmp.c \
|
---|
549 | Network/slirp/ip_input.c \
|
---|
550 | Network/slirp/ip_output.c \
|
---|
551 | Network/slirp/mbuf.c \
|
---|
552 | Network/slirp/misc.c \
|
---|
553 | Network/slirp/sbuf.c \
|
---|
554 | Network/slirp/slirp.c \
|
---|
555 | Network/slirp/socket.c \
|
---|
556 | Network/slirp/tcp_input.c \
|
---|
557 | Network/slirp/tcp_output.c \
|
---|
558 | Network/slirp/tcp_subr.c \
|
---|
559 | Network/slirp/tcp_timer.c \
|
---|
560 | Network/slirp/tftp.c \
|
---|
561 | Network/slirp/udp.c
|
---|
562 | else
|
---|
563 | NatAlias_TEMPLATE = VBOXR3NP
|
---|
564 |
|
---|
565 |
|
---|
566 | Drivers_SOURCES += Network/DrvNAT.cpp
|
---|
567 |
|
---|
568 | Network/DrvNAT.cpp_DEFS += VBOX_NAT_SOURCES
|
---|
569 |
|
---|
570 | Drivers_SOURCES += Network/nat/nat_socket.c
|
---|
571 |
|
---|
572 | NatAlias_CFLAGS += -include Network/nat/bsd.h
|
---|
573 | NatAlias_DEFS += VBOX_NAT_SOURCES
|
---|
574 | NatAlias_DEFS += __BSD_VISIBLE
|
---|
575 | NatAlias_DEFS += INET
|
---|
576 | NatAlias_DEFS += IPFIREWALL_NAT
|
---|
577 | NatAlias_DEFS += RWLOCK_NOINLINE
|
---|
578 | NatAlias_DEFS += MUTEX_NOINLINE
|
---|
579 |
|
---|
580 | NatAlias_DEFS += IN_NAT # used in Network/nat/nat.h (which glues VBox and *BSD sources)
|
---|
581 |
|
---|
582 | NatAlias_DEFS.linux += _GNU_SOURCE
|
---|
583 |
|
---|
584 | NatAlias_SOURCES += Network/nat/nat_utils.c
|
---|
585 | NatAlias_SOURCES += Network/nat/src/sys/netinet/ip_fw_nat.c
|
---|
586 | NatAlias_SOURCES += Network/nat/src/sys/netinet/in_cksum.c
|
---|
587 | NatAlias_SOURCES += Network/nat/src/sys/kern/subr_eventhandler.c
|
---|
588 | NatAlias_SOURCES += Network/nat/src/sys/kern/kern_mbuf.c
|
---|
589 | NatAlias_SOURCES += Network/nat/src/sys/kern/uipc_mbuf.c
|
---|
590 | NatAlias_SOURCES += Network/nat/src/sys/vm/uma.c
|
---|
591 | #NatAlias_SOURCES += Network/nat/src/sys/netinet/ip_fw2.c
|
---|
592 | NatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias.c
|
---|
593 | #NatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_cuseeme.c
|
---|
594 | NatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_db.c
|
---|
595 | NatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_dummy.c
|
---|
596 | #NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_ftp.c
|
---|
597 | #NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_irc.c
|
---|
598 | NatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_mod.c
|
---|
599 | #NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_nbt.c
|
---|
600 | #NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_pptp.c
|
---|
601 | #NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_proxy.c
|
---|
602 | #NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_skinny.c
|
---|
603 | #NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_smedia.c
|
---|
604 | NatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_util.c
|
---|
605 | NatAlias_SOURCES += Network/nat/src/common/lib/libc/gen/bswap16.c
|
---|
606 | NatAlias_SOURCES += Network/nat/src/common/lib/libc/gen/bswap32.c
|
---|
607 | NatAlias_SOURCES += Network/nat/src/common/lib/libc/gen/bswap64.c
|
---|
608 |
|
---|
609 | NatAlias_INCS += Network/nat/src/sys
|
---|
610 | endif
|
---|
611 |
|
---|
612 | # -- OS specific --
|
---|
613 |
|
---|
614 | ifeq ($(KBUILD_TARGET),darwin)
|
---|
615 | Drivers_SOURCES := $(filter-out \
|
---|
616 | Storage/DrvHostRaw% \
|
---|
617 | Storage/DrvHostFloppy% \
|
---|
618 | , $(Drivers_SOURCES)) \
|
---|
619 | Audio/coreaudio.c
|
---|
620 | Drivers_SOURCES.darwin =
|
---|
621 | endif # darwin
|
---|
622 |
|
---|
623 | ifeq ($(KBUILD_TARGET),freebsd)
|
---|
624 | Drivers_SOURCES := $(filter-out \
|
---|
625 | Storage/DrvHost% \
|
---|
626 | , $(Drivers_SOURCES))
|
---|
627 | Drivers_SOURCES.freebsd =
|
---|
628 | endif # freebsd
|
---|
629 |
|
---|
630 |
|
---|
631 | ifeq ($(KBUILD_TARGET),l4)
|
---|
632 | Drivers_SOURCES = \
|
---|
633 | Input/DrvMouseQueue.cpp \
|
---|
634 | Input/DrvKeyboardQueue.cpp \
|
---|
635 | Storage/VBoxHDD.cpp \
|
---|
636 | Storage/DrvBlock.cpp \
|
---|
637 | Storage/DrvMediaISO.cpp \
|
---|
638 | Storage/DrvRawImage.cpp \
|
---|
639 | Storage/DrvHostBase.cpp \
|
---|
640 | Storage/DrvHostDVD.cpp \
|
---|
641 | Storage/DrvVD.cpp \
|
---|
642 | PC/DrvACPI.cpp \
|
---|
643 | Network/DrvIntNet.cpp \
|
---|
644 | Network/DrvNetSniffer.cpp \
|
---|
645 | Network/Pcap.cpp \
|
---|
646 | Audio/audio.c \
|
---|
647 | Audio/mixeng.c \
|
---|
648 | Audio/noaudio.c \
|
---|
649 | Audio/audiosniffer.c
|
---|
650 |
|
---|
651 | Drivers_SOURCES.l4 = \
|
---|
652 | Network/DrvTAP.cpp \
|
---|
653 | Audio/ossaudio.c
|
---|
654 | endif # l4
|
---|
655 |
|
---|
656 | Drivers_SOURCES.linux = \
|
---|
657 | Network/DrvTAP.cpp \
|
---|
658 | Audio/ossaudio.c \
|
---|
659 | Parallel/DrvHostParallel.cpp \
|
---|
660 | Serial/DrvHostSerial.cpp
|
---|
661 |
|
---|
662 | ifeq ($(KBUILD_TARGET),os2)
|
---|
663 | Drivers_SOURCES := $(filter-out \
|
---|
664 | Storage/DrvHost% \
|
---|
665 | , $(Drivers_SOURCES))
|
---|
666 | Drivers_SOURCES.os2 = \
|
---|
667 | Network/DrvTAPOs2.cpp
|
---|
668 | endif
|
---|
669 |
|
---|
670 | ifeq ($(KBUILD_TARGET),solaris)
|
---|
671 | Drivers_SOURCES := $(filter-out \
|
---|
672 | Storage/DrvHost% \
|
---|
673 | , $(Drivers_SOURCES))
|
---|
674 | Drivers_SOURCES.solaris = \
|
---|
675 | Audio/solaudio.c \
|
---|
676 | $(if $(VBOX_SOLARIS_10),,Network/DrvTAP.cpp) \
|
---|
677 | Storage/DrvHostBase.cpp \
|
---|
678 | Storage/DrvHostDVD.cpp
|
---|
679 | ifdef VBOX_WITH_CROSSBOW
|
---|
680 | Drivers_SOURCES += Network/solaris/vbox-libdlpi.cpp
|
---|
681 | Drivers_DEFS += VBOX_WITH_CROSSBOW
|
---|
682 | endif
|
---|
683 | ifdef VBOX_WITH_SUID_WRAPPER
|
---|
684 | Drivers_DEFS += VBOX_WITH_SUID_WRAPPER
|
---|
685 | endif
|
---|
686 | endif
|
---|
687 |
|
---|
688 | Drivers_SOURCES.win = \
|
---|
689 | Network/DrvTAPWin.cpp \
|
---|
690 | Audio/dsoundaudio.c \
|
---|
691 | Serial/DrvHostSerial.cpp
|
---|
692 |
|
---|
693 |
|
---|
694 | # -- features --
|
---|
695 |
|
---|
696 | ifdef VBOX_WITH_ISCSI
|
---|
697 | Drivers_SOURCES += \
|
---|
698 | Storage/DrvISCSI.cpp \
|
---|
699 | Storage/DrvISCSITransportTCP.cpp
|
---|
700 | Drivers_DEFS += VBOX_WITH_ISCSI
|
---|
701 | Storage/DrvISCSITransportTCP.cpp_INCS = \
|
---|
702 | Network/lwip/src/include \
|
---|
703 | Network/lwip/src/include/ipv4 \
|
---|
704 | Network/lwip/vbox/include
|
---|
705 | VBoxDDU_SOURCES += \
|
---|
706 | Storage/ISCSIHDDCore.cpp
|
---|
707 | VBoxDDU_DEFS += VBOX_WITH_ISCSI
|
---|
708 | endif # VBOX_WITH_ISCSI
|
---|
709 |
|
---|
710 | ifdef VBOX_WITH_ALSA
|
---|
711 | Drivers_DEFS.linux += VBOX_WITH_ALSA
|
---|
712 | Drivers_SOURCES.linux+= \
|
---|
713 | Audio/alsaaudio.c \
|
---|
714 | Audio/alsa_stubs.c
|
---|
715 | # VBoxDD_LIBS.linux += asound
|
---|
716 | endif
|
---|
717 |
|
---|
718 | ifdef VBOX_WITH_PULSE
|
---|
719 | Drivers_DEFS.linux += VBOX_WITH_PULSE
|
---|
720 | Drivers_SOURCES.linux+= \
|
---|
721 | Audio/pulseaudio.c \
|
---|
722 | Audio/pulse_stubs.c
|
---|
723 | # VBoxDD_LIBS.linux += pulse
|
---|
724 | endif
|
---|
725 |
|
---|
726 | ifdef VBOX_WITH_USB
|
---|
727 | Drivers_DEFS += VBOX_WITH_USB IN_USB_R3
|
---|
728 | Drivers_SOURCES += \
|
---|
729 | USB/DrvVUSBRootHub.cpp \
|
---|
730 | USB/VUSBDevice.cpp \
|
---|
731 | USB/VUSBUrb.cpp
|
---|
732 | ifdef VBOX_WITH_VRDP
|
---|
733 | Drivers_DEFS += VBOX_VRDP
|
---|
734 | Drivers_SOURCES += \
|
---|
735 | USB/vrdp/USBProxyDevice-vrdp.cpp
|
---|
736 | endif
|
---|
737 |
|
---|
738 | Drivers_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
|
---|
739 | ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
740 | Drivers_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
|
---|
741 | endif
|
---|
742 | Drivers_SOURCES.darwin += \
|
---|
743 | USB/USBProxyDevice.cpp \
|
---|
744 | USB/darwin/USBProxyDevice-darwin.cpp
|
---|
745 |
|
---|
746 | Drivers_DEFS.linux += VUSB_HAVE_USBPROXY_DEVICE
|
---|
747 | ifdef VBOX_WITHOUT_LINUX_COMPILER_H
|
---|
748 | Drivers_DEFS.linux += VBOX_WITHOUT_LINUX_COMPILER_H
|
---|
749 | endif
|
---|
750 | Drivers_SOURCES.linux+= \
|
---|
751 | USB/USBProxyDevice.cpp \
|
---|
752 | USB/linux/USBProxyDevice-linux.cpp
|
---|
753 |
|
---|
754 | Drivers_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
|
---|
755 | Drivers_SOURCES.l4 += \
|
---|
756 | USB/USBProxyDevice.cpp \
|
---|
757 | USB/linux/USBProxyDevice-linux.cpp
|
---|
758 |
|
---|
759 | Drivers_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
|
---|
760 | Drivers_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
|
---|
761 | Drivers_SOURCES.os2 += \
|
---|
762 | USB/USBProxyDevice.cpp \
|
---|
763 | USB/os2/USBProxyDevice-os2.cpp
|
---|
764 |
|
---|
765 | Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
|
---|
766 | Drivers_SOURCES.win += \
|
---|
767 | USB/USBProxyDevice.cpp \
|
---|
768 | USB/win/USBProxyDevice-win.cpp
|
---|
769 |
|
---|
770 | Drivers_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
|
---|
771 | Drivers_SOURCES.solaris += \
|
---|
772 | USB/USBProxyDevice.cpp \
|
---|
773 | USB/solaris/USBProxyDevice-solaris.cpp
|
---|
774 | endif # VBOX_WITH_USB
|
---|
775 |
|
---|
776 | ifdef VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
777 | Drivers_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
778 | Drivers_SOURCES += \
|
---|
779 | Storage/DrvRawImageAsync.cpp \
|
---|
780 | Storage/DrvTransportAsync.cpp
|
---|
781 | endif #VBOX_WITH_PDM_ASYNC_COMPLETION
|
---|
782 |
|
---|
783 | #
|
---|
784 | # Ring-0 Services (library, linked into VMMR0.r0)
|
---|
785 | #
|
---|
786 | ServicesR0_TEMPLATE = VBOXR0
|
---|
787 | ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0
|
---|
788 | ServicesR0_SOURCES = \
|
---|
789 | Network/SrvIntNetR0.cpp
|
---|
790 |
|
---|
791 | #
|
---|
792 | # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
|
---|
793 | #
|
---|
794 | ifdef VBOX_WITH_TESTCASES
|
---|
795 | PROGRAMS += tstIntNetR0
|
---|
796 | tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
|
---|
797 | tstIntNetR0_DEFS = IN_INTNET_R0
|
---|
798 | tstIntNetR0_SOURCES = \
|
---|
799 | Network/testcase/tstIntNetR0.cpp
|
---|
800 | endif
|
---|
801 |
|
---|
802 | #
|
---|
803 | # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
|
---|
804 | #
|
---|
805 | ifdef VBOX_WITH_TESTCASES
|
---|
806 | PROGRAMS += tstIntNet-1
|
---|
807 | tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
|
---|
808 | tstIntNet-1_SOURCES = \
|
---|
809 | Network/testcase/tstIntNet-1.cpp \
|
---|
810 | Network/Pcap.cpp
|
---|
811 | endif
|
---|
812 |
|
---|
813 |
|
---|
814 | #
|
---|
815 | # EEPROM device unit test requires cppunit
|
---|
816 | #
|
---|
817 | ifdef VBOX_WITH_CPPUNIT_TESTCASES
|
---|
818 | ifdef VBOX_WITH_E1000
|
---|
819 | PROGRAMS += tstDevEEPROM
|
---|
820 | tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
|
---|
821 | tstDevEEPROM_SOURCES = \
|
---|
822 | Network/testcase/tstDevEEPROM.cpp
|
---|
823 | tstDevEEPROM_LIBS = \
|
---|
824 | $(TARGET_DevicesR3)
|
---|
825 | PROGRAMS += tstDevPhy
|
---|
826 | tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
|
---|
827 | tstDevPhy_SOURCES = \
|
---|
828 | Network/testcase/tstDevPhy.cpp \
|
---|
829 | Network/DevE1000Phy.cpp
|
---|
830 | tstDevPhy_DEFS = PHY_UNIT_TEST
|
---|
831 | endif
|
---|
832 | endif
|
---|
833 |
|
---|
834 | include $(KBUILD_PATH)/subfooter.kmk
|
---|