VirtualBox

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

Last change on this file since 5627 was 5622, checked in by vboxsync, 17 years ago

And again VBOX_WITH_ECHI

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