Makefile.kmk revision 26186d18aabd51456e16a1fc17e270df1699f76c
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Top-level makefile for the devices, drivers and services.
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# available from http://www.virtualbox.org. This file is free software;
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# you can redistribute it and/or modify it under the terms of the GNU
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# General Public License (GPL) as published by the Free Software
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# additional information or have any questions.
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncSUB_DEPTH = ../../..
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBOX_PATH_DEVICES_SRC := $(PATH_SUB_CURRENT)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Include sub-makefiles.
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncinclude $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync include $(PATH_SUB_CURRENT)/PC/VMI/Makefile.kmk
590bfe12ce22cd3716448fbb9f4dc51664bfe5e2vboxsyncinclude $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncinclude $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncinclude $(PATH_SUB_CURRENT)/Storage/testcase/Makefile.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifndef VBOX_OSE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync include $(PATH_SUB_CURRENT)/Storage/VBoxHDDFormats/Makefile.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_EFI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync include $(PATH_SUB_CURRENT)/EFI/Thunk/Makefile.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_INTEL_PXE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync # Subdir with complex makefile.
590bfe12ce22cd3716448fbb9f4dc51664bfe5e2vboxsync SUBDIRS_LIBRARIES += $(VBOX_PATH_DEVICES_SRC)/PC/Etherboot-src
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync SUBDIRS_CLEAN += $(VBOX_PATH_DEVICES_SRC)/PC/Etherboot-src
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync # Disable the unsafe pass order optimizations.
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync KBUILD_SAFE_PARALLEL = 1
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Main targets.
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncLIBRARIES += DevicesR3 Drivers ServicesR0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDLLS += VBoxDDU VBoxDD VBoxDD2
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncSYSMODS += VBoxDDGC VBoxDD2GC VBoxDDR0 VBoxDD2R0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDDU (shared object)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_TEMPLATE = VBOXR3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_INST.darwin = $(INST_DLL) $(INST_TESTCASE)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_DEFS = IN_VBOXDDU
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_USB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDU_SDKS.win = WINPSDK W2K3DDK
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync ifdef VBOX_WITH_EHCI
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync VBoxDDU_DEFS += VBOX_WITH_EHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_NEW_IO_CODE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDU_DEFS += VBOX_WITH_NEW_IO_CODE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_USB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_LIBS = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(LIB_RUNTIME)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_USB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDU_LIBS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET),l4)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDU_LIBS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_USB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDU_LDFLAGS.darwin += -framework IOKit
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET),l4)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync LIBRARIES += VBoxDDULnxHostR3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDULnxHostR3_DEFS = IN_VBOXDDU
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDD (shared object)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD_TEMPLATE = VBOXR3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_DTRACE_R3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_TEMPLATE = VBOXR3OSX105
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD_DEFS = VBOX_ACPI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_USB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_USB IN_USB_R3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync ifdef VBOX_WITH_EHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_EHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_AHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_AHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_ISCSI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_ISCSI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync ifdef VBOX_WITH_INIP
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_INIP
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VIRTIO
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsync VBoxDD_DEFS += VBOX_WITH_VIRTIO
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_PDM_ASYNC_COMPLETION
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_SCSI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_SCSI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HPET
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsync VBoxDD_DEFS += VBOX_WITH_HPET
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_SMC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_SMC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_LPC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_LPC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_EFI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_EFI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_FAULT_INJECTION
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_DEFS += VBOX_WITH_FAULT_INJECTION
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsyncVBoxDD_LIBS = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(LIB_VMM) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(LIB_RUNTIME)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET),win)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(LIB_DDU) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/VBoxDD2.lib \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_SDK_DXSDK_LIB)/dxguid.lib
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(INSTARGET_VBoxDDU) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(INSTARGET_VBoxDD2)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET),l4)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/HGSMIHostR3Lib$(VBOX_SUFF_LIB)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_NETFLT
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_EFI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += $(PATH_LIB)/EfiThunkBin$(VBOX_SUFF_LIB)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET),solaris)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += adm
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync ifdef VBOX_WITH_SUID_WRAPPER
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += secdb
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync ifdef VBOX_WITH_USB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDD_LIBS += aio
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync -framework CoreAudio \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync -framework AudioUnit \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync -framework IOKit \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync -framework Carbon \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync -framework DiskArbitration
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD_LDFLAGS.linux = -Wl,--no-undefined
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDD2 (shared object)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_TEMPLATE = VBOXR3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_DEFS = IN_VBOXDD2 \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(if $(VBOX_WITH_VMI),VBOX_WITH_VMI,)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_INCS := \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_SUB_CURRENT)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_LIBS = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(if $(VBOX_WITH_VMI),$(PATH_LIB)/VmiBiosBin$(VBOX_SUFF_LIB)) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(LIB_VMM) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(LIB_RUNTIME)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET),l4)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_LIBS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# DevicesR3 (library)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_TEMPLATE = VBOXR3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_SDKS.win = WINPSDK W2K3DDK
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_DEFS.darwin.x86 = VBOX_WITH_2X_4GB_ADDR_SPACE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_DEFS += VBOX_HGCM_HOST_CODE \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(if $(VBOX_WITH_VMI),VBOX_WITH_VMI,)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_DEFS += VBOX_WITH_HGCM
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_INCS = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_DYNAMIC_NET_ATTACH
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_DYNAMIC_NET_ATTACH
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_BIOS_DMI_FALLBACK
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_BIOS_DMI_FALLBACK
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VIRTIO
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_WITH_VIRTIO
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VIDEOHWACCEL
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_WITH_VIDEOHWACCEL
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_DMI_CHASSIS
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_WITH_DMI_CHASSIS
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_DMI_OEMSTRINGS
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_WITH_DMI_OEMSTRINGS
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_INIP
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_INCS += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_DEFS += VBOX_WITH_INIP
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_AHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_DEFS += VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_SOURCES += \
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsyncifdef VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_DEFS += VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDevicesR3_SOURCES += \
a39ea3668b7019c23a68936259545f9b71bce1aavboxsyncifdef VBOX_WITH_HPET
fd492d285ed33c86dd76bc05d9d4f3e55bc0fb49vboxsyncDevicesR3_DEFS += VBOX_WITH_HPET
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsyncDevicesR3_SOURCES += PC/DevHPET.cpp
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncifdef VBOX_WITH_SMC
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_DEFS += VBOX_WITH_SMC
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_SOURCES += PC/DevSMC.cpp
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncifdef VBOX_WITH_LPC
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_DEFS += VBOX_WITH_LPC
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_SOURCES += PC/DevLPC.cpp
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncifdef VBOX_WITH_EFI
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_DEFS += VBOX_WITH_EFI
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync ifdef VBOX_WITH_ALT_EFITHUNK
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync DevicesR3_DEFS += VBOX_WITH_ALT_EFITHUNK
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_SOURCES += EFI/DevEFI.cpp
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncifdef VBOX_WITH_DYNAMIC_DSDT
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_DEFS += VBOX_WITH_DYNAMIC_DSDT
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncifdef VBOX_WITH_USB
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_DEFS += VBOX_WITH_USB IN_USB_R3
e74eef731a813e4e06680c587a6759b9974b29c9vboxsyncDevicesR3_SOURCES += \
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync ifdef VBOX_WITH_EHCI
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync DevicesR3_DEFS += VBOX_WITH_EHCI
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync DevicesR3_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_DTRACE_R3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_TEMPLATE = VBOXR3OSX105
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_DEFS += VBOX_WITH_DTRACE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_INCS += $(DevicesR3_0_OUTDIR)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_INTERMEDIATES += $(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $$(DevicesR3_0_OUTDIR)/VBoxDD-dtrace.h: $(PATH_CURRENT)/VBoxDD-dtrace.d | $$(dir $$@)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync dtrace -C -h -o $@ -s $<
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_DYNAMIC_DSDT
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_CLEAN += $(PATH_DevicesR3)/vboxdsl.hex
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync PC/ACPI/VBoxAcpi.cpp_DEPS = $(PATH_DevicesR3)/vboxdsl.hex
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $$(PATH_DevicesR3)/vboxdsl.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(call MSG_TOOL,bin2c,DevicesR3,$<,$@)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(QUIET)$(VBOX_BIN2C) -export VboxDslSource $< $@
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncelse # !VBOX_WITH_DYNAMIC_DSDT
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync # VBoxAcpi.cpp needs vboxaml.hex which we generate from PC/vbox.dsl
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync DevicesR3_CLEAN += $(PATH_DevicesR3)/vboxaml.hex $(PATH_DevicesR3)/vboxaml.aml
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync PC/ACPI/VBoxAcpi.cpp_DEPS = $(PATH_DevicesR3)/vboxaml.hex
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync $$(PATH_DevicesR3)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl | $$(dir $$@)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncendif # !VBOX_WITH_DYNAMIC_DSDT
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncPC/ACPI/VBoxAcpi.cpp_INCS = $(PATH_DevicesR3)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncGraphics/DevVGA.cpp_INCS = $(PATH_VgaBiosBin)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncGraphics/DevVGA.cpp_DEPS = $(PATH_VgaBiosBin)/vbetables.h
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDDGC (sysmod)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_TEMPLATE = VBOXGC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_SYSSUFF = .gc
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET_ARCH),x86)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS.darwin = VBOX_WITH_2X_4GB_ADDR_SPACE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_DEFS =
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_INCS := \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_SUB_CURRENT)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_DYNAMIC_NET_ATTACH
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS += VBOX_DYNAMIC_NET_ATTACH
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS += VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VIRTIO
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS += VBOX_WITH_VIRTIO
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS += VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_USB
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_DEFS += VBOX_WITH_USB IN_USB_GC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync ifdef VBOX_WITH_EHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS += VBOX_WITH_EHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS += VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VIDEOHWACCEL
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDGC_DEFS += VBOX_WITH_VIDEOHWACCEL
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_AHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_DEFS += VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_DEFS += VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HPET
fd492d285ed33c86dd76bc05d9d4f3e55bc0fb49vboxsyncVBoxDDGC_DEFS += VBOX_WITH_HPET
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_SOURCES += PC/DevHPET.cpp
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(VBOX_LDR_FMT32),pe)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_LDFLAGS = -Entry:vgaMMIOWrite
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncif1of ($(VBOX_LDR_FMT32), pe lx)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDGC_LIBS = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDDR0 (sysmod)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_TEMPLATE = VBOXR0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_SYSSUFF = .r0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_DEFS.darwin.x86= VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R0 VBOX_WITH_2X_4GB_ADDR_SPACE
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_DEFS = IN_RT_R0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_INCS := \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_SUB_CURRENT)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_DYNAMIC_NET_ATTACH
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_DEFS += VBOX_DYNAMIC_NET_ATTACH
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_DEFS += VBOX_WITH_E1000
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VIRTIO
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_DEFS += VBOX_WITH_VIRTIO
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_SOURCES += \
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsyncifdef VBOX_WITH_HGSMI
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsync VBoxDDR0_DEFS += VBOX_WITH_HGSMI
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsyncifdef VBOX_WITH_USB
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsyncVBoxDDR0_DEFS += VBOX_WITH_USB IN_USB_R0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_SOURCES += \
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsync ifdef VBOX_WITH_EHCI
25747178cb66800d8386c20b8ffd87f78f24f4e5vboxsync VBoxDDR0_DEFS += VBOX_WITH_EHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_AHCI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_DEFS += VBOX_WITH_LSILOGIC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_SOURCES += \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_DEFS += VBOX_WITH_HGSMI
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_VIDEOHWACCEL
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync VBoxDDR0_DEFS += VBOX_WITH_VIDEOHWACCEL
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_HPET
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_DEFS += VBOX_WITH_HPET
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_SOURCES += PC/DevHPET.cpp
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(VBOX_LDR_FMT32),pe)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_LDFLAGS = -Entry:vgaMMIOWrite
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncif1of ($(VBOX_LDR_FMT), pe lx)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDDR0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDD2GC (LGPL sysmod)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2GC_TEMPLATE = VBOXGC
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2GC_DEFS =
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2GC_SYSSUFF = .gc
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2GC_INCS := \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_SUB_CURRENT)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2GC_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(VBOX_LDR_FMT32),pe)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2GC_LDFLAGS = -Entry:apicMMIOWrite
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncif1of ($(VBOX_LDR_FMT32), pe lx)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2GC_LIBS = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# VBoxDD2R0 (LGPL sysmod)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2R0_TEMPLATE = VBOXR0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2R0_DEFS = IN_RT_R0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2R0_SYSSUFF = .r0
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2R0_INCS := \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync $(PATH_SUB_CURRENT)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2R0_SOURCES = \
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(VBOX_LDR_FMT),pe)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2R0_LDFLAGS = -Entry:apicMMIOWrite
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncif1of ($(VBOX_LDR_FMT), pe lx)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncVBoxDD2R0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsync# Drivers (library)
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifeq ($(KBUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_TEMPLATE = VBOXR3NP
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_TEMPLATE = VBOXR3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_SDKS.win = WINPSDK W2K3DDK
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_DEFS.win += _WIN32_WINNT=0x0510
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_DEFS = IN_IDE_R3
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_NETFLT
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_DEFS += VBOX_WITH_NETFLT
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncifdef VBOX_WITH_FAULT_INJECTION
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_DEFS += VBOX_WITH_FAULT_INJECTION
24ab761b2beb5af0393c6f2585b6351d8b3085f0vboxsyncDrivers_INCS := \
# tftp.c is temporally out of global slirp section
$(file)_INCS += $(1)/slirp/bsd/sys
$(file)_INCS += $(1)/slirp/bsd/sys/sys
$(file)_INCS += $(1)/slirp/bsd/$(VBOX_SLIRP_BSD_ARCH)/include
$(file)_INCS += $(1)/slirp/bsd/netinet
$(file)_INCS += $(1)/slirp/libalias
$(file)_INCS += $(1)/slirp/libalias
$(file)_INCS += $(1)/slirp/dnsproxy
$(file)_INCS += $(1)/slirp/dnsproxy
Drivers_SOURCES += Audio/ossaudio.c
Drivers_SOURCES += Network/solaris/vbox-libdlpi.cpp
Drivers_DEFS.win += VBOX_NETFLT_ONDEMAND_BIND
Drivers_DEFS.linux += VBOX_WITH_ALSA
Drivers_DEFS.linux += VBOX_WITH_PULSE
Drivers_DEFS.freebsd += VBOX_WITH_PULSE
Drivers_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
Drivers_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
Drivers_DEFS.linux += \
Drivers_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
Drivers_SOURCES.l4 += \
Drivers_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
Drivers_SOURCES.os2 += \
Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
Drivers_SOURCES.win += \
Drivers_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
USB/solaris/$(if $(VBOX_WITH_NEW_USB_CODE_ON_SOLARIS),USBProxyDevice2-solaris.cpp,USBProxyDevice-solaris.cpp)
Drivers_DEFS.freebsd += VUSB_HAVE_USBPROXY_DEVICE
# Ring-0 Services (library, linked into VMMR0.r0)
include $(KBUILD_PATH)/subfooter.kmk