Makefile.kmk revision 18ef45ed44013c0259d156b9a9dfe79e1a752dc2
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# $Id$
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## @file
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Sub-Makefile for the IPRT (IPRT).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Copyright (C) 2006-2010 Sun Microsystems, Inc.
a0a3a26a4065b9401681a8c99a11bd83e08f94ccvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# available from http://www.virtualbox.org. This file is free software;
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# you can redistribute it and/or modify it under the terms of the GNU
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# General Public License (GPL) as published by the Free Software
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# The contents of this file may alternatively be used under the terms
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# of the Common Development and Distribution License Version 1.0
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VirtualBox OSE distribution, in which case the provisions of the
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# CDDL are applicable instead of those of the GPL.
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync#
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync# You may elect to license modified versions of this file under the
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync# terms and conditions of either the GPL or the CDDL or both.
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync#
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# additional information or have any questions.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncSUB_DEPTH = ../../..
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_ONLY_ADDITIONS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # Only build the additions, sort out the legacy names first.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifdef VBOX_WITH_ADDITION_DRIVERS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync LIBRARIES += RuntimeGuestR0
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync LIBRARIES.win.x86 += RuntimeGuestR0NT4
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncelse ifdef VBOX_ONLY_DOCS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # Build docs only - need just regular R3 runtime.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync LIBRARIES += RuntimeR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync DLLS += VBoxRT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsyncelse # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync # Normal build.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync #
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
acca7ab818eb8c2832aa27e27ce53133fba927dbvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync BLDPROGS += uniread
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync LIBRARIES += RuntimeR3 RuntimeR0 RuntimeEFCPP RuntimeR3NoCRTGCC
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync LIBRARIES.win += RuntimeR0Stub
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync ifdef VBOX_WITH_RAW_MODE
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync LIBRARIES += RuntimeRC
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync LIBRARIES.win += RuntimeRCStub
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync endif
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync ifdef VBOX_WITH_VBOXDRV
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync LIBRARIES += RuntimeR0Drv
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync endif
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync ifdef VBOX_WITH_ADDITIONS
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync ifdef VBOX_WITH_ADDITION_DRIVERS
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync LIBRARIES += RuntimeGuestR0
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync endif
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync LIBRARIES.win.x86 += RuntimeGuestR0NT4
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync endif # VBOX_WITH_ADDITIONS
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync LIBRARIES.l4 += RuntimeR3L4 RuntimeLnxHostR3
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync DLLS += VBoxRT
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsyncendif
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync# Where the generated stuff goes.
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsyncIPRT_OUT_DIR := $(PATH_TARGET)/Runtime
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncBLDDIRS += $(IPRT_OUT_DIR)
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncOTHER_CLEAN += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(IPRT_OUT_DIR)/errmsgdata.h \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(IPRT_OUT_DIR)/errmsgcomdata.h \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(IPRT_OUT_DIR)/errmsgvboxcomdata.h \
5eb36887f6970e0033f63fa135f3bb8fbfd6059bvboxsync $(IPRT_OUT_DIR)/Doxyfile.iprt \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(IPRT_OUT_DIR)/Doxyfile.iprt.dep \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(IPRT_OUT_DIR)/docs.iprt
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Globals
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBOX_PATH_RUNTIME_SRC := $(PATH_SUB_CURRENT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Set the defines that buildconfig.cpp needs. Its used by several targets.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsynccommon/misc/buildconfig.cpp_DEFS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync IPRT_BLDCFG_SCM_REV=$(VBOX_SVN_REV) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync IPRT_BLDCFG_VERSION_MAJOR=$(VBOX_VERSION_MAJOR) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync IPRT_BLDCFG_VERSION_MINOR=$(VBOX_VERSION_MINOR) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync IPRT_BLDCFG_VERSION_BUILD=$(VBOX_VERSION_BUILD)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Unicode Specification reader used to regenerate unidata.cpp.
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync#
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncuniread_TEMPLATE = VBOXBLDPROG
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncuniread_SOURCES = common/string/uniread.cpp
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncuniread_INCS = include
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync#
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync# Win64 assembly sources.
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeWin64ASM_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMAtomicBitClear.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMAtomicBitTestAndToggle.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMAtomicBitToggle.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMAtomicReadU64.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMAtomicXchgU16.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMAtomicXchgU8.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMBitFirstClear.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMBitFirstSet.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMGetCS.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMGetDS.asm \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync win/amd64/ASMGetES.asm \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync win/amd64/ASMGetFlags.asm \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync win/amd64/ASMGetFS.asm \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync win/amd64/ASMGetGS.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMGetIDTR.asm \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync win/amd64/ASMGetGDTR.asm \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync win/amd64/ASMGetTR.asm \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync win/amd64/ASMGetSS.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMProbeReadByte.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMSetFlags.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMGetDR0.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMGetDR1.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMGetDR2.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/amd64/ASMGetDR3.asm \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync win/amd64/ASMGetDR6.asm \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync win/amd64/ASMGetDR7.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMAtomicCmpXchgU8.asm \
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync common/asm/ASMMultU64ByU32DivByU32.asm \
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync common/asm/ASMNopPause.asm
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync#
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync# Win32 assembly sources.
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeWin32ASM_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMAtomicCmpXchgU8.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMMultU64ByU32DivByU32.asm
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# NoCRT sources (minus math stuff).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeNoCrt_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/setjmp.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memchr.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memcmp.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memcpy.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/mempcpy.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memmove.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memset.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strchr.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strcpy.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strcmp.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strlen.asm
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
a0a3a26a4065b9401681a8c99a11bd83e08f94ccvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeR3 - Static Runtime for Ring-3 executables.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_TEMPLATE = VBoxR3Static
a0a3a26a4065b9401681a8c99a11bd83e08f94ccvboxsyncRuntimeR3_SDKS = VBOX_LIBXML2 VBOX_BOOST
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SDKS.win = WINPSDK W2K3DDK
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX RT_NO_GIP
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef IPRT_WITH_KSTUFF
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_DEFS += LDR_WITH_KLDR
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef VBOX_MAIN_RELEASE_LOG ## @todo (dmik): temporary, until RTThreadSelf/RTThreadAdopt are properly updated
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_DEFS += RTCRITSECT_STRICT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef IPRT_WITH_LZJB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_DEFS += RTZIP_USE_LZJB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef IPRT_WITH_LZO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_DEFS += RTZIP_USE_LZO
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef IPRT_WITH_FUTEX_BASED_SEMS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_DEFS.linux += IPRT_WITH_FUTEX_BASED_SEMS
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_INCS = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync include \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(SDK_VBOX_ZLIB_INCS)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_INCS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_ROOT)/src/libs/liblzf-3.4
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef IPRT_WITH_KSTUFF
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_INCS += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_ROOT)/src/libs/kStuff/kStuff/include
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_INCS.l4 = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(L4_INCDIR)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeR3_INCS.solaris = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# /usr/include
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/alloc/alloc.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/alloc/heapsimple.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/alloc/heapoffset.cpp \
a0a3a26a4065b9401681a8c99a11bd83e08f94ccvboxsync common/alloc/memcache.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/adler32.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/crc32-zlib.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/crc64.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/md5.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/md5str.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/ipv4.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/dbg/dbg.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/dbg/dbgas.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/dbg/dbgmod.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/dbg/dbgmodcontainer.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/dbg/dbgmodnm.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/err/errmsg.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/err/RTErrConvertFromErrno.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/err/RTErrConvertToErrno.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/ldr/ldr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/ldr/ldrELF.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/ldr/ldrEx.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/ldr/ldrFile.cpp \
7755c0a4b7b215f612d9d27848c2584ffafe7a66vboxsync common/ldr/ldrNative.cpp \
7755c0a4b7b215f612d9d27848c2584ffafe7a66vboxsync common/ldr/ldrPE.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/log.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logellipsis.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logrel.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logrelellipsis.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logcom.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logformat.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg1Weak.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2Add.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2AddWeak.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync common/misc/RTAssertMsg2AddWeakV.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync common/misc/RTAssertMsg2Weak.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync common/misc/RTAssertMsg2WeakV.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync common/misc/RTFileOpenF.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync common/misc/RTFileOpenV.cpp \
602e0e27740395dba64bee2e0a8aef023ebd7650vboxsync common/misc/assert.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/buildconfig.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/cache.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/cidr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/getopt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/getoptargv.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/handletable.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/handletablectx.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/handletablesimple.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/lockvalidator.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/message.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/once.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/req.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/sanity-c.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/sanity-cpp.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/semspingpong.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/thread.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/zip.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/term.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/tar.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/rtPathRootSpecLen.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/rtPathVolumeSpecLen.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathAbsDup.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathAbsEx.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathAbsExDup.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathAppend.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathChangeToDosSlashes.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathChangeToUnixSlashes.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathCopyComponents.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathCountComponents.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathExt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathFilename.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathHaveExt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathHavePath.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathJoin.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/path/RTPathParse.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/path/RTPathRealDup.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/path/RTPathStripExt.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/path/RTPathStripFilename.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/path/RTPathStripTrailingSlash.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/RTPathTraverseList.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/path/comparepaths.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/rand/rand.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/rand/randadv.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/rand/randparkmiller.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/RTStrCmp.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/RTStrConvertHexBytes.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/RTStrNCmp.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/RTStrNLen.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/RTStrNLenEx.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/RTStrPrintHexBytes.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/RTStrStr.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/base64.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/simplepattern.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/string/straprintf.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strformat.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strformatrt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strformattype.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/stringalloc.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strprintf.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strspace.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strstrip.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strtonum.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strversion.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/uni.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/unidata.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/utf-16.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/utf-8.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/utf-8-case.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/ministring.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlgcptr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlhcphys.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avllu32.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlou32.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlogcphys.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlogcptr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlohcphys.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avloioport.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlpv.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlrgcptr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlrogcphys.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlrogcptr.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/table/avlroioport.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlroogcptr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlruintptr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlrfoff.cpp \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/table/avlu32.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/table/avluintptr.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/table/avlul.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/table/table.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/time/time.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/time/timeprog.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/time/timesup.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/critsect-generic.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/env-generic.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/RTDirCreateTemp-generic.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/RTEnvDupEx-generic.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/RTFileCopy-generic.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/RTFileQuerySize-generic.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/RTFileReadAll-generic.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync generic/RTFileReadAllEx-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTFileReadAllByHandle-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTFileReadAllByHandleEx-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTFileReadAllFree-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteStdErr-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteStdOut-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteUser-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpGetDescription-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimerLRCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/mempool-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/semfastmutex-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/semxroads-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/spinlock-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/strcache-stubs-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/timerlr-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/alloc-ef.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/alloc.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/dir.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/fileio.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/fs.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/init.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/path.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/process.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/stream.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/test.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/testi.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/tcp.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/generic/semspinmutex-r3-generic.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeR3_SOURCES += common/time/timesupA.asm
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#else
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_SOURCES += common/time/timesupref.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef IPRT_WITH_LZJB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_SOURCES += common/misc/lzjb.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Some versions of GCC might require this.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES.x86 += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMAtomicXchgU64.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMAtomicCmpXchgU64.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMAtomicCmpXchgExU64.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMAtomicReadU64.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/asm/ASMAtomicUoReadU64.asm
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifdef IPRT_WITH_KSTUFF
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/ldr/ldrkStuff.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBox specific stuff.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBox/RTAssertShouldPanic-vbox.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBox/log-vbox.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifneq ($(KBUILD_TARGET),win)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/err/errmsgxpcom.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(if $(VBOX_WITH_DBUS),VBox/dbus.cpp,)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES.win = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTDirExists-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/RTDirQueryInfo-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTDirSetTimes-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTFileExists-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpGetCurFrequency-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpGetMaxFrequency-generic.cpp \
48807baed22246206b9855f41d1fd106f0679b3avboxsync generic/RTRandAdvCreateSystemFaster-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTRandAdvCreateSystemTruer-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemEventWait-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemEventMultiWait-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemMutexRequest-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemMutexRequestDebug-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSystemQueryDmiString-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/mppresent-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/uuid-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTProcIsRunningByName-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTThreadGetNativeState-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync nt/RTErrConvertFromNtStatus.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/RTSystemQueryOSInfo-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/alloc-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/dir-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/fileio-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/fs-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/ldrNative-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/localipc-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/mp-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/path-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/process-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/RTLogWriteDebugger-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/rtProcInitExePath-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/sched-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/semevent-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/semeventmulti-win.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/win/semmutex-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/rtFileNativeSetAttributes-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/thread-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/time-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/timer-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/tls-win.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/win/utf16locale-win.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/win/utf8-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/RTUuidCreate-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/errmsgwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/RTErrConvertFromWin32.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncRuntimeR3_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsyncRuntimeR3_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncRuntimeR3_SOURCES.linux = \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync generic/pathhost-generic.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync generic/RTDirQueryInfo-generic.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync generic/RTDirSetTimes-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/RTFileMove-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/RTLogWriteDebugger-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/RTTimeLocalNow-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/RTTimerCreate-generic.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync generic/RTUuidCreate-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/mppresent-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/utf16locale-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/uuid-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/linux/RTThreadGetNativeState-linux.cpp \
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync r3/linux/mp-linux.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/rtProcInitExePath-linux.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/sched-linux.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/sysfs.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/time-linux.cpp \
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync r3/linux/RTProcIsRunningByName-linux.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/RTSystemQueryDmiString-linux.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTFileQueryFsSizes-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTSystemQueryOSInfo-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/alloc-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/dir-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fileio-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/filelock-posix.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/fs-posix.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/ldrNative-posix.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/path-posix.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/posix/process-posix.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/posix/rand-posix.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/posix/RTTimeNow-posix.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/posix/RTTimeSet-posix.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/posix/semrw-posix.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/posix/thread-posix.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync r3/posix/timelocal-posix.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/timer-posix.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/tls-posix.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/utf8-posix.cpp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsyncifdef IPRT_WITH_FUTEX_BASED_SEMS
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync RuntimeR3_SOURCES.linux += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/semevent-linux.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/semeventmulti-linux.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/semmutex-linux.cpp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsyncelse
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync RuntimeR3_SOURCES.linux.x86 += \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/semevent-posix.cpp \
cbfe19957042925c835c6aee6722a0e7af852783vboxsync r3/posix/semeventmulti-posix.cpp \
cbfe19957042925c835c6aee6722a0e7af852783vboxsync r3/posix/semmutex-posix.cpp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync RuntimeR3_SOURCES.linux.amd64 += \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/linux/semevent-linux.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/linux/semeventmulti-linux.cpp
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync ifdef RT_NEW_LINUX_MUTEX_CODE
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync RuntimeR3_SOURCES.linux.amd64 += \
cbfe19957042925c835c6aee6722a0e7af852783vboxsync r3/linux/semmutex-linux.cpp
cbfe19957042925c835c6aee6722a0e7af852783vboxsync else
cbfe19957042925c835c6aee6722a0e7af852783vboxsync RuntimeR3_SOURCES.linux.amd64 += \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync r3/posix/semmutex-posix.cpp
cbfe19957042925c835c6aee6722a0e7af852783vboxsync endif
cbfe19957042925c835c6aee6722a0e7af852783vboxsyncendif
cbfe19957042925c835c6aee6722a0e7af852783vboxsync
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsyncRuntimeR3_SOURCES.os2 = \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync generic/pathhost-generic.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync generic/RTDirQueryInfo-generic.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync generic/RTDirSetTimes-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/RTFileMove-generic.cpp \
7fee49908ea4b9f6cb4f9cc745633c4969ed6318vboxsync generic/RTLogWriteDebugger-generic.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync generic/RTRandAdvCreateSystemFaster-generic.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync generic/RTRandAdvCreateSystemTruer-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSystemQueryDmiString-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimeLocalNow-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimerCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTUuidCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/mppresent-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemEventWait-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemEventMultiWait-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemMutexRequest-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSemMutexRequestDebug-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/timer-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/utf16locale-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/uuid-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpGetCurFrequency-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpGetMaxFrequency-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTProcIsRunningByName-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTThreadGetNativeState-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync os2/RTErrConvertFromOS2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/os2/filelock-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/os2/mp-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/os2/rtProcInitExePath-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/os2/sched-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/os2/sems-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/os2/thread-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/os2/time-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTFileQueryFsSizes-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTSystemQueryOSInfo-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/alloc-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/dir-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fileio-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fs-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/ldrNative-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/path-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/process-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTTimeNow-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTTimeSet-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/timelocal-posix.cpp \
a0a3a26a4065b9401681a8c99a11bd83e08f94ccvboxsync r3/posix/utf8-posix.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES.darwin = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync darwin/RTErrConvertFromDarwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync darwin/RTErrConvertFromDarwinCOM.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync darwin/RTErrConvertFromDarwinIO.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync darwin/RTErrConvertFromDarwinKern.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/pathhost-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTDirQueryInfo-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTDirSetTimes-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTFileMove-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteDebugger-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSystemQueryDmiString-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimeLocalNow-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimerCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTUuidCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/mppresent-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/timer-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/utf16locale-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/uuid-generic.cpp\
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTProcIsRunningByName-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTThreadGetNativeState-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/darwin/alloc-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/darwin/filelock-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/darwin/mp-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/darwin/rtProcInitExePath-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/darwin/sched-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/darwin/time-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTFileQueryFsSizes-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTSystemQueryOSInfo-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTTimeSet-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/dir-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fileio-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fs-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/ldrNative-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/path-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/process-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/rand-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/semevent-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/semeventmulti-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/semmutex-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/thread-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/timelocal-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/tls-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/utf8-posix.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## @todo Make BSD sched, implement RTMP*.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3_SOURCES.freebsd = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/pathhost-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTDirQueryInfo-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTDirSetTimes-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTFileMove-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteDebugger-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTSystemQueryDmiString-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimeLocalNow-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimerCreate-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTUuidCreate-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/mppresent-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/sched-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/utf16locale-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/uuid-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpCpuId-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpCpuIdFromSetIndex-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpCpuIdToSetIndex-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpIsCpuPossible-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpGetMaxCpuId-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpGetOnlineSet-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpGetSet-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTMpIsCpuOnline-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTProcIsRunningByName-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTThreadGetNativeState-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/freebsd/mp-freebsd.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/freebsd/alloc-freebsd.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/freebsd/rtProcInitExePath-freebsd.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/RTFileQueryFsSizes-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/RTSystemQueryOSInfo-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/dir-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/env-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/fileio-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/filelock-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/fs-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/ldrNative-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/path-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/process-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/rand-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/RTMpGetCount-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/RTTimeNow-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/RTTimeSet-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/semevent-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/semeventmulti-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/semmutex-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/semrw-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/thread-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/time-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/timelocal-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/timer-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/tls-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/utf8-posix.cpp
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncRuntimeR3_SOURCES.solaris = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/pathhost-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTDirQueryInfo-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTDirSetTimes-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTFileMove-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteDebugger-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimeLocalNow-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimerCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTUuidCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/sched-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/utf16locale-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/uuid-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTProcIsRunningByName-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTThreadGetNativeState-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTFileQueryFsSizes-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTSystemQueryOSInfo-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/dir-posix.cpp \
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync r3/posix/env-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fileio-posix.cpp \
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync r3/posix/filelock-posix.cpp \
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync r3/posix/fs-posix.cpp \
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync r3/posix/ldrNative-posix.cpp \
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsync r3/posix/path-posix.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r3/posix/process-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/rand-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTTimeNow-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTTimeSet-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/semevent-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/semeventmulti-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/semmutex-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/semrw-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/thread-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/time-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/timelocal-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/timer-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/tls-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/utf8-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/solaris/alloc-solaris.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/solaris/mp-solaris.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/solaris/RTSystemQueryDmiString-solaris.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/solaris/rtProcInitExePath-solaris.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## PORTME: Porters add their selection of platform specific files for Ring-3 here.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync#
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync# L4 RuntimeR3 subtarget since L4 headers won't work with VBOXR3.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3L4_TEMPLATE = VBOXR3NP
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncRuntimeR3L4_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF LDR_WITH_PE
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncifneq ($(KBUILD_TARGET_ARCH),amd64)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3L4_DEFS += __PIC__
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR3L4_INCS = \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync include \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync $(L4_INCDIR)
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncRuntimeR3L4_SOURCES = \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/fs-stubs-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/pathhost-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTDirQueryInfo-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTDirSetTimes-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTFileMove-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTLogWriteDebugger-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTSystemQueryOSInfo-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTSystemQueryDmiString-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTTimeLocalNow-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTUuidCreate-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/mppresent-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/sched-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTSemEventWait-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTSemEventMultiWait-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTSemMutexRequest-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTSemMutexRequestDebug-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/utf16locale-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/uuid-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTProcIsRunningByName-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTThreadGetNativeState-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync l4/l4-errno.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync l4/rtProcInitExePath-l4.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync l4/process-l4env.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync l4/sems-l4env.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync l4/thread-l4env.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync l4/timer-l4env.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync l4/utf8-l4env.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTFileQueryFsSizes-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/alloc-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/dir-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fileio-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/filelock-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/ldrNative-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/path-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/rand-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTTimeNow-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/RTTimeSet-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/time-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/timelocal-posix.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeGuestR3 - Guest Additions Runtime (static/exe).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# (The KBUILD_HOST inheritance here is for l4 cross building the linux
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# additions, while .x86 is for cross building x86 while targeting amd64.)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_TEMPLATE := VBOXGUESTR3LIB
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## @todo change this to EXTEND the RuntimeR3 target.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_SDKS.win := $(RuntimeR3_SDKS.win)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_DEFS := $(filter-out RTCRITSECT_STRICT RT_NO_GIP, $(RuntimeR3_DEFS))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_INCS := $(RuntimeR3_INCS)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_SOURCES := $(filter-out \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/time/timesupref.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/time/timesupA.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/time/timesup.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteUser-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync , $(RuntimeR3_SOURCES))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/time/timesysalias.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBox/logbackdoor.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_TARGET) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_HOST) := $(RuntimeR3_SOURCES.$(KBUILD_HOST))
ae5fc6ddd3d2ccdb941b1aacd23f6791fecc3354vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET_ARCH))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH))
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeGuestR3Shared - Guest Additions Runtime (static/dll).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Shared_TEMPLATE := VBOXGUESTR3DLL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Shared_EXTENDS := RuntimeGuestR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Shared_INST = $(INST_ADDITIONS_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeGuestR3Mini - Minimal Guest Additions Runtime which does not require
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# initialization and can be linked into an .so. Intended
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync# for X11 drivers, GRADD and similar.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_TEMPLATE := VBOXGUESTR3DLL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## @todo change this to EXTEND the RuntimeGuestR3 target.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_INST := $(INST_ADDITIONS_LIB)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_SDKS.win := $(RuntimeR3_SDKS.win)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_DEFS := $(filter-out RTCRITSECT_STRICT RT_NO_GIP, $(RuntimeR3_DEFS)) RT_MINI
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsyncRuntimeGuestR3Mini_INCS := $(RuntimeR3_INCS)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_SOURCES = \
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync common/err/errmsg.cpp \
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync common/err/errmsgxpcom.cpp \
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync common/err/RTErrConvertFromErrno.cpp \
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync common/log/logformat.cpp \
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync common/misc/RTAssertMsg1Weak.cpp \
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync common/misc/RTAssertMsg2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2Add.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2AddWeak.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2AddWeakV.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2Weak.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2WeakV.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/assert.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/buildconfig.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/sanity-c.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/sanity-cpp.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/rtPathVolumeSpecLen.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathAbsDup.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathAbsEx.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathAbsExDup.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathAppend.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathExt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathFilename.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/path/RTPathHaveExt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathHavePath.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathJoin.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/path/RTPathParse.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathRealDup.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathStripExt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathStripFilename.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathStripTrailingSlash.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/RTStrCmp.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/RTStrNCmp.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/RTStrNLen.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/RTStrNLenEx.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/RTStrStr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/straprintf.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strformat.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strformatrt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strformattype.cpp \
29a65fa8b740a860f86812328cf900b8d68d93bevboxsync common/string/stringalloc.cpp \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync common/string/strprintf.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strtonum.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/unidata.cpp \
29a65fa8b740a860f86812328cf900b8d68d93bevboxsync common/string/utf-8.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/utf-8-case.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/utf-16.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/pathhost-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTAssertShouldPanic-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/alloc.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/fileio.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/fs.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_SOURCES.freebsd = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync r3/posix/fileio-posix.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync r3/posix/path-posix.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync r3/posix/utf8-posix.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_SOURCES.linux = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fileio-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/path-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/utf8-posix.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_SOURCES.solaris = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/env-posix.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync r3/posix/fileio-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/path-posix.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/utf8-posix.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_SOURCES.win = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/fileio-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/path-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/utf8-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync win/errmsgwin.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync win/RTErrConvertFromWin32.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBox specific stuff.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeGuestR3Mini_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBox/logbackdoor.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBox/logbackdoor-redirect.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeLnxHostR3 Linux host program runtime
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync# (Only used when building L4.)
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync#
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncRuntimeLnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncRuntimeLnxHostR3_DEFS = IN_RT_R3 IN_SUP_R3 RT_WITH_VBOX RT_NO_GIP
af0a09edb4c1431b606fe207d4138da008f67f13vboxsyncRuntimeLnxHostR3_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(RuntimeR3_SOURCES.linux.$(KBUILD_TARGET_ARCH)) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(RuntimeR3_SOURCES.linux) \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(RuntimeR3_SOURCES)
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsyncRuntimeLnxHostR3_INCS = \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync $(RuntimeR3_INCS.linux.$(KBUILD_TARGET_ARCH)) \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync $(RuntimeR3_INCS.linux) \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync $(RuntimeR3_INCS)
602e0e27740395dba64bee2e0a8aef023ebd7650vboxsync
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# VBoxRT - Shared Object / DLL version.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_TEMPLATE = VBoxR3Dll
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SDKS = VBOX_OPENSSL VBOX_LIBXML2 VBOX_LIBCURL VBOX_BOOST
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif1of ($(KBUILD_TARGET)$(VBOX_WITH_HARDENING), darwin win)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_INST = $(INST_DLL) $(INST_TESTCASE)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_DEFS = $(filter-out RT_NO_GIP,$(RuntimeR3_DEFS)) IN_SUP_R3 IN_SUP_R3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_DEFS.$(KBUILD_TYPE) = $(RuntimeR3_DEFS.$(KBUILD_TYPE))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync VBox/VBoxRTDeps.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(RuntimeR3_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES += \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/misc/s3.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync r3/xml.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/checksum/RTSha1Digest.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/checksum/manifest.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/checksum/sha1.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/checksum/sha1str.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/checksum/sha256.cpp \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/checksum/sha256str.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/sha512.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/sha512str.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.$(KBUILD_TARGET) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET_ARCH))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.win += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/dllmain-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/win/fileaio-win.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(VBoxRT_0_OUTDIR)/VBoxRT.def
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.linux += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/linux/fileaio-linux.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.solaris += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/solaris/fileaio-solaris.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.darwin += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/posix/fileaio-posix.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT_SOURCES.freebsd += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r3/freebsd/fileaio-freebsd.cpp
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncVBoxRT_INCS = $(RuntimeR3_INCS)
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncVBoxRT_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_LIBS = \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync $(PATH_LIB)/VBox-liblzf$(VBOX_SUFF_LIB) \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync $(SDK_VBOX_ZLIB_LIBS)
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncifdef IPRT_WITH_KSTUFF
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync VBoxRT_LIBS += \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync $(PATH_LIB)/VBox-kStuff$(VBOX_SUFF_LIB)
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncendif
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncifndef SDK_VBOX_LIBXML2_LIBS
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync VBoxRT_LIBS += \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync $(PATH_LIB)/VBox-libxml2$(VBOX_SUFF_LIB)
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncendif
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncifndef SDK_VBOX_OPENSSL_LIBS
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync VBoxRT_LIBS += \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync $(PATH_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB)
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncendif
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncifdef IPRT_WITH_LZO
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync VBoxRT_LIBS += lzo2
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncendif
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncVBoxRT_LIBS.darwin = \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync iconv
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsyncVBoxRT_LIBS.freebsd = \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync iconv \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync rt
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_LIBS.solaris = \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync kstat smbios
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_LDFLAGS.darwin = -framework IOKit -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxRT.dylib
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncifdef VBOX_USE_VCC80
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_LDFLAGS.win = /MANIFEST
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncendif
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_LDFLAGS.l4 = \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync -Wl,-whole-archive \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB) \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync -Wl,-no-whole-archive
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncifeq ($(KBUILD_TARGET),l4)
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_LIBS += \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync $(L4_LIBDIR)/libl4sys.a \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync $(L4_LIBDIR)/libl4sys.p.a
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncendif
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncVBoxRT_LIBS.l4 = \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB)
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsyncif1of ($(DLLS), VBoxRT)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync$$(VBoxRT_0_OUTDIR)/VBoxRT.def: \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$$(if-expr $$(KBUILD_TARGET_ARCH) == amd64,win64,win32).def \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(PATH_SUB_CURRENT)/r3/win/$(if $(VBOX_OSE),VBoxRT-openssl-ose.def,VBoxRT-openssl.def)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(RM) -f -- $@
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(REDIRECT) -wto $@ -- $(CAT_EXT) $^
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# HACK ALLERT! Make testcase run during build on SELinux boxes.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# Create a dummy DLL that ensure that VBoxRT is installed
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# during the DLL pass and cleaned up later.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncifeq ($(KBUILD_TARGET),linux)
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync if1of (VBoxRT, $(DLLS))
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync ifneq ($(wildcard /usr/bin/chcon),)
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncVBoxRT_NOINST = true
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncDLLS += VBoxRTDummy
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRTDummy_TEMPLATE = VBOXR3
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRTDummy_NOINST = true
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRTDummy_LIBS = $(PATH_BIN)/VBoxRT.so
8d7d8eab781262b9db094374b166806c03786fa2vboxsyncVBoxRTDummy_CLEAN= $(PATH_BIN)/VBoxRT.so
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncBLDDIRS += $(PATH_BIN)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync$(PATH_BIN)/VBoxRT.so: $$(TARGET_VBoxRT) | $$(dir $$@)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(INSTALL) $< $@
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync chcon -t texrel_shlib_t $@ || true
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncVBoxRT:: VBoxRTDummy
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif # chcon present.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync endif # building VBoxRT
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif # linux
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeR3NoCRTGCC - CRT replacement lib for VBoxREM.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# This is used together with VBoxRT.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
bc5c5b5cd56ce8e64ada076691018f1dff17b2c2vboxsync## @todo the *_alias.c stuff is busted, remove and use RT_WITH_NOCRT_ALIASES instead.
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR3NoCRTGCC_TEMPLATE = VBOXNOCRTGCC
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR3NoCRTGCC_LIBSUFF = $(VBOX_SUFF_LIB)
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR3NoCRTGCC_INCS = include
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR3NoCRTGCC_SOURCES = \
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync common/misc/sanity-cpp.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/sanity-c.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/ceill.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/cosl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/fabs.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/fabsf.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/fabsl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/floor.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/floorf.asm \
6abae205eac4f4a16f6ad5a2a71ed1f36d6a57b0vboxsync common/math/floorl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/ldexpl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/llrint.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/llrintf.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/llrintl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/logl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/lrint.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/lrintf.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/lrintl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/remainder.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/remainderf.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/remainderl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/sinl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/tanl.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/trunc.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/truncf.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/truncl.asm \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(RuntimeNoCrt_SOURCES) \
090c459b9e90ca46e2ce2b8c81533ade3b23f3e9vboxsync \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memchr_alias.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memcmp_alias.c \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync common/string/memcpy_alias.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memmove_alias.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memset_alias.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/string/strchr_alias.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/string/strcmp_alias.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/string/strlen_alias.c
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncRuntimeR3NoCRTGCC_SOURCES.x86 = \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/x86/fenv-x86.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/adddi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/anddi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/ashldi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/ashrdi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/cmpdi2.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/divdi3.c \
11c2b573e2625474a51ae55ee1f3f82936f125davboxsync common/math/gcc/iordi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/lshldi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/lshrdi3.c \
cbfe19957042925c835c6aee6722a0e7af852783vboxsync common/math/gcc/moddi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/muldi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/negdi2.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/notdi2.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/qdivrem.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/subdi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/ucmpdi2.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/udivdi3.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/math/gcc/umoddi3.c \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/math/gcc/xordi3.c
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync## @todo stop using the old memcpy.c and memset.c code.
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync#
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync# RuntimeR0 - Ring-0 library for VMMR0.
db07105a44f53e9e2377ade02cd3dbe482647cb9vboxsync#
db07105a44f53e9e2377ade02cd3dbe482647cb9vboxsyncRuntimeR0_TEMPLATE = VBoxR0
db07105a44f53e9e2377ade02cd3dbe482647cb9vboxsyncRuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncRuntimeR0_INCS = include
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsyncRuntimeR0_SOURCES = \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/checksum/crc32.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/checksum/crc64.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/checksum/md5.cpp \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync common/checksum/ipv4.cpp \
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync common/log/logellipsis.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logrelellipsis.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logcom.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logformat.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg1Weak.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2Add.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2AddWeak.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/misc/RTAssertMsg2AddWeakV.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/misc/RTAssertMsg2Weak.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/misc/RTAssertMsg2WeakV.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/misc/buildconfig.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/misc/handletable.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/misc/handletablectx.cpp \
cbfe19957042925c835c6aee6722a0e7af852783vboxsync common/misc/handletablesimple.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/misc/sanity-c.c \
cbfe19957042925c835c6aee6722a0e7af852783vboxsync common/misc/sanity-cpp.cpp \
cbfe19957042925c835c6aee6722a0e7af852783vboxsync common/misc/term.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/string/strformat.cpp \
04b02ffb8824a60fd37777bc1f7d2f35104a274cvboxsync common/string/strformatrt.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/string/strformattype.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/string/strncmp.cpp \
be9960565d2df0031f0e6c8a4610f5f0ae8c1845vboxsync common/string/strpbrk.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strprintf.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlgcptr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlhcphys.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avllu32.cpp \
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync common/table/avlogcphys.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlogcptr.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlohcphys.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avloioport.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlpv.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/table/avlrogcphys.cpp \
f45123ab6638fb0a030ffbfa96598635efd24a01vboxsync common/table/avlrogcptr.cpp \
f45123ab6638fb0a030ffbfa96598635efd24a01vboxsync common/table/avlroioport.cpp \
f45123ab6638fb0a030ffbfa96598635efd24a01vboxsync common/table/avlroogcptr.cpp \
f45123ab6638fb0a030ffbfa96598635efd24a01vboxsync common/table/avlu32.cpp \
f45123ab6638fb0a030ffbfa96598635efd24a01vboxsync common/table/avlou32.cpp \
f45123ab6638fb0a030ffbfa96598635efd24a01vboxsync common/time/timesup.cpp \
f45123ab6638fb0a030ffbfa96598635efd24a01vboxsync generic/RTAssertShouldPanic-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync $(RuntimeNoCrt_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncif1of ($(KBUILD_TARGET), darwin solaris freebsd)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0_SOURCES += \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/adddi3.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/anddi3.c \
a0a3a26a4065b9401681a8c99a11bd83e08f94ccvboxsync common/math/gcc/ashldi3.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/ashrdi3.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/cmpdi2.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/divdi3.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/iordi3.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/lshldi3.c \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/math/gcc/lshrdi3.c \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/math/gcc/moddi3.c \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/math/gcc/muldi3.c \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/math/gcc/negdi2.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/notdi2.c \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/math/gcc/qdivrem.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/subdi3.c \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/math/gcc/ucmpdi2.c \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/math/gcc/udivdi3.c \
78df65edff21c11c537f38e736707ea434ab5623vboxsync common/math/gcc/umoddi3.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/math/gcc/xordi3.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncendif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
78df65edff21c11c537f38e736707ea434ab5623vboxsync#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeR0_SOURCES += common/time/timesupA.asm
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#else
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync RuntimeR0_SOURCES += common/time/timesupref.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#endif
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncRuntimeR0_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0_SOURCES.win = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync nt/NtProcessStartup-stub.cpp
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0_SOURCES.os2 = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync os2/RTErrConvertFromOS2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync os2/sys0.asm
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync
5d6df5999c0e844db1af3c6def0a9abac5120d3bvboxsync
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync# RuntimeR0Stub - Ring-0 context startup stub for Windows.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Stub_TEMPLATE = VBoxR0
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncRuntimeR0Stub_SOURCES.win = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync nt/NtProcessStartup-stub.cpp
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync#
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync# RuntimeR0Drv - Ring-0 library for host drivers.
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync#
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_TEMPLATE = VBOXR0DRV
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncRuntimeR0Drv_SDKS.win = W2K3DDK WINPSDKINCS
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS RT_NO_EXPORT_SYMBOL
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR0Drv_DEFS.win = IN_SUP_R0
740011a32913a7f759d5b747def605a2b820c3fcvboxsyncRuntimeR0Drv_DEFS.linux = MODULE KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) IN_SUP_R0
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR0Drv_INCS := $(PATH_SUB_CURRENT) include
740011a32913a7f759d5b747def605a2b820c3fcvboxsyncRuntimeR0Drv_INCS.freebsd = \
740011a32913a7f759d5b747def605a2b820c3fcvboxsync $(PATH_INS)/gen-sys-hdrs
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_INCS.linux = \
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync r0drv/linux
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsyncRuntimeR0Drv_INCS.solaris = \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/solaris/vbi/i86pc \
01283af355575e02820380d73a30a474f425fd3dvboxsync r0drv/solaris/vbi/i86pc/sys
01283af355575e02820380d73a30a474f425fd3dvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_SOURCES = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/alloc/alloc.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/alloc/heapsimple.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/alloc/heapoffset.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/crc32.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/crc64.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/md5.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/checksum/ipv4.cpp \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync common/log/log.cpp \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync common/log/logellipsis.cpp \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync common/log/logrel.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logrelellipsis.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logcom.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/log/logformat.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg1Weak.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/misc/RTAssertMsg2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2Add.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2AddWeak.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2AddWeakV.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2Weak.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/RTAssertMsg2WeakV.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/assert.cpp \
37a7e3e6f9ce5f6cabeb3f734044e9e8ca9cb1bfvboxsync common/misc/buildconfig.cpp \
0433783a793d5ced0dc7f9dcf102143b66e1cd2cvboxsync common/misc/handletable.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/handletablectx.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/misc/handletablesimple.cpp \
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync common/misc/once.cpp \
740011a32913a7f759d5b747def605a2b820c3fcvboxsync common/misc/sanity-c.c \
740011a32913a7f759d5b747def605a2b820c3fcvboxsync common/misc/sanity-cpp.cpp \
740011a32913a7f759d5b747def605a2b820c3fcvboxsync common/misc/term.cpp \
740011a32913a7f759d5b747def605a2b820c3fcvboxsync common/path/rtPathVolumeSpecLen.cpp \
740011a32913a7f759d5b747def605a2b820c3fcvboxsync common/path/RTPathAbsDup.cpp \
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync common/path/RTPathAbsEx.cpp \
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync common/path/RTPathAbsExDup.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathAppend.cpp \
ed82223f8f7be1435bf9b203a0ee4fbdfc856dc8vboxsync common/path/RTPathExt.cpp \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync common/path/RTPathFilename.cpp \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync common/path/RTPathHaveExt.cpp \
63a3c5be7ac89d0d5b3386988f8c2f78df0cacf6vboxsync common/path/RTPathHavePath.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathParse.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathRealDup.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathStripExt.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/path/RTPathStripFilename.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/path/RTPathStripTrailingSlash.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/rand/rand.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/rand/randadv.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync common/rand/randparkmiller.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync common/string/RTStrCmp.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync common/string/RTStrNCmp.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/RTStrNLen.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/RTStrNLenEx.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strformat.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strformatrt.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strformattype.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/strprintf.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strtonum.cpp \
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync common/string/stringalloc.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync common/string/utf-16.cpp \
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync common/string/utf-8.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync common/table/avlpv.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync generic/RTLogWriteStdErr-stub-generic.cpp \
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync generic/RTLogWriteUser-generic.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync generic/RTRandAdvCreateSystemFaster-generic.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync generic/uuid-generic.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync r0drv/alloc-r0drv.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync r0drv/initterm-r0drv.cpp \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync r0drv/generic/semspinmutex-r0drv-generic.c \
d8707f50ca9ff2792d9acb7addb52467098d1b47vboxsync VBox/log-vbox.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync## @todo: Linking against RuntimeR0Drv on Linux will result in unresolved external
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync## references to several string functions (e.g. strlen). We could include the
be302cc3dbc037aaebbadbf9057662a88b3b23a8vboxsync## missing functions here but our own implementations conflict with declarations
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## of some Linux kernels (inline versus not inline, size_t versus unsigned int).
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync##
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## The prototypes for the unresolved externals are declared in <linux/string.h>.
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync## This file is not included with extern "C" { ... } and therefore the function
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## prototypes are mangled during C++ compilation. That's why we have to provide
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync## implementations with mangled function names.
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync##
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync## bird: Why don't we just extern "C" {} that file then?
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsyncRuntimeR0Drv_SOURCES.linux = \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/string/strpbrk.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/err/RTErrConvertToErrno.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/err/RTErrConvertFromErrno.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTAssertShouldPanic-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteStdOut-stub-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/mppresent-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/linux/alloc-r0drv-linux.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/linux/assert-r0drv-linux.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/linux/initterm-r0drv-linux.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/linux/memobj-r0drv-linux.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/linux/memuserkernel-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/mp-r0drv-linux.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/linux/mpnotification-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/process-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/semevent-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/semeventmulti-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/semfastmutex-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/semmutex-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/spinlock-r0drv-linux.c \
b2e90826ea719b22452d1ff7b977d4f40995b428vboxsync r0drv/linux/thread-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/thread2-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/time-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/linux/timer-r0drv-linux.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/memobj-r0drv.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/mpnotification-r0drv.c \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/powernotification-r0drv.c
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync## @todo thread2-r0drv-linux.c and assert-r0drv-linux.c
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsyncRuntimeR0Drv_SOURCES.win = \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/misc/thread.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/memcmp.asm \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/memchr.asm \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync common/string/memcpy.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memset.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memmove.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strlen.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strncmp.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync common/string/strpbrk.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTAssertShouldPanic-generic.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync generic/RTLogWriteStdOut-stub-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/mppresent-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync nt/RTErrConvertFromNtStatus.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/memobj-r0drv.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/mpnotification-r0drv.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/powernotification-r0drv.c \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/nt/alloc-r0drv-nt.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/nt/assert-r0drv-nt.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/nt/initterm-r0drv-nt.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/nt/memobj-r0drv-nt.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/nt/memuserkernel-r0drv-nt.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/nt/mp-r0drv-nt.cpp \
f632be0ea31134f1ce343e84c90d7984d2bf96b2vboxsync r0drv/nt/mpnotification-r0drv-nt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/nt/process-r0drv-nt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/nt/RTLogWriteDebugger-r0drv-nt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/nt/semevent-r0drv-nt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/nt/semeventmulti-r0drv-nt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/nt/semfastmutex-r0drv-nt.cpp \
f3abe19bdaeea1b354674327ee95707281a6ad83vboxsync r0drv/nt/semmutex-r0drv-nt.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/nt/spinlock-r0drv-nt.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/nt/thread-r0drv-nt.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/nt/thread2-r0drv-nt.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/nt/time-r0drv-nt.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/nt/timer-r0drv-nt.cpp
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_SOURCES.darwin = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/err/RTErrConvertFromErrno.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/thread.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memchr.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strpbrk.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync darwin/RTErrConvertFromDarwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync darwin/RTErrConvertFromDarwinIO.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync darwin/RTErrConvertFromDarwinKern.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTAssertShouldPanic-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimerCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/mppresent-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/timer-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/generic/mpnotification-r0drv-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/alloc-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/assert-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/initterm-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/memobj-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/mp-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/memuserkernel-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/process-r0drv-darwin.cpp \
8e29dabca04cf55fde8755871d14abde99ef7236vboxsync r0drv/darwin/RTLogWriteDebugger-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/RTLogWriteStdOut-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/semaphore-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/spinlock-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/thread-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/thread2-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/threadpreempt-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/darwin/time-r0drv-darwin.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/memobj-r0drv.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/powernotification-r0drv.c
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_SOURCES.os2 = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memchr.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memcmp.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memcpy.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/mempcpy.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memmove.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/memset.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strchr.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strcmp.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strcpy.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strlen.asm \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strncmp.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/string/strpbrk.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/thread.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTAssertShouldPanic-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteDebugger-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTLogWriteStdOut-stub-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpCpuId-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpCpuIdFromSetIndex-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpCpuIdToSetIndex-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpIsCpuPossible-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpGetCount-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync generic/RTMpGetMaxCpuId-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync generic/RTMpGetOnlineCount-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTMpGetOnlineSet-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync generic/RTMpGetSet-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync generic/RTMpIsCpuOnline-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/RTTimerCreate-generic.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync generic/mppresent-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync os2/RTErrConvertFromOS2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync os2/sys0.asm \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/generic/RTMpOn-r0drv-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/generic/mpnotification-r0drv-generic.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/memobj-r0drv.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/powernotification-r0drv.c \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/alloc-r0drv-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/os2/assert-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/assertA-r0drv-os2.asm \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/initterm-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/memobj-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/memuserkernel-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/os2imports.imp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/os2/process-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/RTR0AssertPanicSystem-r0drv-os2.asm \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/RTR0Os2DHQueryDOSVar.asm \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/RTR0Os2DHVMGlobalToProcess.asm \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/semevent-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/semeventmulti-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/semfastmutex-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/spinlock-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/thread-r0drv-os2.cpp \
b14965bee0bfb359e6ce9db6beaa4add9935fe3cvboxsync r0drv/os2/thread2-r0drv-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/os2/time-r0drv-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/os2/timer-r0drv-os2.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync r0drv/os2/timerA-r0drv-os2.asm
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsyncRuntimeR0Drv_SOURCES.freebsd = \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/err/RTErrConvertFromErrno.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/err/RTErrConvertToErrno.cpp \
30a23dfc653298a09d77d3045cf873b1bd6ddecfvboxsync common/misc/thread.cpp \
common/string/memchr.asm \
common/string/memmove.asm \
common/string/strpbrk.cpp \
common/string/memcmp.asm \
common/string/strchr.asm \
generic/RTAssertShouldPanic-generic.cpp \
generic/RTLogWriteDebugger-generic.cpp \
generic/RTLogWriteStdOut-stub-generic.cpp \
generic/RTTimerCreate-generic.cpp \
generic/mppresent-generic.cpp \
r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
r0drv/generic/mpnotification-r0drv-generic.cpp \
r0drv/freebsd/alloc-r0drv-freebsd.c \
r0drv/freebsd/assert-r0drv-freebsd.c \
r0drv/freebsd/initterm-r0drv-freebsd.c \
r0drv/freebsd/memobj-r0drv-freebsd.c \
r0drv/freebsd/memuserkernel-r0drv-freebsd.c \
r0drv/freebsd/process-r0drv-freebsd.c \
r0drv/freebsd/semevent-r0drv-freebsd.c \
r0drv/freebsd/semeventmulti-r0drv-freebsd.c \
r0drv/freebsd/semfastmutex-r0drv-freebsd.c \
r0drv/freebsd/spinlock-r0drv-freebsd.c \
r0drv/freebsd/thread-r0drv-freebsd.c \
r0drv/freebsd/thread2-r0drv-freebsd.c \
r0drv/freebsd/time-r0drv-freebsd.c \
r0drv/freebsd/mp-r0drv-freebsd.c \
generic/timer-generic.cpp \
r0drv/memobj-r0drv.cpp \
r0drv/powernotification-r0drv.c
RuntimeR0Drv_SOURCES.solaris = \
common/err/RTErrConvertFromErrno.cpp \
common/err/RTErrConvertToErrno.cpp \
common/misc/thread.cpp \
common/string/memchr.asm \
generic/RTAssertShouldPanic-generic.cpp \
generic/RTLogWriteStdOut-stub-generic.cpp \
generic/RTTimerCreate-generic.cpp \
generic/mppresent-generic.cpp \
r0drv/memobj-r0drv.cpp \
r0drv/mpnotification-r0drv.c \
r0drv/powernotification-r0drv.c \
r0drv/solaris/RTLogWriteDebugger-r0drv-solaris.c \
r0drv/solaris/assert-r0drv-solaris.c \
r0drv/solaris/initterm-r0drv-solaris.c \
r0drv/solaris/memuserkernel-r0drv-solaris.c \
r0drv/solaris/semevent-r0drv-solaris.c \
r0drv/solaris/semeventmulti-r0drv-solaris.c \
r0drv/solaris/semfastmutex-r0drv-solaris.c \
r0drv/solaris/spinlock-r0drv-solaris.c
# VBI is now compiled into IPRT
RuntimeR0Drv_SOURCES.solaris += \
r0drv/solaris/vbi/RTMpPokeCpu-r0drv-solaris.c \
r0drv/solaris/vbi/mpnotification-r0drv-solaris.c \
r0drv/solaris/vbi/alloc-r0drv-solaris.c \
r0drv/solaris/vbi/memobj-r0drv-solaris.c \
r0drv/solaris/vbi/mp-r0drv-solaris.c \
r0drv/solaris/vbi/process-r0drv-solaris.c \
r0drv/solaris/vbi/thread-r0drv-solaris.c \
r0drv/solaris/vbi/thread2-r0drv-solaris.c \
r0drv/solaris/vbi/time-r0drv-solaris.c \
r0drv/solaris/vbi/timer-r0drv-solaris.c \
r0drv/solaris/vbi/i86pc/os/vbi.c
## PORTME: Porters create and add their selection of platform specific Ring-0 Driver files here.
RuntimeR0Drv_ORDERDEPS.freebsd = \
$(PATH_INS)/gen-sys-hdrs/bus_if.h \
$(PATH_INS)/gen-sys-hdrs/device_if.h
#
# RuntimeGuestR0 - Guest driver runtime.
# This is almost the same as the RuntimeR0Drv, the main difference
# is in the backdoor logging and the lack of sup.h (which should be
# made irrelevant even for RuntimeR0Drv).
#
RuntimeGuestR0_TEMPLATE := VBOXGUESTR0LIB
RuntimeGuestR0_SOURCES := $(filter-out generic/RTLogWriteUser-generic.cpp, $(RuntimeR0Drv_SOURCES))
RuntimeGuestR0_SOURCES += \
VBox/logbackdoor.cpp
RuntimeGuestR0_EXTENDS = RuntimeR0Drv
#
# RuntimeGuestR0NT4 - Win32 NT4 guest driver runtime.
#
RuntimeGuestR0NT4_EXTENDS = RuntimeGuestR0
RuntimeGuestR0NT4_EXTENDS_BY = appending
RuntimeGuestR0NT4_DEFS = IPRT_TARGET_NT4
ifdef VBOX_WITH_RAW_MODE
#
# RuntimeRC - Raw-mode context library.
#
RuntimeRC_TEMPLATE = VBoxRc
RuntimeRC_DEFS = IN_RT_RC RT_WITH_VBOX
RuntimeRC_INCS = include
RuntimeRC_SOURCES = \
common/log/log.cpp \
common/log/logellipsis.cpp \
common/log/logrel.cpp \
common/log/logrelellipsis.cpp \
common/log/logcom.cpp \
common/log/logformat.cpp \
common/misc/RTAssertMsg1Weak.cpp \
common/misc/RTAssertMsg2.cpp \
common/misc/RTAssertMsg2Add.cpp \
common/misc/RTAssertMsg2AddWeak.cpp \
common/misc/RTAssertMsg2AddWeakV.cpp \
common/misc/RTAssertMsg2Weak.cpp \
common/misc/RTAssertMsg2WeakV.cpp \
common/misc/assert.cpp \
common/misc/buildconfig.cpp \
common/misc/sanity-c.c \
common/misc/sanity-cpp.cpp \
common/string/strformat.cpp \
common/string/strformatrt.cpp \
common/string/strformattype.cpp \
common/string/strncmp.cpp \
common/string/strpbrk.cpp \
common/string/strprintf.cpp \
common/table/avllu32.cpp \
common/table/avlou32.cpp \
common/table/avlogcphys.cpp \
common/table/avlogcptr.cpp \
common/table/avlohcphys.cpp \
common/table/avloioport.cpp \
common/table/avlrogcphys.cpp \
common/table/avlrogcptr.cpp \
common/table/avlroioport.cpp \
common/table/avlroogcptr.cpp \
common/table/avlu32.cpp \
common/time/timeprog.cpp \
common/time/timesup.cpp \
gc/initterm-gc.cpp \
generic/RTAssertShouldPanic-generic.cpp \
\
$(RuntimeNoCrt_SOURCES)
#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
# RuntimeRC_SOURCES += common/time/timesupA.asm
#else
RuntimeRC_SOURCES += common/time/timesupref.cpp
#endif
RuntimeRC_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
ifeq ($(VBOX_LDR_FMT32),lx)
RuntimeRC_SOURCES += os2/sys0.asm
endif
if1of ($(KBUILD_TARGET), darwin solaris freebsd)
RuntimeRC_SOURCES += \
common/math/gcc/adddi3.c \
common/math/gcc/anddi3.c \
common/math/gcc/ashldi3.c \
common/math/gcc/ashrdi3.c \
common/math/gcc/cmpdi2.c \
common/math/gcc/divdi3.c \
common/math/gcc/iordi3.c \
common/math/gcc/lshldi3.c \
common/math/gcc/lshrdi3.c \
common/math/gcc/moddi3.c \
common/math/gcc/muldi3.c \
common/math/gcc/negdi2.c \
common/math/gcc/notdi2.c \
common/math/gcc/qdivrem.c \
common/math/gcc/subdi3.c \
common/math/gcc/ucmpdi2.c \
common/math/gcc/udivdi3.c \
common/math/gcc/umoddi3.c \
common/math/gcc/xordi3.c
endif
#
# RuntimeRCStub - Raw-mode context startup stub for Windows.
#
RuntimeRCStub_TEMPLATE = VBoxRc
RuntimeRCStub_SOURCES.win = \
nt/NtProcessStartup-stub.cpp
endif # VBOX_WITH_RAW_MODE
#
# Static library for new & delete for the electric fence.
#
RuntimeEFCPP_TEMPLATE = $(RuntimeR3_TEMPLATE)
RuntimeEFCPP_SDKS = $(RuntimeR3_SDKS)
RuntimeEFCPP_SDKS.$(KBUILD_TARGET) = $(RuntimeR3_SDKS.$(KBUILD_TARGET))
RuntimeEFCPP_DEFS = $(RuntimeR3_DEFS)
RuntimeEFCPP_DEFS.$(KBUILD_TARGET) = $(RuntimeR3_DEFS.$(KBUILD_TARGET))
RuntimeEFCPP_INCS = $(RuntimeR3_INCS)
RuntimeEFCPP_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
RuntimeEFCPP_SOURCES = r3/alloc-ef-cpp.cpp
#
# errmsg.cpp depends on a generated header.
#
common/err/errmsg.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h
common/err/errmsg.cpp_INCS = $(IPRT_OUT_DIR)
win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgcomdata.h
win/errmsgwin.cpp_INCS = $(IPRT_OUT_DIR)
# Our COM errors only for R3 libraries on the host
define def_errmsgwin_deps
$(lib)_win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
$(lib)_common/err/errmsgxpcom.cpp_INCS = $(IPRT_OUT_DIR)
$(lib)_common/err/errmsgxpcom.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
endef
$(foreach lib,RuntimeR3 VBoxRT RuntimeLnxHostR3,$(eval $(def_errmsgwin_deps)))
#
# Generate the status code data.
#
$(IPRT_OUT_DIR)/errmsgdata.h: \
$(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \
$(PATH_ROOT)/include/iprt/err.h \
$(PATH_ROOT)/include/VBox/err.h \
| $$(dir $$@)
$(call MSG_GENERATE,,$@,$(filter %.h,$^))
$(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
## @todo r=bird: rename this to indicate that it's not only COM errors, but all win32/64 errors.
$(IPRT_OUT_DIR)/errmsgcomdata.h: \
$(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgcom.sed \
$$(PATH_SDK_WINPSDK_INC)/WinError.h \
| $$(dir $$@)
$(call MSG_GENERATE,,$@,$(filter %.h,$^))
$(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
$(IPRT_OUT_DIR)/errmsgvboxcomdata.h: \
$(VBOX_PATH_RUNTIME_SRC)/VBox/errmsgvboxcom.xsl \
$(VBOX_XIDL_FILE_SRC) \
| $$(dir $$@)
$(call MSG_GENERATE,,$@,$(filter %.xidl,$^))
$(VBOX_XSLTPROC) -o $@ $< $(filter %.xidl,$^)
if "$(KBUILD_TARGET)" == "freebsd"
#
# FreeBSDGeneratedKernelHeaders - Generate some kernel interface headers.
#
# These are used by:
# - The RTMp* API in IPRT.
# - VBoxGuest
#
# Note! We cannot give a output path to the awk program, it will always
# generate the header next to the source. So, we'll have to temporarily copy
# the source file to the destination directory to work.
#
VBOX_AWK := /usr/bin/awk
INSTALLS += FreeBSDGeneratedKernelHeaders
FreeBSDGeneratedKernelHeaders_INST = gen-sys-hdrs/
FreeBSDGeneratedKernelHeaders_SOURCES = \
$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h \
$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h \
$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h
FreeBSDGeneratedKernelHeaders_CLEAN = $(FreeBSDGeneratedKernelHeaders_SOURCES)
$$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m | $$(dir $$@)
$(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
$(QUIET)$(CP) -f $< $(@D)/bus_if.m
$(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/bus_if.m -h -p
$(QUIET)$(RM) $(@D)/bus_if.m
$$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m | $$(dir $$@)
$(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
$(QUIET)$(CP) -f $< $(@D)/device_if.m
$(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/device_if.m -h -p
$(QUIET)$(RM) $(@D)/device_if.m
$$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h: $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m | $$(dir $$@)
$(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
$(QUIET)$(CP) -f $< $(@D)/pci_if.m
$(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/pci_if.m -h -p
$(QUIET)$(RM) $(@D)/pci_if.m
endif # FreeBSD
#
# Aliases for .cpp.h files so we can more easily do syntax checking from the editor.
#
ldrELFRelocatable.cpp.o: ldrELF.o
ldrELFRelocatable.cpp.obj: ldrELF.obj
#
# Doxygen documentation.
#
IPRT_DOXYFILE_INPUT_DIRS = \
$(PATH_ROOT)/include/iprt \
$(PATH_ROOT)/include/iprt/cpp \
$(PATH_ROOT)/include/iprt/linux \
$(PATH_ROOT)/include/iprt/nocrt \
$(PATH_ROOT)/include/iprt/nocrt/x86 \
$(PATH_ROOT)/include/iprt/nocrt/amd64 \
$(PATH_ROOT)/include/iprt/nocrt/compiler \
$(VBOX_PATH_RUNTIME_SRC)/include/internal \
$(VBOX_PATH_RUNTIME_SRC)/common/alloc \
$(VBOX_PATH_RUNTIME_SRC)/common/asm \
$(VBOX_PATH_RUNTIME_SRC)/common/checksum \
$(VBOX_PATH_RUNTIME_SRC)/common/dbg \
$(VBOX_PATH_RUNTIME_SRC)/common/err \
$(VBOX_PATH_RUNTIME_SRC)/common/ldr \
$(VBOX_PATH_RUNTIME_SRC)/common/log \
$(VBOX_PATH_RUNTIME_SRC)/common/math \
$(VBOX_PATH_RUNTIME_SRC)/common/math/amd64 \
$(VBOX_PATH_RUNTIME_SRC)/common/math/gcc \
$(VBOX_PATH_RUNTIME_SRC)/common/math/x86 \
$(VBOX_PATH_RUNTIME_SRC)/common/misc \
$(VBOX_PATH_RUNTIME_SRC)/common/path \
$(VBOX_PATH_RUNTIME_SRC)/common/rand \
$(VBOX_PATH_RUNTIME_SRC)/common/string \
$(VBOX_PATH_RUNTIME_SRC)/common/table \
$(VBOX_PATH_RUNTIME_SRC)/common/time \
$(VBOX_PATH_RUNTIME_SRC)/VBox \
$(foreach dir, $(VBOX_PATH_RUNTIME_SRC) $(VBOX_PATH_RUNTIME_SRC)/r3 $(VBOX_PATH_RUNTIME_SRC)/r0drv,\
$(dir) \
$(dir)/darwin \
$(dir)/l4 \
$(dir)/linux \
$(dir)/nt \
$(dir)/os2 \
$(dir)/win \
$(dir)/win32 \
$(dir)/win64 \
$(dir)/generic \
)
# These must come first in order to make things look nice.
IPRT_DOXYFILE_INPUT_FIRST =\
$(PATH_ROOT)/include/iprt/cdefs.h \
$(PATH_ROOT)/include/iprt/types.h \
$(PATH_ROOT)/include/iprt/runtime.h \
$(PATH_ROOT)/include/iprt/param.h \
$(PATH_ROOT)/include/iprt/assert.h \
$(PATH_ROOT)/include/iprt/asm.h \
IPRT_DOXYFILE_INPUT := \
$(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(IPRT_DOXYFILE_INPUT_DIRS)))) ) \
$(foreach dir, $(IPRT_DOXYFILE_INPUT_DIRS), $(wildcard $(dir)/*.cpp $(dir)/.c $(dir)/.asm))
IPRT_DOXYFILE_INPUT := \
$(IPRT_DOXYFILE_INPUT_FIRST) \
$(filter-out $(IPRT_DOXYFILE_INPUT_FIRST), $(IPRT_DOXYFILE_INPUT))
IPRT_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/iprt
BLDDIRS += $(IPRT_DOXYFILE_OUTPUT)
includedep $(IPRT_OUT_DIR)/Doxyfile.iprt.dep
# Generate the Doxyfile
$(IPRT_OUT_DIR)/Doxyfile.iprt: \
$(VBOX_PATH_RUNTIME_SRC)/Doxyfile \
$(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \
$(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_INPUT_PREV,FORCE) \
$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \
| $$(dir $$@)
$(RM) -f $@ $@.tmp $@.dep
$(CP) -f $(VBOX_PATH_RUNTIME_SRC)/Doxyfile $@.tmp
$(APPEND) $@.tmp
$(APPEND) $@.tmp "OUTPUT_DIRECTORY = $(IPRT_DOXYFILE_OUTPUT)"
$(APPEND) $@.tmp "WARN_LOGFILE = $(IPRT_DOXYFILE_OUTPUT)/errors"
$(APPEND) $@.tmp "INCLUDE_PATH = $(PATH_ROOT)/include include . common/table"
$(APPEND) $@.tmp "INCLUDE_FILE_PATTERNS = *.cpp.h"
$(APPEND) $@.tmp "PREDEFINED += $(ARCH_BITS_DEFS)"
$(APPEND) $@.tmp
$(APPEND) $@.tmp "INPUT = $(IPRT_DOXYFILE_INPUT)"
$(APPEND) $@.tmp
$(MV) -f $@.tmp $@
@$(APPEND) $@.dep "DOXYGEN_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)"
@$(APPEND) $@.dep "DOXYGEN_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)"
# Do the actual job.
$(IPRT_OUT_DIR)/docs.iprt: $(IPRT_OUT_DIR)/Doxyfile.iprt $$(IPRT_DOXYFILE_INPUT) | $(IPRT_DOXYFILE_OUTPUT)/
$(RM) -f $(wildcard $(IPRT_DOXYFILE_OUTPUT)/html/*) $(IPRT_OUT_DIR)/docs.iprt
doxygen $(IPRT_OUT_DIR)/Doxyfile.iprt
$(APPEND) $(IPRT_OUT_DIR)/docs.iprt
# aliases
docs.iprt: $(IPRT_OUT_DIR)/docs.iprt
if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
docs: $(IPRT_OUT_DIR)/docs.iprt
endif
test-doxygen::
@echo test-$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE)
@echo $(IPRT_DOXYFILE_OUTPUT)
@echo $(DOXYGEN_OUTPUT_PREV)
@echo $(IPRT_DOXYFILE_INPUT)
#
# Generate the rules (we're the to sub-makefile).
#
include $(KBUILD_PATH)/subfooter.kmk