Makefile.kmk revision c54e6fc4f722c4287ddc1692313b0f5ba9d01440
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Top-level sub-makefile for the devices, drivers and services.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Copyright (C) 2006-2010 Oracle Corporation
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.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncSUB_DEPTH = ../../..
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_PATH_DEVICES_SRC := $(PATH_SUB_CURRENT)
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
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_INTEL_PXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
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
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Main targets.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncLIBRARIES += DevicesR3 Drivers ServicesR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDLLS += VBoxDDU VBoxDD VBoxDD2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncSYSMODS += VBoxDDR0 VBoxDD2R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SYSMODS += VBoxDDGC VBoxDD2GC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDDU (shared object)
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
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 ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_USB
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)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDU_LIBS += \
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
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync LIBRARIES += VBoxDDULnxHostR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDULnxHostR3_DEFS = IN_VBOXDDU
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDD (shared object)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD_SOURCES = \
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
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DRV_DISK_INTEGRITY
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_DRV_DISK_INTEGRITY
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_DEFS += VBOX_WITH_VDE
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
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(INSTARGET_VBoxDDU) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(INSTARGET_VBoxDD2)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_NETFLT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += $(PATH_LIB)/EfiThunkBin$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),solaris)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += adm
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_SUID_WRAPPER
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += secdb
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD_LIBS += aio
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# VBoxDD2 (shared object)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_DEFS = IN_VBOXDD2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_SOURCES = \
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 += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# DevicesR3 (library)
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_INCS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDevicesR3_SOURCES = \
11c2b573e2625474a51ae55ee1f3f82936f125davboxsyncifdef VBOX_WITH_E1000
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync DevicesR3_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOXWDDM_TEST_UHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOXWDDM_TEST_UHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DMI_CHASSIS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_DMI_CHASSIS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DMI_OEMSTRINGS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_DMI_OEMSTRINGS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_INCS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_INIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_EFI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_ALT_EFITHUNK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_ALT_EFITHUNK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += EFI/DevEFI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_MSI_DEVICES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_MSI_DEVICES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DYNAMIC_DSDT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_DYNAMIC_DSDT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DevicesR3_SOURCES += \
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 += \
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 $<
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DYNAMIC_DSDT
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync DevicesR3_CLEAN += $(PATH_DevicesR3)/vboxdsl.hex
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync PC/ACPI/VBoxAcpi.cpp_DEPS = $(PATH_DevicesR3)/vboxdsl.hex
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $$(PATH_DevicesR3)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(call MSG_TOOL,bin2c,DevicesR3,$<,$@)
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@
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 $(PATH_DevicesR3)/vboxaml.hex \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-standard.hex \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync $(PATH_DevicesR3)/vboxssdt-cpuhotplug.hex
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 $$(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 vboxssdt-standard.hex:: $$(PATH_DevicesR3)/vboxssdt-standard.hex
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 vboxssdt-cpuhotplug.hex:: $$(PATH_DevicesR3)/vboxssdt-cpuhotplug.hex
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # !VBOX_WITH_DYNAMIC_DSDT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncPC/ACPI/VBoxAcpi.cpp_INCS = $(PATH_DevicesR3)
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
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # VBoxDDGC (sysmod)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_TEMPLATE = VBoxRc
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifeq ($(KBUILD_TARGET_ARCH),x86)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS = VBOX_WITH_HGCM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
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 ifdef VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_VIDEOHWACCEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_BUSLOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_DEFS += VBOX_WITH_LSILOGIC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if1of ($(VBOX_LDR_FMT32), pe lx)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDGC_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxDDR0 (sysmod)
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 = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_VIRTIO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_HGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_WDDM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_VDMA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_CRHGSMI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOXWDDM_WITH_VBVA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_DEFS += VBOX_WITH_VUSB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDDR0_SOURCES += \
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 += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_AHCI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDDR0_SOURCES += \
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_BUSLOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_SOURCES += \
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_LSILOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_DEFS += VBOX_WITH_LSILOGIC
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_SOURCES += \
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_HGSMI
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync VBoxDDR0_DEFS += VBOX_WITH_HGSMI
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncifdef VBOX_WITH_VIDEOHWACCEL
af0a09edb4c1431b606fe207d4138da008f67f13vboxsync VBoxDDR0_DEFS += VBOX_WITH_VIDEOHWACCEL
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncif1of ($(VBOX_LDR_FMT), pe lx)
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncVBoxDDR0_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # VBoxDD2GC (LGPL sysmod)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_TEMPLATE = VBoxRc
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_DEFS =
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxDD2GC_SOURCES = \
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# VBoxDD2R0 (LGPL sysmod)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_TEMPLATE = VBoxR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_DEFS = IN_RT_R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif1of ($(VBOX_LDR_FMT), pe lx)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxDD2R0_LIBS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_LIB)/SUPR0$(VBOX_SUFF_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Drivers (library)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_TEMPLATE = VBOXR3NP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SDKS.win = WINPSDK 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,) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_INCS := \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_SOURCES = \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsyncifdef VBOX_WITH_SLIRP_BSD_SBUF
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_SOURCES += Network/slirp/bsd/kern/subr_sbuf.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_BSD_ARCH = $(subst x86,i386,$(KBUILD_TARGET_ARCH))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_BSD_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Network/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/in_cksum.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_SLIRP_ALIAS_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# some day will be deleted
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 $(file)_CFLAGS += -Wno-sign-compare
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_CFLAGS += -Wno-format
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(file)_CFLAGS += -Wno-bad-function-cast
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync$(foreach file,$(VBOX_SLIRP_SOURCES),$(eval $(call def_vbox_slirp_cflags, Network)))
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
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)))
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
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)))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_DRV_DISK_INTEGRITY
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_VDE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBOX_WITH_VDE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# -- OS specific --
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),darwin)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES)) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # darwin
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),freebsd)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES)) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # freebsd
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),l4)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),os2)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),solaris)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDrivers_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(Drivers_SOURCES))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_SOLARIS_OSS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += Audio/ossaudio.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_SOLARIS_OSS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_CROSSBOW
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += Network/solaris/vbox-libdlpi.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_CROSSBOW
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_SUID_WRAPPER
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_SUID_WRAPPER
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif defined(VBOX_WITH_NETFLT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync if defined(VBOX_NETFLT_ONDEMAND_BIND)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# -- features --
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_ISCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_ISCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_ALSA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.linux += VBOX_WITH_ALSA
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_PULSE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.linux += VBOX_WITH_PULSE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.freebsd += VBOX_WITH_PULSE
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncifdef VBOX_WITH_VUSB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS += VBOX_WITH_VUSB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_SOURCES += \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncendif # VBOX_WITH_VUSB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncifdef VBOX_WITH_USB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_DEFS += VBOX_WITH_USB
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync Drivers_SOURCES += \
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 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_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync Drivers_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync Drivers_DEFS.freebsd += VUSB_HAVE_USBPROXY_DEVICE
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync ifdef VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_USB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif #VBOX_WITH_PDM_ASYNC_COMPLETION
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_DEFS += VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync Drivers_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_SCSI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Ring-0 Services (library, linked into VMMR0.r0)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncServicesR0_TEMPLATE = VBoxR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncServicesR0_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# The EHCI (USB 2.0) Extension Pack Modules.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif defined(VBOX_WITH_USB) && defined(VBOX_WITH_EXTPACK_PUEL)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DLLS += VBoxEhciR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR3_TEMPLATE = VBoxR3ExtPackPuel
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR3_SOURCES = USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SYSMODS += VBoxEhciR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR0_TEMPLATE = VBoxR0ExtPackPuel
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciR0_SOURCES = USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_RAW_MODE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync SYSMODS += VBoxEhciRC
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciRC_TEMPLATE = VBoxRcExtPackPuel
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBoxEhciRC_SOURCES = USB/DevEHCI.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # VBOX_WITH_USB && VBOX_WITH_EXTPACK_PUEL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_TESTCASES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PROGRAMS += tstIntNetR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstIntNetR0_DEFS = IN_INTNET_R0
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstIntNetR0_SOURCES = \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync# Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsyncifdef VBOX_WITH_TESTCASES
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync PROGRAMS += tstIntNet-1
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstIntNet-1_SOURCES = \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync# EEPROM device unit test requires cppunit
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_CPPUNIT_TESTCASES
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_WITH_E1000
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync PROGRAMS += tstDevEEPROM
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevEEPROM_SOURCES = \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync tstDevEEPROM_LIBS = \
2506c2bcd77fcc75b5640fa0f6a55fb5ab48ff80vboxsync $(TARGET_DevicesR3)
2506c2bcd77fcc75b5640fa0f6a55fb5ab48ff80vboxsync PROGRAMS += tstDevPhy
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevPhy_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync tstDevPhy_DEFS = PHY_UNIT_TEST
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(KBUILD_PATH)/subfooter.kmk