Makefile.kmk revision 9aa6fbc4da65d57d07aadef838a1b032bd659c0f
c869993e79c1eafbec61a56bf6cea848fe754c71xy# $Id$
c869993e79c1eafbec61a56bf6cea848fe754c71xy## @file
c869993e79c1eafbec61a56bf6cea848fe754c71xy# Makefile for the InnoTek Portable Runtime (IPRT).
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# Copyright (C) 2006 InnoTek Systemberatung GmbH
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer#
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer# This file is part of VirtualBox Open Source Edition (OSE), as
c869993e79c1eafbec61a56bf6cea848fe754c71xy# available from http://www.virtualbox.org. This file is free software;
c869993e79c1eafbec61a56bf6cea848fe754c71xy# you can redistribute it and/or modify it under the terms of the GNU
c869993e79c1eafbec61a56bf6cea848fe754c71xy# General Public License as published by the Free Software Foundation,
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer# in version 2 as it comes in the "COPYING" file of the VirtualBox OSE
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer# distribution. VirtualBox OSE is distributed in the hope that it will
c869993e79c1eafbec61a56bf6cea848fe754c71xy# be useful, but WITHOUT ANY WARRANTY of any kind.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# If you received this file as part of a commercial VirtualBox
c869993e79c1eafbec61a56bf6cea848fe754c71xy# distribution, then only the terms of your commercial VirtualBox
c869993e79c1eafbec61a56bf6cea848fe754c71xy# license agreement apply instead of the previous paragraph.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng
08a0f9b044f01fb540a861b94b63d77dd3d576eechenlu chen - Sun Microsystems - Beijing ChinaDEPTH = ../../..
08a0f9b044f01fb540a861b94b63d77dd3d576eechenlu chen - Sun Microsystems - Beijing Chinainclude $(PATH_KBUILD)/header.kmk
08a0f9b044f01fb540a861b94b63d77dd3d576eechenlu chen - Sun Microsystems - Beijing China
08a0f9b044f01fb540a861b94b63d77dd3d576eechenlu chen - Sun Microsystems - Beijing Chinaifndef VBOX_ADDITIONS_LINUX_ONLY
08a0f9b044f01fb540a861b94b63d77dd3d576eechenlu chen - Sun Microsystems - Beijing China # Normal mode.
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore BLDPROGS = uniread
c869993e79c1eafbec61a56bf6cea848fe754c71xy LIBRARIES = RuntimeR3 RuntimeR0 RuntimeGC RuntimeEFCPP RuntimeR3NoCRTGCC
c869993e79c1eafbec61a56bf6cea848fe754c71xy ifdef VBOX_WITH_VBOXDRV
c869993e79c1eafbec61a56bf6cea848fe754c71xy LIBRARIES += RuntimeR0Drv
c869993e79c1eafbec61a56bf6cea848fe754c71xy endif
c869993e79c1eafbec61a56bf6cea848fe754c71xy ifdef VBOX_WITH_WIN32_ADDITIONS
c869993e79c1eafbec61a56bf6cea848fe754c71xy LIBRARIES += RuntimeW32GuestR0 RuntimeW32GuestR3 RuntimeW32NT4GuestR0
c869993e79c1eafbec61a56bf6cea848fe754c71xy endif
c869993e79c1eafbec61a56bf6cea848fe754c71xy ifdef VBOX_WITH_LINUX_ADDITIONS
c869993e79c1eafbec61a56bf6cea848fe754c71xy LIBRARIES += RuntimeLnx32GuestR3
c869993e79c1eafbec61a56bf6cea848fe754c71xy ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0
c869993e79c1eafbec61a56bf6cea848fe754c71xy LIBRARIES += RuntimeLnx32GuestR0
c869993e79c1eafbec61a56bf6cea848fe754c71xy endif
c869993e79c1eafbec61a56bf6cea848fe754c71xy endif
c869993e79c1eafbec61a56bf6cea848fe754c71xy LIBRARIES.l4= RuntimeR3L4
c869993e79c1eafbec61a56bf6cea848fe754c71xy DLLS = VBoxRT
c869993e79c1eafbec61a56bf6cea848fe754c71xy OTHER_CLEAN = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(PATH_TARGET)/errmsgdata.h \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(PATH_TARGET)/errmsgcomdata.h \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(PATH_TARGET)/Doxyfile \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(PATH_TARGET)/Doxyfile.dep \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(PATH_TARGET)/docs.iprt
c869993e79c1eafbec61a56bf6cea848fe754c71xy
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng SUBDIRS_AFTER = testcase
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyelse
c869993e79c1eafbec61a56bf6cea848fe754c71xy # Linux target guest runtime only mode.
c869993e79c1eafbec61a56bf6cea848fe754c71xy LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif # only linux guest additions
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy# global (for now at least)
c869993e79c1eafbec61a56bf6cea848fe754c71xyINCS += include
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyifneq ($(wildcard ./kLdr/kLdrModMachO.c),)
c869993e79c1eafbec61a56bf6cea848fe754c71xy IPRT_WITH_KLDR=1
c869993e79c1eafbec61a56bf6cea848fe754c71xy IPRT_PATH_KLDR=./kLdr
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guoendif
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# Unicode Specification reader used to regenerate unidata.cpp.
8bb4b220fdb894543e41a5f9037898cf3c3f312bgl#
8bb4b220fdb894543e41a5f9037898cf3c3f312bgluniread_TEMPLATE = VBOXBLDPROG
8bb4b220fdb894543e41a5f9037898cf3c3f312bgluniread_SOURCES = uniread.cpp
8bb4b220fdb894543e41a5f9037898cf3c3f312bgl
75eba5b6d79ed4d2ce3daf7b2806306b6b69a938Robert Mustacchi#
75eba5b6d79ed4d2ce3daf7b2806306b6b69a938Robert Mustacchi# Win64 assembly sources.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeWin64ASM_SOURCES = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMAtomicBitClear.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMAtomicBitTestAndToggle.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMAtomicBitToggle.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMAtomicReadU64.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMAtomicXchgU16.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMAtomicXchgU8.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMBitFirstClear.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMBitFirstSet.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMGetCS.asm \
3f7e60a636ef887af87fadf9ab6289c672532dd9zhefeng xu - Sun Microsystems - Beijing China win64/ASMGetDS.asm \
cf8dcc9bbabedca41ecfee13dec8172104e99968zhefeng xu - Sun Microsystems - Beijing China win64/ASMGetES.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMGetFlags.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China win64/ASMGetFS.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China win64/ASMGetGS.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMGetIDTR.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMGetGDTR.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMGetTR.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMGetSS.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMProbeReadByte.asm \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China win64/ASMSetFlags.asm \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China win64/ASMGetDR0.asm \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China win64/ASMGetDR1.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng win64/ASMGetDR2.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng win64/ASMGetDR3.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng win64/ASMGetDR6.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win64/ASMGetDR7.asm \
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republic win64/ASMMultU64ByU32DivByU32.asm \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# RuntimeR3 - Static Runtime for Ring-3 executables.
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China#
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3_TEMPLATE = VBOXR3EXE
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3_SDKS.win = WINPSDK W2K3DDK
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing Chinaifdef IPRT_WITH_KLDR
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China RuntimeR3_DEFS += LDR_WITH_KLDR KLDR_USE_CRT
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China RuntimeR3_DEFS.debug += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xyifdef VBOX_MAIN_RELEASE_LOG ## @todo (dmik): temporary, until RTThreadSelf/RTThreadAdopt are properly updated
c869993e79c1eafbec61a56bf6cea848fe754c71xy RuntimeR3_DEFS += RTCRITSECT_STRICT
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_INCS = \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng $(PATH_ROOT)/src/libs/liblzf-1.51
c869993e79c1eafbec61a56bf6cea848fe754c71xyifdef IPRT_WITH_KLDR
c869993e79c1eafbec61a56bf6cea848fe754c71xy RuntimeR3_INCS += \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(IPRT_PATH_KLDR)
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_INCS.l4 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(L4_INCDIR)
c869993e79c1eafbec61a56bf6cea848fe754c71xy# for iconv.h
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_INCS.freebsd = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy /usr/local/include
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republic
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_SOURCES = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy misc/sanity-cpp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy misc/sanity-c.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy alloc.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy alloc/heapsimple.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy assert.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng table/avlhcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlgcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlogcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlogcptr.cpp \
3f7e60a636ef887af87fadf9ab6289c672532dd9zhefeng xu - Sun Microsystems - Beijing China table/avlohcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avloioport.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlpv.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlrgcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlrogcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlrogcptr.cpp \
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republic table/avlroogcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlroioport.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlu32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlul.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/table.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy crc32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy crc64.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng dir.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy errmsg.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy fileio.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy fs.cpp \
3f7e60a636ef887af87fadf9ab6289c672532dd9zhefeng xu - Sun Microsystems - Beijing China generic/critsect-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTFileCopy-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTLogWriteStdErr-generic.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo generic/RTLogWriteStdOut-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTLogWriteUser-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/semfastmutex-generic.cpp \
69b2d733deffed6bf9baf89d901afd9c81b484edGuoqing Zhu generic/spinlock-generic.cpp \
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republic ldr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy ldrFile.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo ldrNative.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo ldrELF.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy ldrEx.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy ldrPE.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy log.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy logcom.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy logformat.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy md5.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy path.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy req.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/alloc-ef.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/alloc.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/init.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/process.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/stream.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/tcp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy RTErrConvertFromErrno.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy semspingpong.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy straprintf.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strformat.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strformatrt.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string.cpp \
b8d0a37778010a5166d34bb0d192cf6b1b2f7becchenlu chen - Sun Microsystems - Beijing China strprintf.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strspace.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strstrip.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strtonum.cpp \
8bb4b220fdb894543e41a5f9037898cf3c3f312bgl thread.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy time.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy timeprog.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy uni.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy unidata.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy utf-16.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy utf-8.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy zip.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy misc/rand.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyifdef IPRT_WITH_KLDR
c869993e79c1eafbec61a56bf6cea848fe754c71xy RuntimeR3_SOURCES += \
c869993e79c1eafbec61a56bf6cea848fe754c71xy ldrkLdr.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng $(IPRT_PATH_KLDR)/kLdrMod.c \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng $(IPRT_PATH_KLDR)/kLdrModLX.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(IPRT_PATH_KLDR)/kLdrModPE.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(IPRT_PATH_KLDR)/kLdrModMachO.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(IPRT_PATH_KLDR)/kLdrModNative.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(IPRT_PATH_KLDR)/kLdrMisc.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(IPRT_PATH_KLDR)/kLdrRdr.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(IPRT_PATH_KLDR)/kLdrHlpStr.c
c869993e79c1eafbec61a56bf6cea848fe754c71xy# We Implement these using IPRT facilities.
c869993e79c1eafbec61a56bf6cea848fe754c71xy# $(IPRT_PATH_KLDR)/kLdrHlp.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy# $(IPRT_PATH_KLDR)/kLdrHlpHeap.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy# $(IPRT_PATH_KLDR)/kLdrHlpSem.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy# $(IPRT_PATH_KLDR)/kLdrHlpMem.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy# $(IPRT_PATH_KLDR)/kLdrHlpPath.c
c869993e79c1eafbec61a56bf6cea848fe754c71xy
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republicendif
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy# VBox specific stuff.
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_SOURCES += \
c869993e79c1eafbec61a56bf6cea848fe754c71xy VBox/strformat-vbox.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy VBox/RTAssertDoBreakpoint-vbox.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy VBox/log-vbox.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_SOURCES.win = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirQueryInfo-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirSetTimes-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/semsrw-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/semnoint-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/rand-stubs-generic.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo nt/RTErrConvertFromNtStatus.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo win32/errmsgwin.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo r3/posix/env-posix.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo r3/win32/alloc-win32.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo r3/win32/dir-win32.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo r3/win32/fileio-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/fs-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/ldrNative-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/path-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/process-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/RTLogWriteDebugger-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/sched-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/sems-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/system-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/thread-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/time-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/timer-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/utf16locale-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/utf8-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/win32/uuid-win32.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy timesup.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy win32/RTErrConvertFromWin32.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_SOURCES.win.amd64 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(RuntimeWin64ASM_SOURCES)
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_SOURCES.linux = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirQueryInfo-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirSetTimes-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTFileMove-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTLogWriteDebugger-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimeLocalNow-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimerCreate-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/RTTimeNow-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/alloc-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/dir-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/env-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/fileio-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/filelock-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/fs-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/ldrNative-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/path-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/pathhost-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/process-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/rand-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/system-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/linux/sched-linux.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/thread-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/linux/time-linux.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/timelocal-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/timer-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/utf16locale-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/utf8-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/uuid-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy timesup.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xyifeq ($(BUILD_TARGET_ARCH),amd64)
c869993e79c1eafbec61a56bf6cea848fe754c71xy RuntimeR3_SOURCES.linux += r3/linux/sems-linux.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xyelse
c869993e79c1eafbec61a56bf6cea848fe754c71xy RuntimeR3_SOURCES.linux += r3/posix/sems-posix.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_SOURCES.os2 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirQueryInfo-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirSetTimes-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTFileMove-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTLogWriteDebugger-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimeLocalNow-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimerCreate-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy os2/RTErrConvertFromOS2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/os2/sems-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/os2/system-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/os2/thread-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/alloc-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/dir-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/env-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/fileio-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/filelock-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/fs-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/ldrNative-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/path-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/pathhost-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/process-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/rand-stubs-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/semsrw-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/semnoint-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/sched-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/os2/time-os2.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/timelocal-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/timer-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/RTTimeNow-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/utf16locale-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China r3/posix/utf8-posix.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/uuid-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China timesup.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3_SOURCES.darwin = \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China darwin/RTErrConvertFromDarwinCOM.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China darwin/RTErrConvertFromDarwinIO.cpp \
b8d0a37778010a5166d34bb0d192cf6b1b2f7becchenlu chen - Sun Microsystems - Beijing China darwin/RTErrConvertFromDarwinKern.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/RTDirQueryInfo-generic.cpp \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China generic/RTDirSetTimes-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTFileMove-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTLogWriteDebugger-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimeLocalNow-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimerCreate-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/pathhost-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/sched-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/timer-generic.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng generic/utf16locale-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/uuid-generic.cpp\
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/darwin/alloc-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/dir-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/env-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/fileio-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/darwin/filelock-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/fs-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/ldrNative-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/path-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/process-posix.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo r3/posix/rand-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/sems-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/system-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/thread-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/darwin/time-darwin.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo r3/posix/timelocal-posix.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo r3/posix/utf8-posix.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo timesup.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo
c869993e79c1eafbec61a56bf6cea848fe754c71xy## @todo Make BSD sched.
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3_SOURCES.freebsd = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirQueryInfo-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirSetTimes-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTFileMove-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTLogWriteDebugger-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimerCreate-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/pathhost-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/sched-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/uuid-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/freebsd/alloc-freebsd.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/dir-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/env-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/fileio-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/filelocks-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/fs-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/ldrNative-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/path-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/process-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/rand-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/sems-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/system-posix.cpp \
69b2d733deffed6bf9baf89d901afd9c81b484edGuoqing Zhu r3/posix/thread-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/time-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/timelocal-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/timer-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/RTTimeNow-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/utf16locale-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/utf8-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy timesup.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy## PORTME: Porters add their selection of platform specific files for Ring-3 here.
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# L4 RuntimeR3 subtarget since L4 headers won't work with VBOXR3.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3L4_TEMPLATE = VBOXR3NP
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3L4_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF LDR_WITH_PE __PIC__
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3L4_INCS = $(L4_INCDIR)
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3L4_SOURCES = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirQueryInfo-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTDirSetTimes-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTFileMove-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTLogWriteDebugger-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimeLocalNow-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/fs-stubs-generic.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng generic/pathhost-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/sched-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/semsrw-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/semnoint-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/uuid-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy l4/l4-errno.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy l4/process-l4env.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy l4/sems-l4env.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy l4/system-l4env.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy l4/thread-l4env.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy l4/timer-l4env.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/utf16locale-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy l4/utf8-l4env.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/alloc-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/env-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/dir-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/fileio-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/filelock-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/ldrNative-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/path-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/rand-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/time-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/timelocal-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r3/posix/RTTimeNow-posix.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy timesup.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# RuntimeW32GuestR3 - Win32 guest program runtime.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR3_TEMPLATE = VBOXW32GUESTR3LIB
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR3_SDKS = WINPSDK W2K3DDK
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX
c869993e79c1eafbec61a56bf6cea848fe754c71xyifdef IPRT_WITH_KLDR
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo RuntimeW32GuestR3_DEFS += LDR_WITH_KLDR KLDR_USE_CRT
c869993e79c1eafbec61a56bf6cea848fe754c71xy RuntimeW32GuestR3_DEFS.debug += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guoendif
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR3_SOURCES = $(RuntimeR3_SOURCES.win) $(RuntimeR3_SOURCES)
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR3_INCS = $(RuntimeR3_INCS.win) $(RuntimeR3_INCS)
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# RuntimeLnx32GuestR3 - 32-bit Linux guest program runtime.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeLnx32GuestR3_TEMPLATE = VBOXLNX32GUESTR3LIB
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeLnx32GuestR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX
c869993e79c1eafbec61a56bf6cea848fe754c71xyifdef IPRT_WITH_KLDR
c869993e79c1eafbec61a56bf6cea848fe754c71xy RuntimeLnx32GuestR3_DEFS += LDR_WITH_KLDR KLDR_USE_CRT
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer RuntimeLnx32GuestR3_DEFS.debug += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyerendif
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal IyerRuntimeLnx32GuestR3_SOURCES = $(RuntimeR3_SOURCES.linux) $(RuntimeR3_SOURCES)
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal IyerRuntimeLnx32GuestR3_INCS = $(RuntimeR3_INCS.linux) $(RuntimeR3_INCS)
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# VBoxRT - Shared Object / DLL version.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_TEMPLATE = VBOXR3
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL
c869993e79c1eafbec61a56bf6cea848fe754c71xyifeq ($(BUILD_TARGET),darwin)
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_INST = $(INST_DLL) $(INST_TESTCASE)
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_DEFS = $(RuntimeR3_DEFS) IN_SUP_R3 IN_SUP_R3
da14cebe459d3275048785f25bd869cb09b5307fEric ChengVBoxRT_DEFS.$(BUILD_TYPE) = $(RuntimeR3_DEFS.$(BUILD_TYPE))
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_SOURCES = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy VBox/VBoxRTDeps.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(RuntimeR3_SOURCES)
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_SOURCES.$(BUILD_TARGET) = $(RuntimeR3_SOURCES.$(BUILD_TARGET))
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_SOURCES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH))
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_SOURCES.win += r3/win32/dllmain-win32.cpp
da14cebe459d3275048785f25bd869cb09b5307fEric ChengVBoxRT_SOURCES.win.amd64 += r3/win64/VBoxRT-win64.def
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_INCS = $(RuntimeR3_INCS)
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_INCS.$(BUILD_TARGET) = $(RuntimeR3_INCS.$(BUILD_TARGET))
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_INCS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(BUILD_TARGET).$(BUILD_TARGET_ARCH))
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LIBS = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China $(PATH_LIB)/VBox-liblzf$(VBOX_SUFF_LIB)
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LIBS.darwin = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy iconv
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LIBS.freebsd = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy iconv
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LIBPATH.freebsd = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy /usr/local/lib
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LDFLAGS.darwin = -framework IOKit -install_name @executable_path/VBoxRT.dylib
c869993e79c1eafbec61a56bf6cea848fe754c71xyifdef VBOX_USE_VCC80
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LDFLAGS.win = /MANIFEST
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LDFLAGS.l4 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy -Wl,-whole-archive \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB) \
c869993e79c1eafbec61a56bf6cea848fe754c71xy -Wl,-no-whole-archive
c869993e79c1eafbec61a56bf6cea848fe754c71xyifeq ($(BUILD_TARGET),l4)
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LIBS += \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(L4_LIBDIR)/libl4sys.a \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(L4_LIBDIR)/libl4sys.p.a
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xyVBoxRT_LIBS.l4 = \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB)
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China# RuntimeR3NoCRTGCC - CRT replacement lib for VBoxREM.
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China# This is used together with VBoxRT.
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China#
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3NoCRTGCC_TEMPLATE = VBOXNOCRTGCC
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3NoCRTGCC_LIBSUFF = $(VBOX_SUFF_LIB)
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeR3NoCRTGCC_SOURCES = \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China misc/sanity-cpp.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China misc/sanity-c.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/ceill.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/cosl.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/fabs.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/fabsf.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/fabsl.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/floor.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/floorf.asm \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/floorl.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/ldexpl.asm \
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer math/llrint.asm \
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer math/llrintf.asm \
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer math/llrintl.asm \
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer math/logl.asm \
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer math/lrint.asm \
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer math/lrintf.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/lrintl.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/remainder.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/remainderf.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/remainderl.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/sinl.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/tanl.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/trunc.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng math/truncf.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/truncl.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy \
c869993e79c1eafbec61a56bf6cea848fe754c71xy misc/setjmp.asm \
b8d0a37778010a5166d34bb0d192cf6b1b2f7becchenlu chen - Sun Microsystems - Beijing China \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/memchr.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/memchr_alias.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcmp.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcmp_alias.c \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/memcpy.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/memcpy_alias.c \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/mempcpy.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/memset.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/memset_alias.c \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/strchr.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/strchr_alias.c \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/strcmp.asm \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/strcmp_alias.c
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR3NoCRTGCC_SOURCES.x86 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/x86/fenv-x86.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/adddi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/anddi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/ashldi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/ashrdi3.c \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China math/gcc/cmpdi2.c \
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China math/gcc/divdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/iordi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/lshldi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/lshrdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/moddi3.c \
cf8dcc9bbabedca41ecfee13dec8172104e99968zhefeng xu - Sun Microsystems - Beijing China math/gcc/muldi3.c \
cf8dcc9bbabedca41ecfee13dec8172104e99968zhefeng xu - Sun Microsystems - Beijing China math/gcc/negdi2.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/notdi2.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/qdivrem.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/subdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/ucmpdi2.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/gcc/udivdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/umoddi3.c \
b8d0a37778010a5166d34bb0d192cf6b1b2f7becchenlu chen - Sun Microsystems - Beijing China math/gcc/xordi3.c
c869993e79c1eafbec61a56bf6cea848fe754c71xy
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China## @todo stop using the old memcpy.c and memset.c code.
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng#
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng# RuntimeR0 - Ring0 library for VMMR0.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
da14cebe459d3275048785f25bd869cb09b5307fEric ChengRuntimeR0_TEMPLATE = VBOXR0
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0_SOURCES = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy misc/sanity-cpp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy misc/sanity-c.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy assert.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng generic/RTAssertDoBreakpoint-generic.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng table/avlhcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlgcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlogcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlohcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlpv.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlrogcphys.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlogcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlrogcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlroogcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avloioport.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China table/avlroioport.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy logcom.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy logformat.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strformat.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strformatrt.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strprintf.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memchr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcmp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcpy.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memset.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strcpy.cpp \
b8d0a37778010a5166d34bb0d192cf6b1b2f7becchenlu chen - Sun Microsystems - Beijing China string/strlen.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strncmp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strpbrk.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy VBox/strformat-vbox.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy timesup.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0_SOURCES.os2 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy os2/RTErrConvertFromOS2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy os2/sys0.asm
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0_SOURCES.darwin.x86 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/adddi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/anddi3.c \
cf8dcc9bbabedca41ecfee13dec8172104e99968zhefeng xu - Sun Microsystems - Beijing China math/gcc/ashldi3.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China math/gcc/ashrdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/cmpdi2.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/divdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/iordi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/lshldi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/lshrdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/moddi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/muldi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/negdi2.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/notdi2.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/qdivrem.c \
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republic math/gcc/subdi3.c \
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republic math/gcc/ucmpdi2.c \
6ca163a136944eea4423498926e09cef9889312cvitezslav batrla - Sun Microsystems - Prague Czech Republic math/gcc/udivdi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/umoddi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/xordi3.c
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xystring/memchr.cpp_CXXFLAGS.win = -Oi-
c869993e79c1eafbec61a56bf6cea848fe754c71xystring/memcmp.cpp_CXXFLAGS.win = -Oi-
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amorestring/memcpy.cpp_CXXFLAGS.win = -Oi-
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amorestring/memset.cpp_CXXFLAGS.win = -Oi-
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amorestring/strcpy.cpp_CXXFLAGS.win = -Oi-
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amorestring/strlen.cpp_CXXFLAGS.win = -Oi-
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amoreifeq ($(BUILD_TARGET),l4)
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_BLD_TRG = linux
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_BLD_TRG_ARCH = x86
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_BLD_TRG_CPU = i386
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amoreendif
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore#
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore# RuntimeR0Drv - Ring0 library for host drivers.
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore#
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_TEMPLATE = VBOXR0DRV
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_SDKS.win = W2K3DDK WINPSDKINCS
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_INCS := $(PATH_SUB_CURRENT)
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_DEFS.win = IN_SUP_R0
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_DEFS.linux = MODULE KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) IN_SUP_R0 # why is IN_SUP_R0 here? because!
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_INCS.linux = \
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore r0drv/linux
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'AmoreRuntimeR0Drv_SOURCES = \
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore misc/sanity-cpp.cpp \
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore misc/sanity-c.c \
13485e69b5429e6c7d27301fb3c0deee0e93768aGarrett D'Amore assert.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China log.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China logcom.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China logformat.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China string/strpbrk.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China strformat.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China strformatrt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China strtonum.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China strprintf.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China VBox/strformat-vbox.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/alloc-r0drv.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/initterm-r0drv.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China generic/RTLogWriteStdErr-stub-generic.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China generic/RTLogWriteStdOut-stub-generic.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China generic/RTLogWriteUser-generic.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China VBox/log-vbox.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China table/avlpv.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China crc32.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China crc64.cpp
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeR0Drv_SOURCES.linux = \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China generic/RTAssertDoBreakpoint-generic.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China alloc/heapsimple.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/linux/alloc-r0drv-linux.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/linux/initterm-r0drv-linux.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/linux/process-r0drv-linux.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/linux/semaphore-r0drv-linux.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/linux/spinlock-r0drv-linux.c \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/linux/thread-r0drv-linux.c
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeR0Drv_SOURCES.win = \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China generic/RTAssertDoBreakpoint-generic.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China nt/RTErrConvertFromNtStatus.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/nt/alloc-r0drv-nt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/nt/initterm-r0drv-nt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/nt/process-r0drv-nt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/nt/RTLogWriteDebugger-r0drv-nt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/nt/semaphore-r0drv-nt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/nt/spinlock-r0drv-nt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China r0drv/nt/thread-r0drv-nt.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China string/strncmp.cpp
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0Drv_SOURCES.win.amd64 = \
8bb4b220fdb894543e41a5f9037898cf3c3f312bgl $(RuntimeWin64ASM_SOURCES)
8bb4b220fdb894543e41a5f9037898cf3c3f312bgl
8bb4b220fdb894543e41a5f9037898cf3c3f312bglRuntimeR0Drv_SOURCES.darwin = \
8bb4b220fdb894543e41a5f9037898cf3c3f312bgl darwin/RTErrConvertFromDarwinKern.cpp \
8bb4b220fdb894543e41a5f9037898cf3c3f312bgl darwin/RTErrConvertFromDarwinIO.cpp \
d11274aa6f1c1462c11e04d3da70b7453f6f0ebdPaul Guo generic/RTAssertDoBreakpoint-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/RTTimerCreate-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy RTErrConvertFromErrno.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memchr.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/memobj-r0drv.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/alloc-r0drv-darwin.cpp \
b8d0a37778010a5166d34bb0d192cf6b1b2f7becchenlu chen - Sun Microsystems - Beijing China r0drv/darwin/memobj-r0drv-darwin.cpp \
b8d0a37778010a5166d34bb0d192cf6b1b2f7becchenlu chen - Sun Microsystems - Beijing China r0drv/darwin/initterm-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/process-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/RTLogWriteDebugger-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/semaphore-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/spinlock-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/thread-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/thread2-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/darwin/time-r0drv-darwin.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy thread.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy generic/timer-generic.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0Drv_DEFS.os2 += RT_WITHOUT_NOCRT_WRAPPERS
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeR0Drv_SOURCES.os2 = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memchr.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcmp.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcpy.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/mempcpy.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memset.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strchr.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strcmp.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strcpy.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strlen.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strncmp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy \
c869993e79c1eafbec61a56bf6cea848fe754c71xy os2/RTErrConvertFromOS2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy os2/sys0.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy thread.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/memobj-r0drv.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/alloc-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/assert-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/assertA-r0drv-os2.asm \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/initterm-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/memobj-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/os2imports.imp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/process-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/semevent-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/semeventmulti-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/semfastmutex-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/spinlock-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/thread-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/thread2-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/time-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/timer-r0drv-os2.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy r0drv/os2/timerA-r0drv-os2.asm \
7d46e7ad7bb3e7ef36bb4f0816ad4d6c2784f405zhefeng xu - Sun Microsystems - Beijing China r0drv/os2/RTAssertDoBreakpoint-r0drv-os2.asm \
7d46e7ad7bb3e7ef36bb4f0816ad4d6c2784f405zhefeng xu - Sun Microsystems - Beijing China r0drv/os2/RTR0Os2DHQueryDOSVar.asm \
7d46e7ad7bb3e7ef36bb4f0816ad4d6c2784f405zhefeng xu - Sun Microsystems - Beijing China r0drv/os2/RTR0Os2DHVMGlobalToProcess.asm \
7d46e7ad7bb3e7ef36bb4f0816ad4d6c2784f405zhefeng xu - Sun Microsystems - Beijing China generic/RTLogWriteDebugger-generic.cpp
3f7e60a636ef887af87fadf9ab6289c672532dd9zhefeng xu - Sun Microsystems - Beijing China
3f7e60a636ef887af87fadf9ab6289c672532dd9zhefeng xu - Sun Microsystems - Beijing China## PORTME: Porters create and add their selection of platform specific Ring-0 Driver files here.
80a11ad227f9c82cd6e7cf5c8913a37f00b7af0echenlu chen - Sun Microsystems - Beijing China
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# RuntimeW32GuestR0 - Win32 guest driver runtime.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR0_TEMPLATE = VBOXW32GUESTR0LIB
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR0_SDKS = W2K3DDKX86 WINPSDKINCS
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR0_INCS := $(PATH_SUB_CURRENT)
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeW32GuestR0_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS IN_SUP_R0
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeW32GuestR0_SOURCES = \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China $(filter-out generic/RTLogWriteUser-generic.cpp,$(RuntimeR0Drv_SOURCES)) \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(RuntimeR0Drv_SOURCES.win) \
c869993e79c1eafbec61a56bf6cea848fe754c71xy VBox/logbackdoor.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xyifdef VBOX_USE_VCC80
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32GuestR0_SOURCES += \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China string/memchr.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China string/memcmp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcpy.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/memset.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/strlen.cpp
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# RuntimeW32NT4GuestR0 - Win32 NT4 guest driver runtime.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
8bb4b220fdb894543e41a5f9037898cf3c3f312bglRuntimeW32NT4GuestR0_TEMPLATE = VBOXW32GUESTR0LIB
8bb4b220fdb894543e41a5f9037898cf3c3f312bglRuntimeW32NT4GuestR0_SDKS = $(RuntimeW32GuestR0_SDKS)
8bb4b220fdb894543e41a5f9037898cf3c3f312bglRuntimeW32NT4GuestR0_DEFS = $(RuntimeW32GuestR0_DEFS) IPRT_TARGET_NT4
837c1ac4e72b7d86278cca88b1075af557f7d161Stephen HansonRuntimeW32NT4GuestR0_INCS = $(RuntimeW32GuestR0_INCS)
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeW32NT4GuestR0_SOURCES = $(RuntimeW32GuestR0_SOURCES)
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xy# RuntimeLnx32GuestR0 - 32-bit Linux guest driver runtime.
c869993e79c1eafbec61a56bf6cea848fe754c71xy#
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeLnx32GuestR0_TEMPLATE = VBOXLNX32GUESTR0
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeLnx32GuestR0_DEFS = RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS IN_SUP_R0 \
c869993e79c1eafbec61a56bf6cea848fe754c71xy MODULE KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\)
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeLnx32GuestR0_INCS = $(RuntimeR0Drv_INCS.linux) $(RuntimeR0Drv_INCS)
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeLnx32GuestR0_SOURCES = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(RuntimeR0Drv_SOURCES) \
c869993e79c1eafbec61a56bf6cea848fe754c71xy $(RuntimeR0Drv_SOURCES.linux) \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng VBox/logbackdoor.cpp
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China#
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer# RuntimeGC - Guest context library.
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer#
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal IyerRuntimeGC_TEMPLATE = VBOXGC
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing ChinaRuntimeGC_DEFS = IN_RT_GC RT_WITH_VBOX
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal IyerRuntimeGC_SOURCES = \
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyer misc/sanity-cpp.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China misc/sanity-c.c \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng table/avlogcphys.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng table/avlrogcphys.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng table/avlogcptr.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng table/avlohcphys.cpp \
ac7f5757903d7806e03e59f71c10eec36e0deadechenlu chen - Sun Microsystems - Beijing China table/avlrogcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlroogcptr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avloioport.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy table/avlroioport.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy assert.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng generic/RTAssertDoBreakpoint-generic.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy log.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy logcom.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy logformat.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strpbrk.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strncmp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strformat.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strformatrt.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy strprintf.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy VBox/strformat-vbox.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy timesup.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memchr.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcmp.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memcpy.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/memset.cpp \
c869993e79c1eafbec61a56bf6cea848fe754c71xy string/strcpy.cpp \
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng string/strlen.cpp
da14cebe459d3275048785f25bd869cb09b5307fEric Cheng
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal Iyerifeq ($(VBOX_LDR_FMT32),lx)
0dc2366f7b9f9f36e10909b1e95edbf2a261c2acVenugopal IyerRuntimeGC_SOURCES += os2/sys0.asm
c869993e79c1eafbec61a56bf6cea848fe754c71xyendif
c869993e79c1eafbec61a56bf6cea848fe754c71xy
c869993e79c1eafbec61a56bf6cea848fe754c71xyRuntimeGC_SOURCES.darwin = \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/adddi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/anddi3.c \
c869993e79c1eafbec61a56bf6cea848fe754c71xy math/gcc/ashldi3.c \
math/gcc/ashrdi3.c \
math/gcc/cmpdi2.c \
math/gcc/divdi3.c \
math/gcc/iordi3.c \
math/gcc/lshldi3.c \
math/gcc/lshrdi3.c \
math/gcc/moddi3.c \
math/gcc/muldi3.c \
math/gcc/negdi2.c \
math/gcc/notdi2.c \
math/gcc/qdivrem.c \
math/gcc/subdi3.c \
math/gcc/ucmpdi2.c \
math/gcc/udivdi3.c \
math/gcc/umoddi3.c \
math/gcc/xordi3.c
#
# Static library for new & delete for the electric fence.
#
RuntimeEFCPP_TEMPLATE = $(RuntimeR3_TEMPLATE)
RuntimeEFCPP_SDKS = $(RuntimeR3_SDKS)
RuntimeEFCPP_SDKS.$(BUILD_TARGET) = $(RuntimeR3_SDKS.$(BUILD_TARGET))
RuntimeEFCPP_DEFS = $(RuntimeR3_DEFS)
RuntimeEFCPP_DEFS.$(BUILD_TARGET) = $(RuntimeR3_DEFS.$(BUILD_TARGET))
RuntimeEFCPP_INCS = $(RuntimeR3_INCS)
RuntimeEFCPP_INCS.$(BUILD_TARGET) = $(RuntimeR3_INCS.$(BUILD_TARGET))
RuntimeEFCPP_SOURCES = r3/alloc-ef-cpp.cpp
#
# errmsg.cpp depends on a generated header.
#
errmsg.cpp_DEPS = $(PATH_TARGET)/errmsgdata.h
errmsg.cpp_INCS = $(PATH_TARGET)
win32/errmsgwin.cpp_DEPS = $(PATH_TARGET)/errmsgcomdata.h
win32/errmsgwin.cpp_INCS = $(PATH_TARGET)
linux/errmsglinux.cpp_DEPS = $(PATH_TARGET)/errmsgxpcomdata.h
linux/errmsglinux.cpp_INCS = $(PATH_TARGET)
# Generate the rules
include $(PATH_KBUILD)/footer.kmk
#
# Generate the status code data.
#
$(PATH_TARGET)/errmsgdata.h: errmsg.sed $(DEPTH)/include/iprt/err.h $(DEPTH)/include/VBox/err.h
$(call MSG_GENERATE,,$@,$(filter %.h,$^))
$(QUIET)$(MKDIR) -p $(PATH_TARGET)
$(QUIET)$(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: errmsgcom.sed $(PATH_SDK_WINPSDK_INC)/WinError.h
$(call MSG_GENERATE,,$@,$(filter %.h,$^))
$(QUIET)$(MKDIR) -p $(PATH_TARGET)
$(QUIET)$(SED) -f $< $(filter %.h,$^) > $@
$(PATH_TARGET)/errmsgxpcomdata.h: errmsgxpcom.sed $(DEPTH)/src/libs/xpcom18a4/xpcom/base/nsError.h
$(call MSG_GENERATE,,$@,$(filter %.h,$^))
$(QUIET)$(MKDIR) -p $(PATH_TARGET)
$(QUIET)$(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 \
string \
table \
$(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 \
$(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 . table"
$(APPEND) $@.tmp "INCLUDE_FILE_PATTERNS = *.cpp.h"
$(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)