VirtualBox

source: vbox/trunk/src/VBox/Devices/Makefile.kmk@ 5818

Last change on this file since 5818 was 5755, checked in by vboxsync, 17 years ago

Added new type of network device 'e1000'. Define VBOX_WITH_E1000 to activate.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 14.9 KB
Line 
1# $Id: Makefile.kmk 5755 2007-11-15 13:03:25Z vboxsync $
2## @file
3# Top-level makefile for the devices, drivers and services.
4#
5
6#
7# Copyright (C) 2006-2007 innotek GmbH
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 as published by the Free Software Foundation,
13# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
14# distribution. VirtualBox OSE is distributed in the hope that it will
15# be useful, but WITHOUT ANY WARRANTY of any kind.
16#
17
18DEPTH = ../../..
19include $(PATH_KBUILD)/subheader.kmk
20
21# Include sub-makefiles.
22include $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
23include $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
24include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
25include $(PATH_SUB_CURRENT)/Storage/testcase/Makefile.kmk
26
27# Subdirs with complex makefiles.
28ifdef VBOX_WITH_INTEL_PXE
29SUBDIRS_LIBRARIES = PC/PXE
30SUBDIRS_CLEAN = PC/PXE
31else
32SUBDIRS_LIBRARIES = PC/Etherboot-src
33SUBDIRS_CLEAN = PC/Etherboot-src
34endif
35
36ifndef VBOX_OSE
37SUBDIRS_LIBRARIES += Storage/VBoxHDDFormats
38endif
39
40#
41# Main targets.
42#
43LIBRARIES += DevicesR3 Drivers ServicesR0
44DLLS += VBoxDDU VBoxDD VBoxDD2
45SYSMODS += VBoxDDGC VBoxDD2GC VBoxDDR0 VBoxDD2R0
46
47
48##
49## Enable the pdm lock (experimental).
50##
51#DEFS += VBOX_WITH_PDM_LOCK
52
53
54#
55# VBoxDDU (shared object)
56#
57VBoxDDU_TEMPLATE = VBOXR3
58VBoxDDU_DEFS = IN_VBOXDDU
59ifdef VBOX_WITH_USB
60 VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
61 VBoxDDU_SDKS.win = WINPSDK W2K3DDK
62 ifdef VBOX_WITH_EHCI
63 VBoxDDU_DEFS += VBOX_WITH_EHCI
64 endif
65else
66 VBoxDDU_SDKS.win = WINPSDK
67endif
68VBoxDDU_SOURCES = \
69 Storage/VBoxHDD-new.cpp \
70 Storage/VDICore.cpp \
71 Storage/VmdkHDDCore.cpp \
72 VBoxDDUDeps.cpp
73ifdef VBOX_WITH_USB
74 VBoxDDU_SOURCES.win = \
75 USB/win32/USBLib-win32.cpp
76 VBoxDDU_INCS.os2 += \
77 $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
78endif
79VBoxDDU_LIBS = \
80 $(LIB_RUNTIME)
81ifdef VBOX_WITH_USB
82 VBoxDDU_LIBS += \
83 $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
84endif
85ifeq ($(BUILD_TARGET),l4)
86 VBoxDDU_LIBS += \
87 $(L4_LIBDIR)/libl4sys.p.a
88endif
89VBoxDDU_LDFLAGS.darwin = -install_name @executable_path/VBoxDDU.dylib
90VBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
91VBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
92
93
94#
95# VBoxDD (shared object)
96#
97VBoxDD_TEMPLATE = VBOXR3
98VBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
99VBoxDD_SOURCES = \
100 Builtins.cpp
101VBoxDD_DEFS = VBOX_ACPI
102ifdef VBOX_WITH_USB
103 VBoxDD_DEFS += VBOX_WITH_USB IN_USB_R3
104 ifdef VBOX_WITH_EHCI
105 VBoxDD_DEFS += VBOX_WITH_EHCI
106 endif
107endif
108ifdef VBOX_WITH_AHCI
109 VBoxDD_DEFS += VBOX_WITH_AHCI
110endif
111ifdef VBOX_WITH_ISCSI
112 VBoxDD_DEFS += VBOX_WITH_ISCSI
113endif
114ifndef VBOX_OSE
115 VBoxDD_DEFS +=VBOX_WITH_E1000
116endif
117VBoxDD_LIBS = \
118 $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
119 $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
120 $(PATH_LIB)/PcDefBiosLogo$(VBOX_SUFF_LIB) \
121 $(LIB_VMM) \
122 $(LIB_RUNTIME)
123ifeq ($(BUILD_TARGET),win)
124 VBoxDD_LIBS += \
125 $(PATH_LIB)/VBoxDDU.lib \
126 $(PATH_LIB)/VBoxDD2.lib \
127 $(PATH_SDK_DXSDK_LIB)/dxguid.lib
128else
129 VBoxDD_LIBS += \
130 $(INSTARGET_VBoxDDU) \
131 $(INSTARGET_VBoxDD2)
132endif
133ifeq ($(BUILD_TARGET),l4)
134 VBoxDD_LIBS += \
135 $(L4_LIBDIR)/libl4sys.p.a
136endif
137ifeq ($(BUILD_TARGET),solaris)
138 VBoxDD_LIBS += adm
139 ifdef VBOX_WITH_CROSSBOW
140 VBoxDD_LIBS += dlpi
141 endif
142 ifdef VBOX_WITH_SUID_WRAPPER
143 VBoxDD_LIBS += secdb
144 endif
145endif
146VBoxDD_LIBS.darwin += \
147 $(LIB_REM)
148VBoxDD_LDFLAGS.darwin = -install_name @executable_path/VBoxDD.dylib \
149 -framework CoreAudio \
150 -framework IOKit \
151 -framework Carbon \
152 -framework DiskArbitration
153VBoxDD_LDFLAGS.linux = -Wl,--no-undefined
154VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
155
156
157# damn, fix this.
158ifeq ($(BUILD_TARGET),win)
159$(PATH_LIB)/VBoxDD2.lib: $(PATH_BIN)/VBoxDD2.dll
160$(PATH_LIB)/VBoxDDU.lib: $(PATH_BIN)/VBoxDDU.dll
161endif
162
163
164#
165# VBoxDD2 (shared object)
166#
167VBoxDD2_TEMPLATE = VBOXR3
168VBoxDD2_DEFS = IN_VBOXDD2
169VBoxDD2_INCS := \
170 $(PATH_SUB_CURRENT)
171VBoxDD2_SOURCES = \
172 Builtins2.cpp \
173 PC/DevAPIC.cpp
174VBoxDD2_LIBS = \
175 $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
176 $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
177 $(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB) \
178 $(LIB_VMM) \
179 $(LIB_RUNTIME)
180ifeq ($(BUILD_TARGET),l4)
181VBoxDD2_LIBS += \
182 $(L4_LIBDIR)/libl4sys.p.a
183endif
184VBoxDD2_LIBS.darwin += $(LIB_REM)
185VBoxDD2_LDFLAGS.darwin = -install_name @executable_path/VBoxDD2.dylib
186VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
187VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
188
189
190#
191# DevicesR3 (library)
192#
193DevicesR3_TEMPLATE = VBOXR3
194DevicesR3_SDKS.win = WINPSDK W2K3DDK
195DevicesR3_INCS := \
196 $(PATH_SUB_CURRENT)
197DevicesR3_SOURCES = \
198 Input/DevPS2.cpp \
199 Bus/DevPCI.cpp \
200 Graphics/DevVGA.cpp \
201 Storage/DevATA.cpp \
202 PC/DevPit-i8254.cpp \
203 PC/DevPIC.cpp \
204 PC/DevACPI.cpp \
205 PC/DevRTC.cpp \
206 PC/DevPcBios.cpp \
207 PC/DevPcArch.c \
208 VMMDev/VBoxDev.cpp \
209 VMMDev/VMMDevHGCM.cpp \
210 Network/DevPCNet.cpp \
211 Audio/DevIchAc97.cpp \
212 PC/DevDMA.cpp \
213 Storage/fdc.c \
214 Serial/DevSerial.cpp \
215 Parallel/DevParallel.cpp
216
217ifndef VBOX_OSE
218DevicesR3_SOURCES += \
219 Network/DevE1000.cpp \
220 Network/DevEEPROM.cpp
221DevicesR3_DEFS += VBOX_WITH_E1000
222endif
223
224ifdef VBOX_WITH_AHCI
225DevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
226DevicesR3_SOURCES += \
227 Storage/DevAHCI.cpp
228endif
229
230ifdef VBOX_WITH_USB
231DevicesR3_DEFS += VBOX_WITH_USB IN_USB_R3
232
233DevicesR3_SOURCES += \
234 USB/DevOHCI.cpp
235
236 ifdef VBOX_WITH_EHCI
237 DevicesR3_DEFS += VBOX_WITH_EHCI
238 DevicesR3_SOURCES += \
239 USB/DevEHCI.cpp
240 endif
241
242endif
243
244DevicesR3_DEFS += VBOX_HGCM
245DevicesR3_DEFS.linux += _GNU_SOURCE
246DevicesR3_DEFS.l4 += _GNU_SOURCE
247
248# DevACPI.cpp needs vboxaml.hex which we generate from PC/vbox.dsl.
249DevicesR3_CLEAN += $(PATH_TARGET)/vboxaml.hex $(PATH_TARGET)/vboxaml.aml
250PC/DevACPI.cpp_DEPS = $(PATH_TARGET)/vboxaml.hex
251PC/DevACPI.cpp_INCS = $(PATH_TARGET)
252
253$(PATH_TARGET)/vboxaml.hex: PC/vbox.dsl
254 $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
255 $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
256
257# For finding PCIInternal.h from VBox/pci.h.
258Bus/DevPCI.cpp_INCS = Bus
259
260# for finding vbetables.h
261Graphics/DevVGA.cpp_INCS = $(PATH_TARGET)
262
263
264
265#
266# VBoxDDGC (sysmod)
267#
268VBoxDDGC_TEMPLATE = VBOXGC
269VBoxDDGC_DEFS =
270VBoxDDGC_SYSSUFF = .gc
271VBoxDDGC_INCS := \
272 $(PATH_SUB_CURRENT)
273VBoxDDGC_SOURCES = \
274 Bus/DevPCI.cpp \
275 Graphics/DevVGA.cpp \
276 Input/DevPS2.cpp \
277 PC/DevACPI.cpp \
278 PC/DevPit-i8254.cpp \
279 PC/DevPIC.cpp \
280 PC/DevRTC.cpp \
281 Storage/DevATA.cpp \
282 Network/DevPCNet.cpp \
283 Serial/DevSerial.cpp \
284 Parallel/DevParallel.cpp
285
286ifdef VBOX_WITH_USB
287VBoxDDGC_DEFS += VBOX_WITH_USB IN_USB_GC
288VBoxDDGC_SOURCES += \
289 USB/DevOHCI.cpp
290
291 ifdef VBOX_WITH_EHCI
292 VBoxDDGC_DEFS += VBOX_WITH_EHCI
293 VBoxDDGC_SOURCES += \
294 USB/DevEHCI.cpp
295 endif
296
297endif
298
299ifdef VBOX_WITH_AHCI
300VBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
301VBoxDDGC_SOURCES += \
302 Storage/DevAHCI.cpp
303endif
304
305ifeq ($(VBOX_LDR_FMT32),pe)
306VBoxDDGC_LDFLAGS = -Entry:vgaMMIOWrite
307endif
308ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
309VBoxDDGC_LIBS = \
310 $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
311 $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
312endif
313
314
315#
316# VBoxDDR0 (sysmod)
317#
318VBoxDDR0_TEMPLATE = VBOXR0
319VBoxDDR0_SYSSUFF = .r0
320VBoxDDR0_DEFS = IN_RT_R0
321VBoxDDR0_INCS := \
322 $(PATH_SUB_CURRENT)
323VBoxDDR0_SOURCES = \
324 Bus/DevPCI.cpp \
325 Graphics/DevVGA.cpp \
326 Input/DevPS2.cpp \
327 PC/DevACPI.cpp \
328 PC/DevPit-i8254.cpp \
329 PC/DevPIC.cpp \
330 PC/DevRTC.cpp \
331 Storage/DevATA.cpp \
332 Network/DevPCNet.cpp \
333 Serial/DevSerial.cpp \
334 Parallel/DevParallel.cpp
335
336ifdef VBOX_WITH_USB
337VBoxDDR0_DEFS += VBOX_WITH_USB IN_USB_R0
338VBoxDDR0_SOURCES += \
339 USB/DevOHCI.cpp
340
341 ifdef VBOX_WITH_EHCI
342 VBoxDDR0_DEFS += VBOX_WITH_EHCI
343 VBoxDDR0_SOURCES += \
344 USB/DevEHCI.cpp
345 endif
346endif
347
348ifdef VBOX_WITH_AHCI
349VBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
350VBoxDDR0_SOURCES += \
351 Storage/DevAHCI.cpp
352endif
353
354ifeq ($(VBOX_LDR_FMT32),pe)
355VBoxDDR0_LDFLAGS = -Entry:vgaMMIOWrite
356endif
357ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
358VBoxDDR0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
359endif
360VBoxDDR0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
361ifeq ($(VBOX_LDR_FMT32),elf) # this is template stuff!
362VBoxDDR0_LIBS += $(VBOX_GCC_LIBGCC)
363endif
364
365
366#
367# VBoxDD2GC (LGPL sysmod)
368#
369VBoxDD2GC_TEMPLATE = VBOXGC
370VBoxDD2GC_DEFS =
371VBoxDD2GC_SYSSUFF = .gc
372VBoxDD2GC_INCS := \
373 $(PATH_SUB_CURRENT)
374VBoxDD2GC_SOURCES = \
375 PC/DevAPIC.cpp
376ifeq ($(VBOX_LDR_FMT32),pe)
377VBoxDD2GC_LDFLAGS = -Entry:apicMMIOWrite
378endif
379ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
380VBoxDD2GC_LIBS = \
381 $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
382 $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
383endif
384
385
386#
387# VBoxDD2R0 (LGPL sysmod)
388#
389VBoxDD2R0_TEMPLATE = VBOXR0
390VBoxDD2R0_DEFS = IN_RT_R0
391VBoxDD2R0_SYSSUFF = .r0
392VBoxDD2R0_INCS := \
393 $(PATH_SUB_CURRENT)
394VBoxDD2R0_SOURCES = \
395 PC/DevAPIC.cpp
396ifeq ($(VBOX_LDR_FMT),pe)
397VBoxDD2R0_LDFLAGS = -Entry:apicMMIOWrite
398endif
399ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
400VBoxDD2R0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
401endif
402VBoxDD2R0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
403ifeq ($(VBOX_LDR_FMT),elf)
404VBoxDD2R0_LIBS += $(VBOX_GCC_LIBGCC)
405endif
406
407
408#
409# Drivers (library)
410#
411ifeq ($(BUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
412Drivers_TEMPLATE = VBOXR3NP
413else
414Drivers_TEMPLATE = VBOXR3
415endif
416Drivers_SDKS.win = WINPSDK W2K3DDK
417Storage/DrvHostDVD.cpp_SDKS.win = W2K3DDK
418Drivers_DEFS = IN_IDE_R3
419Drivers_DEFS.win.x86 += _WIN32_WINNT=0x0500
420Drivers_DEFS.win.amd64 += _WIN32_WINNT=0x0510
421Drivers_INCS := \
422 $(PATH_SUB_CURRENT) \
423 Network/slirp
424Drivers_SOURCES = \
425 Audio/audio.c \
426 Audio/audiosniffer.c \
427 Audio/mixeng.c \
428 Audio/noaudio.c \
429 Input/DrvKeyboardQueue.cpp \
430 Input/DrvMouseQueue.cpp \
431 Network/DrvIntNet.cpp \
432 Network/DrvNAT.cpp \
433 Network/DrvNetSniffer.cpp \
434 Network/slirp/bootp.c \
435 Network/slirp/cksum.c \
436 Network/slirp/debug.c \
437 Network/slirp/if.c \
438 Network/slirp/ip_icmp.c \
439 Network/slirp/ip_input.c \
440 Network/slirp/ip_output.c \
441 Network/slirp/mbuf.c \
442 Network/slirp/misc.c \
443 Network/slirp/sbuf.c \
444 Network/slirp/slirp.c \
445 Network/slirp/socket.c \
446 Network/slirp/tcp_input.c \
447 Network/slirp/tcp_output.c \
448 Network/slirp/tcp_subr.c \
449 Network/slirp/tcp_timer.c \
450 Network/slirp/tftp.c \
451 Network/slirp/udp.c \
452 PC/DrvACPI.cpp \
453 Serial/DrvChar.cpp \
454 Serial/DrvNamedPipe.cpp \
455 Storage/DrvBlock.cpp \
456 Storage/DrvHostBase.cpp \
457 Storage/DrvHostDVD.cpp \
458 Storage/DrvHostFloppy.cpp \
459 Storage/DrvHostRawDisk.cpp \
460 Storage/DrvMediaISO.cpp \
461 Storage/DrvRawImage.cpp \
462 Storage/DrvVD.cpp \
463 Storage/DrvVmdk.cpp \
464 Storage/VBoxHDD.cpp
465
466# -- OS specific --
467
468ifeq ($(BUILD_TARGET),darwin)
469Drivers_SOURCES := $(filter-out \
470 Storage/DrvHostRaw% \
471 Storage/DrvHostFloppy% \
472 , $(Drivers_SOURCES)) \
473 Audio/coreaudio.c
474Drivers_SOURCES.darwin =
475endif # darwin
476
477ifeq ($(BUILD_TARGET),freebsd)
478Drivers_SOURCES := $(filter-out \
479 Storage/DrvHost% \
480 , $(Drivers_SOURCES))
481Drivers_SOURCES.freebsd =
482endif # freebsd
483
484
485ifeq ($(BUILD_TARGET),l4)
486Drivers_SOURCES = \
487 Input/DrvMouseQueue.cpp \
488 Input/DrvKeyboardQueue.cpp \
489 Storage/VBoxHDD.cpp \
490 Storage/DrvBlock.cpp \
491 Storage/DrvMediaISO.cpp \
492 Storage/DrvRawImage.cpp \
493 Storage/DrvHostBase.cpp \
494 Storage/DrvHostDVD.cpp \
495 Storage/DrvVD.cpp \
496 PC/DrvACPI.cpp \
497 Network/DrvIntNet.cpp \
498 Network/DrvNetSniffer.cpp \
499 Audio/audio.c \
500 Audio/mixeng.c \
501 Audio/noaudio.c \
502 Audio/audiosniffer.c
503
504Drivers_SOURCES.l4 = \
505 Network/DrvTAP.cpp \
506 Audio/ossaudio.c
507endif # l4
508
509Drivers_SOURCES.linux = \
510 Network/DrvTAP.cpp \
511 Audio/ossaudio.c \
512 Parallel/DrvHostParallel.cpp \
513 Serial/DrvHostSerial.cpp
514
515ifeq ($(BUILD_TARGET),os2)
516Drivers_SOURCES := $(filter-out \
517 Storage/DrvHost% \
518 , $(Drivers_SOURCES))
519Drivers_SOURCES.os2 = \
520 Network/DrvTAPOs2.cpp
521endif
522
523ifeq ($(BUILD_TARGET),solaris)
524Drivers_SOURCES := $(filter-out \
525 Storage/DrvHost% \
526 , $(Drivers_SOURCES))
527Drivers_SOURCES.solaris = \
528 Audio/solaudio.c \
529 Network/DrvTAP.cpp \
530 Storage/DrvHostBase.cpp \
531 Storage/DrvHostDVD.cpp
532 ifdef VBOX_WITH_CROSSBOW
533 Drivers_DEFS += VBOX_WITH_CROSSBOW
534 endif
535 ifdef VBOX_WITH_SUID_WRAPPER
536 Drivers_DEFS += VBOX_WITH_SUID_WRAPPER
537 endif
538endif
539
540Drivers_SOURCES.win = \
541 Network/DrvTAPWin32.cpp \
542 Audio/dsoundaudio.c \
543 Serial/DrvHostSerial.cpp
544
545
546# -- features --
547
548ifdef VBOX_WITH_ISCSI
549 Drivers_SOURCES += \
550 Storage/DrvISCSI.cpp \
551 Storage/DrvISCSITransportTCP.cpp
552 Drivers_DEFS += VBOX_WITH_ISCSI
553endif # VBOX_WITH_ISCSI
554
555ifdef VBOX_WITH_ALSA
556 Drivers_DEFS.linux += VBOX_WITH_ALSA
557 Drivers_SOURCES.linux+= \
558 Audio/alsaaudio.c \
559 Audio/alsa_stubs.c
560# VBoxDD_LIBS.linux += asound
561endif
562
563ifdef VBOX_WITH_USB
564 Drivers_DEFS += VBOX_WITH_USB IN_USB_R3
565 Drivers_SOURCES += \
566 USB/DrvVUSBRootHub.cpp \
567 USB/VUSBDevice.cpp \
568 USB/VUSBUrb.cpp
569 ifdef VBOX_WITH_VRDP
570 Drivers_DEFS += VBOX_VRDP
571 Drivers_SOURCES += \
572 USB/vrdp/USBProxyDevice-vrdp.cpp
573 endif
574
575 Drivers_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
576 #Drivers_DEFS.darwin += VBOX_WITH_USBFILTER
577 Drivers_SOURCES.darwin += \
578 USB/USBProxyDevice.cpp \
579 USB/darwin/USBProxyDevice-darwin.cpp
580
581 Drivers_DEFS.linux += VUSB_HAVE_USBPROXY_DEVICE
582 ifdef VBOX_WITHOUT_LINUX_COMPILER_H
583 Drivers_DEFS.linux += VBOX_WITHOUT_LINUX_COMPILER_H
584 endif
585 Drivers_SOURCES.linux+= \
586 USB/USBProxyDevice.cpp \
587 USB/linux/USBProxyDevice-linux.cpp
588
589 Drivers_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
590 Drivers_SOURCES.l4 += \
591 USB/USBProxyDevice.cpp \
592 USB/linux/USBProxyDevice-linux.cpp
593
594 Drivers_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
595 Drivers_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
596 Drivers_SOURCES.os2 += \
597 USB/USBProxyDevice.cpp \
598 USB/os2/USBProxyDevice-os2.cpp
599
600 Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
601 Drivers_SOURCES.win += \
602 USB/USBProxyDevice.cpp \
603 USB/win32/USBProxyDevice-win32.cpp
604endif # VBOX_WITH_USB
605
606
607
608#
609# Ring-0 Services (library, linked into VMMR0.r0)
610#
611ServicesR0_TEMPLATE = VBOXR0
612ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0
613ServicesR0_SOURCES = \
614 Network/SrvIntNetR0.cpp
615
616#
617# Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
618#
619ifdef VBOX_WITH_TESTCASES
620 PROGRAMS += tstIntNetR0
621 tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
622 tstIntNetR0_DEFS = IN_INTNET_R0
623 tstIntNetR0_SOURCES = \
624 Network/testcase/tstIntNetR0.cpp
625endif
626
627#
628# EEPROM device unit test requires cppunit
629#
630ifdef VBOX_WITH_CPPUNIT_TESTCASES
631ifndef VBOX_OSE
632 PROGRAMS += tstDevEEPROM
633 tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
634 tstDevEEPROM_SOURCES = \
635 Network/testcase/tstDevEEPROM.cpp
636 tstDevEEPROM_LIBS = \
637 $(TARGET_DevicesR3)
638endif
639endif
640
641include $(PATH_KBUILD)/subfooter.kmk
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette