Makefile.kmk revision cafb2a317e62d2a683cf94997d60bd442194e33d
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# $Id$
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync## @file
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync# Sub-Makefile for the IPRT (IPRT).
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync# Copyright (C) 2006-2007 Sun Microsystems, Inc.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# This file is part of VirtualBox Open Source Edition (OSE), as
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# available from http://www.virtualbox.org. This file is free software;
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# you can redistribute it and/or modify it under the terms of the GNU
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# General Public License (GPL) as published by the Free Software
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# Foundation, in version 2 as it comes in the "COPYING" file of the
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# The contents of this file may alternatively be used under the terms
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# of the Common Development and Distribution License Version 1.0
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# VirtualBox OSE distribution, in which case the provisions of the
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# CDDL are applicable instead of those of the GPL.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
43747b1f0bc8302a238fb35e55857a5e9aa1933dvboxsync# You may elect to license modified versions of this file under the
43747b1f0bc8302a238fb35e55857a5e9aa1933dvboxsync# terms and conditions of either the GPL or the CDDL or both.
43747b1f0bc8302a238fb35e55857a5e9aa1933dvboxsync#
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
b0db50948c349fa76655abf252f7946b515e8204vboxsync# Clara, CA 95054 USA or visit http://www.sun.com if you need
2f0d866e126dd288169fed591c259c1c6b4016e5vboxsync# additional information or have any questions.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncDEPTH ?= ../../..
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsyncSUB_DEPTH = .
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsyncinclude $(KBUILD_PATH)/subheader.kmk
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
f5e53763b0a581b0299e98028c6c52192eb06785vboxsyncifdef VBOX_ONLY_ADDITIONS
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync #
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync # Only build the additions, sort out the legacy names first.
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync #
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync ifeq ($(KBUILD_TARGET),win)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync LIBRARIES = RuntimeW32GuestR0 RuntimeW32GuestR3 RuntimeW32NT4GuestR0
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync else
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync LIBRARIES = RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync #LIBRARIES.os2 = RuntimeOS2Warp3GuestR0
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync #LIBRARIES.win = RuntimeW32NT4GuestR0
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync ifndef VBOX_WITH_ADDITION_DRIVERS
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES))
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync endif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync endif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync endif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncelse
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync #
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync # Normal build.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync #
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync include testcase/Makefile.kmk
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync BLDPROGS = uniread
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync LIBRARIES = RuntimeR3 RuntimeR0 RuntimeGC RuntimeEFCPP RuntimeR3NoCRTGCC
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync ifdef VBOX_WITH_VBOXDRV
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync LIBRARIES += RuntimeR0Drv
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync endif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync ifdef VBOX_WITH_ADDITIONS
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync ifdef VBOX_WITH_WIN32_ADDITIONS
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync LIBRARIES += RuntimeW32GuestR0 RuntimeW32GuestR3 RuntimeW32NT4GuestR0
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync endif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync ifneq ($(KBUILD_TARGET),win)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync #LIBRARIES.os2 = RuntimeOS2Warp3GuestR0
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync #LIBRARIES.win = RuntimeW32NT4GuestR0
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync ifndef VBOX_WITH_ADDITION_DRIVERS
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync if1of ($(KBUILD_TARGET), linux l4) # All drivers are optional, can skip RuntimeGuestR0.
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync LIBRARIES := $(filter-out RuntimeGuestR0, $(LIBRARIES))
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync endif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync endif
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync endif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync endif # VBOX_WITH_ADDITIONS
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync LIBRARIES.l4 = RuntimeR3L4 RuntimeLnxHostR3
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync DLLS = VBoxRT
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync OTHER_CLEAN = \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync $(PATH_TARGET)/errmsgdata.h \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync $(PATH_TARGET)/errmsgcomdata.h \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync $(PATH_TARGET)/Doxyfile \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync $(PATH_TARGET)/Doxyfile.dep \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync $(PATH_TARGET)/docs.iprt
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncendif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
36411046d85fccaa66061120a064225fd1b5ae01vboxsync
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync#
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync# Unicode Specification reader used to regenerate unidata.cpp.
0c4004948fca34f2db87e7b38013137e9472c306vboxsync#
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncuniread_TEMPLATE = VBOXBLDPROG
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncuniread_SOURCES = common/string/uniread.cpp
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncuniread_INCS = include
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# Win64 assembly sources.
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsync#
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsyncRuntimeWin64ASM_SOURCES = \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync win/amd64/ASMAtomicBitClear.asm \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync win/amd64/ASMAtomicBitTestAndToggle.asm \
65697a26b524640b83828b715160c798c43a0424vboxsync win/amd64/ASMAtomicBitToggle.asm \
65697a26b524640b83828b715160c798c43a0424vboxsync win/amd64/ASMAtomicReadU64.asm \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync win/amd64/ASMAtomicXchgU16.asm \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync win/amd64/ASMAtomicXchgU8.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync win/amd64/ASMBitFirstClear.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync win/amd64/ASMBitFirstSet.asm \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync win/amd64/ASMGetCS.asm \
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync win/amd64/ASMGetDS.asm \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync win/amd64/ASMGetES.asm \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync win/amd64/ASMGetFlags.asm \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync win/amd64/ASMGetFS.asm \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync win/amd64/ASMGetGS.asm \
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync win/amd64/ASMGetIDTR.asm \
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync win/amd64/ASMGetGDTR.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync win/amd64/ASMGetTR.asm \
0381007ae929f1a0885e69644b7d586a1dbb3a2avboxsync win/amd64/ASMGetSS.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMProbeReadByte.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMSetFlags.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMGetDR0.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMGetDR1.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMGetDR2.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMGetDR3.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMGetDR6.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/amd64/ASMGetDR7.asm \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync common/asm/ASMMultU64ByU32DivByU32.asm
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# Win32 assembly sources.
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync#
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeWin32ASM_SOURCES = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/asm/ASMMultU64ByU32DivByU32.asm
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# RuntimeR3 - Static Runtime for Ring-3 executables.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_TEMPLATE = VBOXR3EXE
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_SDKS.win = WINPSDK W2K3DDK
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsyncifdef IPRT_WITH_KSTUFF
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync RuntimeR3_DEFS += LDR_WITH_KLDR
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsyncendif
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsyncifdef VBOX_MAIN_RELEASE_LOG ## @todo (dmik): temporary, until RTThreadSelf/RTThreadAdopt are properly updated
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync RuntimeR3_DEFS += RTCRITSECT_STRICT
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncendif
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_INCS = \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync include \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync $(PATH_ROOT)/src/libs/liblzf-1.51
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsyncifdef IPRT_WITH_KSTUFF
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync RuntimeR3_INCS += \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync $(PATH_ROOT)/src/libs/kStuff/kStuff/include
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsyncendif
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsyncRuntimeR3_INCS.l4 = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync $(L4_INCDIR)
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# for iconv.h
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_INCS.freebsd = \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync /usr/local/include
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# RuntimeR3_INCS.solaris = \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# /usr/include
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_SOURCES = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/alloc/alloc.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/alloc/heapsimple.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/checksum/crc32.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/checksum/crc64.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/checksum/md5.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/err/errmsg.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/err/RTErrConvertFromErrno.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/ldr/ldr.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync common/ldr/ldrELF.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/ldr/ldrEx.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/ldr/ldrFile.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/ldr/ldrNative.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/ldr/ldrPE.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/log/log.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/log/logcom.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/log/logformat.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/assert.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/cidr.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync common/misc/getopt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/rand.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/req.cpp \
93f91841f87620d1cb6d0238b3d0d5e52cd3b9a4vboxsync common/misc/sanity-c.c \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/sanity-cpp.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/semspingpong.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/thread.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/misc/zip.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/string/straprintf.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/string/strformat.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/strformatrt.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/strformattype.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/string.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/strprintf.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/strspace.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/strstrip.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/strtonum.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/uni.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/unidata.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/utf-16.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/string/utf-8.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/table/avlgcptr.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync common/table/avlhcphys.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avllu32.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avlou32.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync common/table/avlogcphys.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avlogcptr.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avlohcphys.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avloioport.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avlpv.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avlrgcptr.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avlrogcphys.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync common/table/avlrogcptr.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/table/avlroioport.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/table/avlroogcptr.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/table/avlu32.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/table/avlul.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/table/table.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/time/time.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync common/time/timeprog.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync common/time/timesup.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync generic/critsect-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/env-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTFileCopy-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTFileReadAll-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTFileReadAllEx-generic.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync generic/RTFileReadAllByHandle-generic.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync generic/RTFileReadAllByHandleEx-generic.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync generic/RTFileReadAllFree-generic.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync generic/RTLogWriteStdErr-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTLogWriteStdOut-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTLogWriteUser-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/semfastmutex-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/spinlock-generic.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/alloc-ef.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/alloc.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/dir.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/fileio.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/fs.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/init.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/path.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/process.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/stream.cpp \
f687f34bd232be13744edbc0cc5155fa5d4540edvboxsync r3/tcp.cpp
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# RuntimeR3_SOURCES += common/time/timesupA.asm
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync#else
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync RuntimeR3_SOURCES += common/time/timesupref.cpp
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync#endif
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncifdef IPRT_WITH_KSTUFF
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync RuntimeR3_SOURCES += \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync common/ldr/ldrkStuff.cpp
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsyncendif
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# VBox specific stuff.
ead016c68c61b5f2e1fe4d237054eebea9327d4bvboxsyncRuntimeR3_SOURCES += \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync VBox/strformat-vbox.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync VBox/RTAssertDoBreakpoint-vbox.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync VBox/log-vbox.cpp
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsyncifneq ($(KBUILD_TARGET),win)
7ccfefe49db4cd93c3701d7b60873ebf404b5b87vboxsyncRuntimeR3_SOURCES += \
7ccfefe49db4cd93c3701d7b60873ebf404b5b87vboxsync common/err/errmsgxpcom.cpp
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsyncendif
64f58e4154eaa20c47782b429eeaff09070369bfvboxsync
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsyncRuntimeR3_SOURCES.win = \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync generic/rand-stubs-generic.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync generic/RTDirQueryInfo-generic.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync generic/RTDirSetTimes-generic.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync generic/semnoint-generic.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync generic/semsrw-generic.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync nt/RTErrConvertFromNtStatus.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/posix/env-posix.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/alloc-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/dir-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/fileio-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/fs-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/ldrNative-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/mp-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/path-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/process-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/RTLogWriteDebugger-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/sched-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/sems-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/system-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/thread-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/time-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/timer-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/tls-win.cpp \
eb8371e8297aff06a1982468835ff62e1ab77b30vboxsync r3/win/utf16locale-win.cpp \
64f58e4154eaa20c47782b429eeaff09070369bfvboxsync r3/win/utf8-win.cpp \
7ccfefe49db4cd93c3701d7b60873ebf404b5b87vboxsync r3/win/uuid-win.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync win/errmsgwin.cpp \
7ccfefe49db4cd93c3701d7b60873ebf404b5b87vboxsync win/RTErrConvertFromWin32.cpp
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR3_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
65697a26b524640b83828b715160c798c43a0424vboxsyncRuntimeR3_SOURCES.linux = \
65697a26b524640b83828b715160c798c43a0424vboxsync generic/pathhost-generic.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync generic/RTDirQueryInfo-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTDirSetTimes-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTFileMove-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTLogWriteDebugger-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTTimeLocalNow-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTTimerCreate-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/utf16locale-generic.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync generic/uuid-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/linux/sched-linux.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/linux/time-linux.cpp \
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync r3/posix/alloc-posix.cpp \
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync r3/posix/dir-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/env-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/fileio-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/filelock-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/fs-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/ldrNative-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/path-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/process-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/rand-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/RTMpGetCount-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/RTTimeNow-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/semrw-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/system-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/thread-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/timelocal-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/timer-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/tls-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/utf8-posix.cpp
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsyncRuntimeR3_SOURCES.linux.x86 += \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/semevent-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/semeventmulti-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/semmutex-posix.cpp
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsyncRuntimeR3_SOURCES.linux.amd64 += \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/linux/semevent-linux.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/linux/semeventmulti-linux.cpp
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsyncifdef RT_NEW_LINUX_MUTEX_CODE
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync RuntimeR3_SOURCES.linux.amd64 += \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/linux/semmutex-linux.cpp
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsyncelse
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync RuntimeR3_SOURCES.linux.amd64 += \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/semmutex-posix.cpp
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsyncendif
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR3_SOURCES.os2 = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/pathhost-generic.cpp \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync generic/rand-stubs-generic.cpp \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync generic/RTDirQueryInfo-generic.cpp \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync generic/RTDirSetTimes-generic.cpp \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync generic/RTFileMove-generic.cpp \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync generic/RTLogWriteDebugger-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTTimeLocalNow-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTTimerCreate-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/semnoint-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/semsrw-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/timer-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/utf16locale-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/uuid-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync os2/RTErrConvertFromOS2.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/os2/filelock-os2.cpp \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync r3/os2/mp-os2.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/os2/sched-os2.cpp \
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync r3/os2/sems-os2.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/os2/system-os2.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/os2/thread-os2.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/os2/time-os2.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/alloc-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/dir-posix.cpp \
a9f41cb889f53e8407561a6155052c441eb0fc5fvboxsync r3/posix/env-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/fileio-posix.cpp \
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync r3/posix/fs-posix.cpp \
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync r3/posix/ldrNative-posix.cpp \
0dd6dfbebcda0af90da4413aaea5f3b9d1817556vboxsync r3/posix/path-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/process-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/RTTimeNow-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/timelocal-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/utf8-posix.cpp
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsyncRuntimeR3_SOURCES.darwin = \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync darwin/RTErrConvertFromDarwin.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync darwin/RTErrConvertFromDarwinCOM.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync darwin/RTErrConvertFromDarwinIO.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync darwin/RTErrConvertFromDarwinKern.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/pathhost-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTDirQueryInfo-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTDirSetTimes-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTFileMove-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTLogWriteDebugger-generic.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync generic/RTTimeLocalNow-generic.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync generic/RTTimerCreate-generic.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync generic/sched-generic.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync generic/timer-generic.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync generic/utf16locale-generic.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync generic/uuid-generic.cpp\
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/darwin/alloc-darwin.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/darwin/filelock-darwin.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/darwin/time-darwin.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/dir-posix.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync r3/posix/env-posix.cpp \
c2f2661efd8da5281e2a3af6ddd10e737d333909vboxsync r3/posix/fileio-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/fs-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/ldrNative-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/path-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/process-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/RTMpGetCount-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/rand-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/semevent-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/semeventmulti-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/semmutex-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/semrw-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/system-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/thread-posix.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync r3/posix/timelocal-posix.cpp \
4569bf0ad094b40d2e177299a00d37e94d28616cvboxsync r3/posix/tls-posix.cpp \
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync r3/posix/utf8-posix.cpp
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync
fc78e01f665145ab3641c5f8095e9ae984ddcb84vboxsync## @todo Make BSD sched.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR3_SOURCES.freebsd = \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/pathhost-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTDirQueryInfo-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTDirSetTimes-generic.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync generic/RTFileMove-generic.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync generic/RTLogWriteDebugger-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTTimeLocalNow-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTTimerCreate-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/sched-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/utf16locale-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/uuid-generic.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/freebsd/alloc-freebsd.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/dir-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/env-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/fileio-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/filelock-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/fs-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/ldrNative-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/path-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/process-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/rand-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/RTMpGetCount-posix.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r3/posix/RTTimeNow-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/semevent-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/semeventmulti-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/semmutex-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/semrw-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/system-posix.cpp \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync r3/posix/thread-posix.cpp \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync r3/posix/time-posix.cpp \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync r3/posix/timelocal-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/timer-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/tls-posix.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r3/posix/utf8-posix.cpp
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsyncRuntimeR3_SOURCES.solaris = \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync generic/pathhost-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTDirQueryInfo-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTDirSetTimes-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTFileMove-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/RTLogWriteDebugger-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/RTTimeLocalNow-generic.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync generic/RTTimerCreate-generic.cpp \
96a7e06717e2d7398642eadb5ebab1bf13fbe2dbvboxsync generic/sched-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/utf16locale-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/uuid-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync r3/posix/dir-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/env-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/fileio-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/filelock-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/fs-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/ldrNative-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/path-posix.cpp \
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync r3/posix/process-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/rand-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/RTMpGetCount-posix.cpp \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync r3/posix/RTTimeNow-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/semevent-posix.cpp \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync r3/posix/semeventmulti-posix.cpp \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync r3/posix/semmutex-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/semrw-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/system-posix.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r3/posix/thread-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/time-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/timelocal-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/timer-posix.cpp \
ad27e1d5e48ca41245120c331cc88b50464813cevboxsync r3/posix/tls-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/posix/utf8-posix.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/solaris/alloc-solaris.cpp
0c4004948fca34f2db87e7b38013137e9472c306vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync## PORTME: Porters add their selection of platform specific files for Ring-3 here.
0c4004948fca34f2db87e7b38013137e9472c306vboxsync
0c4004948fca34f2db87e7b38013137e9472c306vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# L4 RuntimeR3 subtarget since L4 headers won't work with VBOXR3.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR3L4_TEMPLATE = VBOXR3NP
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR3L4_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF LDR_WITH_PE
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncifneq ($(KBUILD_TARGET_ARCH),amd64)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR3L4_DEFS += __PIC__
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncendif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR3L4_INCS = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync include \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync $(L4_INCDIR)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR3L4_SOURCES = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/fs-stubs-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/pathhost-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTDirQueryInfo-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTDirSetTimes-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTFileMove-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTLogWriteDebugger-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTTimeLocalNow-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/sched-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/semnoint-generic.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync generic/semsrw-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/utf16locale-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/uuid-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync l4/l4-errno.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync l4/process-l4env.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync l4/sems-l4env.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync l4/system-l4env.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync l4/thread-l4env.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync l4/timer-l4env.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync l4/utf8-l4env.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/alloc-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/dir-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/env-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/fileio-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/filelock-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/ldrNative-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/path-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/rand-posix.cpp \
8a339f91959bb7a3315b51a23461b68c7b0cb50evboxsync r3/posix/RTTimeNow-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/time-posix.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r3/posix/timelocal-posix.cpp
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync
9de47c4ec7b0fc9a384e4b815153de399da7b8devboxsync
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync#
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync# RuntimeGuestR3 - Guest Additions Runtime (static).
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync# (The KBUILD_HOST inheritance here is for l4 cross building the linux
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync# additions, while .x86 is for cross building x86 while targeting amd64.)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeGuestR3_TEMPLATE := VBOXGUESTR3LIB
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeGuestR3_SDKS.win := $(RuntimeR3_SDKS.win)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeGuestR3_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS))
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncRuntimeGuestR3_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeGuestR3_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
36411046d85fccaa66061120a064225fd1b5ae01vboxsyncRuntimeGuestR3_INCS := $(RuntimeR3_INCS)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeGuestR3_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncRuntimeGuestR3_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncRuntimeGuestR3_SOURCES := $(filter-out \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync common/time/timesupref.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync common/time/timesupA.asm \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync common/time/timesup.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync generic/RTLogWriteUser-generic.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync , $(RuntimeR3_SOURCES))
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsyncRuntimeGuestR3_SOURCES += \
9de47c4ec7b0fc9a384e4b815153de399da7b8devboxsync common/time/timesysalias.cpp \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync VBox/logbackdoor.cpp
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_TARGET) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_HOST) := $(RuntimeR3_SOURCES.$(KBUILD_HOST))
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH))
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_TARGET).x86 := $(RuntimeR3_SOURCES.$(KBUILD_TARGET).x86)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeGuestR3_SOURCES.$(KBUILD_HOST).x86 := $(RuntimeR3_SOURCES.$(KBUILD_HOST).x86)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# RuntimeGuestR3Mini - Minimal Guest Additions Runtime which does not require
b0db50948c349fa76655abf252f7946b515e8204vboxsync# initialization and can be linked into an .so. Intended
b0db50948c349fa76655abf252f7946b515e8204vboxsync# for X11 drivers, GRADD and similar.
b0db50948c349fa76655abf252f7946b515e8204vboxsync#
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_TEMPLATE := VBOXGUESTR3DLL
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_INST := $(INST_ADDITIONS_LIB)
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_SDKS.win := $(RuntimeR3_SDKS.win)
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS)) RT_MINI
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_INCS := $(RuntimeR3_INCS)
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_SOURCES = \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/err/errmsg.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/err/RTErrConvertFromErrno.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/log/logformat.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/misc/assert.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/misc/sanity-c.c \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/misc/sanity-cpp.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/string/strformat.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/string/strformatrt.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/string/strformattype.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/string/string.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/string/strprintf.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync common/string/unidata.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/utf-8.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/utf-16.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/pathhost-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTAssertDoBreakpoint-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r3/alloc.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/fileio.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/fs.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync r3/path.cpp
b0db50948c349fa76655abf252f7946b515e8204vboxsyncRuntimeGuestR3Mini_SOURCES.linux = \
b0db50948c349fa76655abf252f7946b515e8204vboxsync r3/posix/fileio-posix.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync r3/posix/path-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/utf8-posix.cpp
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeGuestR3Mini_SOURCES.solaris = \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/fileio-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/path-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/utf8-posix.cpp
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeGuestR3Mini_SOURCES.freebsd = \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/fileio-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/path-posix.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r3/posix/utf8-posix.cpp
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync# VBox specific stuff.
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeGuestR3Mini_SOURCES += \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync VBox/logbackdoor.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync VBox/logbackdoor-redirect.cpp \
faee255cc48bfbf17cb9f72fca70c8b9d3020ec4vboxsync VBox/strformat-vbox.cpp
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync# RuntimeW32GuestR3 - Win32 guest program runtime.
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeW32GuestR3_TEMPLATE = VBOXW32GUESTR3LIB
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeW32GuestR3_SDKS = WINPSDK W2K3DDK
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsyncRuntimeW32GuestR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsyncifdef IPRT_WITH_KSTUFF
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync RuntimeW32GuestR3_DEFS += LDR_WITH_KLDR
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsyncendif
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeW32GuestR3_SOURCES = $(RuntimeR3_SOURCES.win) $(RuntimeR3_SOURCES)
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeW32GuestR3_INCS = $(RuntimeR3_INCS.win) $(RuntimeR3_INCS)
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync#
a39ea3668b7019c23a68936259545f9b71bce1aavboxsync# RuntimeLnxHostR3 Linux host program runtime
0db6a029780d9f9b347500e117320a8d5661efe5vboxsync#
da3503c04ce76e653401396fe2795a9bc2427a1dvboxsyncRuntimeLnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncRuntimeLnxHostR3_DEFS = IN_RT_R3 IN_SUP_R3 RT_WITH_VBOX RT_NO_GIP
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeLnxHostR3_SOURCES = \
ee4d840f54fd2dcea8a73b1b86d5ec0db370b05dvboxsync $(RuntimeR3_SOURCES.linux.$(KBUILD_TARGET_ARCH)) \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync $(RuntimeR3_SOURCES.linux) \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync $(RuntimeR3_SOURCES)
cab115cfa31c584def7069312a1e23c3fc88533bvboxsyncRuntimeLnxHostR3_INCS = \
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync $(RuntimeR3_INCS.linux.$(KBUILD_TARGET_ARCH)) \
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync $(RuntimeR3_INCS.linux) \
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync $(RuntimeR3_INCS)
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync#
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync# VBoxRT - Shared Object / DLL version.
cab115cfa31c584def7069312a1e23c3fc88533bvboxsync#
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_TEMPLATE = VBOXR3
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncifeq ($(KBUILD_TARGET),darwin)
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_INST = $(INST_DLL) $(INST_TESTCASE)
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncendif
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_DEFS = $(RuntimeR3_DEFS) IN_SUP_R3 IN_SUP_R3
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_DEFS.$(KBUILD_TYPE) = $(RuntimeR3_DEFS.$(KBUILD_TYPE))
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_SOURCES = \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync VBox/VBoxRTDeps.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync $(RuntimeR3_SOURCES)
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_SOURCES.$(KBUILD_TARGET) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_SOURCES.win += r3/win/dllmain-win.cpp
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_SOURCES.win.x86 += r3/win/VBoxRT-win32.def
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_SOURCES.win.amd64 += r3/win/VBoxRT-win64.def
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_INCS = $(RuntimeR3_INCS)
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_LIBS = \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync $(PATH_LIB)/VBox-liblzf$(VBOX_SUFF_LIB)
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncifdef IPRT_WITH_KSTUFF
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync VBoxRT_LIBS += \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync $(PATH_LIB)/VBox-kStuff$(VBOX_SUFF_LIB)
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncendif
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_LIBS.darwin = \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync iconv
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_LIBS.freebsd = \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync iconv
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncVBoxRT_LIBPATH.freebsd = \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync /usr/local/lib
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsyncVBoxRT_LDFLAGS.darwin = -framework IOKit -install_name @executable_path/VBoxRT.dylib
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsyncifdef VBOX_USE_VCC80
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncVBoxRT_LDFLAGS.win = /MANIFEST
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncendif
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncVBoxRT_LDFLAGS.l4 = \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync -Wl,-whole-archive \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB) \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync -Wl,-no-whole-archive
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncifeq ($(KBUILD_TARGET),l4)
71f6a34b72f9cc873da208630959de49df1a28a5vboxsyncVBoxRT_LIBS += \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync $(L4_LIBDIR)/libl4sys.a \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync $(L4_LIBDIR)/libl4sys.p.a
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncendif
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsyncVBoxRT_LIBS.l4 = \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB)
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync
36411046d85fccaa66061120a064225fd1b5ae01vboxsync#
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync# RuntimeR3NoCRTGCC - CRT replacement lib for VBoxREM.
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync# This is used together with VBoxRT.
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync#
71f6a34b72f9cc873da208630959de49df1a28a5vboxsyncRuntimeR3NoCRTGCC_TEMPLATE = VBOXNOCRTGCC
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncRuntimeR3NoCRTGCC_LIBSUFF = $(VBOX_SUFF_LIB)
71f6a34b72f9cc873da208630959de49df1a28a5vboxsyncRuntimeR3NoCRTGCC_INCS = include
36411046d85fccaa66061120a064225fd1b5ae01vboxsyncRuntimeR3NoCRTGCC_SOURCES = \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/misc/sanity-cpp.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/misc/sanity-c.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync \
9de47c4ec7b0fc9a384e4b815153de399da7b8devboxsync common/math/ceill.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/cosl.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/fabs.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/fabsf.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/fabsl.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/floor.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/floorf.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/floorl.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/ldexpl.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/llrint.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/llrintf.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/llrintl.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/logl.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/lrint.asm \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync common/math/lrintf.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/math/lrintl.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/remainder.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/remainderf.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/remainderl.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/sinl.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/tanl.asm \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync common/math/trunc.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/truncf.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/truncl.asm \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/misc/setjmp.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/string/memchr.asm \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/string/memchr_alias.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memcmp.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memcmp_alias.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memcpy.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memcpy_alias.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/mempcpy.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memmove.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memmove_alias.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memset.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memset_alias.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/strchr.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/strchr_alias.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/strcmp.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/strcmp_alias.c
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync
71f6a34b72f9cc873da208630959de49df1a28a5vboxsyncRuntimeR3NoCRTGCC_SOURCES.x86 = \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync common/math/x86/fenv-x86.c \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync common/math/gcc/adddi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/anddi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/ashldi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/ashrdi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/cmpdi2.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/divdi3.c \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/gcc/iordi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/lshldi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/lshrdi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/moddi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/muldi3.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/negdi2.c \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/math/gcc/notdi2.c \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/gcc/qdivrem.c \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/gcc/subdi3.c \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/gcc/ucmpdi2.c \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/gcc/udivdi3.c \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/gcc/umoddi3.c \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/math/gcc/xordi3.c
0c4004948fca34f2db87e7b38013137e9472c306vboxsync
0c4004948fca34f2db87e7b38013137e9472c306vboxsync
0c4004948fca34f2db87e7b38013137e9472c306vboxsync## @todo stop using the old memcpy.c and memset.c code.
0c4004948fca34f2db87e7b38013137e9472c306vboxsync
0c4004948fca34f2db87e7b38013137e9472c306vboxsync#
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync# RuntimeR0 - Ring0 library for VMMR0.
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync#
0c4004948fca34f2db87e7b38013137e9472c306vboxsyncRuntimeR0_TEMPLATE = VBOXR0
71f6a34b72f9cc873da208630959de49df1a28a5vboxsyncRuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS
71f6a34b72f9cc873da208630959de49df1a28a5vboxsyncRuntimeR0_INCS = include
71f6a34b72f9cc873da208630959de49df1a28a5vboxsyncRuntimeR0_SOURCES = \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/log/logcom.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/log/logformat.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/misc/assert.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/misc/sanity-c.c \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/misc/sanity-cpp.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memchr.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memcmp.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memcpy.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memmove.asm \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/memset.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync common/string/strcmp.asm \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/string/strcpy.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/string/strformat.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/string/strformatrt.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/string/strformattype.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/string/strlen.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/string/strncmp.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/string/strpbrk.cpp \
0c4004948fca34f2db87e7b38013137e9472c306vboxsync common/string/strprintf.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/table/avlgcptr.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync common/table/avlhcphys.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avllu32.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlogcphys.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlogcptr.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlohcphys.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avloioport.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlpv.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlrogcphys.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlrogcptr.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlroioport.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlroogcptr.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlu32.cpp \
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync common/time/timesup.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTAssertDoBreakpoint-generic.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync VBox/strformat-vbox.cpp
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
8cd2f2e64725096acb682f34a5568b7fb816eda7vboxsync#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
8cd2f2e64725096acb682f34a5568b7fb816eda7vboxsync# RuntimeR0_SOURCES += common/time/timesupA.asm
8cd2f2e64725096acb682f34a5568b7fb816eda7vboxsync#else
36411046d85fccaa66061120a064225fd1b5ae01vboxsync RuntimeR0_SOURCES += common/time/timesupref.cpp
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync#endif
36411046d85fccaa66061120a064225fd1b5ae01vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR0_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
26947320577c481b4afefdb0afbb855181e5b2e8vboxsyncRuntimeR0_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
26947320577c481b4afefdb0afbb855181e5b2e8vboxsync
26947320577c481b4afefdb0afbb855181e5b2e8vboxsyncRuntimeR0_SOURCES.os2 = \
26947320577c481b4afefdb0afbb855181e5b2e8vboxsync os2/RTErrConvertFromOS2.cpp \
26947320577c481b4afefdb0afbb855181e5b2e8vboxsync os2/sys0.asm
26947320577c481b4afefdb0afbb855181e5b2e8vboxsync
26947320577c481b4afefdb0afbb855181e5b2e8vboxsyncifeq ($(filter-out darwin solaris freebsd,$(KBUILD_TARGET)),)
26947320577c481b4afefdb0afbb855181e5b2e8vboxsyncRuntimeR0_SOURCES += \
26947320577c481b4afefdb0afbb855181e5b2e8vboxsync common/math/gcc/adddi3.c \
26947320577c481b4afefdb0afbb855181e5b2e8vboxsync common/math/gcc/anddi3.c \
26947320577c481b4afefdb0afbb855181e5b2e8vboxsync common/math/gcc/ashldi3.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/ashrdi3.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/cmpdi2.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/divdi3.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/iordi3.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/lshldi3.c \
cba6719bd64ec749967bbe931230452664109857vboxsync common/math/gcc/lshrdi3.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/moddi3.c \
c28fa006ba669ad8f26ae31d00a338379c04ea1bvboxsync common/math/gcc/muldi3.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/negdi2.c \
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync common/math/gcc/notdi2.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/qdivrem.c \
c28fa006ba669ad8f26ae31d00a338379c04ea1bvboxsync common/math/gcc/subdi3.c \
e74eef731a813e4e06680c587a6759b9974b29c9vboxsync common/math/gcc/ucmpdi2.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/udivdi3.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/math/gcc/umoddi3.c \
a8139954a84d6e9090dd3a8371aa788351d45bc3vboxsync common/math/gcc/xordi3.c
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncendif
36411046d85fccaa66061120a064225fd1b5ae01vboxsync
36411046d85fccaa66061120a064225fd1b5ae01vboxsync
a8139954a84d6e9090dd3a8371aa788351d45bc3vboxsynccommon/string/memchr.cpp_CXXFLAGS.win = -Oi-
36411046d85fccaa66061120a064225fd1b5ae01vboxsynccommon/string/memcmp.cpp_CXXFLAGS.win = -Oi-
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsynccommon/string/memcpy.cpp_CXXFLAGS.win = -Oi-
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsynccommon/string/memset.cpp_CXXFLAGS.win = -Oi-
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsynccommon/string/strcpy.cpp_CXXFLAGS.win = -Oi-
cab115cfa31c584def7069312a1e23c3fc88533bvboxsynccommon/string/strlen.cpp_CXXFLAGS.win = -Oi-
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
36411046d85fccaa66061120a064225fd1b5ae01vboxsyncifeq ($(KBUILD_TARGET),l4)
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR0Drv_BLD_TRG = linux
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_BLD_TRG_ARCH = x86
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_BLD_TRG_CPU = i386
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncendif
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync#
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync# RuntimeR0Drv - Ring0 library for host drivers.
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync#
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_TEMPLATE = VBOXR0DRV
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_SDKS.win = W2K3DDK WINPSDKINCS
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_INCS := $(PATH_SUB_CURRENT) include
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_DEFS.win = IN_SUP_R0
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_DEFS.linux = MODULE KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) IN_SUP_R0 # why is IN_SUP_R0 here? because!
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsyncRuntimeR0Drv_INCS.linux = \
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync r0drv/linux
36411046d85fccaa66061120a064225fd1b5ae01vboxsyncifdef VBOX_WITH_SOLARIS_VBI
36411046d85fccaa66061120a064225fd1b5ae01vboxsync RuntimeR0Drv_INCS.solaris = \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync r0drv/solaris/vbi/i86pc
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsyncendif
36411046d85fccaa66061120a064225fd1b5ae01vboxsync
36411046d85fccaa66061120a064225fd1b5ae01vboxsyncRuntimeR0Drv_SOURCES = \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync common/checksum/crc32.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync common/checksum/crc64.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync common/log/log.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync common/log/logcom.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync common/log/logformat.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync common/misc/assert.cpp \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync common/misc/sanity-c.c \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync common/misc/sanity-cpp.cpp \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync common/string/strformat.cpp \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync common/string/strformatrt.cpp \
6f76f373e9274aa29ec1485be3bfebafb670af0evboxsync common/string/strformattype.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/strprintf.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/strtonum.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/table/avlpv.cpp \
4c42ef40805493bd6d76103b90f71bcd6dbc0f00vboxsync generic/RTLogWriteStdErr-stub-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTLogWriteStdOut-stub-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTLogWriteUser-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/alloc-r0drv.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/initterm-r0drv.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync VBox/log-vbox.cpp \
da3503c04ce76e653401396fe2795a9bc2427a1dvboxsync VBox/strformat-vbox.cpp
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR0Drv_SOURCES.linux = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/alloc/heapsimple.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/strpbrk.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/err/RTErrConvertToErrno.cpp \
da3503c04ce76e653401396fe2795a9bc2427a1dvboxsync generic/RTAssertDoBreakpoint-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/alloc-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/initterm-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/memobj-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/mp-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/mpnotification-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/process-r0drv-linux.c \
da3503c04ce76e653401396fe2795a9bc2427a1dvboxsync r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/semevent-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/semeventmulti-r0drv-linux.c \
da3503c04ce76e653401396fe2795a9bc2427a1dvboxsync r0drv/linux/semfastmutex-r0drv-linux.c \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/linux/spinlock-r0drv-linux.c \
cba6719bd64ec749967bbe931230452664109857vboxsync r0drv/linux/thread-r0drv-linux.c \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/linux/time-r0drv-linux.c \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/memobj-r0drv.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/mpnotification-r0drv.c
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync## @todo thread2-r0drv-linux.c, timer-r0drv-linux.c and assert-r0drv-linux.c
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync# r0drv/linux/timer-r0drv-linux.c \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsyncRuntimeR0Drv_SOURCES.win = \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync common/misc/thread.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync common/string/memcmp.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync common/string/strncmp.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync common/string/strpbrk.cpp \
9b789c281103a2489742bf32f6ab500e38b2ecd5vboxsync generic/RTAssertDoBreakpoint-generic.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync nt/RTErrConvertFromNtStatus.cpp \
9b789c281103a2489742bf32f6ab500e38b2ecd5vboxsync r0drv/memobj-r0drv.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/mpnotification-r0drv.c \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/nt/alloc-r0drv-nt.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/nt/initterm-r0drv-nt.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/nt/memobj-r0drv-nt.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/nt/mp-r0drv-nt.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/nt/mpnotification-r0drv-nt.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/nt/process-r0drv-nt.cpp \
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync r0drv/nt/RTLogWriteDebugger-r0drv-nt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r0drv/nt/semevent-r0drv-nt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r0drv/nt/semeventmulti-r0drv-nt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r0drv/nt/semfastmutex-r0drv-nt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r0drv/nt/semmutex-r0drv-nt.cpp \
65697a26b524640b83828b715160c798c43a0424vboxsync r0drv/nt/spinlock-r0drv-nt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r0drv/nt/thread-r0drv-nt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r0drv/nt/thread2-r0drv-nt.cpp \
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync r0drv/nt/time-r0drv-nt.cpp
0a3cfc177eb2cca0805ca23cf5f98b0080b2ec21vboxsync## @todo timer-r0drv-nt.cpp and assert-r0drv-nt.cpp
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR0Drv_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsyncRuntimeR0Drv_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
ea779b55cc87f3e3fadddca4672c6697c82606edvboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR0Drv_SOURCES.darwin = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/err/RTErrConvertFromErrno.cpp \
9b789c281103a2489742bf32f6ab500e38b2ecd5vboxsync common/misc/thread.cpp \
9b789c281103a2489742bf32f6ab500e38b2ecd5vboxsync common/string/memchr.asm \
9b789c281103a2489742bf32f6ab500e38b2ecd5vboxsync common/string/strpbrk.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync darwin/RTErrConvertFromDarwin.cpp \
c91345f92b829d3fba05ce7a97206d83c5183ce0vboxsync darwin/RTErrConvertFromDarwinIO.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync darwin/RTErrConvertFromDarwinKern.cpp \
c91345f92b829d3fba05ce7a97206d83c5183ce0vboxsync generic/RTAssertDoBreakpoint-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpCpuId-generic.cpp \
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsync generic/RTMpCpuIdFromSetIndex-generic.cpp \
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsync generic/RTMpCpuIdToSetIndex-generic.cpp \
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsync generic/RTMpDoesCpuExist-generic.cpp \
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsync generic/RTMpGetCount-generic.cpp \
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsync generic/RTMpGetMaxCpuId-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/RTMpGetOnlineCount-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/RTMpGetOnlineSet-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/RTMpGetSet-generic.cpp \
36411046d85fccaa66061120a064225fd1b5ae01vboxsync generic/RTMpIsCpuOnline-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/RTTimerCreate-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync generic/timer-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync r0drv/generic/RTMpOn-r0drv-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync r0drv/generic/mpnotification-r0drv-generic.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync r0drv/darwin/alloc-r0drv-darwin.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync r0drv/darwin/assert-r0drv-darwin.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync r0drv/darwin/initterm-r0drv-darwin.cpp \
71f6a34b72f9cc873da208630959de49df1a28a5vboxsync r0drv/darwin/memobj-r0drv-darwin.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync r0drv/darwin/process-r0drv-darwin.cpp \
b0db50948c349fa76655abf252f7946b515e8204vboxsync r0drv/darwin/RTLogWriteDebugger-r0drv-darwin.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/darwin/semaphore-r0drv-darwin.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r0drv/darwin/spinlock-r0drv-darwin.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r0drv/darwin/thread-r0drv-darwin.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r0drv/darwin/thread2-r0drv-darwin.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r0drv/darwin/time-r0drv-darwin.cpp \
f4aad55f8addd816ef005845842a2418bbdc3ea2vboxsync r0drv/memobj-r0drv.cpp
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsyncRuntimeR0Drv_SOURCES.os2 = \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/memchr.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/memcmp.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/memcpy.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/mempcpy.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/memmove.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/memset.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/strchr.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/strcmp.asm \
5b465a7c1237993faf8bb50120d247f3f0319adavboxsync \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/string/strcpy.cpp \
ad77e3ec3cde24263bc7537575f5cae442bee3b1vboxsync common/string/strlen.cpp \
ad77e3ec3cde24263bc7537575f5cae442bee3b1vboxsync common/string/strncmp.cpp \
ad77e3ec3cde24263bc7537575f5cae442bee3b1vboxsync common/string/strpbrk.cpp \
ad77e3ec3cde24263bc7537575f5cae442bee3b1vboxsync \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync common/misc/thread.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTLogWriteDebugger-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpCpuId-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpCpuIdFromSetIndex-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpCpuIdToSetIndex-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpDoesCpuExist-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpGetCount-generic.cpp \
ad48e47654d22f79b025dc4b21cb162cb123801avboxsync generic/RTMpGetMaxCpuId-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpGetOnlineCount-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpGetOnlineSet-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpGetSet-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTMpIsCpuOnline-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync generic/RTTimerCreate-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync os2/RTErrConvertFromOS2.cpp \
ad77e3ec3cde24263bc7537575f5cae442bee3b1vboxsync os2/sys0.asm \
ad77e3ec3cde24263bc7537575f5cae442bee3b1vboxsync r0drv/memobj-r0drv.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/generic/RTMpOn-r0drv-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/generic/mpnotification-r0drv-generic.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/alloc-r0drv-os2.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/assert-r0drv-os2.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/assertA-r0drv-os2.asm \
d4e9ccea0ea1ed303b5708ff94f6c202755f0dc6vboxsync r0drv/os2/initterm-r0drv-os2.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/memobj-r0drv-os2.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync r0drv/os2/os2imports.imp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/process-r0drv-os2.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/RTAssertDoBreakpoint-r0drv-os2.asm \
cba6719bd64ec749967bbe931230452664109857vboxsync r0drv/os2/RTR0Os2DHQueryDOSVar.asm \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/RTR0Os2DHVMGlobalToProcess.asm \
cba6719bd64ec749967bbe931230452664109857vboxsync r0drv/os2/semevent-r0drv-os2.cpp \
d7125f3a1b435761c393f9ec406e85a73ae2a3e7vboxsync r0drv/os2/semeventmulti-r0drv-os2.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/semfastmutex-r0drv-os2.cpp \
8f0fc87a72dee210b62acc9dd859a4bebf8bfb33vboxsync r0drv/os2/spinlock-r0drv-os2.cpp \
cba6719bd64ec749967bbe931230452664109857vboxsync r0drv/os2/thread-r0drv-os2.cpp \
cba6719bd64ec749967bbe931230452664109857vboxsync r0drv/os2/thread2-r0drv-os2.cpp \
cba6719bd64ec749967bbe931230452664109857vboxsync r0drv/os2/time-r0drv-os2.cpp \
cba6719bd64ec749967bbe931230452664109857vboxsync r0drv/os2/timer-r0drv-os2.cpp \
9dca051a5f8ff457ef1692990f6ecfa280daf265vboxsync r0drv/os2/timerA-r0drv-os2.asm
44a2ecaf2d0fc196ab76cab13b3f909299e386d1vboxsync
RuntimeR0Drv_SOURCES.freebsd = \
common/err/RTErrConvertFromErrno.cpp \
common/err/RTErrConvertToErrno.cpp \
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/RTAssertDoBreakpoint-generic.cpp \
generic/RTLogWriteDebugger-generic.cpp \
generic/RTMpCpuId-generic.cpp \
generic/RTMpCpuIdFromSetIndex-generic.cpp \
generic/RTMpCpuIdToSetIndex-generic.cpp \
generic/RTMpDoesCpuExist-generic.cpp \
generic/RTMpGetCount-generic.cpp \
generic/RTMpGetMaxCpuId-generic.cpp \
generic/RTMpGetOnlineCount-generic.cpp \
generic/RTMpGetOnlineSet-generic.cpp \
generic/RTMpGetSet-generic.cpp \
generic/RTMpIsCpuOnline-generic.cpp \
generic/RTTimerCreate-generic.cpp \
r0drv/generic/RTMpOn-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/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/timer-r0drv-freebsd.c \
r0drv/memobj-r0drv.cpp
RuntimeR0Drv_SOURCES.solaris = \
common/err/RTErrConvertFromErrno.cpp \
common/misc/thread.cpp \
common/string/memchr.asm \
generic/RTAssertDoBreakpoint-generic.cpp \
generic/RTTimerCreate-generic.cpp \
r0drv/memobj-r0drv.cpp \
r0drv/mpnotification-r0drv.c \
r0drv/solaris/mpnotification-r0drv-solaris.c
ifdef VBOX_WITH_SOLARIS_VBI
RuntimeR0Drv_SOURCES.solaris += \
r0drv/solaris/vbi/mp-r0drv-solaris.c \
r0drv/solaris/vbi/alloc-r0drv-solaris.c \
r0drv/solaris/vbi/assert-r0drv-solaris.c \
r0drv/solaris/vbi/initterm-r0drv-solaris.c \
r0drv/solaris/vbi/memobj-r0drv-solaris.c \
r0drv/solaris/vbi/process-r0drv-solaris.c \
r0drv/solaris/vbi/RTLogWriteDebugger-r0drv-solaris.c \
r0drv/solaris/vbi/semevent-r0drv-solaris.c \
r0drv/solaris/vbi/semeventmulti-r0drv-solaris.c \
r0drv/solaris/vbi/semfastmutex-r0drv-solaris.c \
r0drv/solaris/vbi/spinlock-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
else # !VBOX_WITH_SOLARIS_VBI
RuntimeR0Drv_SOURCES.solaris += \
generic/RTMpCpuId-generic.cpp \
generic/RTMpCpuIdFromSetIndex-generic.cpp \
generic/RTMpCpuIdToSetIndex-generic.cpp \
generic/RTMpDoesCpuExist-generic.cpp \
generic/RTMpGetCount-generic.cpp \
generic/RTMpGetMaxCpuId-generic.cpp \
generic/RTMpGetOnlineCount-generic.cpp \
generic/RTMpGetOnlineSet-generic.cpp \
generic/RTMpGetSet-generic.cpp \
generic/RTMpIsCpuOnline-generic.cpp \
r0drv/generic/RTMpOn-r0drv-generic.cpp \
r0drv/solaris/alloc-r0drv-solaris.c \
r0drv/solaris/assert-r0drv-solaris.c \
r0drv/solaris/initterm-r0drv-solaris.c \
r0drv/solaris/memobj-r0drv-solaris.c \
r0drv/solaris/process-r0drv-solaris.c \
r0drv/solaris/RTLogWriteDebugger-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 \
r0drv/solaris/thread-r0drv-solaris.c \
r0drv/solaris/thread2-r0drv-solaris.c \
r0drv/solaris/time-r0drv-solaris.c \
r0drv/solaris/timer-r0drv-solaris.c
endif # !VBOX_WITH_SOLARIS_VBI
## PORTME: Porters create and add their selection of platform specific Ring-0 Driver files here.
#
# 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 RuntimeR0Rdrv).
#
# TODO: RuntimeGuestR0_EXTENDS = RuntimeR0Drv (kBuild)
#
RuntimeGuestR0_TEMPLATE := VBOXGUESTR0LIB
RuntimeGuestR0_SDKS.win := W2K3DDKX86 WINPSDKINCS
RuntimeGuestR0_DEFS := $(RuntimeR0Drv_DEFS)
RuntimeGuestR0_DEFS.$(KBUILD_TARGET) := $(RuntimeR0Drv_DEFS.$(KBUILD_TARGET))
RuntimeGuestR0_INCS := $(PATH_SUB_CURRENT) include
RuntimeGuestR0_INCS.$(KBUILD_TARGET) := $(RuntimeR0Drv_INCS.$(KBUILD_TARGET))
RuntimeGuestR0_SOURCES := $(filter-out generic/RTLogWriteUser-generic.cpp, $(RuntimeR0Drv_SOURCES))
RuntimeGuestR0_SOURCES += VBox/logbackdoor.cpp
RuntimeGuestR0_SOURCES.$(KBUILD_TARGET) := $(RuntimeR0Drv_SOURCES.$(KBUILD_TARGET))
RuntimeGuestR0_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeR0Drv_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
ifdef VBOX_USE_VCC80
RuntimeGuestR0_SOURCES.win += \
common/string/memchr.cpp \
common/string/memcpy.cpp \
common/string/memset.cpp \
common/string/memmove.asm \
common/string/strlen.cpp
endif
RuntimeGuestR0_SOURCES.freebsd += \
common/string/memset.cpp \
common/string/memcmp.cpp \
common/string/strchr.asm
# HACK: no vbi for the solaris guest additions - yet.
RuntimeGuestR0_SOURCES.solaris = \
common/err/RTErrConvertFromErrno.cpp \
common/misc/thread.cpp \
common/string/memchr.asm \
generic/RTAssertDoBreakpoint-generic.cpp \
generic/RTTimerCreate-generic.cpp \
r0drv/memobj-r0drv.cpp \
generic/RTMpCpuId-generic.cpp \
generic/RTMpCpuIdFromSetIndex-generic.cpp \
generic/RTMpCpuIdToSetIndex-generic.cpp \
generic/RTMpDoesCpuExist-generic.cpp \
generic/RTMpGetCount-generic.cpp \
generic/RTMpGetMaxCpuId-generic.cpp \
generic/RTMpGetOnlineCount-generic.cpp \
generic/RTMpGetOnlineSet-generic.cpp \
generic/RTMpGetSet-generic.cpp \
generic/RTMpIsCpuOnline-generic.cpp \
r0drv/generic/RTMpOn-r0drv-generic.cpp \
r0drv/generic/mpnotification-r0drv-generic.cpp \
r0drv/solaris/alloc-r0drv-solaris.c \
r0drv/solaris/assert-r0drv-solaris.c \
r0drv/solaris/initterm-r0drv-solaris.c \
r0drv/solaris/memobj-r0drv-solaris.c \
r0drv/solaris/process-r0drv-solaris.c \
r0drv/solaris/RTLogWriteDebugger-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 \
r0drv/solaris/thread-r0drv-solaris.c \
r0drv/solaris/thread2-r0drv-solaris.c \
r0drv/solaris/time-r0drv-solaris.c \
r0drv/solaris/timer-r0drv-solaris.c
RuntimeOS2GuestR0_TEMPLATE = VBOXOS2GUESTR0LIB
RuntimeOS2GuestR0_SOURCES = \
$(filter-out common/misc/assert.cpp generic/RTLogWriteUser-generic.cpp,$(RuntimeR0Drv_SOURCES)) \
$(RuntimeR0Drv_SOURCES.os2) \
VBox/logbackdoor.cpp
#
# RuntimeW32GuestR0 - Win32 guest driver runtime.
#
RuntimeW32GuestR0_TEMPLATE = VBOXW32GUESTR0LIB
RuntimeW32GuestR0_SDKS = W2K3DDKX86 WINPSDKINCS
RuntimeW32GuestR0_INCS := $(PATH_SUB_CURRENT) include
RuntimeW32GuestR0_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS IN_SUP_R0
RuntimeW32GuestR0_DEFS.$(KBUILD_TARGET) =
RuntimeW32GuestR0_SOURCES = \
$(filter-out generic/RTLogWriteUser-generic.cpp,$(RuntimeR0Drv_SOURCES)) \
$(RuntimeR0Drv_SOURCES.win) \
VBox/logbackdoor.cpp
ifdef VBOX_USE_VCC80
## @todo use the .asm versions of these.
RuntimeW32GuestR0_SOURCES += \
common/string/memchr.cpp \
common/string/memcpy.cpp \
common/string/memset.cpp \
common/string/memmove.asm \
common/string/strlen.cpp
endif
#
# RuntimeW32NT4GuestR0 - Win32 NT4 guest driver runtime.
#
RuntimeW32NT4GuestR0_EXTENDS = RuntimeW32GuestR0
RuntimeW32NT4GuestR0_EXTENDS_BY = appending
RuntimeW32NT4GuestR0_DEFS = IPRT_TARGET_NT4
#
# RuntimeGC - Guest context library.
#
RuntimeGC_TEMPLATE = VBOXGC
RuntimeGC_DEFS = IN_RT_GC RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS
RuntimeGC_INCS = include
RuntimeGC_SOURCES = \
common/log/log.cpp \
common/log/logcom.cpp \
common/log/logformat.cpp \
common/misc/assert.cpp \
common/misc/sanity-c.c \
common/misc/sanity-cpp.cpp \
common/string/memchr.cpp \
common/string/memcmp.cpp \
common/string/memcpy.cpp \
common/string/memset.cpp \
common/string/memmove.asm \
common/string/strcpy.cpp \
common/string/strformat.cpp \
common/string/strformatrt.cpp \
common/string/strformattype.cpp \
common/string/strlen.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/RTAssertDoBreakpoint-generic.cpp \
VBox/strformat-vbox.cpp \
#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
# RuntimeGC_SOURCES += common/time/timesupA.asm
#else
RuntimeGC_SOURCES += common/time/timesupref.cpp
#endif
RuntimeGC_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
ifeq ($(VBOX_LDR_FMT32),lx)
RuntimeGC_SOURCES += os2/sys0.asm
endif
if1of ($(KBUILD_TARGET), darwin solaris freebsd)
RuntimeGC_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
#
# 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 = $(PATH_TARGET)/errmsgdata.h
common/err/errmsg.cpp_INCS = $(PATH_TARGET)
win/errmsgwin.cpp_DEPS = $(PATH_TARGET)/errmsgcomdata.h
win/errmsgwin.cpp_INCS = $(PATH_TARGET)
#
# Generate the rules (we're the to sub-makefile).
#
include $(KBUILD_PATH)/subfooter.kmk
ifneq ($(wildcard /usr/bin/chcon),)
# this is needed for testcases executed at build time
## @todo Make a special installer tool that does this.
$(PATH_BIN)/VBoxRT.so:
$(INSTALL) $(TARGET_VBoxRT) $@
chcon -t texrel_shlib_t $@ || true
endif
#
# Generate the status code data.
#
$(PATH_TARGET)/errmsgdata.h: common/err/errmsg.sed $(DEPTH)/include/iprt/err.h $(DEPTH)/include/VBox/err.h
$(call MSG_GENERATE,,$@,$(filter %.h,$^))
$(QUIET)$(MKDIR) -p $(PATH_TARGET)
$(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.
$(PATH_TARGET)/errmsgcomdata.h: common/err/errmsgcom.sed $(PATH_SDK_WINPSDK_INC)/WinError.h
$(call MSG_GENERATE,,$@,$(filter %.h,$^))
$(QUIET)$(MKDIR) -p $(PATH_TARGET)
$(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
#
# 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.
#
DOXYGEN_INPUT_DIRS = \
$(PATH_ROOT)/include/iprt \
$(PATH_ROOT)/include/iprt/nocrt \
$(PATH_ROOT)/include/iprt/nocrt/x86 \
$(PATH_ROOT)/include/iprt/nocrt/amd64 \
include/internal \
common/alloc \
common/checksum \
common/err \
common/ldr \
common/log \
common/misc \
common/string \
common/table \
common/time \
VBox/ \
$(foreach dir, . r3 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.
DOXYGEN_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 \
DOXYGEN_INPUT := \
$(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(DOXYGEN_INPUT_DIRS)))) ) \
$(foreach dir, $(DOXYGEN_INPUT_DIRS), $(wildcard $(dir)/*.cpp $(dir)/.c $(dir)/.asm))
DOXYGEN_INPUT := \
$(DOXYGEN_INPUT_FIRST) \
$(filter-out $(DOXYGEN_INPUT_FIRST), $(DOXYGEN_INPUT))
DOXYGEN_OUTPUT = $(PATH_OUT)/docs/iprt
-include $(PATH_TARGET)/Doxyfile.dep
# Generate the Doxyfile
$(PATH_TARGET)/Doxyfile: Doxyfile Makefile.kmk \
$(comp-vars DOXYGEN_INPUT,DOXYGEN_INPUT_PREV,FORCE) \
$(comp-vars DOXYGEN_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \
| $(call DIRDEP, $(PATH_TARGET))
$(RM) -f $@ $@.tmp $(PATH_TARGET)/Doxyfile.dep
$(CP) -f Doxyfile $@.tmp
$(APPEND) $@.tmp
$(APPEND) $@.tmp "OUTPUT_DIRECTORY = $(DOXYGEN_OUTPUT)"
$(APPEND) $@.tmp "WARN_LOGFILE = $(DOXYGEN_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 = $(DOXYGEN_INPUT)"
$(APPEND) $@.tmp
$(MV) -f $@.tmp $@
@$(APPEND) $(PATH_TARGET)/Doxyfile.dep "DOXYGEN_OUTPUT_PREV = $(DOXYGEN_OUTPUT)"
@$(APPEND) $(PATH_TARGET)/Doxyfile.dep "DOXYGEN_INPUT_PREV = $(DOXYGEN_INPUT)"
# Create the output directory.
$(call DIRDEP, $(DOXYGEN_OUTPUT)):
$(MKDIR) -p $@
# Do the actual job.
$(PATH_TARGET)/docs.iprt: $(PATH_TARGET)/Doxyfile $(DOXYGEN_INPUT) | $(call DIRDEP, $(DOXYGEN_OUTPUT))
$(RM) -f $(wildcard $(DOXYGEN_OUTPUT)/html/*) $(PATH_TARGET)/docs.iprt
doxygen $(PATH_TARGET)/Doxyfile
$(APPEND) $(PATH_TARGET)/docs.iprt
# alias
docs: $(PATH_TARGET)/docs.iprt
test:
@echo test-$(comp-vars DOXYGEN_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE)
@echo $(DOXYGEN_OUTPUT)
@echo $(DOXYGEN_OUTPUT_PREV)
@echo $(DOXYGEN_INPUT)