1 | #
|
---|
2 | # Makefile for the devices, drivers and services.
|
---|
3 | #
|
---|
4 |
|
---|
5 | #
|
---|
6 | # Copyright (C) 2006 InnoTek Systemberatung GmbH
|
---|
7 | #
|
---|
8 | # This file is part of VirtualBox Open Source Edition (OSE), as
|
---|
9 | # available from http://www.virtualbox.org. This file is free software;
|
---|
10 | # you can redistribute it and/or modify it under the terms of the GNU
|
---|
11 | # General Public License as published by the Free Software Foundation,
|
---|
12 | # in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
|
---|
13 | # distribution. VirtualBox OSE is distributed in the hope that it will
|
---|
14 | # be useful, but WITHOUT ANY WARRANTY of any kind.
|
---|
15 | #
|
---|
16 | # If you received this file as part of a commercial VirtualBox
|
---|
17 | # distribution, then only the terms of your commercial VirtualBox
|
---|
18 | # license agreement apply instead of the previous paragraph.
|
---|
19 | #
|
---|
20 |
|
---|
21 | DEPTH = ../../..
|
---|
22 | include $(PATH_KBUILD)/header.kmk
|
---|
23 |
|
---|
24 | ifdef VBOX_WITH_TESTCASES
|
---|
25 | PROGRAMS = tstIntNetR0
|
---|
26 | endif
|
---|
27 | LIBRARIES = DevicesR3 Drivers ServicesR0
|
---|
28 | DLLS = VBoxDD VBoxDD2
|
---|
29 | SYSMODS = VBoxDDGC VBoxDD2GC VBoxDDR0 VBoxDD2R0
|
---|
30 |
|
---|
31 | OTHER_CLEAN = \
|
---|
32 | $(PATH_TARGET)/vboxaml.hex \
|
---|
33 | $(PATH_TARGET)/vboxaml.aml
|
---|
34 |
|
---|
35 | SUBDIRS = \
|
---|
36 | testcase \
|
---|
37 | PC/BIOS \
|
---|
38 | PC/Etherboot-src \
|
---|
39 | Graphics/BIOS
|
---|
40 | SUBDIRS_AFTER = \
|
---|
41 | Storage/testcase
|
---|
42 |
|
---|
43 |
|
---|
44 | #
|
---|
45 | # Check for VBOX_* stuff which governs defines.
|
---|
46 | #
|
---|
47 | ifdef VBOX_USE_IOAPIC
|
---|
48 | DEFS += USE_IOAPIC
|
---|
49 | endif
|
---|
50 | ifdef VBOX_WITH_VRDP
|
---|
51 | DEFS += VBOX_VRDP
|
---|
52 | endif
|
---|
53 | ifdef VBOX_WITH_INTERNAL_NETWORKING
|
---|
54 | DEFS += VBOX_WITH_INTERNAL_NETWORKING
|
---|
55 | endif
|
---|
56 |
|
---|
57 | # enable the pdm lock.
|
---|
58 | #DEFS += VBOX_WITH_PDM_LOCK
|
---|
59 |
|
---|
60 |
|
---|
61 | #
|
---|
62 | # VBoxDD (shared object)
|
---|
63 | #
|
---|
64 | VBoxDD_TEMPLATE = VBOXR3
|
---|
65 | VBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
|
---|
66 | VBoxDD_SOURCES = \
|
---|
67 | Builtins.cpp \
|
---|
68 | muldiv64.c
|
---|
69 | VBoxDD_DEFS = VBOX_ACPI
|
---|
70 | ifdef VBOX_WITH_USB
|
---|
71 | VBoxDD_DEFS += VBOX_WITH_USB IN_USB_R3
|
---|
72 | endif
|
---|
73 | ifdef VBOX_WITH_ISCSI
|
---|
74 | VBoxDD_DEFS += VBOX_WITH_ISCSI
|
---|
75 | endif
|
---|
76 | VBoxDD_LIBS = \
|
---|
77 | $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
|
---|
78 | $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
|
---|
79 | $(PATH_LIB)/PcDefBiosLogo$(VBOX_SUFF_LIB) \
|
---|
80 | $(LIB_VMM) \
|
---|
81 | $(LIB_RUNTIME)
|
---|
82 | VBoxDD_LIBS.win = \
|
---|
83 | $(PATH_LIB)/VBoxDD2.lib \
|
---|
84 | $(PATH_SDK_DXSDK_LIB)/dxguid.lib
|
---|
85 | VBoxDD_LIBS.linux = \
|
---|
86 | $(PATH_BIN)/VBoxDD2.so
|
---|
87 |
|
---|
88 | #
|
---|
89 | ifeq ($(BUILD_TARGET),l4)
|
---|
90 | VBoxDD_LIBS += \
|
---|
91 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
92 | endif
|
---|
93 | VBoxDD_LIBS.l4 = \
|
---|
94 | $(PATH_BIN)/VBoxDD2.s.so
|
---|
95 | VBoxDD_LIBS.darwin = \
|
---|
96 | $(PATH_BIN)/VBoxDD2.dylib \
|
---|
97 | $(LIB_REM)
|
---|
98 | VBoxDD_LIBS.os2 = \
|
---|
99 | $(PATH_BIN)/VBoxDD2.dll
|
---|
100 | VBoxDD_LDFLAGS.darwin = -install_name @executable_path/VBoxDD.dylib
|
---|
101 | VBoxDD_LDFLAGS.linux = -Wl,--no-undefined
|
---|
102 | VBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
103 |
|
---|
104 |
|
---|
105 | # damn, fix this.
|
---|
106 | $(PATH_LIB)/VBoxDD2.lib: $(PATH_BIN)/VBoxDD2.dll
|
---|
107 |
|
---|
108 |
|
---|
109 | #
|
---|
110 | # VBoxDD2 (shared object)
|
---|
111 | #
|
---|
112 | VBoxDD2_TEMPLATE = VBOXR3
|
---|
113 | VBoxDD2_DEFS = IN_VBOXDD2
|
---|
114 | VBoxDD2_SOURCES = \
|
---|
115 | Builtins2.cpp \
|
---|
116 | PC/apic.c
|
---|
117 | VBoxDD2_LIBS = \
|
---|
118 | $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
|
---|
119 | $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
|
---|
120 | $(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB) \
|
---|
121 | $(LIB_VMM) \
|
---|
122 | $(LIB_RUNTIME)
|
---|
123 | ifeq ($(BUILD_TARGET),l4)
|
---|
124 | VBoxDD2_LIBS += \
|
---|
125 | $(L4_LIBDIR)/libl4sys.p.a
|
---|
126 | endif
|
---|
127 | VBoxDD2_LIBS.darwin += $(LIB_REM)
|
---|
128 | VBoxDD2_LDFLAGS.darwin = -install_name @executable_path/VBoxDD2.dylib
|
---|
129 | VBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
|
---|
130 | VBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
|
---|
131 |
|
---|
132 |
|
---|
133 | #
|
---|
134 | # DevicesR3 (library)
|
---|
135 | #
|
---|
136 | DevicesR3_TEMPLATE = VBOXR3
|
---|
137 | DevicesR3_SDKS.win = WINPSDK W2K3DDK
|
---|
138 | DevicesR3_INCS = \
|
---|
139 | $(PATH_CURRENT)
|
---|
140 | DevicesR3_SOURCES = \
|
---|
141 | Input/pckbd.c \
|
---|
142 | Bus/DevPCI.cpp \
|
---|
143 | Graphics/DevVGA.cpp \
|
---|
144 | Storage/DevATA.cpp \
|
---|
145 | PC/DevPit-i8254.cpp \
|
---|
146 | PC/DevPIC.cpp \
|
---|
147 | PC/DevACPI.cpp \
|
---|
148 | PC/DevRTC.cpp \
|
---|
149 | PC/DevPcBios.cpp \
|
---|
150 | PC/DevPcArch.c \
|
---|
151 | VMMDev/VBoxDev.cpp \
|
---|
152 | VMMDev/VMMDevHGCM.cpp \
|
---|
153 | Network/DevPCNet.cpp \
|
---|
154 | Audio/DevIchAc97.cpp \
|
---|
155 | PC/dma.c \
|
---|
156 | Storage/fdc.c \
|
---|
157 | Serial/serial.c
|
---|
158 |
|
---|
159 | ifeq (0,1)
|
---|
160 | DevicesR3_SOURCES += \
|
---|
161 | Network/ne2000.c
|
---|
162 | endif
|
---|
163 |
|
---|
164 | ifdef VBOX_WITH_USB
|
---|
165 | DevicesR3_DEFS += VBOX_WITH_USB IN_USB_R3
|
---|
166 | DevicesR3_SOURCES += \
|
---|
167 | USB/DevOHCI.cpp
|
---|
168 | endif
|
---|
169 |
|
---|
170 | DevicesR3_DEFS += VBOX_HGCM
|
---|
171 | DevicesR3_DEFS.linux += _GNU_SOURCE
|
---|
172 | DevicesR3_DEFS.l4 += _GNU_SOURCE
|
---|
173 |
|
---|
174 |
|
---|
175 | # DevACPI.cpp needs vboxaml.hex which we generate from PC/vbox.dsl.
|
---|
176 | PC/DevACPI.cpp_DEPS = $(PATH_TARGET)/vboxaml.hex
|
---|
177 | PC/DevACPI.cpp_INCS = $(PATH_TARGET)
|
---|
178 | Bus/DevPCI.cpp_INCS = Bus
|
---|
179 |
|
---|
180 |
|
---|
181 | #
|
---|
182 | # VBoxDDGC
|
---|
183 | #
|
---|
184 | VBoxDDGC_TEMPLATE = VBOXGC
|
---|
185 | VBoxDDGC_DEFS =
|
---|
186 | VBoxDDGC_SYSSUFF = .gc
|
---|
187 | VBoxDDGC_INCS = \
|
---|
188 | $(PATH_CURRENT)
|
---|
189 | VBoxDDGC_SOURCES = \
|
---|
190 | muldiv64.c \
|
---|
191 | Bus/DevPCI.cpp \
|
---|
192 | Graphics/DevVGA.cpp \
|
---|
193 | Input/pckbd.c \
|
---|
194 | PC/DevACPI.cpp \
|
---|
195 | PC/DevPit-i8254.cpp \
|
---|
196 | PC/DevPIC.cpp \
|
---|
197 | PC/DevRTC.cpp \
|
---|
198 | Storage/DevATA.cpp \
|
---|
199 | Network/DevPCNet.cpp
|
---|
200 |
|
---|
201 | ifdef VBOX_WITH_USB
|
---|
202 | VBoxDDGC_DEFS += VBOX_WITH_USB IN_USB_GC
|
---|
203 | VBoxDDGC_SOURCES += \
|
---|
204 | USB/DevOHCI.cpp
|
---|
205 | endif
|
---|
206 |
|
---|
207 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
208 | VBoxDDGC_LDFLAGS = -Entry:vgaMMIOWrite
|
---|
209 | endif
|
---|
210 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
211 | VBoxDDGC_LIBS = \
|
---|
212 | $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
|
---|
213 | $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
|
---|
214 | endif
|
---|
215 |
|
---|
216 |
|
---|
217 | #
|
---|
218 | # VBoxDDR0
|
---|
219 | #
|
---|
220 | VBoxDDR0_TEMPLATE = VBOXR0
|
---|
221 | VBoxDDR0_SYSSUFF = .r0
|
---|
222 | VBoxDDR0_DEFS = IN_RT_R0
|
---|
223 | VBoxDDR0_INCS = \
|
---|
224 | $(PATH_CURRENT)
|
---|
225 | VBoxDDR0_SOURCES = \
|
---|
226 | muldiv64.c \
|
---|
227 | Bus/DevPCI.cpp \
|
---|
228 | Graphics/DevVGA.cpp \
|
---|
229 | Input/pckbd.c \
|
---|
230 | PC/DevACPI.cpp \
|
---|
231 | PC/DevPit-i8254.cpp \
|
---|
232 | PC/DevPIC.cpp \
|
---|
233 | PC/DevRTC.cpp \
|
---|
234 | Storage/DevATA.cpp \
|
---|
235 | Network/DevPCNet.cpp
|
---|
236 |
|
---|
237 | ifdef VBOX_WITH_USB
|
---|
238 | VBoxDDR0_DEFS += VBOX_WITH_USB IN_USB_R0
|
---|
239 | VBoxDDR0_SOURCES += \
|
---|
240 | USB/DevOHCI.cpp
|
---|
241 | endif
|
---|
242 |
|
---|
243 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
244 | VBoxDDR0_LDFLAGS = -Entry:vgaMMIOWrite
|
---|
245 | endif
|
---|
246 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
247 | VBoxDDR0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
|
---|
248 | endif
|
---|
249 | VBoxDDR0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
250 | ifeq ($(VBOX_LDR_FMT32),elf) # this is template stuff!
|
---|
251 | VBoxDDR0_LIBS += $(VBOX_GCC_LIBGCC)
|
---|
252 | endif
|
---|
253 |
|
---|
254 |
|
---|
255 | #
|
---|
256 | # VBoxDD2GC (LGPL code)
|
---|
257 | #
|
---|
258 | VBoxDD2GC_TEMPLATE = VBOXGC
|
---|
259 | VBoxDD2GC_DEFS =
|
---|
260 | VBoxDD2GC_SYSSUFF = .gc
|
---|
261 | VBoxDD2GC_INCS = \
|
---|
262 | $(PATH_CURRENT)
|
---|
263 | VBoxDD2GC_SOURCES = \
|
---|
264 | PC/apic.c
|
---|
265 | ifeq ($(VBOX_LDR_FMT32),pe)
|
---|
266 | VBoxDD2GC_LDFLAGS = -Entry:apicMMIOWrite
|
---|
267 | endif
|
---|
268 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
|
---|
269 | VBoxDD2GC_LIBS = \
|
---|
270 | $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
|
---|
271 | $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
|
---|
272 | endif
|
---|
273 |
|
---|
274 |
|
---|
275 | #
|
---|
276 | # VBoxDD2R0 (LGPL code)
|
---|
277 | #
|
---|
278 | VBoxDD2R0_TEMPLATE = VBOXR0
|
---|
279 | VBoxDD2R0_DEFS = IN_RT_R0
|
---|
280 | VBoxDD2R0_SYSSUFF = .r0
|
---|
281 | VBoxDD2R0_INCS = \
|
---|
282 | $(PATH_CURRENT)
|
---|
283 | VBoxDD2R0_SOURCES = \
|
---|
284 | PC/apic.c
|
---|
285 | ifeq ($(VBOX_LDR_FMT),pe)
|
---|
286 | VBoxDD2R0_LDFLAGS = -Entry:apicMMIOWrite
|
---|
287 | endif
|
---|
288 | ifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
|
---|
289 | VBoxDD2R0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
|
---|
290 | endif
|
---|
291 | VBoxDD2R0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
|
---|
292 | ifeq ($(VBOX_LDR_FMT),elf)
|
---|
293 | VBoxDD2R0_LIBS += $(VBOX_GCC_LIBGCC)
|
---|
294 | endif
|
---|
295 |
|
---|
296 |
|
---|
297 | #
|
---|
298 | # Drivers (library)
|
---|
299 | #
|
---|
300 | ifeq ($(BUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
|
---|
301 | Drivers_TEMPLATE = VBOXR3NP
|
---|
302 | else
|
---|
303 | Drivers_TEMPLATE = VBOXR3
|
---|
304 | endif
|
---|
305 | Drivers_SDKS.win = WINPSDK W2K3DDK
|
---|
306 | Storage/DrvHostDVD.cpp_SDKS.win = W2K3DDK
|
---|
307 | Drivers_DEFS = IN_IDE_R3
|
---|
308 | Drivers_INCS = \
|
---|
309 | Network/slirp
|
---|
310 | Drivers_SOURCES = \
|
---|
311 | Input/DrvMouseQueue.cpp \
|
---|
312 | Input/DrvKeyboardQueue.cpp \
|
---|
313 | Storage/VBoxHDD.cpp \
|
---|
314 | Storage/DrvBlock.cpp \
|
---|
315 | Storage/VmdkHDD.cpp \
|
---|
316 | Storage/DrvMediaISO.cpp \
|
---|
317 | Storage/DrvRawImage.cpp \
|
---|
318 | Storage/DrvHostBase.cpp \
|
---|
319 | Storage/DrvHostDVD.cpp \
|
---|
320 | Storage/DrvHostFloppy.cpp \
|
---|
321 | PC/DrvACPI.cpp \
|
---|
322 | Network/DrvIntNet.cpp \
|
---|
323 | Network/DrvNetSniffer.cpp \
|
---|
324 | Network/DrvNAT.cpp \
|
---|
325 | Network/slirp/cksum.c \
|
---|
326 | Network/slirp/if.c \
|
---|
327 | Network/slirp/ip_icmp.c \
|
---|
328 | Network/slirp/ip_input.c \
|
---|
329 | Network/slirp/ip_output.c \
|
---|
330 | Network/slirp/slirp.c \
|
---|
331 | Network/slirp/mbuf.c \
|
---|
332 | Network/slirp/misc.c \
|
---|
333 | Network/slirp/sbuf.c \
|
---|
334 | Network/slirp/socket.c \
|
---|
335 | Network/slirp/tcp_input.c \
|
---|
336 | Network/slirp/tcp_output.c \
|
---|
337 | Network/slirp/tcp_subr.c \
|
---|
338 | Network/slirp/tcp_timer.c \
|
---|
339 | Network/slirp/tftp.c \
|
---|
340 | Network/slirp/udp.c \
|
---|
341 | Network/slirp/bootp.c \
|
---|
342 | Network/slirp/debug.c \
|
---|
343 | Audio/audio.c \
|
---|
344 | Audio/mixeng.c \
|
---|
345 | Audio/noaudio.c \
|
---|
346 | Audio/audiosniffer.c
|
---|
347 |
|
---|
348 | # -- OS specific --
|
---|
349 |
|
---|
350 | ifeq ($(BUILD_TARGET),darwin)
|
---|
351 | Drivers_SOURCES := $(filter-out \
|
---|
352 | Storage/DrvHost% \
|
---|
353 | , $(Drivers_SOURCES))
|
---|
354 | Drivers_SOURCES.darwin =
|
---|
355 | endif # darwin
|
---|
356 |
|
---|
357 | ifeq ($(BUILD_TARGET),freebsd)
|
---|
358 | Drivers_SOURCES := $(filter-out \
|
---|
359 | Storage/DrvHost% \
|
---|
360 | , $(Drivers_SOURCES))
|
---|
361 | Drivers_SOURCES.freebsd =
|
---|
362 | endif # freebsd
|
---|
363 |
|
---|
364 |
|
---|
365 | ifeq ($(BUILD_TARGET),l4)
|
---|
366 | Drivers_SOURCES = \
|
---|
367 | Input/DrvMouseQueue.cpp \
|
---|
368 | Input/DrvKeyboardQueue.cpp \
|
---|
369 | Storage/VBoxHDD.cpp \
|
---|
370 | Storage/DrvBlock.cpp \
|
---|
371 | Storage/VmdkHDD.cpp \
|
---|
372 | Storage/DrvMediaISO.cpp \
|
---|
373 | Storage/DrvRawImage.cpp \
|
---|
374 | Storage/DrvHostBase.cpp \
|
---|
375 | Storage/DrvHostDVD.cpp \
|
---|
376 | PC/DrvACPI.cpp \
|
---|
377 | Network/DrvIntNet.cpp \
|
---|
378 | Network/DrvNetSniffer.cpp \
|
---|
379 | Audio/audio.c \
|
---|
380 | Audio/mixeng.c \
|
---|
381 | Audio/noaudio.c \
|
---|
382 | Audio/audiosniffer.c
|
---|
383 |
|
---|
384 | Drivers_SOURCES.l4 = \
|
---|
385 | Network/DrvTAP.cpp \
|
---|
386 | Audio/ossaudio.c
|
---|
387 | endif # l4
|
---|
388 |
|
---|
389 | Drivers_SOURCES.linux = \
|
---|
390 | Network/DrvTAP.cpp \
|
---|
391 | Audio/ossaudio.c
|
---|
392 |
|
---|
393 | ifeq ($(BUILD_TARGET),os2)
|
---|
394 | Drivers_SOURCES := $(filter-out \
|
---|
395 | Storage/DrvHost% \
|
---|
396 | , $(Drivers_SOURCES))
|
---|
397 | Drivers_SOURCES.os2 =
|
---|
398 | endif
|
---|
399 |
|
---|
400 | Drivers_SOURCES.win = \
|
---|
401 | Network/DrvTAPWin32.cpp \
|
---|
402 | Audio/dsoundaudio.c
|
---|
403 |
|
---|
404 |
|
---|
405 | # -- features --
|
---|
406 |
|
---|
407 | ifdef VBOX_WITH_ISCSI
|
---|
408 | Drivers_SOURCES += \
|
---|
409 | Storage/DrvISCSI.cpp \
|
---|
410 | Storage/DrvISCSITransportTCP.cpp
|
---|
411 | Drivers_DEFS += VBOX_WITH_ISCSI
|
---|
412 | endif # VBOX_WITH_ISCSI
|
---|
413 |
|
---|
414 | ifdef VBOX_WITH_ALSA
|
---|
415 | Drivers_DEFS += VBOX_WITH_ALSA
|
---|
416 | Drivers_SOURCES.linux += \
|
---|
417 | Audio/alsaaudio.c
|
---|
418 | VBoxDD_LIBS.linux += asound
|
---|
419 | endif
|
---|
420 |
|
---|
421 | ifdef VBOX_WITH_USB
|
---|
422 | Drivers_DEFS += VBOX_WITH_USB IN_USB_R3
|
---|
423 | Drivers_SOURCES += \
|
---|
424 | USB/DrvVUSBRootHub.cpp \
|
---|
425 | USB/VUSBDevice.cpp \
|
---|
426 | USB/VUSBUrb.cpp
|
---|
427 | ifdef VBOX_WITH_VRDP
|
---|
428 | Drivers_SOURCES += \
|
---|
429 | USB/vrdp/USBProxyDevice-vrdp.cpp
|
---|
430 | endif
|
---|
431 |
|
---|
432 | Drivers_DEFS.linux += VUSB_HAVE_USBPROXY_DEVICE
|
---|
433 | ifdef VBOX_WITHOUT_LINUX_COMPILER_H
|
---|
434 | Drivers_DEFS += VBOX_WITHOUT_LINUX_COMPILER_H
|
---|
435 | endif
|
---|
436 | Drivers_SOURCES.linux += \
|
---|
437 | USB/USBProxyDevice.cpp \
|
---|
438 | USB/linux/USBProxyDevice-linux.cpp
|
---|
439 |
|
---|
440 | Drivers_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
|
---|
441 | Drivers_SOURCES.l4 += \
|
---|
442 | USB/USBProxyDevice.cpp \
|
---|
443 | USB/linux/USBProxyDevice-linux.cpp
|
---|
444 |
|
---|
445 | Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
|
---|
446 | Drivers_SOURCES.win += \
|
---|
447 | USB/USBProxyDevice.cpp \
|
---|
448 | USB/win32/USBProxyDevice-win32.cpp \
|
---|
449 | USB/win32/USBLib-win32.cpp
|
---|
450 | endif # VBOX_WITH_USB
|
---|
451 |
|
---|
452 |
|
---|
453 |
|
---|
454 | #
|
---|
455 | # Ring-0 Services (library, linked into VMMR0.r0)
|
---|
456 | #
|
---|
457 | ServicesR0_TEMPLATE = VBOXR0
|
---|
458 | ServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0
|
---|
459 | ServicesR0_SOURCES = \
|
---|
460 | Network/SrvIntNetR0.cpp
|
---|
461 |
|
---|
462 | #
|
---|
463 | # Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
|
---|
464 | #
|
---|
465 | tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
|
---|
466 | tstIntNetR0_DEFS = IN_INTNET_R0
|
---|
467 | tstIntNetR0_SOURCES = \
|
---|
468 | Network/testcase/tstIntNetR0.cpp
|
---|
469 | tstIntNetR0_LIBS = \
|
---|
470 | $(LIB_RUNTIME)
|
---|
471 |
|
---|
472 |
|
---|
473 | include $(PATH_KBUILD)/footer.kmk
|
---|
474 |
|
---|
475 |
|
---|
476 | # ACPI DSL generation
|
---|
477 | $(PATH_TARGET)/vboxaml.hex: PC/vbox.dsl
|
---|
478 | $(call MSG_L1,iasl $<,=> $@)
|
---|
479 | $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
|
---|
480 |
|
---|