Makefile.kmk revision c54e6fc4f722c4287ddc1692313b0f5ba9d01440
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# $Id$
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## @file
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Top-level sub-makefile for the devices, drivers and services.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Copyright (C) 2006-2010 Oracle Corporation
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# available from http://www.virtualbox.org. This file is free software;
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# you can redistribute it and/or modify it under the terms of the GNU
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# General Public License (GPL) as published by the Free Software
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncSUB_DEPTH = ../../..
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_PATH_DEVICES_SRC := $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Include sub-makefiles.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync include $(PATH_SUB_CURRENT)/EFI/Thunk/Makefile.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_INTEL_PXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncelse
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # Subdir with complex makefile.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SUBDIRS_LIBRARIES += $(VBOX_PATH_DEVICES_SRC)/PC/Etherboot-src
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SUBDIRS_CLEAN += $(VBOX_PATH_DEVICES_SRC)/PC/Etherboot-src
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # Disable the unsafe pass order optimizations.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync KBUILD_SAFE_PARALLEL = 1
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Main targets.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncLIBRARIES += DevicesR3 Drivers ServicesR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDLLS += VBoxDDU VBoxDD VBoxDD2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncSYSMODS += VBoxDDR0 VBoxDD2R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SYSMODS += VBoxDDGC VBoxDD2GC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDDU (shared object)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_TEMPLATE = VBOXR3
dbec828311ed2a5cf6fbc68fe4391d516ba4f92fvboxsyncVBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_INST.darwin = $(INST_DLL) $(INST_TESTCASE)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_DEFS = IN_VBOXDDU
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VUSB
5eb36887f6970e0033f63fa135f3bb8fbfd6059bvboxsync VBoxDDU_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_SDKS.win = WINPSDK W2K3DDK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_DEFS += VBOX_WITH_EHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncelse
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_SDKS.win = WINPSDK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/VSCSI/VSCSIDevice.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/VSCSI/VSCSILun.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/VSCSI/VSCSILunSbc.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/VSCSI/VSCSISense.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/VSCSI/VSCSISgBuf.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/VSCSI/VSCSIIoReq.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDUDeps.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_INCS.os2 += \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(LIB_RUNTIME) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/StorageLib$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(L4_LIBDIR)/libl4sys.p.a
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_LDFLAGS.darwin += -framework IOKit
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync LIBRARIES += VBoxDDULnxHostR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDULnxHostR3_DEFS = IN_VBOXDDU
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDD (shared object)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Builtins.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_DEFS = VBOX_ACPI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_EHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DRV_DISK_INTEGRITY
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_VDE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(LIB_VMM) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(LIB_RUNTIME)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),win)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(LIB_DDU) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VBoxDD2.lib \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SDK_DXSDK_LIB)/dxguid.lib
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncelse
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(INSTARGET_VBoxDDU) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(INSTARGET_VBoxDD2)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(L4_LIBDIR)/libl4sys.p.a
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_NETFLT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS.win += $(PATH_LIB)/WinNetConfig.lib
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += $(PATH_LIB)/EfiThunkBin$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),solaris)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += adm
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_SUID_WRAPPER
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += secdb
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += aio
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_LIBS.darwin += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(LIB_REM)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync -framework CoreAudio \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync -framework AudioUnit \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync -framework AudioToolbox \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync -framework IOKit \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync -framework Carbon \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync -framework DiskArbitration
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_LDFLAGS.linux = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDD2 (shared object)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_DEFS = IN_VBOXDD2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Builtins2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevAPIC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevSMC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevLPC.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(LIB_VMM) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(LIB_RUNTIME)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(L4_LIBDIR)/libl4sys.p.a
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LIBS.darwin += $(LIB_REM)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# DevicesR3 (library)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_SDKS.win = WINPSDK W2K3DDK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_DEFS.darwin.x86 = VBOX_WITH_2X_4GB_ADDR_SPACE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_DEFS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBOX_HGCM_HOST_CODE \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBOX_WITH_HGCM \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_AUDIO_FLEXIBLE_FORMAT),VBOX_WITH_AUDIO_FLEXIBLE_FORMAT,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_BIOS_DMI_FALLBACK),VBOX_BIOS_DMI_FALLBACK,)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_DEFS.linux += _GNU_SOURCE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_DEFS.l4 += _GNU_SOURCE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_INCS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync .
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/DevPS2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/UsbKbd.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/UsbMouse.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/DevPCI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/DevPciIch9.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/MsiCommon.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/MsixCommon.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/DevVGA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevATA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPit-i8254.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPIC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevACPI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/ACPI/VBoxAcpi.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevRTC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPcBios.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevFwCommon.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPcArch.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VMMDev/VMMDev.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VMMDev/VMMDevHGCM.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VMMDev/VMMDevTesting.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevPCNet.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/DevIchAc97.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/DevSB16.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/DevIchIntelHDA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/DevCodec.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevDMA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevHPET.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevSMC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevLPC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/fdc.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DevSerial.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Parallel/DevParallel.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
11c2b573e2625474a51ae55ee1f3f82936f125davboxsyncifdef VBOX_WITH_E1000
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync DevicesR3_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevE1000.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevE1000Phy.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevEEPROM.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VirtIO/Virtio.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevVirtioNet.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/DevVGA_VBVA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/HGSMI/HGSMIHost.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/HGSMI/HGSMIHostHlp.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/HGSMI/SHGSMIHost.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/DevVGA_VDMA.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOXWDDM_TEST_UHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOXWDDM_TEST_UHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DMI_CHASSIS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_DMI_CHASSIS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DMI_OEMSTRINGS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_DMI_OEMSTRINGS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_INCS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/include \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/include/ipv4 \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/vbox/include
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/api/api_lib.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/api/api_msg.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/api/err.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/api/sockets.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/api/tcpip.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/tcp_in.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/dhcp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/inet.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/mem.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/memp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/netif.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/pbuf.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/raw.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/stats.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/sys.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/tcp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/ipv4/ip_addr.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/ipv4/icmp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/ipv4/ip.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/ipv4/ip_frag.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/tcp_out.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/core/udp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/netif/etharp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/vbox/sys_arch.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevINIP.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevAHCI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/ATAController.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevBusLogic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/VBoxSCSI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevLsiLogicSCSI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_ALT_EFITHUNK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_ALT_EFITHUNK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += EFI/DevEFI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync EFI/DevEFI.cpp_INCS += EFI/tools/include
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync EFI/DevEFI.cpp_INCS.x86 += EFI/tools/include/Ia32
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync EFI/DevEFI.cpp_INCS.amd64 += EFI/tools/include/X64
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_MSI_DEVICES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_MSI_DEVICES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DYNAMIC_DSDT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_DYNAMIC_DSDT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/DevOHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsyncifdef VBOX_WITH_USB
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync DevicesR3_DEFS += VBOX_WITH_USB
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync DevicesR3_DEFS += VBOX_WITH_EHCI
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsyncifdef VBOX_WITH_DTRACE_R3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_DTRACE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_INCS += $(DevicesR3_0_OUTDIR)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_INTERMEDIATES += $(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $$(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h: $(PATH_SUB_CURRENT)/VBoxDD-dtrace.d | $$(dir $$@)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync dtrace -C -h -o $@ -s $<
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DYNAMIC_DSDT
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync DevicesR3_CLEAN += $(PATH_DevicesR3)/vboxdsl.hex
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync PC/ACPI/VBoxAcpi.cpp_DEPS = $(PATH_DevicesR3)/vboxdsl.hex
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $$(PATH_DevicesR3)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(call MSG_TOOL,bin2c,DevicesR3,$<,$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync vboxdsl.hex:: $$(PATH_DevicesR3)/vboxdsl.hex
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsyncelse # !VBOX_WITH_DYNAMIC_DSDT
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync # VBoxAcpi.cpp needs vboxaml.hex which we generate from PC/vbox.dsl
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync DevicesR3_CLEAN += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_DevicesR3)/vboxaml.hex \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_DevicesR3)/vboxaml.aml \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_DevicesR3)/vboxssdt-standard.hex \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-standard.aml \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-standard.aml.tmp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-cpuhotplug.hex \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-cpuhotplug.aml \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-cpuhotplug.aml.tmp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-cpuhotplug.aml.pre
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync PC/ACPI/VBoxAcpi.cpp_DEPS = \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxaml.hex \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-standard.hex \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-cpuhotplug.hex
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $$(PATH_DevicesR3)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
a86135e41c89c7b599607649347a4240809c784bvboxsync vboxaml.hex:: $$(PATH_DevicesR3)/vboxaml.hex
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $$(PATH_DevicesR3)/vboxssdt-standard.hex: $(PATH_SUB_CURRENT)/PC/vbox-standard.dsl | $$(dir $$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(QUIET)$(RM) -f $@ $@.tmp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(QUIET)$(MV) -f $@ $@.tmp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtStandard/g" \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync --output $@ $@.tmp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(QUIET)$(RM) -f $@.tmp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync vboxssdt-standard.hex:: $$(PATH_DevicesR3)/vboxssdt-standard.hex
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $$(PATH_DevicesR3)/vboxssdt-cpuhotplug.hex: $(PATH_SUB_CURRENT)/PC/vbox-cpuhotplug.dsl | $$(dir $$@)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(QUIET)$(RM) -f $@ $@.tmp $@.pre
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(QUIET)$(TOOL_$(VBOX_GCC_TOOL)_CC) -E -P -x c -o $@.pre $<
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $@.pre
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(QUIET)$(MV) -f $@ $@.tmp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(QUIET)$(SED) "s/AmlCode/AmlCodeSsdtCpuHotPlug/g" \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync --output $@ $@.tmp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(QUIET)$(RM) -f $@.tmp $@.pre
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync vboxssdt-cpuhotplug.hex:: $$(PATH_DevicesR3)/vboxssdt-cpuhotplug.hex
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # !VBOX_WITH_DYNAMIC_DSDT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncPC/ACPI/VBoxAcpi.cpp_INCS = $(PATH_DevicesR3)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# For finding PCIInternal.h from VBox/pci.h.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncBus/DevPCI.cpp_INCS = Bus
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncBus/DevPciIch9.cpp_INCS = Bus
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncBus/MsiCommon.cpp_INCS = Bus
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncBus/MsixCommon.cpp_INCS = Bus
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncGraphics/DevVGA.cpp_INCS = $(PATH_VgaBiosBin)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncGraphics/DevVGA.cpp_DEPS = $(PATH_VgaBiosBin)/vbetables.h
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # VBoxDDGC (sysmod)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_TEMPLATE = VBoxRc
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifeq ($(KBUILD_TARGET_ARCH),x86)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS = VBOX_WITH_HGCM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/DevPCI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/DevPciIch9.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/MsiCommon.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/MsixCommon.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/DevVGA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/DevPS2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevACPI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPit-i8254.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPIC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevRTC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevHPET.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevATA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevPCNet.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DevSerial.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Parallel/DevParallel.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VMMDev/VMMDevTesting.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevE1000.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevE1000Phy.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VirtIO/Virtio.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevVirtioNet.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/DevOHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_EHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevAHCI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/ATAController.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevBusLogic.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevLsiLogicSCSI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if1of ($(VBOX_LDR_FMT32), pe lx)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDDR0 (sysmod)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_TEMPLATE = VBoxR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_DEFS.darwin.x86= VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 VBOX_WITH_2X_4GB_ADDR_SPACE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_DEFS = IN_RT_R0 VBOX_WITH_HGCM # - WTF is IN_RT_R0 doing here?
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/DevPCI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/DevPciIch9.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/MsiCommon.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Bus/MsixCommon.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Graphics/DevVGA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/DevPS2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevACPI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPit-i8254.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevPIC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevRTC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevHPET.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevATA.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevPCNet.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DevSerial.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Parallel/DevParallel.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VMMDev/VMMDevTesting.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvIntNet.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvDedicatedNic.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevE1000.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevE1000Phy.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VirtIO/Virtio.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevVirtioNet.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/DevOHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_DEFS += VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if defined(VBOX_WITH_EHCI) && !defined(VBOX_WITH_EXTPACK_PUEL)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_EHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DevAHCI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/ATAController.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_BUSLOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_SOURCES += \
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync Storage/DevBusLogic.cpp
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncendif
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_LSILOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_DEFS += VBOX_WITH_LSILOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_SOURCES += \
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync Storage/DevLsiLogicSCSI.cpp
564cc620447c495b6ff9cbb9274e225692fe38dfvboxsyncendif
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_HGSMI
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync VBoxDDR0_DEFS += VBOX_WITH_HGSMI
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncendif
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_VIDEOHWACCEL
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync VBoxDDR0_DEFS += VBOX_WITH_VIDEOHWACCEL
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncendif
dbec828311ed2a5cf6fbc68fe4391d516ba4f92fvboxsync
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncif1of ($(VBOX_LDR_FMT), pe lx)
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # VBoxDD2GC (LGPL sysmod)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_TEMPLATE = VBoxRc
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_DEFS =
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevAPIC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevSMC.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if1of ($(VBOX_LDR_FMT32), pe lx)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDD2R0 (LGPL sysmod)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_TEMPLATE = VBoxR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_DEFS = IN_RT_R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevAPIC.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DevSMC.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif1of ($(VBOX_LDR_FMT), pe lx)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Drivers (library)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_TEMPLATE = VBOXR3NP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncelse
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SDKS.win = WINPSDK W2K3DDK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncStorage/DrvHostDVD.cpp_SDKS.win = W2K3DDK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_DEFS.win += _WIN32_WINNT=0x0510
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_DEFS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync IN_IDE_R3 \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_NETFLT),VBOX_WITH_NETFLT,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_INIP),VBOX_WITH_INIP,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_DRV_DISK_INTEGRITY),VBOX_WITH_DRV_DISK_INTEGRITY,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_AUDIO_FLEXIBLE_FORMAT),VBOX_WITH_AUDIO_FLEXIBLE_FORMAT,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/audio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/audiosniffer.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/mixeng.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/noaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/DrvKeyboardQueue.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/DrvMouseQueue.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvIntNet.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvDedicatedNic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DrvACPI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DrvAcpiCpu.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvChar.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvNamedPipe.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvRawFile.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvBlock.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostBase.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostDVD.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostFloppy.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvMediaISO.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvRawImage.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/Debug.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvVD.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvNetSniffer.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/Pcap.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvNAT.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/bootp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/debug.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/ip_icmp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/ip_input.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/ip_output.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/misc.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/sbuf.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/slirp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/socket.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/tcp_input.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/tcp_output.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/tcp_subr.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/tcp_timer.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/udp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/dnsproxy/hash.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/tftp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/dnsproxy/dnsproxy.c
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsyncifdef VBOX_WITH_SLIRP_BSD_SBUF
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_SOURCES += Network/slirp/bsd/kern/subr_sbuf.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_BSD_ARCH = $(subst x86,i386,$(KBUILD_TARGET_ARCH))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_BSD_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/bsd/kern/kern_mbuf.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/bsd/kern/uipc_mbuf.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/bsd/kern/uipc_mbuf2.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/in_cksum.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_ALIAS_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias_db.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias_mod.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias_proxy.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias_ftp.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias_dns.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias_nbt.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/libalias/alias_util.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# some day will be deleted
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsyncDrivers_SOURCES += $(VBOX_SLIRP_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncdefine def_vbox_slirp_cflags
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_DEFS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_SLIRP_BSD_SBUF),VBOX_WITH_SLIRP_BSD_SBUF,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_SLIRP_MEMORY_CHECK),RTMEM_WRAP_TO_EF_APIS,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_DEBUG_NAT_SOCKETS),VBOX_WITH_DEBUG_NAT_SOCKETS,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_SLIRP_MT),VBOX_WITH_SLIRP_MT,)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/bsd/sys
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/bsd/sys/sys
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/include
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/bsd/netinet
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/libalias
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifeq ($(KBUILD_TARGET),win)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_CFLAGS = -wd4018
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync else
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_CFLAGS += -Wno-sign-compare
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_CFLAGS += -Wno-format
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_CFLAGS += -Wno-bad-function-cast
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendef
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync$(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES += $(VBOX_SLIRP_ALIAS_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncdefine def_vbox_slirp_alias_cflags
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_DEFS += VBOX_SLIRP_ALIAS \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_DEBUG_LIBALIAS),VBOX_WITH_DEBUG_LIBALIAS,)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/libalias
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/dnsproxy
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifneq ($(KBUILD_TARGET),win)
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync $(file)_CFLAGS += -Wno-shadow
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync endif
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncendef
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync$(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync$(foreach file,$(VBOX_SLIRP_ALIAS_SOURCES),$(eval $(call def_vbox_slirp_alias_cflags, Network)))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_BSD_SOURCES += $(VBOX_SLIRP_BSD_SOURCES.${KBUILD_TARGET_ARCH})
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES += $(VBOX_SLIRP_BSD_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncdefine def_vbox_slirp_bsd_cflags
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_DEFS += VBOX_SLIRP_BSD
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_INCS += $(1)/slirp/dnsproxy
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendef
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync$(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync$(foreach file,$(VBOX_SLIRP_BSD_SOURCES),$(eval $(call def_vbox_slirp_bsd_cflags, Network)))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DRV_DISK_INTEGRITY
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvDiskIntegrity.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvVDE.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/VDEPlug.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBOX_WITH_VDE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# -- OS specific --
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),darwin)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostRaw% \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostFloppy% \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES)) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/coreaudio.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES.darwin = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvHostSerial.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # darwin
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),freebsd)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostFloppy% \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES)) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/ossaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvHostSerial.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES.freebsd = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvTAP.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # freebsd
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/DrvMouseQueue.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Input/DrvKeyboardQueue.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvBlock.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvMediaISO.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvRawImage.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostBase.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostDVD.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvVD.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PC/DrvACPI.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvIntNet.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DHCPServerRunner.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvNetSniffer.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/Pcap.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/audio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/mixeng.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/noaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/audiosniffer.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES.l4 = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/ossaudio.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # l4
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES.linux = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DrvTAP.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/ossaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Parallel/DrvHostParallel.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvHostSerial.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),os2)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHost% \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),solaris)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHost% \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES.solaris = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/solaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostBase.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvHostDVD.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvHostSerial.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_SOLARIS_OSS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += Audio/ossaudio.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_SOLARIS_OSS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_CROSSBOW
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += Network/solaris/vbox-libdlpi.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_CROSSBOW
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_SUID_WRAPPER
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_SUID_WRAPPER
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES.win = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/dsoundaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Serial/DrvHostSerial.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif defined(VBOX_WITH_NETFLT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if defined(VBOX_NETFLT_ONDEMAND_BIND)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# -- features --
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_ISCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvVD.cpp_INCS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/include \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/src/include/ipv4 \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/lwip/vbox/include
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_ISCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_ALSA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.linux += VBOX_WITH_ALSA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES.linux+= \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/alsaaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/alsa_stubs.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_PULSE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.linux += VBOX_WITH_PULSE
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync Drivers_SOURCES.linux+= \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/pulseaudio.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/pulse_stubs.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.freebsd += VBOX_WITH_PULSE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES.freebsd+= \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Audio/pulseaudio.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Audio/pulse_stubs.c
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncendif
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncifdef VBOX_WITH_VUSB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS += VBOX_WITH_VUSB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_SOURCES += \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/DrvVUSBRootHub.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/VUSBDevice.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/VUSBReadAhead.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/VUSBUrb.cpp
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncendif # VBOX_WITH_VUSB
11c2b573e2625474a51ae55ee1f3f82936f125davboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncifdef VBOX_WITH_USB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS += VBOX_WITH_USB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_SOURCES += \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/vrdp/USBProxyDevice-vrdp.cpp
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync endif
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_SOURCES.darwin += \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync USB/USBProxyDevice.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/darwin/USBProxyDevice-darwin.cpp
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS.linux += \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync VUSB_HAVE_USBPROXY_DEVICE \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync $(if $(VBOX_WITH_LINUX_COMPILER_H),VBOX_WITH_LINUX_COMPILER_H,) \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync $(if $(VBOX_USB_WITH_SYSFS),VBOX_USB_WITH_SYSFS,)
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_SOURCES.linux += \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/USBProxyDevice.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/linux/USBProxyDevice-linux.cpp
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_SOURCES.l4 += \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/USBProxyDevice.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync USB/linux/USBProxyDevice-linux.cpp
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES.os2 += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/USBProxyDevice.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync USB/os2/USBProxyDevice-os2.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync Drivers_SOURCES.win += \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync USB/USBProxyDevice.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync USB/win/USBProxyDevice-win.cpp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync Drivers_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync Drivers_SOURCES.solaris += \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync USB/USBProxyDevice.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync USB/solaris/USBProxyDevice-solaris.cpp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync Drivers_DEFS.freebsd += VUSB_HAVE_USBPROXY_DEVICE
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync Drivers_SOURCES.freebsd += \
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync USB/USBProxyDevice.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync USB/freebsd/USBProxyDevice-freebsd.cpp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync ifdef VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/UsbMsd.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif #VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvSCSI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES.linux += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Storage/DrvSCSIHost.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Ring-0 Services (library, linked into VMMR0.r0)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncServicesR0_TEMPLATE = VBoxR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncServicesR0_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/SrvIntNetR0.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# The EHCI (USB 2.0) Extension Pack Modules.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif defined(VBOX_WITH_USB) && defined(VBOX_WITH_EXTPACK_PUEL)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DLLS += VBoxEhciR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR3_TEMPLATE = VBoxR3ExtPackPuel
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR3_SOURCES = USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SYSMODS += VBoxEhciR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR0_TEMPLATE = VBoxR0ExtPackPuel
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR0_SOURCES = USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SYSMODS += VBoxEhciRC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciRC_TEMPLATE = VBoxRcExtPackPuel
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciRC_SOURCES = USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_USB && VBOX_WITH_EXTPACK_PUEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_TESTCASES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PROGRAMS += tstIntNetR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstIntNetR0_DEFS = IN_INTNET_R0
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstIntNetR0_SOURCES = \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync Network/testcase/tstIntNetR0.cpp
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsyncendif
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync#
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync# Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync#
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsyncifdef VBOX_WITH_TESTCASES
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync PROGRAMS += tstIntNet-1
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstIntNet-1_SOURCES = \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync Network/testcase/tstIntNet-1.cpp \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync Network/Pcap.cpp
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsyncendif
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync#
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync# EEPROM device unit test requires cppunit
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_CPPUNIT_TESTCASES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PROGRAMS += tstDevEEPROM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevEEPROM_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/testcase/tstDevEEPROM.cpp
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstDevEEPROM_LIBS = \
2506c2bcd77fcc75b5640fa0f6a55fb5ab48ff80vboxsync $(TARGET_DevicesR3)
2506c2bcd77fcc75b5640fa0f6a55fb5ab48ff80vboxsync PROGRAMS += tstDevPhy
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevPhy_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/testcase/tstDevPhy.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/DevE1000Phy.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevPhy_DEFS = PHY_UNIT_TEST
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(KBUILD_PATH)/subfooter.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync