VirtualBox

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

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

VBOX_WITH_ECHI changes

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