Makefile.kmk revision 807f19bd5accba5e5025466e7b8649adb5afabeb
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# Top-level makefile for the devices, drivers and services.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# available from http://www.virtualbox.org. This file is free software;
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# you can redistribute it and/or modify it under the terms of the GNU
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# General Public License (GPL) as published by the Free Software
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# additional information or have any questions.
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_KBUILD_HACKING
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncSUB_DEPTH = ../../..
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDEPTH = ../../..
aa4bcf0a4b2db3ac352b56a291d49cb8d4b66d32vboxsyncinclude $(KBUILD_PATH)/subheader.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# Include sub-makefiles.
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncinclude $(PATH_SUB_CURRENT)/PC/BIOS/Makefile.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_VMI
aa4bcf0a4b2db3ac352b56a291d49cb8d4b66d32vboxsync include $(PATH_SUB_CURRENT)/PC/VMI/Makefile.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncinclude $(PATH_SUB_CURRENT)/Graphics/BIOS/Makefile.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncinclude $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncinclude $(PATH_SUB_CURRENT)/Storage/testcase/Makefile.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifndef VBOX_OSE
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync include $(PATH_SUB_CURRENT)/Storage/VBoxHDDFormats/Makefile.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_INTEL_PXE
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync include $(PATH_SUB_CURRENT)/PC/PXE/Makefile.kmk
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync # Subdir with complex makefile.
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync SUBDIRS_LIBRARIES += PC/Etherboot-src
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync SUBDIRS_CLEAN += PC/Etherboot-src
619824b60d668e6e43f385ef78cf06e13d43aab6vboxsync# Main targets.
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncLIBRARIES += DevicesR3 Drivers ServicesR0
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_USE_NAT
2c95722bb302f4ce9454d04324b09314c0ccc038vboxsyncLIBRARIES += NatAlias
619824b60d668e6e43f385ef78cf06e13d43aab6vboxsyncDLLS += VBoxDDU VBoxDD VBoxDD2
619824b60d668e6e43f385ef78cf06e13d43aab6vboxsyncSYSMODS += VBoxDDGC VBoxDD2GC VBoxDDR0 VBoxDD2R0
d68336e34409fd767807d5ef641a305de4d9ee59vboxsync# VBoxDDU (shared object)
76cb9831bbeaff3bb30068363e35660a776736c4vboxsyncVBoxDDU_TEMPLATE = VBOXR3
76cb9831bbeaff3bb30068363e35660a776736c4vboxsyncVBoxDDU_NAME = $(basename $(notdir $(LIB_DDU)))
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDU_DEFS = IN_VBOXDDU
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDU_DEFS += VBOX_WITH_USB IN_USBLIB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDU_SDKS.win = WINPSDK W2K3DDK
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDU_DEFS += VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDU_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDU_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDU_LIBS = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(LIB_RUNTIME)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDU_LIBS += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/USBLib$(VBOX_SUFF_LIB)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),l4)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDU_LIBS += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDU_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDDU.dylib
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDU_LDFLAGS.darwin += -framework IOKit
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDU_LDFLAGS.linux = -Wl,--no-undefined
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDU_LDFLAGS.l4 = -Wl,--no-undefined
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# VBoxDDULnxHostR3 (Only needed for l4, currently for executing vditool on L4Linux.)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),l4)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync LIBRARIES += VBoxDDULnxHostR3
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync VBoxDDULnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync VBoxDDULnxHostR3_DEFS = IN_VBOXDDU
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync VBoxDDULnxHostR3_SOURCES = $(VBoxDDU_SOURCES)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# VBoxDD (shared object)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_TEMPLATE = VBOXR3
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_SDKS.win = WINPSDK DXSDK W2K3DDK VBOX_NTDLL
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_DEFS = VBOX_ACPI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_USB IN_USB_R3
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_AHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_AHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_ISCSI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_ISCSI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_E1000
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_E1000
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_BUSLOGIC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_BUSLOGIC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifndef VBOX_OSE
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_INIP
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_PDM_ASYNC_COMPLETION
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_LIBS = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/DevicesR3$(VBOX_SUFF_LIB) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/Drivers$(VBOX_SUFF_LIB) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/VgaDefBiosLogo$(VBOX_SUFF_LIB) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(LIB_VMM) \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync $(LIB_RUNTIME)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncifeq ($(KBUILD_TARGET),win)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync VBoxDD_LIBS += \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync $(LIB_DDU) \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync $(PATH_LIB)/VBoxDD2.lib \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_SDK_DXSDK_LIB)/dxguid.lib
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_LIBS += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(INSTARGET_VBoxDDU) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(INSTARGET_VBoxDD2)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),l4)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_LIBS += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_USE_NAT
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_LIBS += $(PATH_LIB)/NatAlias$(VBOX_SUFF_LIB)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),solaris)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_LIBS += adm
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_SUID_WRAPPER
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_LIBS += secdb
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDD_LIBS += aio
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD.dylib \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync -framework CoreAudio \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync -framework IOKit \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync -framework Carbon \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync -framework DiskArbitration
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_LDFLAGS.linux = -Wl,--no-undefined
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD_LDFLAGS.l4 = -Wl,--no-undefined
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# VBoxDD2 (shared object)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2_TEMPLATE = VBOXR3
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2_DEFS = IN_VBOXDD2
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2_INCS := \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_SUB_CURRENT)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2_LIBS = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/VgaBiosBin$(VBOX_SUFF_LIB) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/NetBiosBin$(VBOX_SUFF_LIB) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(if $(VBOX_WITH_VMI),$(PATH_LIB)/VmiBiosBin$(VBOX_SUFF_LIB)) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(LIB_VMM) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(LIB_RUNTIME)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncifeq ($(KBUILD_TARGET),l4)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDD2_LIBS += \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDD2_LDFLAGS.darwin = -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxDD2.dylib
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDD2_LDFLAGS.linux = -Wl,--no-undefined
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDD2_LDFLAGS.l4 = -Wl,--no-undefined
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync# DevicesR3 (library)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncDevicesR3_TEMPLATE = VBOXR3
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncDevicesR3_SDKS.win = WINPSDK W2K3DDK
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncDevicesR3_DEFS += VBOX_HGCM_HOST_CODE \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync $(if $(VBOX_WITH_VMI),VBOX_WITH_VMI,)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncDevicesR3_INCS := \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync $(PATH_SUB_CURRENT)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncDevicesR3_SOURCES = \
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncifdef VBOX_WITH_E1000
619824b60d668e6e43f385ef78cf06e13d43aab6vboxsync DevicesR3_DEFS += VBOX_WITH_E1000
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsync DevicesR3_SOURCES += \
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncifndef VBOX_OSE
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncDevicesR3_INCS += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDevicesR3_SOURCES += \
5ebbcc31dcb3fc3d11423fe2133930f74d2c0695vboxsyncDevicesR3_DEFS += VBOX_WITH_INIP
76cb9831bbeaff3bb30068363e35660a776736c4vboxsyncifdef VBOX_WITH_AHCI
5ebbcc31dcb3fc3d11423fe2133930f74d2c0695vboxsyncDevicesR3_DEFS += VBOX_WITH_AHCI IN_AHCI_R3
76cb9831bbeaff3bb30068363e35660a776736c4vboxsyncDevicesR3_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_BUSLOGIC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDevicesR3_DEFS += VBOX_WITH_BUSLOGIC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDevicesR3_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDevicesR3_DEFS += VBOX_WITH_USB IN_USB_R3
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDevicesR3_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync DevicesR3_DEFS += VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync DevicesR3_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDevicesR3_DEFS += VBOX_WITH_HGCM
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# DevACPI.cpp needs vboxaml.hex which we generate from PC/vbox.dsl.
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDevicesR3_CLEAN += $(PATH_TARGET)/vboxaml.hex $(PATH_TARGET)/vboxaml.aml
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncPC/DevACPI.cpp_INCS = $(PATH_TARGET)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync$(PATH_TARGET)/vboxaml.hex: $(PATH_SUB_CURRENT)/PC/vbox.dsl
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(call MSG_TOOL,iasl,DevicesR3,$<,$@)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(QUIET)$(VBOX_IASLCMD) -tc -vs -p $@ $<
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# For finding and generating vbetables.h (see Graphics/BIOS/Makefile.kmk).
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncGraphics/DevVGA.cpp_DEPS = $(PATH_TARGET)/vbetables.h
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# VBoxDDGC (sysmod)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_TEMPLATE = VBOXGC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_DEFS =
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_SYSSUFF = .gc
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_INCS := \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_SUB_CURRENT)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_E1000
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDGC_DEFS += VBOX_WITH_E1000
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDGC_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_DEFS += VBOX_WITH_USB IN_USB_GC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDGC_DEFS += VBOX_WITH_EHCI
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsync VBoxDDGC_SOURCES += \
619824b60d668e6e43f385ef78cf06e13d43aab6vboxsyncifdef VBOX_WITH_AHCI
619824b60d668e6e43f385ef78cf06e13d43aab6vboxsyncVBoxDDGC_DEFS += VBOX_WITH_AHCI IN_AHCI_GC
619824b60d668e6e43f385ef78cf06e13d43aab6vboxsyncVBoxDDGC_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_BUSLOGIC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_DEFS += VBOX_WITH_BUSLOGIC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDGC_SOURCES += \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncifeq ($(VBOX_LDR_FMT32),pe)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDDGC_LDFLAGS = -Entry:vgaMMIOWrite
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDDGC_LIBS = \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsync $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
3a2aedd9e337c0cc515ce501a066359ba2f9505cvboxsync# VBoxDDR0 (sysmod)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDDR0_TEMPLATE = VBOXR0
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDDR0_SYSSUFF = .r0
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDDR0_DEFS = IN_RT_R0
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDDR0_INCS := \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_SUB_CURRENT)
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncVBoxDDR0_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_E1000
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDR0_DEFS += VBOX_WITH_E1000
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDR0_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_USB
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_DEFS += VBOX_WITH_USB IN_USB_R0
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync ifdef VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDR0_DEFS += VBOX_WITH_EHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync VBoxDDR0_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_AHCI
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_DEFS += VBOX_WITH_AHCI IN_AHCI_R0
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_BUSLOGIC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_DEFS += VBOX_WITH_BUSLOGIC
76cb9831bbeaff3bb30068363e35660a776736c4vboxsyncVBoxDDR0_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(VBOX_LDR_FMT32),pe)
2b6e5e029d7448f21b9f8b6fb2c87b13c22b4997vboxsyncVBoxDDR0_LDFLAGS = -Entry:vgaMMIOWrite
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(VBOX_LDR_FMT32),elf) # this is template stuff!
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDDR0_LIBS += $(VBOX_GCC_LIBGCC)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# VBoxDD2GC (LGPL sysmod)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2GC_TEMPLATE = VBOXGC
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2GC_DEFS =
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2GC_SYSSUFF = .gc
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2GC_INCS := \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_SUB_CURRENT)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2GC_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(VBOX_LDR_FMT32),pe)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2GC_LDFLAGS = -Entry:apicMMIOWrite
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifneq ($(filter pe lx,$(VBOX_LDR_FMT32)),)
affcf9ad9ceb4b20938f02dd7cd284b4aaf6b5bbvboxsyncVBoxDD2GC_LIBS = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/VMMGCBuiltin$(VBOX_SUFF_LIB) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_LIB)/VMMGCImp$(VBOX_SUFF_LIB)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# VBoxDD2R0 (LGPL sysmod)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_TEMPLATE = VBOXR0
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_DEFS = IN_RT_R0
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_SYSSUFF = .r0
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_INCS := \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_SUB_CURRENT)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(VBOX_LDR_FMT),pe)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_LDFLAGS = -Entry:apicMMIOWrite
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifneq ($(filter pe lx,$(VBOX_LDR_FMT)),)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_LIBS = $(PATH_LIB)/VMMR0Imp$(VBOX_SUFF_LIB)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_LIBS += $(PATH_LIB)/RuntimeR0$(VBOX_SUFF_LIB)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(VBOX_LDR_FMT),elf)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncVBoxDD2R0_LIBS += $(VBOX_GCC_LIBGCC)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# Drivers (library)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),l4) # We are using real Linux headers, not the cleaned up user space ones
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_TEMPLATE = VBOXR3NP
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_TEMPLATE = VBOXR3
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SDKS.win = WINPSDK W2K3DDK
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_DEFS.win += _WIN32_WINNT=0x0510
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_DEFS = IN_IDE_R3
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifdef VBOX_WITH_NETFLT
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_DEFS = VBOX_WITH_NETFLT
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_INCS := \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync $(PATH_SUB_CURRENT) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SOURCES = \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifndef VBOX_USE_NAT
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SOURCES += \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_TEMPLATE = VBOXR3NP
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SOURCES += Network/DrvNAT.cpp
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNetwork/DrvNAT.cpp_DEFS += VBOX_NAT_SOURCES
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SOURCES += Network/nat/nat_socket.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_CFLAGS += -include Network/nat/bsd.h
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_DEFS += VBOX_NAT_SOURCES
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_DEFS += __BSD_VISIBLE=1
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_DEFS += INET
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_DEFS += IPFIREWALL_NAT
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_DEFS += RWLOCK_NOINLINE
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_DEFS += MUTEX_NOINLINE
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncNatAlias_DEFS += IN_NAT # used in Network/nat/nat.h (which glues VBox and *BSD sources)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/nat_utils.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_fw_nat.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/in_cksum.c
8e2e6c9f8f2157e3ec6599f87343bdc453734c4cvboxsyncNatAlias_SOURCES += Network/nat/src/sys/net/if.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/net/if_ef.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/net/if_ethersubr.c
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncNatAlias_SOURCES += Network/nat/src/sys/net/route.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/net/pfil.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/net/netisr.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/net/radix.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_options.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_timewait.c
76cb9831bbeaff3bb30068363e35660a776736c4vboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_timer.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/if_ether.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/in.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/in_pcb.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/in_proto.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/in_rmx.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/in_mcast.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_icmp.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_fastfwd.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_output.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_input.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_mroute.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_id.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/raw_ip.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_syncache.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_sack.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_subr.c
8e2e6c9f8f2157e3ec6599f87343bdc453734c4cvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_input.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_output.c
8e2e6c9f8f2157e3ec6599f87343bdc453734c4cvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_reass.c
8e2e6c9f8f2157e3ec6599f87343bdc453734c4cvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_hostcache.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/tcp_usrreq.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/udp_usrreq.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/subr_eventhandler.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/kern_mbuf.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/kern_subr.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/kern_resource.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/kern_time.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/kern_clock.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/kern/kern_timeout.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/subr_sbuf.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/uipc_mbuf.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/uipc_mbuf2.c
dda5fed714d3b8d79d67cf5cc0e4ccc629b5120bvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/uipc_sockbuf.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/uipc_socket.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/kern/uipc_domain.c
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncNatAlias_SOURCES += Network/nat/src/sys/vm/uma_core.c
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/ip_fw2.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_cuseeme.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_db.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_dummy.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_ftp.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_irc.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_mod.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_nbt.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_pptp.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_proxy.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_skinny.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync#NatAlias_SOURCES += Network/nat/src/sys/libalias/alias_smedia.c
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncNatAlias_SOURCES += Network/nat/src/sys/netinet/libalias/alias_util.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_SOURCES.amd64 += Network/nat/src/sys/amd64/amd64/in_cksum.c
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_INCS += Network/nat/src/sys
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncNatAlias_INCS.amd64 += Network/nat/src/sys/amd64/include
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync# -- OS specific --
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),darwin)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SOURCES := $(filter-out \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync , $(Drivers_SOURCES)) \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncendif # darwin
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),freebsd)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SOURCES := $(filter-out \
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsync , $(Drivers_SOURCES))
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncendif # freebsd
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncifeq ($(KBUILD_TARGET),l4)
ae41886ba231ade1b868dd32ff24ee49813ebbabvboxsyncDrivers_SOURCES = \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifeq ($(KBUILD_TARGET),os2)
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncDrivers_SOURCES := $(filter-out \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync , $(Drivers_SOURCES))
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifeq ($(KBUILD_TARGET),solaris)
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncDrivers_SOURCES := $(filter-out \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync , $(Drivers_SOURCES))
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsync $(if $(VBOX_SOLARIS_10),,Network/DrvTAP.cpp) \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync ifdef VBOX_WITH_CROSSBOW
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_SOURCES += Network/solaris/vbox-libdlpi.cpp
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS += VBOX_WITH_CROSSBOW
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync ifdef VBOX_WITH_SUID_WRAPPER
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS += VBOX_WITH_SUID_WRAPPER
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync# -- features --
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_ISCSI
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_SOURCES += \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS += VBOX_WITH_ISCSI
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync VBoxDDU_SOURCES += \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync VBoxDDU_DEFS += VBOX_WITH_ISCSI
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncendif # VBOX_WITH_ISCSI
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_ALSA
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS.linux += VBOX_WITH_ALSA
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_PULSE
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsync Drivers_DEFS.linux += VBOX_WITH_PULSE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_USB
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsync Drivers_DEFS += VBOX_WITH_USB IN_USB_R3
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_SOURCES += \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync ifdef VBOX_WITH_VRDP
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS += VBOX_WITH_VRDP
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_SOURCES += \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS.darwin += VUSB_HAVE_USBPROXY_DEVICE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS.darwin += VBOX_WITH_NEW_USB_CODE_ON_DARWIN
b377a71756cce9f39d25b561f72bfa33ce8a39devboxsync Drivers_DEFS.linux += VUSB_HAVE_USBPROXY_DEVICE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync ifdef VBOX_WITHOUT_LINUX_COMPILER_H
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS.linux += VBOX_WITHOUT_LINUX_COMPILER_H
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS.l4 += VUSB_HAVE_USBPROXY_DEVICE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS.os2 += VUSB_HAVE_USBPROXY_DEVICE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_INCS.os2 += $(PATH_ROOT)/src/VBox/HostDrivers/VBoxUSB/os2
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsync Drivers_DEFS.win += VUSB_HAVE_USBPROXY_DEVICE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS.solaris += VUSB_HAVE_USBPROXY_DEVICE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncendif # VBOX_WITH_USB
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_PDM_ASYNC_COMPLETION
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS += VBOX_WITH_PDM_ASYNC_COMPLETION
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_SOURCES += \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncendif #VBOX_WITH_PDM_ASYNC_COMPLETION
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_BUSLOGIC
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_DEFS += VBOX_WITH_BUSLOGIC
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync Drivers_SOURCES += \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncendif # VBOX_WITH_BUSLOGIC
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync# Ring-0 Services (library, linked into VMMR0.r0)
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncServicesR0_TEMPLATE = VBOXR0
0f77dc54d7ec617480988ccdfcd080f480e79698vboxsyncServicesR0_DEFS = IN_INTNET_R0 IN_RT_R0
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncServicesR0_SOURCES = \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync# Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_TESTCASES
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync PROGRAMS += tstIntNetR0
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstIntNetR0_TEMPLATE = VBOXR3TSTEXE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstIntNetR0_DEFS = IN_INTNET_R0
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstIntNetR0_SOURCES = \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync# Internal Networking - Ring-3 Testcase for the Ring-0 code (a bit hackish).
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_TESTCASES
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync PROGRAMS += tstIntNet-1
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstIntNet-1_TEMPLATE = VBOXR3TSTEXE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstIntNet-1_SOURCES = \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync# EEPROM device unit test requires cppunit
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_CPPUNIT_TESTCASES
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsyncifdef VBOX_WITH_E1000
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync PROGRAMS += tstDevEEPROM
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstDevEEPROM_TEMPLATE = VBOXCPPUNITEXE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstDevEEPROM_SOURCES = \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstDevEEPROM_LIBS = \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync $(TARGET_DevicesR3)
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync PROGRAMS += tstDevPhy
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstDevPhy_TEMPLATE = VBOXCPPUNITEXE
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstDevPhy_SOURCES = \
bc0c1e33e433d1276ea1606ace81f61594ee3838vboxsync tstDevPhy_DEFS = PHY_UNIT_TEST
4aafb1203580a5c145a7bdae57ebf69a36fa4f01vboxsyncinclude $(KBUILD_PATH)/subfooter.kmk