1 | # $Id: Makefile.kmk 106558 2024-10-21 11:31:16Z vboxsync $
|
---|
2 | ## @file
|
---|
3 | # Sub-Makefile for the IPRT.
|
---|
4 | #
|
---|
5 |
|
---|
6 | #
|
---|
7 | # Copyright (C) 2006-2024 Oracle and/or its affiliates.
|
---|
8 | #
|
---|
9 | # This file is part of VirtualBox base platform packages, as
|
---|
10 | # available from https://www.virtualbox.org.
|
---|
11 | #
|
---|
12 | # This program is free software; you can redistribute it and/or
|
---|
13 | # modify it under the terms of the GNU General Public License
|
---|
14 | # as published by the Free Software Foundation, in version 3 of the
|
---|
15 | # License.
|
---|
16 | #
|
---|
17 | # This program is distributed in the hope that it will be useful, but
|
---|
18 | # WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
19 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
20 | # General Public License for more details.
|
---|
21 | #
|
---|
22 | # You should have received a copy of the GNU General Public License
|
---|
23 | # along with this program; if not, see <https://www.gnu.org/licenses>.
|
---|
24 | #
|
---|
25 | # The contents of this file may alternatively be used under the terms
|
---|
26 | # of the Common Development and Distribution License Version 1.0
|
---|
27 | # (CDDL), a copy of it is provided in the "COPYING.CDDL" file included
|
---|
28 | # in the VirtualBox distribution, in which case the provisions of the
|
---|
29 | # CDDL are applicable instead of those of the GPL.
|
---|
30 | #
|
---|
31 | # You may elect to license modified versions of this file under the
|
---|
32 | # terms and conditions of either the GPL or the CDDL or both.
|
---|
33 | #
|
---|
34 | # SPDX-License-Identifier: GPL-3.0-only OR CDDL-1.0
|
---|
35 | #
|
---|
36 |
|
---|
37 | SUB_DEPTH = ../../..
|
---|
38 | include $(KBUILD_PATH)/subheader.kmk
|
---|
39 |
|
---|
40 | ifdef VBOX_ONLY_SDK
|
---|
41 | # Required for xpidl
|
---|
42 | LIBRARIES += RuntimeBldProg
|
---|
43 | else ifdef VBOX_ONLY_ADDITIONS
|
---|
44 | #
|
---|
45 | # Only build the additions, sort out the legacy names first.
|
---|
46 | #
|
---|
47 | LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared
|
---|
48 | LIBRARIES.win += RuntimeR3NoCrt
|
---|
49 | LIBRARIES.win.amd64 += RuntimeGuestR3-x86 RuntimeGuestR3Shared-x86
|
---|
50 | ifdef VBOX_WITH_ADDITION_DRIVERS
|
---|
51 | LIBRARIES += RuntimeGuestR0
|
---|
52 | #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
|
---|
53 | endif
|
---|
54 | ifndef VBOX_ONLY_ADDITIONS_WITHOUT_RTISOMAKER
|
---|
55 | LIBRARIES += RuntimeBldProg
|
---|
56 | include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
|
---|
57 | endif
|
---|
58 |
|
---|
59 | else ifdef VBOX_ONLY_VALIDATIONKIT
|
---|
60 | #
|
---|
61 | # Only build the Validation Kit.
|
---|
62 | #
|
---|
63 | LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeR3 RuntimeBldProg
|
---|
64 | ifdef VBOX_WITH_R0_MODULES
|
---|
65 | LIBRARIES += RuntimeR0
|
---|
66 | endif
|
---|
67 | LIBRARIES.solaris += RuntimeR0Stub
|
---|
68 | LIBRARIES.win += RuntimeR0Stub #RuntimeR3NoCrt
|
---|
69 | ifndef VBOX_WITH_NOCRT_STATIC
|
---|
70 | LIBRARIES.win.x86 += RuntimeR3VccTricks
|
---|
71 | endif
|
---|
72 | include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
|
---|
73 | ifdef VBOX_WITH_VALIDATIONKIT_UNITTESTS_PACKING
|
---|
74 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
75 | endif
|
---|
76 | else ifdef VBOX_ONLY_DOCS
|
---|
77 | #
|
---|
78 | # Build docs only - need just regular R3 runtime.
|
---|
79 | #
|
---|
80 | LIBRARIES += RuntimeR3 RuntimeBldProg
|
---|
81 | include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
|
---|
82 |
|
---|
83 | else ifdef VBOX_ONLY_EXTPACKS_USE_IMPLIBS
|
---|
84 | #
|
---|
85 | # Build extension packs using import libraries as much as possible (VBoxDTrace
|
---|
86 | # needs Ring-0 IPRT, though).
|
---|
87 | #
|
---|
88 | LIBRARIES += RuntimeBldProg
|
---|
89 | ifdef VBOX_WITH_R0_MODULES
|
---|
90 | LIBRARIES += RuntimeR0
|
---|
91 | endif
|
---|
92 | LIBRARIES.solaris += RuntimeR0Stub
|
---|
93 | LIBRARIES.win += RuntimeR0Stub
|
---|
94 | ifdef VBOX_WITH_RAW_MODE
|
---|
95 | LIBRARIES.win += RuntimeRCStub
|
---|
96 | endif
|
---|
97 | ifneq ($(VBOX_LIB_RUNTIME_STATIC),$(VBOX_LIB_RUNTIME_STATIC_NO_ASAN))
|
---|
98 | LIBRARIES += RuntimeR3NoAsan
|
---|
99 | else
|
---|
100 | LIBRARIES += RuntimeR3
|
---|
101 | endif
|
---|
102 | include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
|
---|
103 |
|
---|
104 | else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_VALIDATIONKIT && !VBOX_ONLY_DOCS
|
---|
105 |
|
---|
106 | #
|
---|
107 | # Normal build.
|
---|
108 | #
|
---|
109 | ifndef VBOX_ONLY_EXTPACKS
|
---|
110 | include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
|
---|
111 | endif
|
---|
112 | include $(PATH_SUB_CURRENT)/tools/Makefile.kmk
|
---|
113 |
|
---|
114 | BLDPROGS += uniread
|
---|
115 | LIBRARIES += RuntimeR3 RuntimeBldProg RuntimeEFCPP
|
---|
116 | ifdef VBOX_WITH_R0_MODULES
|
---|
117 | LIBRARIES += RuntimeR0
|
---|
118 | endif
|
---|
119 | LIBRARIES.solaris += RuntimeR0Stub
|
---|
120 | LIBRARIES.win += RuntimeR0Stub
|
---|
121 | LIBRARIES.win.x86 += RuntimeR3NoCrt
|
---|
122 | LIBRARIES.win.amd64 += RuntimeR3NoCrt
|
---|
123 | ifndef VBOX_WITH_PARFAIT
|
---|
124 | LIBRARIES.win.amd64 += RuntimeR3-x86
|
---|
125 | endif
|
---|
126 | ifdef VBOX_WITH_RAW_MODE
|
---|
127 | LIBRARIES += RuntimeRC
|
---|
128 | LIBRARIES.win += RuntimeRCStub
|
---|
129 | endif
|
---|
130 | ifdef VBOX_WITH_VBOXDRV
|
---|
131 | LIBRARIES += RuntimeR0Drv
|
---|
132 | endif
|
---|
133 | ifdef VBOX_WITH_ADDITIONS
|
---|
134 | LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared
|
---|
135 | LIBRARIES.win.amd64 += RuntimeGuestR3-x86 RuntimeGuestR3Shared-x86
|
---|
136 | ifdef VBOX_WITH_ADDITION_DRIVERS
|
---|
137 | LIBRARIES += RuntimeGuestR0
|
---|
138 | endif
|
---|
139 | #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
|
---|
140 | endif # VBOX_WITH_ADDITIONS
|
---|
141 | ifndef VBOX_WITH_NOCRT_STATIC
|
---|
142 | LIBRARIES.win.x86 += RuntimeR3VccTricks
|
---|
143 | endif
|
---|
144 | ifneq ($(VBOX_LIB_RUNTIME_STATIC),$(VBOX_LIB_RUNTIME_STATIC_NO_ASAN))
|
---|
145 | LIBRARIES += RuntimeR3NoAsan
|
---|
146 | endif
|
---|
147 | DLLS += VBoxRT
|
---|
148 | ifdef VBOX_WITH_32_ON_64_MAIN_API
|
---|
149 | DLLS += VBoxRT-x86
|
---|
150 | endif
|
---|
151 | endif
|
---|
152 |
|
---|
153 |
|
---|
154 | # Always build the ntdll import libraries on windows.
|
---|
155 | if1of (amd64 x86, $(KBUILD_TARGET_ARCH) $(KBUILD_HOST_ARCH))
|
---|
156 | LIBRARIES.win += RuntimeR3NtDll-x86
|
---|
157 | endif
|
---|
158 | if1of (amd64, $(KBUILD_TARGET_ARCH) $(KBUILD_HOST_ARCH))
|
---|
159 | LIBRARIES.win += RuntimeR3NtDll-amd64
|
---|
160 | endif
|
---|
161 | if1of (arm64, $(KBUILD_TARGET_ARCH) $(KBUILD_HOST_ARCH))
|
---|
162 | LIBRARIES.win += RuntimeR3NtDll-arm64
|
---|
163 | endif
|
---|
164 |
|
---|
165 |
|
---|
166 | # Always build the import library.
|
---|
167 | IMPORT_LIBS += VBoxRTImp
|
---|
168 |
|
---|
169 |
|
---|
170 | # Where the generated stuff goes.
|
---|
171 | IPRT_OUT_DIR := $(PATH_TARGET)/Runtime
|
---|
172 | BLDDIRS += $(IPRT_OUT_DIR)
|
---|
173 | OTHER_CLEAN += \
|
---|
174 | $(IPRT_OUT_DIR)/errmsgdata.h \
|
---|
175 | $(IPRT_OUT_DIR)/errmsgwindata.h \
|
---|
176 | $(IPRT_OUT_DIR)/errmsgwindata-sorted.h \
|
---|
177 | $(IPRT_OUT_DIR)/errmsgwindata-sorted.h.ts \
|
---|
178 | $(IPRT_OUT_DIR)/errmsgvboxcomdata.h \
|
---|
179 | $(IPRT_OUT_DIR)/errmsgvboxcomdata.h.ts \
|
---|
180 | $(IPRT_OUT_DIR)/odi2name.h \
|
---|
181 | $(IPRT_OUT_DIR)/odi2name.h.ts \
|
---|
182 | $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt \
|
---|
183 | $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt.dep \
|
---|
184 | $(IPRT_DOXYFILE_OUTPUT)/docs.iprt
|
---|
185 |
|
---|
186 |
|
---|
187 | #
|
---|
188 | # Globals
|
---|
189 | #
|
---|
190 | VBOX_PATH_RUNTIME_SRC := $(PATH_SUB_CURRENT)
|
---|
191 |
|
---|
192 |
|
---|
193 | #
|
---|
194 | # Set the defines that buildconfig.cpp needs. Its used by several targets.
|
---|
195 | #
|
---|
196 | common/misc/buildconfig.cpp_DEFS = \
|
---|
197 | IPRT_BLDCFG_SCM_REV=$(VBOX_SVN_REV) \
|
---|
198 | IPRT_BLDCFG_VERSION_MAJOR=$(VBOX_VERSION_MAJOR) \
|
---|
199 | IPRT_BLDCFG_VERSION_MINOR=$(VBOX_VERSION_MINOR) \
|
---|
200 | IPRT_BLDCFG_VERSION_BUILD=$(VBOX_VERSION_BUILD)
|
---|
201 | ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
|
---|
202 | common/misc/buildconfig.cpp_DEFS += \
|
---|
203 | IPRT_BLDCFG_VERSION_STRING="$(VBOX_VERSION_STRING)" \
|
---|
204 | IPRT_BLDCFG_TARGET="$(KBUILD_TARGET)" \
|
---|
205 | IPRT_BLDCFG_TARGET_ARCH="$(KBUILD_TARGET_ARCH)" \
|
---|
206 | IPRT_BLDCFG_TYPE="$(KBUILD_TYPE)"
|
---|
207 | else
|
---|
208 | common/misc/buildconfig.cpp_DEFS += \
|
---|
209 | IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \
|
---|
210 | IPRT_BLDCFG_TARGET=\"$(KBUILD_TARGET)\" \
|
---|
211 | IPRT_BLDCFG_TARGET_ARCH=\"$(KBUILD_TARGET_ARCH)\" \
|
---|
212 | IPRT_BLDCFG_TYPE=\"$(KBUILD_TYPE)\"
|
---|
213 | endif
|
---|
214 |
|
---|
215 | #
|
---|
216 | # OID to C table conversion program.
|
---|
217 | #
|
---|
218 | BLDPROGS += oiddb2c
|
---|
219 | oiddb2c_TEMPLATE = VBoxBldProg
|
---|
220 | oiddb2c_SOURCES = common/asn1/oiddb2c.cpp
|
---|
221 |
|
---|
222 | common/asn1/asn1-dump.cpp_DEPS = $(IPRT_OUT_DIR)/oiddb.h
|
---|
223 | common/asn1/asn1-dump.cpp_INCS = $(IPRT_OUT_DIR)
|
---|
224 | OTHER_CLEAN += $(IPRT_OUT_DIR)/oiddb.h $(IPRT_OUT_DIR)/oiddb.h.ts
|
---|
225 |
|
---|
226 | $(IPRT_OUT_DIR)/oiddb.h.ts +| $(IPRT_OUT_DIR)/oiddb.h: \
|
---|
227 | $(VBOX_PATH_RUNTIME_SRC)/common/asn1/oiddb.cfg \
|
---|
228 | $(VBOX_EXTRA_OID_CFG_FILES) \
|
---|
229 | $$(oiddb2c_1_TARGET) \
|
---|
230 | | $$(dir $$@)
|
---|
231 | $(call MSG_GENERATE,,$@,$(filter %.xidl,$^))
|
---|
232 | $(QUIET)$(oiddb2c_1_TARGET) "$@" $(filter %.cfg,$^)
|
---|
233 | $(QUIET)$(CP) --changed -fv "$@" "$(IPRT_OUT_DIR)/oiddb.h"
|
---|
234 |
|
---|
235 |
|
---|
236 | #
|
---|
237 | # Unicode Specification reader used to regenerate unidata-*.cpp.
|
---|
238 | #
|
---|
239 | uniread_TEMPLATE = VBoxBldProg
|
---|
240 | uniread_SOURCES = common/string/uniread.cpp
|
---|
241 | uniread_INCS = include
|
---|
242 |
|
---|
243 | #
|
---|
244 | # Win64 assembly sources.
|
---|
245 | #
|
---|
246 | RuntimeWin64ASM_SOURCES = \
|
---|
247 | win/amd64/ASMAtomicBitClear.asm \
|
---|
248 | win/amd64/ASMAtomicBitTestAndToggle.asm \
|
---|
249 | win/amd64/ASMAtomicBitToggle.asm \
|
---|
250 | win/amd64/ASMAtomicReadU64.asm \
|
---|
251 | win/amd64/ASMAtomicXchgU8.asm \
|
---|
252 | win/amd64/ASMGetCS.asm \
|
---|
253 | win/amd64/ASMGetDS.asm \
|
---|
254 | win/amd64/ASMGetES.asm \
|
---|
255 | common/asm/ASMGetFlags.asm \
|
---|
256 | win/amd64/ASMGetFS.asm \
|
---|
257 | win/amd64/ASMGetGS.asm \
|
---|
258 | win/amd64/ASMGetSS.asm \
|
---|
259 | win/amd64/ASMProbeReadByte.asm \
|
---|
260 | common/asm/ASMSetFlags.asm \
|
---|
261 | common/asm/ASMAddFlags.asm \
|
---|
262 | win/amd64/ASMGetDR0.asm \
|
---|
263 | win/amd64/ASMGetDR1.asm \
|
---|
264 | win/amd64/ASMGetDR2.asm \
|
---|
265 | win/amd64/ASMGetDR3.asm \
|
---|
266 | win/amd64/ASMGetDR6.asm \
|
---|
267 | win/amd64/ASMGetDR7.asm \
|
---|
268 | common/asm/ASMAtomicCmpXchgU8.asm \
|
---|
269 | common/asm/ASMAtomicCmpXchgU16.asm \
|
---|
270 | common/asm/ASMAtomicXchgU16.asm \
|
---|
271 | common/asm/ASMBitFirstClear.asm \
|
---|
272 | common/asm/ASMBitFirstSet.asm \
|
---|
273 | common/asm/ASMBitNextClear.asm \
|
---|
274 | common/asm/ASMBitNextSet.asm \
|
---|
275 | common/asm/ASMMultU32ByU32DivByU32.asm \
|
---|
276 | common/asm/ASMMultU64ByU32DivByU32.asm \
|
---|
277 | common/asm/ASMCpuId_Idx_ECX.asm \
|
---|
278 | common/asm/ASMNopPause.asm \
|
---|
279 | common/asm/ASMGetIDTR.asm \
|
---|
280 | common/asm/ASMGetIdtrLimit.asm \
|
---|
281 | common/asm/ASMSetIDTR.asm \
|
---|
282 | common/asm/ASMGetGDTR.asm \
|
---|
283 | common/asm/ASMSetGDTR.asm \
|
---|
284 | common/asm/ASMGetLDTR.asm \
|
---|
285 | common/asm/ASMGetSegAttr.asm \
|
---|
286 | common/asm/ASMGetFSBase.asm \
|
---|
287 | common/asm/ASMSetFSBase.asm \
|
---|
288 | common/asm/ASMGetGSBase.asm \
|
---|
289 | common/asm/ASMSetGSBase.asm \
|
---|
290 | common/asm/ASMGetTR.asm
|
---|
291 |
|
---|
292 | #
|
---|
293 | # Win32 assembly sources.
|
---|
294 | #
|
---|
295 | RuntimeWin32ASM_SOURCES = \
|
---|
296 | common/asm/ASMAtomicCmpXchgU8.asm \
|
---|
297 | common/asm/ASMAtomicCmpXchgU16.asm \
|
---|
298 | common/asm/ASMAtomicXchgU16.asm \
|
---|
299 | common/asm/ASMMultU32ByU32DivByU32.asm \
|
---|
300 | common/asm/ASMMultU64ByU32DivByU32.asm \
|
---|
301 | common/asm/ASMCpuId_Idx_ECX.asm \
|
---|
302 | common/asm/ASMGetSegAttr.asm
|
---|
303 |
|
---|
304 |
|
---|
305 | #
|
---|
306 | # NoCRT sources (minus math stuff).
|
---|
307 | #
|
---|
308 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
309 | RuntimeNoCrt_SOURCES = \
|
---|
310 | common/misc/setjmp.asm \
|
---|
311 | common/string/bzero.asm \
|
---|
312 | common/string/memchr.asm \
|
---|
313 | common/string/memcmp.asm \
|
---|
314 | common/string/memcpy.asm \
|
---|
315 | common/string/mempcpy.asm \
|
---|
316 | common/string/memmove.asm \
|
---|
317 | common/string/memset.asm \
|
---|
318 | common/string/strchr.asm \
|
---|
319 | common/string/strcpy.asm \
|
---|
320 | common/string/strncpy.asm \
|
---|
321 | common/string/strcmp.asm \
|
---|
322 | common/string/strlen.asm
|
---|
323 | endif
|
---|
324 |
|
---|
325 |
|
---|
326 | #
|
---|
327 | # RuntimeBaseR3 - Commmon Base Runtime Target for Ring-3 executables.
|
---|
328 | #
|
---|
329 | # Note! This is not make itself, it's only used as a base target config to be
|
---|
330 | # inherited from by RuntimeR3(.lib) and VBoxR3(.dll).
|
---|
331 | #
|
---|
332 | RuntimeBaseR3_TEMPLATE = VBoxR3Static
|
---|
333 | RuntimeBaseR3_SDKS = VBoxLibXml2
|
---|
334 | RuntimeBaseR3_SDKS.win = $(VBOX_WINPSDK) $(VBOX_WINDDK)
|
---|
335 | RuntimeBaseR3_DEFS = \
|
---|
336 | IN_RT_R3 \
|
---|
337 | LDR_WITH_NATIVE \
|
---|
338 | LDR_WITH_ELF32 \
|
---|
339 | LDR_WITH_LX \
|
---|
340 | LDR_WITH_MACHO \
|
---|
341 | LDR_WITH_PE \
|
---|
342 | RT_WITH_VBOX \
|
---|
343 | RT_NO_GIP \
|
---|
344 | RT_WITHOUT_NOCRT_WRAPPERS \
|
---|
345 | NOFILEID
|
---|
346 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86 arm64)
|
---|
347 | RuntimeBaseR3_DEFS += \
|
---|
348 | IN_SUP_R3
|
---|
349 | endif
|
---|
350 | #RuntimeBaseR3_DEFS += RTMEM_WRAP_TO_EF_APIS
|
---|
351 | ifdef IPRT_WITH_LZJB
|
---|
352 | RuntimeBaseR3_DEFS += RTZIP_USE_LZJB
|
---|
353 | endif
|
---|
354 | ifdef IPRT_WITH_LZO
|
---|
355 | RuntimeBaseR3_DEFS += RTZIP_USE_LZO
|
---|
356 | endif
|
---|
357 | ifdef VBOX_WITH_LIBLZMA
|
---|
358 | RuntimeBaseR3_DEFS += IPRT_WITH_LZMA
|
---|
359 | RuntimeBaseR3_SDKS += VBoxLibLzma
|
---|
360 | endif
|
---|
361 | ifn1of ($(KBUILD_TARGET), win)
|
---|
362 | RuntimeBaseR3_DEFS += RT_WITH_ICONV_CACHE
|
---|
363 | endif
|
---|
364 | ifdef IPRT_WITH_FUTEX_BASED_SEMS
|
---|
365 | RuntimeBaseR3_DEFS.linux += IPRT_WITH_FUTEX_BASED_SEMS
|
---|
366 | endif
|
---|
367 | ifdef IPRT_HTTP_WITH_WEBDAV
|
---|
368 | RuntimeBaseR3_DEFS += IPRT_HTTP_WITH_WEBDAV
|
---|
369 | endif
|
---|
370 | ifdef IPRT_WITHOUT_PAM
|
---|
371 | RuntimeBaseR3_DEFS += IPRT_WITHOUT_PAM
|
---|
372 | endif
|
---|
373 | RuntimeBaseR3_INCS = \
|
---|
374 | include \
|
---|
375 | $(SDK_VBoxZlib_INCS) \
|
---|
376 | $(SDK_VBoxLzf_INCS)
|
---|
377 |
|
---|
378 | # RuntimeBaseR3_INCS.solaris = \
|
---|
379 | # /usr/include
|
---|
380 |
|
---|
381 | RuntimeBaseR3_SOURCES := \
|
---|
382 | common/alloc/alloc.cpp \
|
---|
383 | common/alloc/heapsimple.cpp \
|
---|
384 | common/alloc/heapoffset.cpp \
|
---|
385 | common/alloc/memcache.cpp \
|
---|
386 | common/alloc/memtracker.cpp \
|
---|
387 | common/asn1/asn1-basics.cpp \
|
---|
388 | common/asn1/asn1-cursor.cpp \
|
---|
389 | common/asn1/asn1-default-allocator.cpp \
|
---|
390 | common/asn1/asn1-efence-allocator.cpp \
|
---|
391 | common/asn1/asn1-safer-allocator.cpp \
|
---|
392 | common/asn1/asn1-dump.cpp \
|
---|
393 | common/asn1/asn1-encode.cpp \
|
---|
394 | common/asn1/asn1-ut-bitstring.cpp \
|
---|
395 | common/asn1/asn1-ut-bitstring-decode.cpp \
|
---|
396 | common/asn1/asn1-ut-boolean.cpp \
|
---|
397 | common/asn1/asn1-ut-boolean-decode.cpp \
|
---|
398 | common/asn1/asn1-ut-core.cpp \
|
---|
399 | common/asn1/asn1-ut-core-decode.cpp \
|
---|
400 | common/asn1/asn1-ut-dyntype.cpp \
|
---|
401 | common/asn1/asn1-ut-dyntype-decode.cpp \
|
---|
402 | common/asn1/asn1-ut-integer.cpp \
|
---|
403 | common/asn1/asn1-ut-integer-decode.cpp \
|
---|
404 | common/asn1/asn1-ut-null.cpp \
|
---|
405 | common/asn1/asn1-ut-null-decode.cpp \
|
---|
406 | common/asn1/asn1-ut-objid.cpp \
|
---|
407 | common/asn1/asn1-ut-objid-decode.cpp \
|
---|
408 | common/asn1/asn1-ut-octetstring.cpp \
|
---|
409 | common/asn1/asn1-ut-octetstring-decode.cpp \
|
---|
410 | common/asn1/asn1-ut-string.cpp \
|
---|
411 | common/asn1/asn1-ut-string-decode.cpp \
|
---|
412 | common/asn1/asn1-ut-time.cpp \
|
---|
413 | common/asn1/asn1-ut-time-decode.cpp \
|
---|
414 | common/checksum/adler32.cpp \
|
---|
415 | common/checksum/crc32.cpp \
|
---|
416 | common/checksum/crc32c.cpp \
|
---|
417 | common/checksum/crc64.cpp \
|
---|
418 | common/checksum/crc16ccitt.cpp \
|
---|
419 | common/checksum/alt-md2.cpp \
|
---|
420 | common/checksum/alt-md4.cpp \
|
---|
421 | common/checksum/alt-md5.cpp \
|
---|
422 | common/checksum/alt-sha1.cpp \
|
---|
423 | common/checksum/alt-sha256.cpp \
|
---|
424 | common/checksum/alt-sha512.cpp \
|
---|
425 | common/checksum/alt-sha3.cpp \
|
---|
426 | common/checksum/md2str.cpp \
|
---|
427 | common/checksum/md4str.cpp \
|
---|
428 | common/checksum/md5str.cpp \
|
---|
429 | common/checksum/ipv4.cpp \
|
---|
430 | common/checksum/ipv6.cpp \
|
---|
431 | common/checksum/manifest.cpp \
|
---|
432 | common/checksum/manifest2.cpp \
|
---|
433 | common/checksum/manifest3.cpp \
|
---|
434 | common/checksum/manifest-file.cpp \
|
---|
435 | common/checksum/RTSha1Digest.cpp \
|
---|
436 | common/checksum/RTSha256Digest.cpp \
|
---|
437 | common/checksum/sha1str.cpp \
|
---|
438 | common/checksum/sha224str.cpp \
|
---|
439 | common/checksum/sha256str.cpp \
|
---|
440 | common/checksum/sha384str.cpp \
|
---|
441 | common/checksum/sha512str.cpp \
|
---|
442 | common/checksum/sha512t224str.cpp \
|
---|
443 | common/checksum/sha512t256str.cpp \
|
---|
444 | common/crypto/cipher-openssl.cpp \
|
---|
445 | common/crypto/digest-core.cpp \
|
---|
446 | common/crypto/digest-builtin.cpp \
|
---|
447 | common/crypto/digest-vfs.cpp \
|
---|
448 | common/crypto/iprt-openssl.cpp \
|
---|
449 | common/crypto/key.cpp \
|
---|
450 | common/crypto/key-file.cpp \
|
---|
451 | common/crypto/key-openssl.cpp \
|
---|
452 | common/crypto/key-create-rsa-openssl.cpp \
|
---|
453 | common/crypto/rc4-openssl.cpp \
|
---|
454 | common/crypto/rsa-asn1-decoder.cpp \
|
---|
455 | common/crypto/rsa-core.cpp \
|
---|
456 | common/crypto/rsa-init.cpp \
|
---|
457 | common/crypto/rsa-sanity.cpp \
|
---|
458 | common/crypto/pemfile-read.cpp \
|
---|
459 | common/crypto/pemfile-write.cpp \
|
---|
460 | common/crypto/pkcs7-asn1-decoder.cpp \
|
---|
461 | common/crypto/pkcs7-core.cpp \
|
---|
462 | common/crypto/pkcs7-file.cpp \
|
---|
463 | common/crypto/pkcs7-init.cpp \
|
---|
464 | common/crypto/pkcs7-sanity.cpp \
|
---|
465 | common/crypto/pkcs7-sign.cpp \
|
---|
466 | common/crypto/pkcs7-verify.cpp \
|
---|
467 | common/crypto/pkcs8-asn1-decoder.cpp \
|
---|
468 | common/crypto/pkcs8-core.cpp \
|
---|
469 | common/crypto/pkcs8-init.cpp \
|
---|
470 | common/crypto/pkcs8-sanity.cpp \
|
---|
471 | common/crypto/pkix-sign.cpp \
|
---|
472 | common/crypto/pkix-signature-builtin.cpp \
|
---|
473 | common/crypto/pkix-signature-core.cpp \
|
---|
474 | common/crypto/pkix-signature-rsa.cpp \
|
---|
475 | common/crypto/pkix-signature-ossl.cpp \
|
---|
476 | common/crypto/pkix-util.cpp \
|
---|
477 | common/crypto/pkix-verify.cpp \
|
---|
478 | common/crypto/shacrypt.cpp \
|
---|
479 | common/crypto/spc-asn1-decoder.cpp \
|
---|
480 | common/crypto/spc-core.cpp \
|
---|
481 | common/crypto/spc-init.cpp \
|
---|
482 | common/crypto/spc-sanity.cpp \
|
---|
483 | common/crypto/ssl-openssl.cpp \
|
---|
484 | common/crypto/x509-asn1-decoder.cpp \
|
---|
485 | common/crypto/x509-certpaths.cpp \
|
---|
486 | common/crypto/x509-core.cpp \
|
---|
487 | common/crypto/x509-create-sign.cpp \
|
---|
488 | common/crypto/x509-file.cpp \
|
---|
489 | common/crypto/x509-init.cpp \
|
---|
490 | common/crypto/x509-sanity.cpp \
|
---|
491 | common/crypto/x509-verify.cpp \
|
---|
492 | common/crypto/taf-asn1-decoder.cpp \
|
---|
493 | common/crypto/taf-core.cpp \
|
---|
494 | common/crypto/taf-init.cpp \
|
---|
495 | common/crypto/taf-sanity.cpp \
|
---|
496 | common/crypto/tsp-asn1-decoder.cpp \
|
---|
497 | common/crypto/tsp-core.cpp \
|
---|
498 | common/crypto/tsp-init.cpp \
|
---|
499 | common/crypto/tsp-sanity.cpp \
|
---|
500 | common/crypto/store.cpp \
|
---|
501 | common/crypto/store-inmem.cpp \
|
---|
502 | common/crypto/store-cert-add-basic.cpp \
|
---|
503 | common/crypto/RTCrPkcs5Pbkdf2Hmac-openssl.cpp \
|
---|
504 | common/crypto/RTCrRandBytes-openssl.cpp \
|
---|
505 | common/crypto/RTCrStoreCertAddFromJavaKeyStore.cpp \
|
---|
506 | common/crypto/RTCrStoreCertAddWantedFromFishingExpedition.cpp \
|
---|
507 | common/crypto/RTCrStoreCertExportAsPem.cpp \
|
---|
508 | common/crypto/RTCrStoreCreateSnapshotOfUserAndSystemTrustedCAsAndCerts.cpp \
|
---|
509 | common/dbg/dbg.cpp \
|
---|
510 | common/dbg/dbgas.cpp \
|
---|
511 | common/dbg/dbgcfg.cpp \
|
---|
512 | common/dbg/dbgmod.cpp \
|
---|
513 | common/dbg/dbgmodldr.cpp \
|
---|
514 | common/dbg/dbgmodcontainer.cpp \
|
---|
515 | common/dbg/dbgmoddeferred.cpp \
|
---|
516 | common/dbg/dbgmodexports.cpp \
|
---|
517 | common/dbg/dbgmodcodeview.cpp \
|
---|
518 | common/dbg/dbgmoddwarf.cpp \
|
---|
519 | common/dbg/dbgmodmapsym.cpp \
|
---|
520 | common/dbg/dbgmodnm.cpp \
|
---|
521 | common/dvm/dvm.cpp \
|
---|
522 | common/dvm/dvmbsdlabel.cpp \
|
---|
523 | common/dvm/dvmgpt.cpp \
|
---|
524 | common/dvm/dvmmbr.cpp \
|
---|
525 | common/dvm/dvmvfs.cpp \
|
---|
526 | common/efi/efiguid.cpp \
|
---|
527 | common/efi/efitime.cpp \
|
---|
528 | common/efi/efisignaturedb.cpp \
|
---|
529 | common/efi/efivarstorevfs.cpp \
|
---|
530 | common/err/errinfo.cpp \
|
---|
531 | common/err/errinfolog.cpp \
|
---|
532 | common/err/errinfo-alloc.cpp \
|
---|
533 | common/err/errmsg.cpp \
|
---|
534 | common/err/RTErrConvertFromErrno.cpp \
|
---|
535 | common/err/RTErrConvertToErrno.cpp \
|
---|
536 | common/fs/extvfs.cpp \
|
---|
537 | common/fs/fatvfs.cpp \
|
---|
538 | common/fs/isovfs.cpp \
|
---|
539 | common/fs/isomaker.cpp \
|
---|
540 | common/fs/isomakercmd.cpp \
|
---|
541 | common/fs/isomakerimport.cpp \
|
---|
542 | common/fs/ntfsvfs.cpp \
|
---|
543 | common/fs/pdbvfs.cpp \
|
---|
544 | common/fs/RTFsCmdLs.cpp \
|
---|
545 | common/ioqueue/ioqueuebase.cpp \
|
---|
546 | common/ioqueue/ioqueue-stdfile-provider.cpp \
|
---|
547 | common/ldr/ldr.cpp \
|
---|
548 | common/ldr/ldrELF.cpp \
|
---|
549 | common/ldr/ldrEx.cpp \
|
---|
550 | common/ldr/ldrFile.cpp \
|
---|
551 | common/ldr/ldrVfsFile.cpp \
|
---|
552 | common/ldr/ldrLX.cpp \
|
---|
553 | common/ldr/ldrMachO.cpp \
|
---|
554 | common/ldr/ldrMemory.cpp \
|
---|
555 | common/ldr/ldrNative.cpp \
|
---|
556 | common/ldr/ldrPE.cpp \
|
---|
557 | common/log/log.cpp \
|
---|
558 | common/log/log-weak.cpp \
|
---|
559 | common/log/log-weak-assert.cpp \
|
---|
560 | common/log/log-weak-rel.cpp \
|
---|
561 | common/log/logellipsis.cpp \
|
---|
562 | common/log/logrel.cpp \
|
---|
563 | common/log/logrelellipsis.cpp \
|
---|
564 | common/log/logcom.cpp \
|
---|
565 | common/log/logformat.cpp \
|
---|
566 | common/log/tracebuf.cpp \
|
---|
567 | common/log/tracedefault.cpp \
|
---|
568 | common/log/tracelogreader.cpp \
|
---|
569 | common/log/tracelogwriter.cpp \
|
---|
570 | common/log/RTLogCreateEx.cpp \
|
---|
571 | common/math/bignum.cpp \
|
---|
572 | common/misc/RTAssertMsg1Weak.cpp \
|
---|
573 | common/misc/RTAssertMsg2.cpp \
|
---|
574 | common/misc/RTAssertMsg2Add.cpp \
|
---|
575 | common/misc/RTAssertMsg2AddWeak.cpp \
|
---|
576 | common/misc/RTAssertMsg2AddWeakV.cpp \
|
---|
577 | common/misc/RTAssertMsg2Weak.cpp \
|
---|
578 | common/misc/RTAssertMsg2WeakV.cpp \
|
---|
579 | common/misc/RTFileModeToFlags.cpp \
|
---|
580 | common/misc/RTFileOpenF.cpp \
|
---|
581 | common/misc/RTFileOpenV.cpp \
|
---|
582 | common/misc/RTMemWipeThoroughly.cpp \
|
---|
583 | common/misc/RTSystemFirmwareTypeName.cpp \
|
---|
584 | common/misc/acpi.cpp \
|
---|
585 | common/misc/assert.cpp \
|
---|
586 | common/misc/buildconfig.cpp \
|
---|
587 | common/misc/cidr.cpp \
|
---|
588 | common/misc/expreval.cpp \
|
---|
589 | common/misc/fdt.cpp \
|
---|
590 | common/misc/getopt.cpp \
|
---|
591 | common/misc/getoptargv.cpp \
|
---|
592 | common/misc/handle.cpp \
|
---|
593 | common/misc/handletable.cpp \
|
---|
594 | common/misc/handletablectx.cpp \
|
---|
595 | common/misc/handletablesimple.cpp \
|
---|
596 | common/misc/inifile.cpp \
|
---|
597 | common/misc/json.cpp \
|
---|
598 | common/misc/lockvalidator.cpp \
|
---|
599 | common/misc/message.cpp \
|
---|
600 | common/misc/messagerefentry.cpp \
|
---|
601 | common/misc/once.cpp \
|
---|
602 | common/misc/req.cpp \
|
---|
603 | common/misc/reqpool.cpp \
|
---|
604 | common/misc/reqqueue.cpp \
|
---|
605 | common/misc/sanity-c.c \
|
---|
606 | common/misc/sanity-cpp.cpp \
|
---|
607 | common/misc/semspingpong.cpp \
|
---|
608 | common/misc/sg.cpp \
|
---|
609 | common/misc/circbuf.cpp \
|
---|
610 | common/misc/thread.cpp \
|
---|
611 | common/misc/term.cpp \
|
---|
612 | common/misc/uri.cpp \
|
---|
613 | common/net/netaddrstr2.cpp \
|
---|
614 | common/net/macstr.cpp \
|
---|
615 | common/path/rtPathRootSpecLen.cpp \
|
---|
616 | common/path/rtPathVolumeSpecLen.cpp \
|
---|
617 | common/path/RTPathAbsDup.cpp \
|
---|
618 | common/path/RTPathAbsEx.cpp \
|
---|
619 | common/path/RTPathAbsExDup.cpp \
|
---|
620 | common/path/RTPathAppend.cpp \
|
---|
621 | common/path/RTPathAppendEx.cpp \
|
---|
622 | common/path/RTPathCalcRelative.cpp \
|
---|
623 | common/path/RTPathChangeToDosSlashes.cpp \
|
---|
624 | common/path/RTPathChangeToUnixSlashes.cpp \
|
---|
625 | common/path/RTPathCopyComponents.cpp \
|
---|
626 | common/path/RTPathCountComponents.cpp \
|
---|
627 | common/path/RTPathEnsureTrailingSeparator.cpp \
|
---|
628 | common/path/RTPathExt.cpp \
|
---|
629 | common/path/RTPathFilename.cpp \
|
---|
630 | common/path/RTPathFilenameUtf16.cpp \
|
---|
631 | common/path/RTPathFindCommon.cpp \
|
---|
632 | common/path/RTPathGlob.cpp \
|
---|
633 | common/path/RTPathHasExt.cpp \
|
---|
634 | common/path/RTPathHasPath.cpp \
|
---|
635 | common/path/RTPathJoin.cpp \
|
---|
636 | common/path/RTPathJoinA.cpp \
|
---|
637 | common/path/RTPathJoinEx.cpp \
|
---|
638 | common/path/RTPathParentLength.cpp \
|
---|
639 | common/path/RTPathParse.cpp \
|
---|
640 | common/path/RTPathParsedReassemble.cpp \
|
---|
641 | common/path/RTPathParseSimple.cpp \
|
---|
642 | common/path/RTPathPurgeFilename.cpp \
|
---|
643 | common/path/RTPathRealDup.cpp \
|
---|
644 | common/path/RTPathRmCmd.cpp \
|
---|
645 | common/path/RTPathSkipRootSpec.cpp \
|
---|
646 | common/path/RTPathSplit.cpp \
|
---|
647 | common/path/RTPathSplitA.cpp \
|
---|
648 | common/path/RTPathSplitReassemble.cpp \
|
---|
649 | common/path/RTPathStartsWithRoot.cpp \
|
---|
650 | common/path/RTPathStripExt.cpp \
|
---|
651 | common/path/RTPathStripFilename.cpp \
|
---|
652 | common/path/RTPathStripTrailingSlash.cpp \
|
---|
653 | common/path/RTPathTraverseList.cpp \
|
---|
654 | common/path/comparepaths.cpp \
|
---|
655 | common/rand/rand.cpp \
|
---|
656 | common/rand/randadv.cpp \
|
---|
657 | common/rand/randparkmiller.cpp \
|
---|
658 | common/sort/RTSortIsSorted.cpp \
|
---|
659 | common/sort/RTSortApvIsSorted.cpp \
|
---|
660 | common/sort/shellsort.cpp \
|
---|
661 | common/string/RTStrCat.cpp \
|
---|
662 | common/string/RTStrCatEx.cpp \
|
---|
663 | common/string/RTStrCatP.cpp \
|
---|
664 | common/string/RTStrCatPEx.cpp \
|
---|
665 | common/string/RTStrCmp.cpp \
|
---|
666 | common/string/RTStrCopy.cpp \
|
---|
667 | common/string/RTStrCopyEx.cpp \
|
---|
668 | common/string/RTStrCopyP.cpp \
|
---|
669 | common/string/RTStrCopyPEx.cpp \
|
---|
670 | common/string/RTStrNCmp.cpp \
|
---|
671 | common/string/RTStrNLen.cpp \
|
---|
672 | common/string/RTStrNLenEx.cpp \
|
---|
673 | common/string/RTStrPrintHexBytes.cpp \
|
---|
674 | common/string/RTStrStartsWith.cpp \
|
---|
675 | common/string/RTStrIStartsWith.cpp \
|
---|
676 | common/string/RTStrICmpAscii.cpp \
|
---|
677 | common/string/RTStrNICmpAscii.cpp \
|
---|
678 | common/string/RTStrSplit.cpp \
|
---|
679 | common/string/RTStrStr.cpp \
|
---|
680 | common/string/RTUtf16Copy.cpp \
|
---|
681 | common/string/RTUtf16CopyAscii.cpp \
|
---|
682 | common/string/RTUtf16CopyEx.cpp \
|
---|
683 | common/string/RTUtf16Cat.cpp \
|
---|
684 | common/string/RTUtf16CatAscii.cpp \
|
---|
685 | common/string/RTUtf16Chr.cpp \
|
---|
686 | common/string/RTUtf16CmpAscii.cpp \
|
---|
687 | common/string/RTUtf16ICmpAscii.cpp \
|
---|
688 | common/string/RTUtf16End.cpp \
|
---|
689 | common/string/RTUtf16NCmp.cpp \
|
---|
690 | common/string/RTUtf16NCmpAscii.cpp \
|
---|
691 | common/string/RTUtf16NCmpUtf8.cpp \
|
---|
692 | common/string/RTUtf16NICmpAscii.cpp \
|
---|
693 | common/string/RTUtf16FindAscii.cpp \
|
---|
694 | common/string/RTUtf16NLen.cpp \
|
---|
695 | common/string/RTUtf16NLenEx.cpp \
|
---|
696 | common/string/RTUtf16PrintHexBytes.cpp \
|
---|
697 | common/string/base64.cpp \
|
---|
698 | common/string/base64-utf16.cpp \
|
---|
699 | common/string/simplepattern.cpp \
|
---|
700 | common/string/straprintf.cpp \
|
---|
701 | common/string/strformat.cpp \
|
---|
702 | common/string/RTStrFormat.cpp \
|
---|
703 | common/string/strformatfloat.cpp \
|
---|
704 | common/string/strformatnum.cpp \
|
---|
705 | common/string/strformatrt.cpp \
|
---|
706 | common/string/strformattype.cpp \
|
---|
707 | common/string/strhash1.cpp \
|
---|
708 | common/string/stringalloc.cpp \
|
---|
709 | common/string/strprintf.cpp \
|
---|
710 | common/string/strprintf-ellipsis.cpp \
|
---|
711 | common/string/strprintf2.cpp \
|
---|
712 | common/string/strprintf2-ellipsis.cpp \
|
---|
713 | common/string/strcache.cpp \
|
---|
714 | common/string/strspace.cpp \
|
---|
715 | common/string/strstrip.cpp \
|
---|
716 | common/string/strtofloat.cpp \
|
---|
717 | common/string/strtonum.cpp \
|
---|
718 | common/string/strversion.cpp \
|
---|
719 | common/string/uni.cpp \
|
---|
720 | common/string/unidata-flags.cpp \
|
---|
721 | common/string/unidata-lower.cpp \
|
---|
722 | common/string/unidata-upper.cpp \
|
---|
723 | common/string/utf-16.cpp \
|
---|
724 | common/string/utf-16-case.cpp \
|
---|
725 | common/string/utf-16-latin-1.cpp \
|
---|
726 | common/string/utf-16-printf.cpp \
|
---|
727 | common/string/utf-8.cpp \
|
---|
728 | common/string/utf-8-case.cpp \
|
---|
729 | common/string/utf-8-case2.cpp \
|
---|
730 | common/string/ministring.cpp \
|
---|
731 | common/table/avlgcptr.cpp \
|
---|
732 | common/table/avlhcphys.cpp \
|
---|
733 | common/table/avlgcphys.cpp \
|
---|
734 | common/table/avllu32.cpp \
|
---|
735 | common/table/avlou32.cpp \
|
---|
736 | common/table/avlogcphys.cpp \
|
---|
737 | common/table/avlogcptr.cpp \
|
---|
738 | common/table/avlohcphys.cpp \
|
---|
739 | common/table/avloioport.cpp \
|
---|
740 | common/table/avlpv.cpp \
|
---|
741 | common/table/avlrgcptr.cpp \
|
---|
742 | common/table/avlrogcphys.cpp \
|
---|
743 | common/table/avlrogcptr.cpp \
|
---|
744 | common/table/avlroioport.cpp \
|
---|
745 | common/table/avlroogcptr.cpp \
|
---|
746 | common/table/avlrpv.cpp \
|
---|
747 | common/table/avlruintptr.cpp \
|
---|
748 | common/table/avlrfoff.cpp \
|
---|
749 | common/table/avlru64.cpp \
|
---|
750 | common/table/avlu32.cpp \
|
---|
751 | common/table/avlu64.cpp \
|
---|
752 | common/table/avluintptr.cpp \
|
---|
753 | common/table/avlul.cpp \
|
---|
754 | common/table/table.cpp \
|
---|
755 | common/time/time.cpp \
|
---|
756 | common/time/timeprog.cpp \
|
---|
757 | common/time/timesup.cpp \
|
---|
758 | common/time/timezoneinfo.cpp \
|
---|
759 | common/time/RTTimeFormatDurationEx.cpp \
|
---|
760 | common/vfs/vfsbase.cpp \
|
---|
761 | common/vfs/vfschain.cpp \
|
---|
762 | common/vfs/vfsfss2dir.cpp \
|
---|
763 | common/vfs/vfsiosmisc.cpp \
|
---|
764 | common/vfs/vfsmemory.cpp \
|
---|
765 | common/vfs/vfsmisc.cpp \
|
---|
766 | common/vfs/vfsmount.cpp \
|
---|
767 | common/vfs/vfsmsg.cpp \
|
---|
768 | common/vfs/vfsprogress.cpp \
|
---|
769 | common/vfs/vfsreadahead.cpp \
|
---|
770 | common/vfs/vfsstddir.cpp \
|
---|
771 | common/vfs/vfsstdfile.cpp \
|
---|
772 | common/vfs/vfsstdpipe.cpp \
|
---|
773 | common/vfs/vfsprintf.cpp \
|
---|
774 | common/zip/cpiovfs.cpp \
|
---|
775 | common/zip/tarcmd.cpp \
|
---|
776 | common/zip/tarvfs.cpp \
|
---|
777 | common/zip/tarvfswriter.cpp \
|
---|
778 | common/zip/gzipvfs.cpp \
|
---|
779 | common/zip/gzipcmd.cpp \
|
---|
780 | common/zip/pkzip.cpp \
|
---|
781 | common/zip/pkzipvfs.cpp \
|
---|
782 | common/zip/unzipcmd.cpp \
|
---|
783 | common/zip/zip.cpp \
|
---|
784 | generic/createtemp-generic.cpp \
|
---|
785 | generic/critsect-generic.cpp \
|
---|
786 | generic/critsectrw-generic.cpp \
|
---|
787 | generic/env-generic.cpp \
|
---|
788 | generic/http.cpp \
|
---|
789 | generic/RTDirCreateUniqueNumbered-generic.cpp \
|
---|
790 | generic/RTEnvDupEx-generic.cpp \
|
---|
791 | generic/RTFileCopy-generic.cpp \
|
---|
792 | generic/RTFileCopyAttributes-generic.cpp \
|
---|
793 | generic/RTFileCopyEx-generic.cpp \
|
---|
794 | generic/RTFileCopyByHandlesEx-generic.cpp \
|
---|
795 | generic/RTFileCopyPart-generic.cpp \
|
---|
796 | generic/RTFileQuerySize-generic.cpp \
|
---|
797 | generic/RTFileReadAll-generic.cpp \
|
---|
798 | generic/RTFileReadAllEx-generic.cpp \
|
---|
799 | generic/RTFileReadAllByHandle-generic.cpp \
|
---|
800 | generic/RTFileReadAllByHandleEx-generic.cpp \
|
---|
801 | generic/RTFileReadAllFree-generic.cpp \
|
---|
802 | generic/RTLogWriteStdErr-generic.cpp \
|
---|
803 | generic/RTLogWriteStdOut-generic.cpp \
|
---|
804 | generic/RTLogWriteUser-generic.cpp \
|
---|
805 | generic/RTPathGetCurrentDrive-generic.cpp \
|
---|
806 | generic/RTPathIsSame-generic.cpp \
|
---|
807 | generic/RTProcSignalName-generic.cpp \
|
---|
808 | generic/RTTimerLRCreate-generic.cpp \
|
---|
809 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
810 | generic/mempool-generic.cpp \
|
---|
811 | generic/semfastmutex-generic.cpp \
|
---|
812 | generic/semxroads-generic.cpp \
|
---|
813 | generic/spinlock-generic.cpp \
|
---|
814 | generic/timerlr-generic.cpp \
|
---|
815 | r3/alloc-ef.cpp \
|
---|
816 | r3/alloc.cpp \
|
---|
817 | r3/allocex.cpp \
|
---|
818 | r3/dir.cpp \
|
---|
819 | r3/dir2.cpp \
|
---|
820 | r3/fileio.cpp \
|
---|
821 | r3/fs.cpp \
|
---|
822 | r3/ftp-server.cpp \
|
---|
823 | r3/http-server.cpp \
|
---|
824 | r3/init.cpp \
|
---|
825 | r3/init-data.cpp \
|
---|
826 | r3/process-data.cpp \
|
---|
827 | r3/memsafer-r3.cpp \
|
---|
828 | r3/path.cpp \
|
---|
829 | r3/RTPathTemp.cpp \
|
---|
830 | r3/poll.cpp \
|
---|
831 | r3/process.cpp \
|
---|
832 | r3/socket.cpp \
|
---|
833 | r3/stream.cpp \
|
---|
834 | r3/test.cpp \
|
---|
835 | r3/testi.cpp \
|
---|
836 | r3/tcp.cpp \
|
---|
837 | r3/udp.cpp \
|
---|
838 | r3/generic/semspinmutex-r3-generic.cpp \
|
---|
839 | r3/xml.cpp \
|
---|
840 | common/zip/xarvfs.cpp
|
---|
841 | ifdef VBOX_WITH_LIBLZMA
|
---|
842 | RuntimeBaseR3_SOURCES += \
|
---|
843 | common/zip/lzmavfs.cpp
|
---|
844 | endif
|
---|
845 | if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), linux.arm64)
|
---|
846 | RuntimeBaseR3_SOURCES += \
|
---|
847 | r3/mempage-direct.cpp
|
---|
848 | else
|
---|
849 | RuntimeBaseR3_SOURCES += \
|
---|
850 | r3/mempage-heap.cpp
|
---|
851 | endif
|
---|
852 |
|
---|
853 |
|
---|
854 | #if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
|
---|
855 | # RuntimeBaseR3_SOURCES += common/time/timesupA.asm
|
---|
856 | #else
|
---|
857 | RuntimeBaseR3_SOURCES += common/time/timesupref.cpp
|
---|
858 | #endif
|
---|
859 |
|
---|
860 | RuntimeBaseR3_SOURCES.x86 += \
|
---|
861 | generic/RTMpGetDescription-generic.cpp \
|
---|
862 | generic/system-page-size-generic.cpp \
|
---|
863 | common/misc/zero.asm \
|
---|
864 | common/misc/RTSystemIsInsideVM-amd64-x86.cpp \
|
---|
865 | common/string/RTStrMemFind32.asm \
|
---|
866 | VBox/RTLogWriteVmm-amd64-x86.asm
|
---|
867 | RuntimeBaseR3_SOURCES.amd64 += \
|
---|
868 | generic/RTMpGetDescription-generic.cpp \
|
---|
869 | generic/system-page-size-generic.cpp \
|
---|
870 | common/misc/zero.asm \
|
---|
871 | common/misc/RTSystemIsInsideVM-amd64-x86.cpp \
|
---|
872 | common/string/RTStrMemFind32.asm \
|
---|
873 | VBox/RTLogWriteVmm-amd64-x86.asm
|
---|
874 | RuntimeBaseR3_SOURCES.arm32 := \
|
---|
875 | common/asm/ASMBitFirstClear-generic.cpp \
|
---|
876 | common/asm/ASMBitNextClear-generic.cpp \
|
---|
877 | common/asm/ASMBitFirstSet-generic.cpp \
|
---|
878 | common/asm/ASMBitNextSet-generic.cpp \
|
---|
879 | common/asm/ASMMemZero32-generic.cpp \
|
---|
880 | common/asm/ASMMemFill32-generic.cpp \
|
---|
881 | common/asm/ASMMemFirstMismatchingU8-generic.cpp \
|
---|
882 | common/asm/ASMMemFirstNonZero-generic.cpp \
|
---|
883 | common/misc/zero-alt.S
|
---|
884 | RuntimeBaseR3_SOURCES.arm64 := \
|
---|
885 | common/asm/ASMBitFirstClear-generic.cpp \
|
---|
886 | common/asm/ASMBitNextClear-generic.cpp \
|
---|
887 | common/asm/ASMBitFirstSet-generic.cpp \
|
---|
888 | common/asm/ASMBitNextSet-generic.cpp \
|
---|
889 | common/asm/ASMMemZero32-generic.cpp \
|
---|
890 | common/asm/ASMMemFill32-generic.cpp \
|
---|
891 | common/asm/ASMMemFirstMismatchingU8-generic.cpp \
|
---|
892 | common/asm/ASMMemFirstNonZero-generic.cpp
|
---|
893 | RuntimeBaseR3_SOURCES.sparc32 += \
|
---|
894 | generic/RTMpGetDescription-generic-stub.cpp \
|
---|
895 | generic/system-page-size-generic.cpp \
|
---|
896 | generic/RTSystemIsInsideVM-generic.cpp \
|
---|
897 | common/asm/ASMBitFirstClear-generic.cpp \
|
---|
898 | common/asm/ASMBitNextClear-generic.cpp \
|
---|
899 | common/asm/ASMBitFirstSet-generic.cpp \
|
---|
900 | common/asm/ASMBitNextSet-generic.cpp \
|
---|
901 | common/asm/ASMMemZero32-generic.cpp \
|
---|
902 | common/asm/ASMMemFill32-generic.cpp \
|
---|
903 | common/asm/ASMMemFirstMismatchingU8-generic.cpp \
|
---|
904 | common/asm/ASMMemFirstNonZero-generic.cpp \
|
---|
905 | common/asm/asm-fake.cpp \
|
---|
906 | common/misc/zero-alt.S \
|
---|
907 | common/string/RTStrMemFind32.cpp
|
---|
908 | RuntimeBaseR3_SOURCES.sparc64 += \
|
---|
909 | generic/RTMpGetDescription-generic-stub.cpp \
|
---|
910 | generic/system-page-size-generic.cpp \
|
---|
911 | generic/RTSystemIsInsideVM-generic.cpp \
|
---|
912 | common/asm/ASMBitFirstClear-generic.cpp \
|
---|
913 | common/asm/ASMBitNextClear-generic.cpp \
|
---|
914 | common/asm/ASMBitFirstSet-generic.cpp \
|
---|
915 | common/asm/ASMBitNextSet-generic.cpp \
|
---|
916 | common/asm/ASMMemZero32-generic.cpp \
|
---|
917 | common/asm/ASMMemFill32-generic.cpp \
|
---|
918 | common/asm/ASMMemFirstMismatchingU8-generic.cpp \
|
---|
919 | common/asm/ASMMemFirstNonZero-generic.cpp \
|
---|
920 | common/asm/asm-fake.cpp \
|
---|
921 | common/misc/zero-alt.S \
|
---|
922 | common/string/RTStrMemFind32.cpp
|
---|
923 |
|
---|
924 | ifdef IPRT_WITH_LZJB
|
---|
925 | RuntimeBaseR3_SOURCES += common/misc/lzjb.c
|
---|
926 | endif
|
---|
927 |
|
---|
928 | # AMD64 / x86 assembly code.
|
---|
929 | RuntimeBaseR3_SOURCES.x86 += \
|
---|
930 | common/asm/ASMCpuIdExSlow.asm \
|
---|
931 | common/asm/ASMAtomicUoAndU64.asm \
|
---|
932 | common/asm/ASMAtomicUoAndU32.asm \
|
---|
933 | common/asm/ASMAtomicUoDecU32.asm \
|
---|
934 | common/asm/ASMAtomicUoIncU32.asm \
|
---|
935 | common/asm/ASMAtomicUoOrU64.asm \
|
---|
936 | common/asm/ASMAtomicUoOrU32.asm \
|
---|
937 | common/asm/ASMAtomicUoXorU32.asm \
|
---|
938 | common/asm/ASMMemFirstMismatchingU8.asm \
|
---|
939 | common/asm/ASMRdMsrEx.asm \
|
---|
940 | common/asm/ASMWrMsrEx.asm \
|
---|
941 | common/asm/ASMGetXcr0.asm \
|
---|
942 | common/asm/ASMSetXcr0.asm \
|
---|
943 | common/asm/ASMXSave.asm \
|
---|
944 | common/asm/ASMXRstor.asm \
|
---|
945 | common/asm/ASMFxSave.asm \
|
---|
946 | common/asm/ASMFxRstor.asm \
|
---|
947 | common/asm/ASMSerializeInstruction-cpuid.asm \
|
---|
948 | common/asm/ASMSerializeInstruction-iret.asm \
|
---|
949 | common/asm/ASMSerializeInstruction-rdtscp.asm \
|
---|
950 | common/dbg/dbgstackdumpself.cpp \
|
---|
951 | common/dbg/dbgstackdumpself-amd64-x86.asm \
|
---|
952 | common/math/bignum-amd64-x86.asm \
|
---|
953 | common/string/RTStrEnd.asm
|
---|
954 | RuntimeBaseR3_SOURCES.amd64 += \
|
---|
955 | common/asm/ASMCpuIdExSlow.asm \
|
---|
956 | common/asm/ASMAtomicUoAndU64.asm \
|
---|
957 | common/asm/ASMAtomicUoAndU32.asm \
|
---|
958 | common/asm/ASMAtomicUoDecU32.asm \
|
---|
959 | common/asm/ASMAtomicUoIncU32.asm \
|
---|
960 | common/asm/ASMAtomicUoOrU64.asm \
|
---|
961 | common/asm/ASMAtomicUoOrU32.asm \
|
---|
962 | common/asm/ASMAtomicUoXorU32.asm \
|
---|
963 | common/asm/ASMMemFirstMismatchingU8.asm \
|
---|
964 | common/asm/ASMRdMsrEx.asm \
|
---|
965 | common/asm/ASMWrMsrEx.asm \
|
---|
966 | common/asm/ASMGetXcr0.asm \
|
---|
967 | common/asm/ASMSetXcr0.asm \
|
---|
968 | common/asm/ASMXSave.asm \
|
---|
969 | common/asm/ASMXRstor.asm \
|
---|
970 | common/asm/ASMFxSave.asm \
|
---|
971 | common/asm/ASMFxRstor.asm \
|
---|
972 | common/asm/ASMSerializeInstruction-cpuid.asm \
|
---|
973 | common/asm/ASMSerializeInstruction-iret.asm \
|
---|
974 | common/asm/ASMSerializeInstruction-rdtscp.asm \
|
---|
975 | common/dbg/dbgstackdumpself.cpp \
|
---|
976 | common/dbg/dbgstackdumpself-amd64-x86.asm \
|
---|
977 | common/math/bignum-amd64-x86.asm \
|
---|
978 | common/math/RTUInt128MulByU64.asm \
|
---|
979 | common/math/RTUInt128MulByU64Ex.asm \
|
---|
980 | common/string/RTStrEnd.asm
|
---|
981 |
|
---|
982 | # Some versions of GCC might require this.
|
---|
983 | RuntimeBaseR3_SOURCES.x86 += \
|
---|
984 | common/asm/ASMAtomicXchgU64.asm \
|
---|
985 | common/asm/ASMAtomicCmpXchgU64.asm \
|
---|
986 | common/asm/ASMAtomicCmpXchgExU64.asm \
|
---|
987 | common/asm/ASMAtomicReadU64.asm \
|
---|
988 | common/asm/ASMAtomicUoReadU64.asm
|
---|
989 |
|
---|
990 | # Some non-assembly for non-AMD64 / non-x86 targets:
|
---|
991 | RuntimeBaseR3_SOURCES.arm32 += \
|
---|
992 | common/string/RTStrEnd.cpp \
|
---|
993 | common/asm/ASMMultU64ByU32DivByU32-generic.cpp
|
---|
994 | RuntimeBaseR3_SOURCES.arm64 += \
|
---|
995 | common/string/RTStrEnd.cpp \
|
---|
996 | common/asm/ASMMultU64ByU32DivByU32-generic.cpp
|
---|
997 | RuntimeBaseR3_SOURCES.sparc32 += \
|
---|
998 | common/string/RTStrEnd.cpp \
|
---|
999 | common/asm/ASMMultU64ByU32DivByU32-generic.cpp
|
---|
1000 | RuntimeBaseR3_SOURCES.sparc64 += \
|
---|
1001 | common/string/RTStrEnd.cpp \
|
---|
1002 | common/asm/ASMMultU64ByU32DivByU32-generic.cpp
|
---|
1003 |
|
---|
1004 | # VBox specific stuff.
|
---|
1005 | RuntimeBaseR3_SOURCES += \
|
---|
1006 | VBox/RTAssertShouldPanic-vbox.cpp \
|
---|
1007 | VBox/log-vbox.cpp
|
---|
1008 | ifneq ($(KBUILD_TARGET),win)
|
---|
1009 | RuntimeBaseR3_SOURCES += \
|
---|
1010 | common/err/errmsgxpcom.cpp
|
---|
1011 | endif
|
---|
1012 | if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
|
---|
1013 | RuntimeBaseR3_SOURCES += \
|
---|
1014 | $(if $(VBOX_WITH_DBUS),VBox/dbus.cpp,)
|
---|
1015 | endif
|
---|
1016 |
|
---|
1017 | VBOX_WITH_NT_DIRENUM = 1
|
---|
1018 | RuntimeBaseR3_SOURCES.win = \
|
---|
1019 | common/dbg/dbgmoddbghelp.cpp \
|
---|
1020 | common/ioqueue/ioqueue-aiofile-provider.cpp \
|
---|
1021 | generic/cdrom-generic.cpp \
|
---|
1022 | generic/RTDirExists-generic.cpp \
|
---|
1023 | generic/RTDirSetMode-generic.cpp \
|
---|
1024 | generic/RTDirSetTimes-generic.cpp \
|
---|
1025 | generic/fileio-sg-generic.cpp \
|
---|
1026 | generic/fileio-sg-at-generic.cpp \
|
---|
1027 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
1028 | generic/RTFileExists-generic.cpp \
|
---|
1029 | generic/RTFileSetAllocationSize-generic.cpp \
|
---|
1030 | generic/RTMpGetCurFrequency-generic.cpp \
|
---|
1031 | generic/RTMpGetMaxFrequency-generic.cpp \
|
---|
1032 | generic/RTRandAdvCreateSystemFaster-generic.cpp \
|
---|
1033 | generic/RTRandAdvCreateSystemTruer-generic.cpp \
|
---|
1034 | generic/RTSemEventWait-2-ex-generic.cpp \
|
---|
1035 | generic/RTSemEventWaitNoResume-2-ex-generic.cpp \
|
---|
1036 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
1037 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
1038 | generic/RTSemMutexRequest-generic.cpp \
|
---|
1039 | generic/RTSemMutexRequestDebug-generic.cpp \
|
---|
1040 | generic/RTTimerCreate-generic.cpp \
|
---|
1041 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
1042 | generic/mppresent-generic-online.cpp \
|
---|
1043 | generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
|
---|
1044 | generic/uuid-generic.cpp \
|
---|
1045 | generic/RTProcDaemonize-generic.cpp \
|
---|
1046 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
1047 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
1048 | nt/RTErrConvertFromNtStatus.cpp \
|
---|
1049 | nt/RTNtPathExpand8dot3Path.cpp \
|
---|
1050 | nt/RTNtPathExpand8dot3PathA.cpp \
|
---|
1051 | nt/RTNtPathFindPossible8dot3Name.cpp \
|
---|
1052 | nt/fileioutils-nt.cpp \
|
---|
1053 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1054 | r3/nt/dirrel-r3-nt.cpp \
|
---|
1055 | r3/nt/fs-nt.cpp \
|
---|
1056 | r3/nt/pathint-nt.cpp \
|
---|
1057 | r3/nt/RTFileDelete-r3-nt.cpp \
|
---|
1058 | r3/nt/RTFileQueryFsSizes-nt.cpp \
|
---|
1059 | r3/nt/RTFileSetMode-r3-nt.cpp \
|
---|
1060 | r3/nt/RTPathQueryInfo-nt.cpp \
|
---|
1061 | r3/nt/RTPathSetMode-r3-nt.cpp \
|
---|
1062 | r3/nt/RTPathUnlink-r3-nt.cpp \
|
---|
1063 | r3/nt/RTProcQueryParent-r3-nt.cpp \
|
---|
1064 | nt/semevent-nt.cpp \
|
---|
1065 | nt/RTSemEventGetResolution-nt.cpp \
|
---|
1066 | nt/semeventmulti-nt.cpp \
|
---|
1067 | nt/RTSemEventMultiGetResolution-nt.cpp \
|
---|
1068 | r3/win/env-win.cpp \
|
---|
1069 | r3/win/RTCrStoreCreateSnapshotById-win.cpp \
|
---|
1070 | r3/win/RTFileQuerySectorSize-win.cpp \
|
---|
1071 | r3/win/RTFsMountpointsEnum-win.cpp \
|
---|
1072 | r3/win/RTHandleGetStandard-win.cpp \
|
---|
1073 | r3/win/RTLocaleQueryNormalizedBaseLocaleName-win.cpp \
|
---|
1074 | r3/win/RTLocaleQueryUserCountryCode-win.cpp \
|
---|
1075 | r3/win/RTSystemQueryOSInfo-win.cpp \
|
---|
1076 | r3/win/RTSystemShutdown-win.cpp \
|
---|
1077 | r3/win/RTSystemQueryDmiString-win.cpp \
|
---|
1078 | r3/win/RTSystemFirmware-win.cpp \
|
---|
1079 | r3/win/RTSystemQueryTotalRam-win.cpp \
|
---|
1080 | r3/win/RTSystemRegistry-win.cpp \
|
---|
1081 | r3/win/RTTimeZoneGetCurrent-win.cpp \
|
---|
1082 | r3/win/RTMemProtect-win.cpp \
|
---|
1083 | r3/win/allocex-win.cpp \
|
---|
1084 | r3/win/dir-win.cpp \
|
---|
1085 | $(if-expr defined(VBOX_WITH_NT_DIRENUM),r3/nt/direnum-r3-nt.cpp,r3/win/direnum-win.cpp generic/RTDirQueryInfo-generic.cpp) \
|
---|
1086 | r3/win/errvars-win.cpp \
|
---|
1087 | r3/win/fileaio-win.cpp \
|
---|
1088 | r3/win/fileio-win.cpp \
|
---|
1089 | r3/win/init-win.cpp \
|
---|
1090 | r3/win/krnlmod-win.cpp \
|
---|
1091 | r3/win/ldrNative-win.cpp \
|
---|
1092 | r3/win/localipc-win.cpp \
|
---|
1093 | r3/win/mempage-native-win.cpp \
|
---|
1094 | r3/win/mp-win.cpp \
|
---|
1095 | r3/win/path-win.cpp \
|
---|
1096 | r3/win/pathint-win.cpp \
|
---|
1097 | r3/win/pipe-win.cpp \
|
---|
1098 | r3/win/process-win.cpp \
|
---|
1099 | r3/win/RTLogWriteDebugger-win.cpp \
|
---|
1100 | r3/win/rtProcInitExePath-win.cpp \
|
---|
1101 | r3/win/sched-win.cpp \
|
---|
1102 | r3/win/semmutex-win.cpp \
|
---|
1103 | r3/win/serialport-win.cpp \
|
---|
1104 | r3/win/shmem-win.cpp \
|
---|
1105 | r3/win/symlink-win.cpp \
|
---|
1106 | r3/win/system-get-nt-xxx-win.cpp \
|
---|
1107 | r3/win/thread-win.cpp \
|
---|
1108 | r3/win/thread2-win.cpp \
|
---|
1109 | $(if-expr 1,r3/win/time-win.cpp,r3/nt/time-nt.cpp) \
|
---|
1110 | r3/win/time2-win.cpp \
|
---|
1111 | r3/win/timer-win.cpp \
|
---|
1112 | r3/win/tls-win.cpp \
|
---|
1113 | r3/win/tpm-win.cpp \
|
---|
1114 | r3/win/utf16locale-win.cpp \
|
---|
1115 | r3/win/utf8-win.cpp \
|
---|
1116 | r3/win/RTUuidCreate-win.cpp \
|
---|
1117 | win/errmsgwin.cpp \
|
---|
1118 | win/RTErrConvertFromWin32.cpp
|
---|
1119 |
|
---|
1120 | RuntimeBaseR3_SOURCES.win.amd64 := \
|
---|
1121 | $(RuntimeWin64ASM_SOURCES) \
|
---|
1122 | common/string/memrchr.asm \
|
---|
1123 | common/string/mempcpy.asm
|
---|
1124 | RuntimeBaseR3_SOURCES.win.x86 := \
|
---|
1125 | $(RuntimeWin32ASM_SOURCES) \
|
---|
1126 | common/string/memrchr.asm \
|
---|
1127 | common/string/mempcpy.asm
|
---|
1128 | RuntimeBaseR3_SOURCES.win.arm64 := \
|
---|
1129 | generic/RTMpGetDescription-generic-stub.cpp \
|
---|
1130 | common/string/memrchr.cpp \
|
---|
1131 | common/string/mempcpy.cpp \
|
---|
1132 | common/string/RTStrMemFind32.cpp \
|
---|
1133 | common/misc/zero.cpp \
|
---|
1134 | generic/system-page-size-generic.cpp
|
---|
1135 |
|
---|
1136 | RuntimeBaseR3_SOURCES.linux = \
|
---|
1137 | common/ioqueue/ioqueue-aiofile-provider.cpp \
|
---|
1138 | generic/cdrom-generic.cpp \
|
---|
1139 | generic/RTCrStoreCreateSnapshotById-generic.cpp \
|
---|
1140 | generic/RTDirQueryInfo-generic.cpp \
|
---|
1141 | generic/RTDirSetMode-generic.cpp \
|
---|
1142 | generic/RTDirSetTimes-generic.cpp \
|
---|
1143 | generic/RTFileMove-generic.cpp \
|
---|
1144 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1145 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
1146 | generic/RTProcDaemonize-generic.cpp \
|
---|
1147 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
1148 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
1149 | generic/RTTimeLocalNow-generic.cpp \
|
---|
1150 | generic/RTTimerCreate-generic.cpp \
|
---|
1151 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
1152 | generic/RTUuidCreate-generic.cpp \
|
---|
1153 | generic/mppresent-generic.cpp \
|
---|
1154 | generic/utf16locale-generic.cpp \
|
---|
1155 | generic/uuid-generic.cpp \
|
---|
1156 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1157 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
1158 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
1159 | r3/generic/dirrel-r3-generic.cpp \
|
---|
1160 | r3/posix/allocex-r3-posix.cpp \
|
---|
1161 | r3/linux/RTThreadGetNativeState-linux.cpp \
|
---|
1162 | r3/linux/fileaio-linux.cpp \
|
---|
1163 | r3/linux/ioqueue-iouringfile-provider.cpp \
|
---|
1164 | r3/linux/krnlmod-linux.cpp \
|
---|
1165 | r3/linux/mp-linux.cpp \
|
---|
1166 | r3/linux/rtProcInitExePath-linux.cpp \
|
---|
1167 | r3/linux/sched-linux.cpp \
|
---|
1168 | r3/linux/sysfs.cpp \
|
---|
1169 | r3/linux/time-linux.cpp \
|
---|
1170 | r3/linux/thread-affinity-linux.cpp \
|
---|
1171 | r3/linux/tpm-linux.cpp \
|
---|
1172 | r3/linux/RTFileCopyPartEx-linux.cpp \
|
---|
1173 | r3/linux/RTFileQuerySectorSize-linux.cpp \
|
---|
1174 | r3/linux/RTFileSetAllocationSize-linux.cpp \
|
---|
1175 | r3/linux/RTProcIsRunningByName-linux.cpp \
|
---|
1176 | r3/linux/RTSystemFirmware-linux.cpp \
|
---|
1177 | r3/linux/RTSystemQueryDmiString-linux.cpp \
|
---|
1178 | r3/linux/RTSystemShutdown-linux.cpp \
|
---|
1179 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
1180 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
1181 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
1182 | r3/posix/RTMemProtect-posix.cpp \
|
---|
1183 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
1184 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
1185 | r3/linux/systemmem-linux.cpp \
|
---|
1186 | r3/posix/RTTimeNow-posix.cpp \
|
---|
1187 | r3/posix/RTTimeSet-posix.cpp \
|
---|
1188 | r3/posix/RTTimeZoneGetCurrent-posix.cpp \
|
---|
1189 | r3/posix/mempage-native-posix.cpp \
|
---|
1190 | r3/posix/dir-posix.cpp \
|
---|
1191 | r3/posix/env-posix.cpp \
|
---|
1192 | r3/posix/errvars-posix.cpp \
|
---|
1193 | r3/posix/fileio-posix.cpp \
|
---|
1194 | r3/posix/fileio2-posix.cpp \
|
---|
1195 | r3/posix/fileio-at-posix.cpp \
|
---|
1196 | r3/posix/fileio-sg-posix.cpp \
|
---|
1197 | r3/posix/fileio-sg-at-posix.cpp \
|
---|
1198 | r3/posix/filelock-posix.cpp \
|
---|
1199 | r3/posix/fs-posix.cpp \
|
---|
1200 | r3/posix/fs2-posix.cpp \
|
---|
1201 | r3/posix/fs3-posix.cpp \
|
---|
1202 | r3/posix/ldrNative-posix.cpp \
|
---|
1203 | r3/posix/localipc-posix.cpp \
|
---|
1204 | r3/posix/path-posix.cpp \
|
---|
1205 | r3/posix/path2-posix.cpp \
|
---|
1206 | r3/posix/pathhost-posix.cpp \
|
---|
1207 | r3/posix/RTPathUserDocuments-posix.cpp \
|
---|
1208 | r3/posix/pipe-posix.cpp \
|
---|
1209 | r3/posix/process-posix.cpp \
|
---|
1210 | r3/posix/process-creation-posix.cpp \
|
---|
1211 | r3/posix/rand-posix.cpp \
|
---|
1212 | r3/posix/semrw-posix.cpp \
|
---|
1213 | r3/posix/serialport-posix.cpp \
|
---|
1214 | r3/posix/shmem-posix.cpp \
|
---|
1215 | r3/posix/symlink-posix.cpp \
|
---|
1216 | r3/posix/thread-posix.cpp \
|
---|
1217 | r3/posix/thread2-posix.cpp \
|
---|
1218 | r3/posix/timelocal-posix.cpp \
|
---|
1219 | r3/posix/timer-posix.cpp \
|
---|
1220 | r3/posix/tls-posix.cpp \
|
---|
1221 | r3/posix/utf8-posix.cpp
|
---|
1222 | ifdef IPRT_WITH_FUTEX_BASED_SEMS
|
---|
1223 | RuntimeBaseR3_SOURCES.linux += \
|
---|
1224 | r3/linux/semevent-linux.cpp \
|
---|
1225 | r3/linux/semeventmulti-linux.cpp \
|
---|
1226 | r3/linux/semmutex-linux.cpp
|
---|
1227 | else
|
---|
1228 | RuntimeBaseR3_SOURCES.linux.x86 += \
|
---|
1229 | r3/posix/semevent-posix.cpp \
|
---|
1230 | r3/posix/semeventmulti-posix.cpp \
|
---|
1231 | r3/posix/semmutex-posix.cpp
|
---|
1232 | RuntimeBaseR3_SOURCES.linux.amd64 += \
|
---|
1233 | r3/linux/semevent-linux.cpp \
|
---|
1234 | r3/linux/semeventmulti-linux.cpp
|
---|
1235 | RuntimeBaseR3_SOURCES.linux.arm64 += \
|
---|
1236 | generic/RTMpGetDescription-generic-stub.cpp \
|
---|
1237 | r3/posix/system-page-size-posix.cpp \
|
---|
1238 | r3/linux/semevent-linux.cpp \
|
---|
1239 | r3/linux/semeventmulti-linux.cpp \
|
---|
1240 | common/misc/zero-alt.S
|
---|
1241 | RuntimeBaseR3_SOURCES.linux.arm32 += \
|
---|
1242 | generic/RTMpGetDescription-generic-stub.cpp \
|
---|
1243 | r3/posix/system-page-size-posix.cpp \
|
---|
1244 | r3/linux/semevent-linux.cpp \
|
---|
1245 | r3/linux/semeventmulti-linux.cpp \
|
---|
1246 | common/misc/zero-alt.S
|
---|
1247 | ifdef RT_NEW_LINUX_MUTEX_CODE
|
---|
1248 | RuntimeBaseR3_SOURCES.linux.amd64 += \
|
---|
1249 | r3/linux/semmutex-linux.cpp
|
---|
1250 | RuntimeBaseR3_SOURCES.linux.arm64 += \
|
---|
1251 | r3/linux/semmutex-linux.cpp
|
---|
1252 | else
|
---|
1253 | RuntimeBaseR3_SOURCES.linux.amd64 += \
|
---|
1254 | r3/posix/semmutex-posix.cpp
|
---|
1255 | RuntimeBaseR3_SOURCES.linux.arm64 += \
|
---|
1256 | r3/posix/semmutex-posix.cpp
|
---|
1257 | endif
|
---|
1258 | endif
|
---|
1259 |
|
---|
1260 | RuntimeBaseR3_SOURCES.os2 = \
|
---|
1261 | common/string/memrchr.asm \
|
---|
1262 | generic/cdrom-generic.cpp \
|
---|
1263 | generic/RTCrStoreCreateSnapshotById-generic.cpp \
|
---|
1264 | generic/RTDirQueryInfo-generic.cpp \
|
---|
1265 | generic/RTDirSetMode-generic.cpp \
|
---|
1266 | generic/RTDirSetTimes-generic.cpp \
|
---|
1267 | generic/fileio-at-generic.cpp \
|
---|
1268 | generic/fileio-sg-generic.cpp \
|
---|
1269 | generic/fileio-sg-at-generic.cpp \
|
---|
1270 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
1271 | generic/RTFileMove-generic.cpp \
|
---|
1272 | generic/RTFileQuerySectorSize-generic.cpp \
|
---|
1273 | generic/RTFileSetAllocationSize-generic.cpp \
|
---|
1274 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1275 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
1276 | generic/RTProcDaemonize-generic.cpp \
|
---|
1277 | generic/RTRandAdvCreateSystemFaster-generic.cpp \
|
---|
1278 | generic/RTRandAdvCreateSystemTruer-generic.cpp \
|
---|
1279 | generic/RTSystemQueryDmiString-generic.cpp \
|
---|
1280 | generic/RTSystemFirmware-generic.cpp \
|
---|
1281 | generic/RTSystemShutdown-generic.cpp \
|
---|
1282 | generic/RTTimeLocalNow-generic.cpp \
|
---|
1283 | generic/RTTimerCreate-generic.cpp \
|
---|
1284 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
1285 | generic/RTUuidCreate-generic.cpp \
|
---|
1286 | generic/mppresent-generic.cpp \
|
---|
1287 | generic/RTSemEventWait-generic.cpp \
|
---|
1288 | generic/RTSemEventMultiWait-generic.cpp \
|
---|
1289 | generic/RTSemMutexRequest-generic.cpp \
|
---|
1290 | generic/RTSemMutexRequestDebug-generic.cpp \
|
---|
1291 | generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
|
---|
1292 | generic/timer-generic.cpp \
|
---|
1293 | generic/utf16locale-generic.cpp \
|
---|
1294 | generic/uuid-generic.cpp \
|
---|
1295 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
1296 | generic/RTMpGetOnlineCoreCount-generic.cpp \
|
---|
1297 | generic/RTMpGetCurFrequency-generic.cpp \
|
---|
1298 | generic/RTMpGetMaxFrequency-generic.cpp \
|
---|
1299 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
1300 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
1301 | os2/RTErrConvertFromOS2.cpp \
|
---|
1302 | r3/generic/allocex-r3-generic.cpp \
|
---|
1303 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1304 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
1305 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
1306 | r3/generic/RTTimeZoneGetCurrent-generic.cpp \
|
---|
1307 | r3/generic/dirrel-r3-generic.cpp \
|
---|
1308 | r3/os2/RTTimeSet-os2.cpp \
|
---|
1309 | r3/os2/filelock-os2.cpp \
|
---|
1310 | r3/os2/mempage-native-os2.cpp \
|
---|
1311 | r3/os2/mp-os2.cpp \
|
---|
1312 | r3/os2/pipe-os2.cpp \
|
---|
1313 | r3/os2/rtProcInitExePath-os2.cpp \
|
---|
1314 | r3/os2/sched-os2.cpp \
|
---|
1315 | r3/os2/sems-os2.cpp \
|
---|
1316 | r3/os2/serialport-os2.cpp \
|
---|
1317 | r3/os2/systemmem-os2.cpp \
|
---|
1318 | r3/os2/thread-os2.cpp \
|
---|
1319 | r3/os2/time-os2.cpp \
|
---|
1320 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
1321 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
1322 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
1323 | r3/posix/RTMemProtect-posix.cpp \
|
---|
1324 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
1325 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
1326 | r3/posix/RTTimeNow-posix.cpp \
|
---|
1327 | r3/posix/dir-posix.cpp \
|
---|
1328 | r3/posix/env-posix.cpp \
|
---|
1329 | r3/posix/errvars-posix.cpp \
|
---|
1330 | r3/posix/fileio-posix.cpp \
|
---|
1331 | r3/posix/fileio2-posix.cpp \
|
---|
1332 | r3/posix/fs-posix.cpp \
|
---|
1333 | r3/posix/fs2-posix.cpp \
|
---|
1334 | r3/posix/fs3-posix.cpp \
|
---|
1335 | r3/posix/ldrNative-posix.cpp \
|
---|
1336 | r3/posix/localipc-posix.cpp \
|
---|
1337 | r3/posix/path-posix.cpp \
|
---|
1338 | r3/posix/path2-posix.cpp \
|
---|
1339 | r3/posix/pathhost-posix.cpp \
|
---|
1340 | r3/posix/RTPathUserDocuments-posix.cpp \
|
---|
1341 | r3/posix/process-posix.cpp \
|
---|
1342 | r3/posix/process-creation-posix.cpp \
|
---|
1343 | r3/posix/symlink-posix.cpp \
|
---|
1344 | r3/posix/timelocal-posix.cpp \
|
---|
1345 | r3/posix/utf8-posix.cpp
|
---|
1346 |
|
---|
1347 | RuntimeBaseR3_SOURCES.darwin = \
|
---|
1348 | common/ioqueue/ioqueue-aiofile-provider.cpp \
|
---|
1349 | darwin/RTErrConvertFromDarwin.cpp \
|
---|
1350 | darwin/RTErrConvertFromDarwinCOM.cpp \
|
---|
1351 | darwin/RTErrConvertFromDarwinIO.cpp \
|
---|
1352 | darwin/RTErrConvertFromDarwinKern.cpp \
|
---|
1353 | generic/cdrom-generic.cpp \
|
---|
1354 | generic/RTDirQueryInfo-generic.cpp \
|
---|
1355 | generic/RTDirSetMode-generic.cpp \
|
---|
1356 | generic/RTDirSetTimes-generic.cpp \
|
---|
1357 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
1358 | generic/RTFileMove-generic.cpp \
|
---|
1359 | generic/RTFileSetAllocationSize-generic.cpp \
|
---|
1360 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1361 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
1362 | generic/RTProcDaemonize-generic.cpp \
|
---|
1363 | generic/RTThreadGetAffinity-stub-generic.cpp \
|
---|
1364 | generic/RTThreadSetAffinity-stub-generic.cpp \
|
---|
1365 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
1366 | generic/RTTimeLocalNow-generic.cpp \
|
---|
1367 | generic/RTTimerCreate-generic.cpp \
|
---|
1368 | generic/RTUuidCreate-generic.cpp \
|
---|
1369 | generic/mppresent-generic.cpp \
|
---|
1370 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
1371 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
1372 | generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
|
---|
1373 | generic/RTSystemShutdown-generic.cpp \
|
---|
1374 | generic/timer-generic.cpp \
|
---|
1375 | generic/utf16locale-generic.cpp \
|
---|
1376 | generic/uuid-generic.cpp \
|
---|
1377 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
1378 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
1379 | generic/RTSystemFirmware-generic.cpp \
|
---|
1380 | r3/darwin/RTCrStoreCreateSnapshotById-darwin.cpp \
|
---|
1381 | r3/darwin/filelock-darwin.cpp \
|
---|
1382 | r3/darwin/RTFileQuerySectorSize-darwin.cpp \
|
---|
1383 | r3/darwin/krnlmod-darwin.cpp \
|
---|
1384 | r3/darwin/mp-darwin.cpp \
|
---|
1385 | r3/darwin/pathhost-darwin.cpp \
|
---|
1386 | r3/darwin/rtProcInitExePath-darwin.cpp \
|
---|
1387 | r3/darwin/RTSystemQueryDmiString-darwin.cpp \
|
---|
1388 | r3/darwin/sched-darwin.cpp \
|
---|
1389 | r3/darwin/systemmem-darwin.cpp \
|
---|
1390 | r3/darwin/time-darwin.cpp \
|
---|
1391 | r3/darwin/RTPathUserDocuments-darwin.cpp \
|
---|
1392 | r3/generic/allocex-r3-generic.cpp \
|
---|
1393 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1394 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
1395 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
1396 | r3/generic/dirrel-r3-generic.cpp \
|
---|
1397 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
1398 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
1399 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
1400 | r3/posix/RTMemProtect-posix.cpp \
|
---|
1401 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
1402 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
1403 | r3/posix/RTTimeSet-posix.cpp \
|
---|
1404 | r3/posix/RTTimeZoneGetCurrent-posix.cpp \
|
---|
1405 | r3/posix/dir-posix.cpp \
|
---|
1406 | r3/posix/env-posix.cpp \
|
---|
1407 | r3/posix/errvars-posix.cpp \
|
---|
1408 | r3/posix/fileaio-posix.cpp \
|
---|
1409 | r3/posix/fileio-posix.cpp \
|
---|
1410 | r3/posix/fileio2-posix.cpp \
|
---|
1411 | r3/posix/fileio-at-posix.cpp \
|
---|
1412 | r3/posix/fileio-sg-posix.cpp \
|
---|
1413 | r3/posix/fileio-sg-at-posix.cpp \
|
---|
1414 | r3/posix/fs-posix.cpp \
|
---|
1415 | r3/posix/fs2-posix.cpp \
|
---|
1416 | r3/posix/fs3-posix.cpp \
|
---|
1417 | r3/posix/ldrNative-posix.cpp \
|
---|
1418 | r3/posix/localipc-posix.cpp \
|
---|
1419 | r3/posix/mempage-native-posix.cpp \
|
---|
1420 | r3/posix/path-posix.cpp \
|
---|
1421 | r3/posix/path2-posix.cpp \
|
---|
1422 | r3/posix/pipe-posix.cpp \
|
---|
1423 | r3/posix/process-posix.cpp \
|
---|
1424 | r3/posix/process-creation-posix.cpp \
|
---|
1425 | r3/posix/rand-posix.cpp \
|
---|
1426 | r3/posix/semevent-posix.cpp \
|
---|
1427 | r3/posix/semeventmulti-posix.cpp \
|
---|
1428 | r3/posix/semmutex-posix.cpp \
|
---|
1429 | r3/posix/serialport-posix.cpp \
|
---|
1430 | r3/posix/symlink-posix.cpp \
|
---|
1431 | r3/posix/shmem-posix.cpp \
|
---|
1432 | r3/posix/thread-posix.cpp \
|
---|
1433 | r3/posix/thread2-posix.cpp \
|
---|
1434 | r3/posix/timelocal-posix.cpp \
|
---|
1435 | r3/posix/tls-posix.cpp \
|
---|
1436 | r3/posix/utf8-posix.cpp
|
---|
1437 | RuntimeBaseR3_SOURCES.darwin.x86 += \
|
---|
1438 | common/string/mempcpy.asm \
|
---|
1439 | common/string/memrchr.asm
|
---|
1440 | RuntimeBaseR3_SOURCES.darwin.amd64 += \
|
---|
1441 | common/string/mempcpy.asm \
|
---|
1442 | common/string/memrchr.asm
|
---|
1443 | RuntimeBaseR3_SOURCES.darwin.arm32 += \
|
---|
1444 | common/string/mempcpy.cpp \
|
---|
1445 | common/string/memrchr.cpp \
|
---|
1446 | common/misc/zero-alt.S \
|
---|
1447 | generic/system-page-size-generic.cpp \
|
---|
1448 | r3/darwin/RTMpGetDescription-generic.cpp
|
---|
1449 | RuntimeBaseR3_SOURCES.darwin.arm64 += \
|
---|
1450 | common/string/mempcpy.cpp \
|
---|
1451 | common/string/memrchr.cpp \
|
---|
1452 | common/misc/zero-alt.S \
|
---|
1453 | generic/system-page-size-generic.cpp \
|
---|
1454 | r3/darwin/RTMpGetDescription-generic.cpp
|
---|
1455 |
|
---|
1456 | ## @todo Make BSD sched, implement RTMP*.
|
---|
1457 | RuntimeBaseR3_SOURCES.freebsd = \
|
---|
1458 | common/ioqueue/ioqueue-aiofile-provider.cpp \
|
---|
1459 | generic/cdrom-generic.cpp \
|
---|
1460 | generic/RTCrStoreCreateSnapshotById-generic.cpp \
|
---|
1461 | generic/RTDirQueryInfo-generic.cpp \
|
---|
1462 | generic/RTDirSetMode-generic.cpp \
|
---|
1463 | generic/RTDirSetTimes-generic.cpp \
|
---|
1464 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
1465 | generic/RTFileMove-generic.cpp \
|
---|
1466 | generic/RTFileSetAllocationSize-generic.cpp \
|
---|
1467 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1468 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
1469 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
1470 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
1471 | generic/RTSystemQueryDmiString-generic.cpp \
|
---|
1472 | generic/RTSystemFirmware-generic.cpp \
|
---|
1473 | generic/RTSystemShutdown-generic.cpp \
|
---|
1474 | generic/RTThreadGetAffinity-stub-generic.cpp \
|
---|
1475 | generic/RTThreadSetAffinity-stub-generic.cpp \
|
---|
1476 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
1477 | generic/RTTimeLocalNow-generic.cpp \
|
---|
1478 | generic/RTTimerCreate-generic.cpp \
|
---|
1479 | generic/RTUuidCreate-generic.cpp \
|
---|
1480 | generic/mppresent-generic.cpp \
|
---|
1481 | generic/sched-generic.cpp \
|
---|
1482 | generic/utf16locale-generic.cpp \
|
---|
1483 | generic/uuid-generic.cpp \
|
---|
1484 | generic/RTMpCpuId-generic.cpp \
|
---|
1485 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
1486 | generic/RTMpGetOnlineCoreCount-generic.cpp \
|
---|
1487 | generic/RTProcDaemonize-generic.cpp \
|
---|
1488 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
1489 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
1490 | r3/freebsd/fileaio-freebsd.cpp \
|
---|
1491 | r3/freebsd/RTFileQuerySectorSize-freebsd.cpp \
|
---|
1492 | r3/freebsd/mp-freebsd.cpp \
|
---|
1493 | r3/freebsd/systemmem-freebsd.cpp \
|
---|
1494 | r3/freebsd/rtProcInitExePath-freebsd.cpp \
|
---|
1495 | r3/generic/allocex-r3-generic.cpp \
|
---|
1496 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1497 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
1498 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
1499 | r3/generic/dirrel-r3-generic.cpp \
|
---|
1500 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
1501 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
1502 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
1503 | r3/posix/RTMemProtect-posix.cpp \
|
---|
1504 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
1505 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
1506 | r3/posix/RTTimeNow-posix.cpp \
|
---|
1507 | r3/posix/RTTimeSet-posix.cpp \
|
---|
1508 | r3/posix/RTTimeZoneGetCurrent-posix.cpp \
|
---|
1509 | r3/posix/dir-posix.cpp \
|
---|
1510 | r3/posix/env-posix.cpp \
|
---|
1511 | r3/posix/errvars-posix.cpp \
|
---|
1512 | r3/posix/fileio-posix.cpp \
|
---|
1513 | r3/posix/fileio2-posix.cpp \
|
---|
1514 | r3/posix/fileio-at-posix.cpp \
|
---|
1515 | r3/posix/fileio-sg-posix.cpp \
|
---|
1516 | r3/posix/fileio-sg-at-posix.cpp \
|
---|
1517 | r3/posix/filelock-posix.cpp \
|
---|
1518 | r3/posix/fs-posix.cpp \
|
---|
1519 | r3/posix/fs2-posix.cpp \
|
---|
1520 | r3/posix/fs3-posix.cpp \
|
---|
1521 | r3/posix/ldrNative-posix.cpp \
|
---|
1522 | r3/posix/localipc-posix.cpp \
|
---|
1523 | r3/posix/mempage-native-posix.cpp \
|
---|
1524 | r3/posix/path-posix.cpp \
|
---|
1525 | r3/posix/path2-posix.cpp \
|
---|
1526 | r3/posix/pathhost-posix.cpp \
|
---|
1527 | r3/posix/RTPathUserDocuments-posix.cpp \
|
---|
1528 | r3/posix/pipe-posix.cpp \
|
---|
1529 | r3/posix/process-posix.cpp \
|
---|
1530 | r3/posix/process-creation-posix.cpp \
|
---|
1531 | r3/posix/rand-posix.cpp \
|
---|
1532 | r3/posix/semevent-posix.cpp \
|
---|
1533 | r3/posix/semeventmulti-posix.cpp \
|
---|
1534 | r3/posix/semmutex-posix.cpp \
|
---|
1535 | r3/posix/semrw-posix.cpp \
|
---|
1536 | r3/posix/serialport-posix.cpp \
|
---|
1537 | r3/posix/symlink-posix.cpp \
|
---|
1538 | r3/posix/shmem-posix.cpp \
|
---|
1539 | r3/posix/thread-posix.cpp \
|
---|
1540 | r3/posix/thread2-posix.cpp \
|
---|
1541 | r3/posix/time-posix.cpp \
|
---|
1542 | r3/posix/timelocal-posix.cpp \
|
---|
1543 | r3/posix/timer-posix.cpp \
|
---|
1544 | r3/posix/tls-posix.cpp \
|
---|
1545 | r3/posix/utf8-posix.cpp
|
---|
1546 |
|
---|
1547 | RuntimeBaseR3_SOURCES.netbsd = \
|
---|
1548 | generic/cdrom-generic.cpp \
|
---|
1549 | generic/RTDirQueryInfo-generic.cpp \
|
---|
1550 | generic/RTDirSetMode-generic.cpp \
|
---|
1551 | generic/RTDirSetTimes-generic.cpp \
|
---|
1552 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
1553 | generic/RTFileMove-generic.cpp \
|
---|
1554 | generic/RTFileQuerySectorSize-generic.cpp \
|
---|
1555 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1556 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
1557 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
1558 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
1559 | generic/RTSystemQueryDmiString-generic.cpp \
|
---|
1560 | generic/RTSystemFirmware-generic.cpp \
|
---|
1561 | generic/RTSystemShutdown-generic.cpp \
|
---|
1562 | generic/RTThreadGetAffinity-stub-generic.cpp \
|
---|
1563 | generic/RTThreadSetAffinity-stub-generic.cpp \
|
---|
1564 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
1565 | generic/RTTimeLocalNow-generic.cpp \
|
---|
1566 | generic/RTTimerCreate-generic.cpp \
|
---|
1567 | generic/RTUuidCreate-generic.cpp \
|
---|
1568 | generic/mppresent-generic.cpp \
|
---|
1569 | generic/sched-generic.cpp \
|
---|
1570 | generic/utf16locale-generic.cpp \
|
---|
1571 | generic/uuid-generic.cpp \
|
---|
1572 | generic/RTMpCpuId-generic.cpp \
|
---|
1573 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
1574 | generic/RTMpGetOnlineCoreCount-generic.cpp \
|
---|
1575 | generic/RTProcDaemonize-generic.cpp \
|
---|
1576 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
1577 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
1578 | r3/netbsd/rtProcInitExePath-netbsd.cpp \
|
---|
1579 | r3/generic/allocex-r3-generic.cpp \
|
---|
1580 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1581 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
1582 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
1583 | r3/generic/dirrel-r3-generic.cpp \
|
---|
1584 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
1585 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
1586 | r3/posix/RTFileSetAllocationSize-posix.cpp \
|
---|
1587 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
1588 | r3/posix/RTMemProtect-posix.cpp \
|
---|
1589 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
1590 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
1591 | r3/posix/RTSystemQueryTotalRam-posix.cpp \
|
---|
1592 | r3/posix/RTTimeNow-posix.cpp \
|
---|
1593 | r3/posix/RTTimeSet-posix.cpp \
|
---|
1594 | r3/posix/RTTimeZoneGetCurrent-posix.cpp \
|
---|
1595 | r3/posix/dir-posix.cpp \
|
---|
1596 | r3/posix/env-posix.cpp \
|
---|
1597 | r3/posix/errvars-posix.cpp \
|
---|
1598 | r3/posix/fileio-posix.cpp \
|
---|
1599 | r3/posix/fileio2-posix.cpp \
|
---|
1600 | r3/posix/fileio-at-posix.cpp \
|
---|
1601 | r3/posix/fileio-sg-posix.cpp \
|
---|
1602 | r3/posix/fileio-sg-at-posix.cpp \
|
---|
1603 | r3/posix/filelock-posix.cpp \
|
---|
1604 | r3/posix/fs-posix.cpp \
|
---|
1605 | r3/posix/fs2-posix.cpp \
|
---|
1606 | r3/posix/fs3-posix.cpp \
|
---|
1607 | r3/posix/ldrNative-posix.cpp \
|
---|
1608 | r3/posix/mempage-native-posix.cpp \
|
---|
1609 | r3/posix/path-posix.cpp \
|
---|
1610 | r3/posix/path2-posix.cpp \
|
---|
1611 | r3/posix/pathhost-posix.cpp \
|
---|
1612 | r3/posix/RTPathUserDocuments-posix.cpp \
|
---|
1613 | r3/posix/pipe-posix.cpp \
|
---|
1614 | r3/posix/process-posix.cpp \
|
---|
1615 | r3/posix/process-creation-posix.cpp \
|
---|
1616 | r3/posix/rand-posix.cpp \
|
---|
1617 | r3/posix/semevent-posix.cpp \
|
---|
1618 | r3/posix/semeventmulti-posix.cpp \
|
---|
1619 | r3/posix/semmutex-posix.cpp \
|
---|
1620 | r3/posix/semrw-posix.cpp \
|
---|
1621 | r3/posix/serialport-posix.cpp \
|
---|
1622 | r3/posix/symlink-posix.cpp \
|
---|
1623 | r3/posix/shmem-posix.cpp \
|
---|
1624 | r3/posix/thread-posix.cpp \
|
---|
1625 | r3/posix/thread2-posix.cpp \
|
---|
1626 | r3/posix/time-posix.cpp \
|
---|
1627 | r3/posix/timelocal-posix.cpp \
|
---|
1628 | r3/posix/timer-posix.cpp \
|
---|
1629 | r3/posix/tls-posix.cpp \
|
---|
1630 | r3/posix/utf8-posix.cpp
|
---|
1631 |
|
---|
1632 | RuntimeBaseR3_SOURCES.solaris = \
|
---|
1633 | common/ioqueue/ioqueue-aiofile-provider.cpp \
|
---|
1634 | generic/cdrom-generic.cpp \
|
---|
1635 | generic/RTCrStoreCreateSnapshotById-generic.cpp \
|
---|
1636 | generic/RTDirQueryInfo-generic.cpp \
|
---|
1637 | generic/RTDirSetMode-generic.cpp \
|
---|
1638 | generic/RTDirSetTimes-generic.cpp \
|
---|
1639 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
1640 | generic/RTFileMove-generic.cpp \
|
---|
1641 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1642 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
1643 | generic/RTProcDaemonize-generic.cpp \
|
---|
1644 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
1645 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
1646 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
1647 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
1648 | generic/RTTimeLocalNow-generic.cpp \
|
---|
1649 | generic/RTTimerCreate-generic.cpp \
|
---|
1650 | generic/RTUuidCreate-generic.cpp \
|
---|
1651 | generic/sched-generic.cpp \
|
---|
1652 | generic/utf16locale-generic.cpp \
|
---|
1653 | generic/uuid-generic.cpp \
|
---|
1654 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
1655 | r3/generic/allocex-r3-generic.cpp \
|
---|
1656 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1657 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
1658 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
1659 | r3/generic/dirrel-r3-generic.cpp \
|
---|
1660 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
1661 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
1662 | r3/posix/RTFileSetAllocationSize-posix.cpp \
|
---|
1663 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
1664 | r3/posix/RTMemProtect-posix.cpp \
|
---|
1665 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
1666 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
1667 | r3/posix/RTTimeNow-posix.cpp \
|
---|
1668 | r3/posix/RTTimeSet-posix.cpp \
|
---|
1669 | r3/posix/RTTimeZoneGetCurrent-posix.cpp \
|
---|
1670 | r3/posix/dir-posix.cpp \
|
---|
1671 | r3/posix/env-posix.cpp \
|
---|
1672 | r3/posix/errvars-posix.cpp \
|
---|
1673 | r3/posix/fileio-posix.cpp \
|
---|
1674 | r3/posix/fileio2-posix.cpp \
|
---|
1675 | r3/posix/fileio-at-posix.cpp \
|
---|
1676 | r3/posix/fileio-sg-posix.cpp \
|
---|
1677 | r3/posix/fileio-sg-at-posix.cpp \
|
---|
1678 | r3/posix/filelock-posix.cpp \
|
---|
1679 | r3/posix/fs-posix.cpp \
|
---|
1680 | r3/posix/fs2-posix.cpp \
|
---|
1681 | r3/posix/fs3-posix.cpp \
|
---|
1682 | r3/posix/ldrNative-posix.cpp \
|
---|
1683 | r3/posix/localipc-posix.cpp \
|
---|
1684 | r3/posix/mempage-native-posix.cpp \
|
---|
1685 | r3/posix/path-posix.cpp \
|
---|
1686 | r3/posix/path2-posix.cpp \
|
---|
1687 | r3/posix/pathhost-posix.cpp \
|
---|
1688 | r3/posix/RTPathUserDocuments-posix.cpp \
|
---|
1689 | r3/posix/pipe-posix.cpp \
|
---|
1690 | r3/posix/process-posix.cpp \
|
---|
1691 | r3/posix/process-creation-posix.cpp \
|
---|
1692 | r3/posix/rand-posix.cpp \
|
---|
1693 | r3/posix/semevent-posix.cpp \
|
---|
1694 | r3/posix/semeventmulti-posix.cpp \
|
---|
1695 | r3/posix/semmutex-posix.cpp \
|
---|
1696 | r3/posix/semrw-posix.cpp \
|
---|
1697 | r3/posix/serialport-posix.cpp \
|
---|
1698 | r3/posix/symlink-posix.cpp \
|
---|
1699 | r3/posix/shmem-posix.cpp \
|
---|
1700 | r3/posix/thread-posix.cpp \
|
---|
1701 | r3/posix/thread2-posix.cpp \
|
---|
1702 | r3/posix/time-posix.cpp \
|
---|
1703 | r3/posix/timelocal-posix.cpp \
|
---|
1704 | r3/posix/timer-posix.cpp \
|
---|
1705 | r3/posix/tls-posix.cpp \
|
---|
1706 | r3/posix/utf8-posix.cpp \
|
---|
1707 | r3/solaris/fileaio-solaris.cpp \
|
---|
1708 | r3/solaris/RTFileQuerySectorSize-solaris.cpp \
|
---|
1709 | r3/solaris/krnlmod-solaris.cpp \
|
---|
1710 | r3/solaris/systemmem-solaris.cpp \
|
---|
1711 | r3/solaris/mp-solaris.cpp \
|
---|
1712 | r3/solaris/rtProcInitExePath-solaris.cpp \
|
---|
1713 | r3/solaris/RTSystemFirmware-solaris.cpp \
|
---|
1714 | r3/solaris/RTSystemShutdown-solaris.cpp \
|
---|
1715 | r3/solaris/thread-affinity-solaris.cpp
|
---|
1716 | RuntimeBaseR3_SOURCES.solaris.amd64 = \
|
---|
1717 | common/string/memrchr.asm \
|
---|
1718 | common/string/mempcpy.asm \
|
---|
1719 | r3/solaris/coredumper-solaris.cpp \
|
---|
1720 | r3/solaris/RTSystemQueryDmiString-solaris.cpp
|
---|
1721 | RuntimeBaseR3_SOURCES.solaris.x86 = \
|
---|
1722 | common/string/memrchr.asm \
|
---|
1723 | common/string/mempcpy.asm \
|
---|
1724 | r3/solaris/coredumper-solaris.cpp \
|
---|
1725 | r3/solaris/RTSystemQueryDmiString-solaris.cpp
|
---|
1726 | RuntimeBaseR3_SOURCES.solaris.sparc32 = \
|
---|
1727 | common/string/memrchr.cpp \
|
---|
1728 | common/string/mempcpy.cpp \
|
---|
1729 | generic/RTSystemQueryDmiString-generic.cpp
|
---|
1730 | RuntimeBaseR3_SOURCES.solaris.sparc64 = \
|
---|
1731 | common/string/memrchr.cpp \
|
---|
1732 | common/string/mempcpy.cpp \
|
---|
1733 | generic/RTSystemQueryDmiString-generic.cpp
|
---|
1734 |
|
---|
1735 | RuntimeBaseR3_SOURCES.haiku = \
|
---|
1736 | generic/RTCrStoreCreateSnapshotById-generic.cpp \
|
---|
1737 | generic/RTDirQueryInfo-generic.cpp \
|
---|
1738 | generic/RTDirSetMode-generic.cpp \
|
---|
1739 | generic/RTDirSetTimes-generic.cpp \
|
---|
1740 | generic/fileio-at-generic.cpp \
|
---|
1741 | generic/fileio-sg-generic.cpp \
|
---|
1742 | generic/fileio-sg-at-generic.cpp \
|
---|
1743 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
1744 | generic/RTFileMove-generic.cpp \
|
---|
1745 | generic/RTFileQuerySectorSize-generic.cpp \
|
---|
1746 | generic/RTFileSetAllocationSize-generic.cpp \
|
---|
1747 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
1748 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
1749 | generic/RTProcDaemonize-generic.cpp \
|
---|
1750 | generic/RTTimeLocalNow-generic.cpp \
|
---|
1751 | generic/RTTimerCreate-generic.cpp \
|
---|
1752 | generic/RTUuidCreate-generic.cpp \
|
---|
1753 | generic/mppresent-generic.cpp \
|
---|
1754 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
1755 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
1756 | generic/sched-generic.cpp \
|
---|
1757 | generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
|
---|
1758 | generic/timer-generic.cpp \
|
---|
1759 | generic/utf16locale-generic.cpp \
|
---|
1760 | generic/uuid-generic.cpp \
|
---|
1761 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
1762 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
1763 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
1764 | generic/RTMpGetOnlineCoreCount-generic.cpp \
|
---|
1765 | r3/haiku/rtProcInitExePath-haiku.cpp \
|
---|
1766 | r3/haiku/time-haiku.cpp \
|
---|
1767 | r3/generic/allocex-r3-generic.cpp \
|
---|
1768 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
1769 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
1770 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
1771 | r3/generic/RTTimeZoneGetCurrent-generic.cpp \
|
---|
1772 | r3/generic/dirrel-r3-generic.cpp \
|
---|
1773 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
1774 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
1775 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
1776 | r3/posix/RTMemProtect-posix.cpp \
|
---|
1777 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
1778 | r3/posix/RTSystemQueryOSInfo-posix.cpp \
|
---|
1779 | r3/posix/RTSystemQueryTotalRam-posix.cpp \
|
---|
1780 | r3/posix/RTTimeNow-posix.cpp \
|
---|
1781 | r3/posix/dir-posix.cpp \
|
---|
1782 | r3/posix/env-posix.cpp \
|
---|
1783 | r3/posix/errvars-posix.cpp \
|
---|
1784 | r3/posix/fileio-posix.cpp \
|
---|
1785 | r3/posix/fileio2-posix.cpp \
|
---|
1786 | r3/posix/filelock-posix.cpp \
|
---|
1787 | r3/posix/fs-posix.cpp \
|
---|
1788 | r3/posix/fs2-posix.cpp \
|
---|
1789 | r3/posix/fs3-posix.cpp \
|
---|
1790 | r3/posix/ldrNative-posix.cpp \
|
---|
1791 | r3/posix/localipc-posix.cpp \
|
---|
1792 | r3/posix/mempage-native-posix.cpp \
|
---|
1793 | r3/posix/path-posix.cpp \
|
---|
1794 | r3/posix/path2-posix.cpp \
|
---|
1795 | r3/posix/pathhost-posix.cpp \
|
---|
1796 | r3/posix/pipe-posix.cpp \
|
---|
1797 | r3/posix/process-posix.cpp \
|
---|
1798 | r3/posix/process-creation-posix.cpp \
|
---|
1799 | r3/posix/rand-posix.cpp \
|
---|
1800 | r3/posix/semevent-posix.cpp \
|
---|
1801 | r3/posix/semeventmulti-posix.cpp \
|
---|
1802 | r3/posix/semmutex-posix.cpp \
|
---|
1803 | r3/posix/serialport-posix.cpp \
|
---|
1804 | r3/posix/symlink-posix.cpp \
|
---|
1805 | r3/posix/thread-posix.cpp \
|
---|
1806 | r3/posix/thread2-posix.cpp \
|
---|
1807 | r3/posix/timelocal-posix.cpp \
|
---|
1808 | r3/posix/tls-posix.cpp \
|
---|
1809 | r3/posix/utf8-posix.cpp
|
---|
1810 | RuntimeBaseR3_SOURCES.haiku.x86 += common/string/memrchr.asm
|
---|
1811 | RuntimeBaseR3_SOURCES.haiku.amd64 += common/string/memrchr.asm
|
---|
1812 |
|
---|
1813 | ## PORTME: Porters add their selection of platform specific files for Ring-3 here.
|
---|
1814 |
|
---|
1815 |
|
---|
1816 | #
|
---|
1817 | # kBuild unit for generating nocrt aliases.
|
---|
1818 | #
|
---|
1819 | # This scans assembly, C and C++ source files for the target looking for macros
|
---|
1820 | # that defines functions and variables needing aliasing.
|
---|
1821 | #
|
---|
1822 | UNIT_VBoxNoCrtAliases = CRT symbol alias for the rtnocr_xxx implementations
|
---|
1823 |
|
---|
1824 | # Only adding the VBOX_NOCRT_ALIASES property to library targets for now:
|
---|
1825 | PROPS_ACCUMULATE_L += VBOX_NOCRT_ALIASES
|
---|
1826 | PROPS_ACCUMULATE_L_LNK += VBOX_NOCRT_ALIASES
|
---|
1827 | PROPS_LIBRARIES_ACCUMULATE_L += VBOX_NOCRT_ALIASES
|
---|
1828 | PROPS_ALL += VBOX_NOCRT_ALIASES
|
---|
1829 |
|
---|
1830 | define def_unit_VBoxNoCrtAliases_double_expansion
|
---|
1831 | $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE).ts +| $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE): \
|
---|
1832 | $$(abspathex \
|
---|
1833 | $$($(target)_SOURCES) \
|
---|
1834 | $$($(target)_SOURCES.$(bld_trg)) \
|
---|
1835 | $$($(target)_SOURCES.$(bld_trg).$(bld_type)) \
|
---|
1836 | $$($(target)_SOURCES.$(bld_trg).$(bld_trg_arch)) \
|
---|
1837 | $$($(target)_SOURCES.$(bld_trg).$(bld_trg_arch).$(bld_type)) \
|
---|
1838 | $$($(target)_SOURCES.$(bld_trg_arch)) \
|
---|
1839 | $$($(target)_SOURCES.$(bld_trg_cpu)) \
|
---|
1840 | $$($(target)_SOURCES.$(bld_type)) \
|
---|
1841 | , $(firstfile $(defpath) $(PATH_SUB_CURRENT))) \
|
---|
1842 | $$(VBOX_PATH_RUNTIME_SRC)//nocrt-aliases.sed
|
---|
1843 | $$(call MSG_GENERATE,$(target),$$@,)
|
---|
1844 | $$(QUIET)$$(MKDIR) -p -- "$$(dir $$@)"
|
---|
1845 | $$(QUIET)$$(APPEND) -tn "$$@" "$(target)_2_VBOX_NOCRT_ALIASES := \\"
|
---|
1846 | $$(xargs $$(QUIET)$$(SED) -rn -f "$$(VBOX_PATH_RUNTIME_SRC)/nocrt-aliases.sed" --append "$$@" , $$(filter %.c %.cpp %.asm, $$^) )
|
---|
1847 | $$(QUIET)$$(APPEND) -n "$$@" "" ""
|
---|
1848 | $$(QUIET)$$(CP) --changed -f -- "$$@" "$$(patsubst %.ts,%,$$@)"
|
---|
1849 |
|
---|
1850 | $$($(target)_0_OUTDIR)/genalias/genalias.ts + $$($(target)_2_VBOX_NOCRT_ALIAS_FILES): | $$(VBOX_GENALIAS)
|
---|
1851 | $$(call MSG_GENERATE,$(target),$$@,)
|
---|
1852 | $$(QUIET)$$(MKDIR) -p -- "$$($(target)_0_OUTDIR)/genalias/"
|
---|
1853 | $$(QUIET)$$(VBOX_GENALIAS) -f $$(if-expr "$(bld_trg)" == "win",coff.$(bld_trg_arch),$$(if-expr "$(bld_trg)" == "darwin",macho,omf)) \
|
---|
1854 | -D "$$($(target)_0_OUTDIR)/genalias/" $$($(target)_2_VBOX_NOCRT_ALIASES) \
|
---|
1855 | $$($(target)_VBOX_NOCRT_ALIASES) \
|
---|
1856 | $$($(target)_VBOX_NOCRT_ALIASES.$(bld_trg)) \
|
---|
1857 | $$($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_type)) \
|
---|
1858 | $$($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch)) \
|
---|
1859 | $$($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch).$(bld_type)) \
|
---|
1860 | $$($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_arch)) \
|
---|
1861 | $$($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_cpu)) \
|
---|
1862 | $$($(target)_VBOX_NOCRT_ALIASES.$(bld_type))
|
---|
1863 | $$(QUIET)$$(APPEND) -tn "$$($(target)_0_OUTDIR)/genalias/genalias.ts" "$$($(target)_2_VBOX_NOCRT_ALIASES))"
|
---|
1864 |
|
---|
1865 | $(target)_2_OBJS += $$($(target)_2_VBOX_NOCRT_ALIAS_FILES)
|
---|
1866 | OTHER_CLEAN += $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE) $$($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE).ts
|
---|
1867 | endef
|
---|
1868 |
|
---|
1869 | define def_unit_VBoxNoCrtAliases_target_pre
|
---|
1870 | if1of ($(bld_trg), win os2 darwin) # Only non-ELF targets as ELF does not support aliasing.
|
---|
1871 | $(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE := $(PATH_OUT)/nocrt-aliases-$(target).kmk
|
---|
1872 | include $($(target)_2_VBOX_NOCRT_ALIAS_KMK_FILE)
|
---|
1873 | $(target)_2_VBOX_NOCRT_ALIAS_FILES := $(foreach alias,$($(target)_2_VBOX_NOCRT_ALIASES) \
|
---|
1874 | $($(target)_VBOX_NOCRT_ALIASES) \
|
---|
1875 | $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg)) \
|
---|
1876 | $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_type)) \
|
---|
1877 | $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch)) \
|
---|
1878 | $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg).$(bld_trg_arch).$(bld_type)) \
|
---|
1879 | $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_arch)) \
|
---|
1880 | $($(target)_VBOX_NOCRT_ALIASES.$(bld_trg_cpu)) \
|
---|
1881 | $($(target)_VBOX_NOCRT_ALIASES.$(bld_type)) \
|
---|
1882 | , $($(target)_0_OUTDIR)/genalias/$(firstword $(subst =, $(SPACE),$(alias))).o)
|
---|
1883 | $(eval $(def_unit_VBoxNoCrtAliases_double_expansion))
|
---|
1884 | endif
|
---|
1885 | endef
|
---|
1886 |
|
---|
1887 |
|
---|
1888 | #
|
---|
1889 | # RuntimeR3 - Static Runtime for Ring-3 executables.
|
---|
1890 | #
|
---|
1891 | # We drop the windows error defines here for reason of size. The valkit tstUtf8
|
---|
1892 | # was reduced by 175KB, from 600KB to 425KB (about 30%). Come up with a way of
|
---|
1893 | # stripping it down or compressing it better and it can be added back.
|
---|
1894 | # - 2022-08-17, bird.
|
---|
1895 | #
|
---|
1896 | RuntimeR3_TEMPLATE = VBoxR3Static
|
---|
1897 | RuntimeR3_EXTENDS = RuntimeBaseR3
|
---|
1898 | RuntimeR3_DEFS.win = $(RuntimeBaseR3_DEFS.win) IPRT_NO_WIN_ERROR_DATA
|
---|
1899 | ifdef VBOX_WITH_NOCRT_STATIC
|
---|
1900 | if1of ($(KBUILD_TARGET), win)
|
---|
1901 | RuntimeR3_USES = $(RuntimeBaseR3_USES) VBoxNoCrtAliases
|
---|
1902 | RuntimeR3_DEFS = $(filter-out RT_WITHOUT_NOCRT_WRAPPERS,$(RuntimeBaseR3_DEFS)) \
|
---|
1903 | RT_FORCE_NOCRT_WRAPPERS \
|
---|
1904 | RT_WITH_NOCRT_ALIASES RT_WITH_NOCRT_UNDERSCORE_ALIASES RT_WITH_GENALIAS_NOCRT_ALIASES
|
---|
1905 |
|
---|
1906 | RuntimeR3_SOURCES = $(filter-out \
|
---|
1907 | r3/alloc.cpp \
|
---|
1908 | r3/alloc-ef.cpp \
|
---|
1909 | r3/xml.cpp \
|
---|
1910 | common/zip/xarvfs.cpp \
|
---|
1911 | common/misc/json.cpp \
|
---|
1912 | generic/RTLogWriteStdErr-generic.cpp \
|
---|
1913 | generic/RTLogWriteStdOut-generic.cpp \
|
---|
1914 | ,$(RuntimeBaseR3_SOURCES)) \
|
---|
1915 | \
|
---|
1916 | common/err/nocrt-strerror.cpp \
|
---|
1917 | common/file/nocrt-open.cpp \
|
---|
1918 | common/file/nocrt-close.cpp \
|
---|
1919 | common/file/nocrt-fstat.cpp \
|
---|
1920 | common/file/nocrt-isatty.cpp \
|
---|
1921 | common/file/nocrt-read.cpp \
|
---|
1922 | common/math/nocrt-abs.cpp \
|
---|
1923 | common/math/nocrt-labs.cpp \
|
---|
1924 | common/math/nocrt-llabs.cpp \
|
---|
1925 | common/math/consts.c \
|
---|
1926 | common/math/copysign.cpp \
|
---|
1927 | common/math/copysignf.cpp \
|
---|
1928 | common/math/copysignl.cpp \
|
---|
1929 | common/math/fmax.cpp \
|
---|
1930 | common/math/fmaxf.cpp \
|
---|
1931 | common/math/fmaxl.cpp \
|
---|
1932 | common/math/fmin.cpp \
|
---|
1933 | common/math/fminf.cpp \
|
---|
1934 | common/math/fminl.cpp \
|
---|
1935 | common/math/frexp.cpp \
|
---|
1936 | common/math/frexpf.cpp \
|
---|
1937 | common/math/frexpl.cpp \
|
---|
1938 | common/math/__fpclassifyd.cpp \
|
---|
1939 | common/math/__fpclassifyf.cpp \
|
---|
1940 | common/math/__fpclassifyl.cpp \
|
---|
1941 | common/math/__isfinite.cpp \
|
---|
1942 | common/math/__isfinitef.cpp \
|
---|
1943 | common/math/__isfinitel.cpp \
|
---|
1944 | common/math/isinf.cpp \
|
---|
1945 | common/math/__isinff.cpp \
|
---|
1946 | common/math/__isinfl.cpp \
|
---|
1947 | common/math/isnan.cpp \
|
---|
1948 | common/math/isnanf.cpp \
|
---|
1949 | common/math/__isnanl.cpp \
|
---|
1950 | common/math/__isnormal.cpp \
|
---|
1951 | common/math/__isnormalf.cpp \
|
---|
1952 | common/math/__isnormall.cpp \
|
---|
1953 | common/math/llround.cpp \
|
---|
1954 | common/math/llroundf.cpp \
|
---|
1955 | common/math/llroundl.cpp \
|
---|
1956 | common/math/lround.cpp \
|
---|
1957 | common/math/lroundf.cpp \
|
---|
1958 | common/math/lroundl.cpp \
|
---|
1959 | common/math/round.cpp \
|
---|
1960 | common/math/roundf.cpp \
|
---|
1961 | common/math/roundl.cpp \
|
---|
1962 | common/math/__signbit.cpp \
|
---|
1963 | common/math/__signbitf.cpp \
|
---|
1964 | common/math/__signbitl.cpp \
|
---|
1965 | common/path/nocrt-access.cpp \
|
---|
1966 | common/path/nocrt-unlink.cpp \
|
---|
1967 | common/rand/nocrt-rand.cpp \
|
---|
1968 | common/sort/nocrt-qsort.cpp \
|
---|
1969 | common/sort/nocrt-qsort_r.cpp \
|
---|
1970 | common/sort/nocrt-bsearch.cpp \
|
---|
1971 | common/string/nocrt-strdup.cpp \
|
---|
1972 | common/string/nocrt-stricmp.cpp \
|
---|
1973 | common/string/nocrt-strtod.cpp \
|
---|
1974 | common/string/nocrt-atof.cpp \
|
---|
1975 | common/string/nocrt-strtol.cpp \
|
---|
1976 | common/string/nocrt-strtoll.cpp \
|
---|
1977 | common/string/nocrt-strtoul.cpp \
|
---|
1978 | common/string/nocrt-strtoull.cpp \
|
---|
1979 | common/string/nocrt-snprintf.cpp \
|
---|
1980 | common/string/nocrt-vsnprintf.cpp \
|
---|
1981 | common/string/nocrt-scprintf.cpp \
|
---|
1982 | common/string/nocrt-vscprintf.cpp \
|
---|
1983 | common/string/nocrt-sscanf.cpp \
|
---|
1984 | common/string/nocrt-vsscanf.cpp \
|
---|
1985 | common/string/atoi.cpp \
|
---|
1986 | common/string/strtok_r.cpp \
|
---|
1987 | r3/nocrt-per-thread-1.cpp \
|
---|
1988 | r3/nocrt-per-thread-2.cpp \
|
---|
1989 | r3/nocrt-errno.cpp \
|
---|
1990 | r3/nocrt-fopen.cpp \
|
---|
1991 | r3/nocrt-fdopen.cpp \
|
---|
1992 | r3/nocrt-tmpfile.cpp \
|
---|
1993 | r3/nocrt-tmpfile_s.cpp \
|
---|
1994 | r3/nocrt-fileno.cpp \
|
---|
1995 | r3/nocrt-fclose.cpp \
|
---|
1996 | r3/nocrt-fflush.cpp \
|
---|
1997 | r3/nocrt-setvbuf.cpp \
|
---|
1998 | r3/nocrt-fseek.cpp \
|
---|
1999 | r3/nocrt-fseeko.cpp \
|
---|
2000 | r3/nocrt-ftell.cpp \
|
---|
2001 | r3/nocrt-ftello.cpp \
|
---|
2002 | r3/nocrt-fwrite.cpp \
|
---|
2003 | r3/nocrt-fputc.cpp \
|
---|
2004 | r3/nocrt-putc.cpp \
|
---|
2005 | r3/nocrt-fputs.cpp \
|
---|
2006 | r3/nocrt-puts.cpp \
|
---|
2007 | r3/nocrt-fread.cpp \
|
---|
2008 | r3/nocrt-fgetc.cpp \
|
---|
2009 | r3/nocrt-getc.cpp \
|
---|
2010 | r3/nocrt-clearerr.cpp \
|
---|
2011 | r3/nocrt-ferror.cpp \
|
---|
2012 | r3/nocrt-cerr.cpp \
|
---|
2013 | r3/nocrt-cout.cpp
|
---|
2014 |
|
---|
2015 | RuntimeR3_SOURCES.x86 = $(RuntimeBaseR3_SOURCES.x86) \
|
---|
2016 | common/math/atan.asm \
|
---|
2017 | common/math/atanf.asm \
|
---|
2018 | common/math/atan2.asm \
|
---|
2019 | common/math/atan2f.asm \
|
---|
2020 | common/math/cos.asm \
|
---|
2021 | common/math/cosf.asm \
|
---|
2022 | common/math/ceil.asm \
|
---|
2023 | common/math/ceilf.asm \
|
---|
2024 | common/math/exp.asm \
|
---|
2025 | common/math/expf.asm \
|
---|
2026 | common/math/exp2.asm \
|
---|
2027 | common/math/exp2f.asm \
|
---|
2028 | common/math/fabs.asm \
|
---|
2029 | common/math/fabsf.asm \
|
---|
2030 | common/math/rtNoCrtHasSse.asm \
|
---|
2031 | common/math/fegetenv.asm \
|
---|
2032 | common/math/fesetenv.asm \
|
---|
2033 | common/math/feholdexcept.asm \
|
---|
2034 | common/math/feupdateenv.asm \
|
---|
2035 | common/math/fegetround.asm \
|
---|
2036 | common/math/fesetround.asm \
|
---|
2037 | common/math/fegetx87precision.asm \
|
---|
2038 | common/math/fesetx87precision.asm \
|
---|
2039 | common/math/fegetexcept.asm \
|
---|
2040 | common/math/feenableexcept.asm \
|
---|
2041 | common/math/fedisableexcept.asm \
|
---|
2042 | common/math/feclearexcept.asm \
|
---|
2043 | common/math/fegetexceptflag.asm \
|
---|
2044 | common/math/fesetexceptflag.asm \
|
---|
2045 | common/math/fetestexcept.asm \
|
---|
2046 | common/math/feraiseexcept.asm \
|
---|
2047 | common/math/floor.asm \
|
---|
2048 | common/math/floorf.asm \
|
---|
2049 | common/math/ldexp.asm \
|
---|
2050 | common/math/ldexpf.asm \
|
---|
2051 | common/math/log.asm \
|
---|
2052 | common/math/logf.asm \
|
---|
2053 | common/math/log2.asm \
|
---|
2054 | common/math/log2f.asm \
|
---|
2055 | common/math/llrint.asm \
|
---|
2056 | common/math/llrintf.asm \
|
---|
2057 | common/math/lrint.asm \
|
---|
2058 | common/math/lrintf.asm \
|
---|
2059 | common/math/pow.asm \
|
---|
2060 | common/math/powf.asm \
|
---|
2061 | common/math/powcore.asm \
|
---|
2062 | common/math/remainder.asm \
|
---|
2063 | common/math/remainderf.asm \
|
---|
2064 | common/math/rint.asm \
|
---|
2065 | common/math/rintf.asm \
|
---|
2066 | common/math/sin.asm \
|
---|
2067 | common/math/sinf.asm \
|
---|
2068 | common/math/sincore.asm \
|
---|
2069 | common/math/sqrt.asm \
|
---|
2070 | common/math/sqrtf.asm \
|
---|
2071 | common/math/tan.asm \
|
---|
2072 | common/math/tanf.asm \
|
---|
2073 | common/math/trunc.asm \
|
---|
2074 | common/math/truncf.asm \
|
---|
2075 | common/misc/setjmp.asm \
|
---|
2076 | common/string/memcpy.asm \
|
---|
2077 | common/string/memchr.asm \
|
---|
2078 | common/string/memcmp.asm \
|
---|
2079 | common/string/memmove.asm \
|
---|
2080 | common/string/memset.asm \
|
---|
2081 | common/string/strlen.asm \
|
---|
2082 | common/string/strnlen.cpp \
|
---|
2083 | common/string/strchr.asm \
|
---|
2084 | common/string/strcmp.asm \
|
---|
2085 | common/string/strncmp.asm \
|
---|
2086 | common/string/strcpy.asm \
|
---|
2087 | common/string/strncpy.asm \
|
---|
2088 | common/string/strcat.cpp \
|
---|
2089 | common/string/strncat.cpp \
|
---|
2090 | common/string/strrchr.cpp \
|
---|
2091 | common/string/strstr.cpp \
|
---|
2092 | common/string/strcspn.cpp \
|
---|
2093 | common/string/strpbrk.cpp \
|
---|
2094 | common/string/wcslen.asm
|
---|
2095 |
|
---|
2096 | RuntimeR3_SOURCES.amd64 = $(RuntimeBaseR3_SOURCES.amd64) \
|
---|
2097 | common/math/atan.asm \
|
---|
2098 | common/math/atanf.asm \
|
---|
2099 | common/math/atan2.asm \
|
---|
2100 | common/math/atan2f.asm \
|
---|
2101 | common/math/cos.asm \
|
---|
2102 | common/math/cosf.asm \
|
---|
2103 | common/math/ceil.asm \
|
---|
2104 | common/math/ceilf.asm \
|
---|
2105 | common/math/exp.asm \
|
---|
2106 | common/math/expf.asm \
|
---|
2107 | common/math/exp2.asm \
|
---|
2108 | common/math/exp2f.asm \
|
---|
2109 | common/math/fabs.asm \
|
---|
2110 | common/math/fabsf.asm \
|
---|
2111 | common/math/fegetenv.asm \
|
---|
2112 | common/math/fesetenv.asm \
|
---|
2113 | common/math/feholdexcept.asm \
|
---|
2114 | common/math/feupdateenv.asm \
|
---|
2115 | common/math/fegetround.asm \
|
---|
2116 | common/math/fesetround.asm \
|
---|
2117 | common/math/fegetx87precision.asm \
|
---|
2118 | common/math/fesetx87precision.asm \
|
---|
2119 | common/math/fegetexcept.asm \
|
---|
2120 | common/math/feenableexcept.asm \
|
---|
2121 | common/math/fedisableexcept.asm \
|
---|
2122 | common/math/feclearexcept.asm \
|
---|
2123 | common/math/fegetexceptflag.asm \
|
---|
2124 | common/math/fesetexceptflag.asm \
|
---|
2125 | common/math/fetestexcept.asm \
|
---|
2126 | common/math/feraiseexcept.asm \
|
---|
2127 | common/math/floor.asm \
|
---|
2128 | common/math/floorf.asm \
|
---|
2129 | common/math/ldexp.asm \
|
---|
2130 | common/math/ldexpf.asm \
|
---|
2131 | common/math/log.asm \
|
---|
2132 | common/math/logf.asm \
|
---|
2133 | common/math/log2.asm \
|
---|
2134 | common/math/log2f.asm \
|
---|
2135 | common/math/llrint.asm \
|
---|
2136 | common/math/llrintf.asm \
|
---|
2137 | common/math/lrint.asm \
|
---|
2138 | common/math/lrintf.asm \
|
---|
2139 | common/math/pow.asm \
|
---|
2140 | common/math/powf.asm \
|
---|
2141 | common/math/powcore.asm \
|
---|
2142 | common/math/remainder.asm \
|
---|
2143 | common/math/remainderf.asm \
|
---|
2144 | common/math/rint.asm \
|
---|
2145 | common/math/rintf.asm \
|
---|
2146 | common/math/sin.asm \
|
---|
2147 | common/math/sinf.asm \
|
---|
2148 | common/math/sincore.asm \
|
---|
2149 | common/math/sqrt.asm \
|
---|
2150 | common/math/sqrtf.asm \
|
---|
2151 | common/math/tan.asm \
|
---|
2152 | common/math/tanf.asm \
|
---|
2153 | common/math/trunc.asm \
|
---|
2154 | common/math/truncf.asm \
|
---|
2155 | common/misc/setjmp.asm \
|
---|
2156 | common/string/memcpy.asm \
|
---|
2157 | common/string/memchr.asm \
|
---|
2158 | common/string/memcmp.asm \
|
---|
2159 | common/string/memmove.asm \
|
---|
2160 | common/string/memset.asm \
|
---|
2161 | common/string/strlen.asm \
|
---|
2162 | common/string/strnlen.cpp \
|
---|
2163 | common/string/strchr.asm \
|
---|
2164 | common/string/strcmp.asm \
|
---|
2165 | common/string/strncmp.asm \
|
---|
2166 | common/string/strcpy.asm \
|
---|
2167 | common/string/strncpy.asm \
|
---|
2168 | common/string/strcat.cpp \
|
---|
2169 | common/string/strncat.cpp \
|
---|
2170 | common/string/strrchr.cpp \
|
---|
2171 | common/string/strstr.cpp \
|
---|
2172 | common/string/strcspn.cpp \
|
---|
2173 | common/string/strpbrk.cpp \
|
---|
2174 | common/string/wcslen.asm
|
---|
2175 |
|
---|
2176 | RuntimeR3_SOURCES.win = $(filter-out \
|
---|
2177 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
2178 | ,$(RuntimeBaseR3_SOURCES.win)) \
|
---|
2179 | \
|
---|
2180 | common/compiler/vcc/atexit-vcc.cpp \
|
---|
2181 | common/compiler/vcc/loadcfg-vcc.c \
|
---|
2182 | common/compiler/vcc/tlsdir-vcc.c \
|
---|
2183 | common/compiler/vcc/initializers-c-cpp-vcc.cpp \
|
---|
2184 | common/compiler/vcc/stacksup-vcc.cpp \
|
---|
2185 | common/compiler/vcc/fltused-vcc.cpp \
|
---|
2186 | common/compiler/vcc/purecall-vcc.cpp \
|
---|
2187 | common/file/nocrt-dup.cpp \
|
---|
2188 | r3/win/nocrt-startup-exe-win.cpp \
|
---|
2189 | r3/win/nocrt-startup-dll-win.cpp \
|
---|
2190 | r3/win/nocrt-startup-common-win.cpp \
|
---|
2191 | r3/win/nocrt-fatal-write-win.cpp \
|
---|
2192 | r3/win/nocrt-alloc-win.cpp \
|
---|
2193 | r3/win/nocrt-RTLogWriteStdErr-win.cpp \
|
---|
2194 | r3/win/nocrt-RTLogWriteStdOut-win.cpp \
|
---|
2195 | generic/new-delete-generic.cpp
|
---|
2196 | RuntimeR3_SOURCES.win.amd64 = $(RuntimeBaseR3_SOURCES.win.amd64) \
|
---|
2197 | r3/win/nocrt-atexit-win.asm \
|
---|
2198 | r3/win/nocrt-mainCRTStartup-win.asm \
|
---|
2199 | r3/win/nocrt-WinMainCRTStartup-win.asm \
|
---|
2200 | common/compiler/vcc/guard-vcc.asm \
|
---|
2201 | common/compiler/vcc/stack-vcc.asm \
|
---|
2202 | common/compiler/vcc/stack-except-vcc.cpp \
|
---|
2203 | common/compiler/vcc/stack-except-seh-vcc.cpp \
|
---|
2204 | common/compiler/vcc/stack-probe-vcc.asm \
|
---|
2205 | common/compiler/vcc/except-seh-vcc.cpp
|
---|
2206 | RuntimeR3_SOURCES.win.x86 = $(RuntimeBaseR3_SOURCES.win.x86) \
|
---|
2207 | r3/win/nocrt-atexit-win.asm \
|
---|
2208 | r3/win/nocrt-mainCRTStartup-win.asm \
|
---|
2209 | r3/win/nocrt-WinMainCRTStartup-win.asm \
|
---|
2210 | common/compiler/vcc/guard-vcc.asm \
|
---|
2211 | common/compiler/vcc/stack-vcc.asm \
|
---|
2212 | common/compiler/vcc/stack-probe-vcc.asm \
|
---|
2213 | common/compiler/vcc/ftol2-vcc.asm \
|
---|
2214 | common/compiler/vcc/except-x86-vcc.cpp \
|
---|
2215 | common/compiler/vcc/except-x86-vcc-asm.asm \
|
---|
2216 | common/compiler/vcc/x86-allshl.asm \
|
---|
2217 | common/compiler/vcc/x86-allshr.asm \
|
---|
2218 | common/compiler/vcc/x86-aullshr.asm \
|
---|
2219 | common/compiler/vcc/x86-allmul.asm \
|
---|
2220 | common/compiler/vcc/x86-alldiv.asm \
|
---|
2221 | common/compiler/vcc/x86-allrem.asm \
|
---|
2222 | common/compiler/vcc/x86-alldvrm.asm \
|
---|
2223 | common/compiler/vcc/x86-aulldiv.asm \
|
---|
2224 | common/compiler/vcc/x86-aullrem.asm \
|
---|
2225 | common/compiler/vcc/x86-aulldvrm.asm
|
---|
2226 | RuntimeR3_VBOX_NOCRT_ALIASES.win := \
|
---|
2227 | strtok_s=nocrt_strtok_r _strtok_s=nocrt_strtok_r nocrt_strtok_s=nocrt_strtok_r \
|
---|
2228 | $(foreach fn, atan atan2 cos ceil exp fabs floor ldexp log lrint llrint remainder sin tan \
|
---|
2229 | ,$(fn)l=nocrt_$(fn) _$(fn)l=nocrt_$(fn))
|
---|
2230 | endif
|
---|
2231 | endif
|
---|
2232 |
|
---|
2233 |
|
---|
2234 | #
|
---|
2235 | # Generate RTIsoMaker / VISO help text from the manpage xml.
|
---|
2236 | #
|
---|
2237 | ifn1of ($(KBUILD_TARGET), os2) # breaks validationkit, figure out later.
|
---|
2238 |
|
---|
2239 | IPRT_XML_REFENTRY_FILES = \
|
---|
2240 | common/fs/isomakercmd-man.xml
|
---|
2241 |
|
---|
2242 | #$(call KB_FN_DO_PASS0_ON_TARGET,RuntimeR3)
|
---|
2243 |
|
---|
2244 | BLDDIRS += $(IPRT_OUT_DIR)/man/
|
---|
2245 | OTHER_CLEAN += $(foreach xml,$(basename $(notdir $(IPRT_XML_REFENTRY_FILES))), \
|
---|
2246 | $(IPRT_OUT_DIR)/man/$(xml).xml $(IPRT_OUT_DIR)/man/$(xml).h $(IPRT_OUT_DIR)/man/$(xml).h.ts)
|
---|
2247 |
|
---|
2248 |
|
---|
2249 | include $(PATH_ROOT)/doc/manual/Config.kmk
|
---|
2250 |
|
---|
2251 | # Preprocess the xml files, applying remarks.
|
---|
2252 | $(foreach file,$(IPRT_XML_REFENTRY_FILES) \
|
---|
2253 | , $(evalcall2 def_vbox_refentry_preprocess_for_manpage,$(IPRT_OUT_DIR)/man,$(notdir $(file)),$(VBOX_PATH_RUNTIME_SRC)/$(file)))
|
---|
2254 |
|
---|
2255 | # generate the header and add it as a dependency to the source using it.
|
---|
2256 | $(evalcall2 def_vbox_single_refentry_to_h,$(IPRT_OUT_DIR)/man/isomakercmd-man.h, $(IPRT_OUT_DIR)/man/isomakercmd-man.xml)
|
---|
2257 | common/fs/isomakercmd.cpp_DEPS = $(IPRT_OUT_DIR)/man/isomakercmd-man.h
|
---|
2258 | common/fs/isomakercmd.cpp_INCS = $(IPRT_OUT_DIR)/man/
|
---|
2259 |
|
---|
2260 | endif
|
---|
2261 |
|
---|
2262 |
|
---|
2263 | #
|
---|
2264 | # RuntimeR3-x86 - 32-bit version of RuntimeR3 for windows hosts.
|
---|
2265 | #
|
---|
2266 | RuntimeR3-x86_EXTENDS := RuntimeR3
|
---|
2267 | RuntimeR3-x86_BLD_TRG_ARCH := x86
|
---|
2268 | RuntimeR3-x86_DEFS = $(filter-out IN_SUP_R3 IN_SUP, $(RuntimeR3_DEFS)) IPRT_WITHOUT_LDR_VERIFY RT_NO_GIP
|
---|
2269 |
|
---|
2270 |
|
---|
2271 | #
|
---|
2272 | # RuntimeR3NoAsan - A RuntimeR3 version without ASAN for windows hosts.
|
---|
2273 | #
|
---|
2274 | RuntimeR3NoAsan_EXTENDS := RuntimeR3
|
---|
2275 | RuntimeR3NoAsan_TEMPLATE := VBoxR3StaticExeNoAsan
|
---|
2276 |
|
---|
2277 |
|
---|
2278 | #
|
---|
2279 | # RuntimeBldProg - Static Runtime for build programs.
|
---|
2280 | #
|
---|
2281 | # Note! This is a bit of hacky since kBuild doesn't support building libraries
|
---|
2282 | # for build programs.
|
---|
2283 | #
|
---|
2284 | RuntimeBldProg_TEMPLATE := VBoxAdvBldProg
|
---|
2285 | RuntimeBldProg_EXTENDS := RuntimeBaseR3
|
---|
2286 | RuntimeBldProg_BLD_TRG := $(KBUILD_HOST)
|
---|
2287 | RuntimeBldProg_BLD_TRG_ARCH := $(KBUILD_HOST_ARCH)
|
---|
2288 | RuntimeBldProg_BLD_TRG_CPU := $(KBUILD_HOST_CPU)
|
---|
2289 | RuntimeBldProg_DEFS := $(filter-out IN_SUP_R3 IN_SUP, $(RuntimeBaseR3_DEFS)) IPRT_WITHOUT_LDR_VERIFY RT_NO_GIP
|
---|
2290 | RuntimeBldProg_SOURCES = \
|
---|
2291 | common/alloc/alloc.cpp \
|
---|
2292 | common/alloc/memcache.cpp \
|
---|
2293 | common/asn1/asn1-basics.cpp \
|
---|
2294 | common/asn1/asn1-cursor.cpp \
|
---|
2295 | common/asn1/asn1-default-allocator.cpp \
|
---|
2296 | common/asn1/asn1-dump.cpp \
|
---|
2297 | common/asn1/asn1-efence-allocator.cpp \
|
---|
2298 | common/asn1/asn1-encode.cpp \
|
---|
2299 | common/asn1/asn1-safer-allocator.cpp \
|
---|
2300 | common/asn1/asn1-ut-bitstring-decode.cpp \
|
---|
2301 | common/asn1/asn1-ut-bitstring.cpp \
|
---|
2302 | common/asn1/asn1-ut-boolean-decode.cpp \
|
---|
2303 | common/asn1/asn1-ut-boolean.cpp \
|
---|
2304 | common/asn1/asn1-ut-core-decode.cpp \
|
---|
2305 | common/asn1/asn1-ut-core.cpp \
|
---|
2306 | common/asn1/asn1-ut-dyntype-decode.cpp \
|
---|
2307 | common/asn1/asn1-ut-dyntype.cpp \
|
---|
2308 | common/asn1/asn1-ut-integer-decode.cpp \
|
---|
2309 | common/asn1/asn1-ut-integer.cpp \
|
---|
2310 | common/asn1/asn1-ut-null-decode.cpp \
|
---|
2311 | common/asn1/asn1-ut-null.cpp \
|
---|
2312 | common/asn1/asn1-ut-objid-decode.cpp \
|
---|
2313 | common/asn1/asn1-ut-objid.cpp \
|
---|
2314 | common/asn1/asn1-ut-octetstring-decode.cpp \
|
---|
2315 | common/asn1/asn1-ut-octetstring.cpp \
|
---|
2316 | common/asn1/asn1-ut-string-decode.cpp \
|
---|
2317 | common/asn1/asn1-ut-string.cpp \
|
---|
2318 | common/asn1/asn1-ut-time-decode.cpp \
|
---|
2319 | common/asn1/asn1-ut-time.cpp \
|
---|
2320 | common/checksum/adler32.cpp \
|
---|
2321 | common/checksum/alt-md2.cpp \
|
---|
2322 | common/checksum/alt-md4.cpp \
|
---|
2323 | common/checksum/alt-md5.cpp \
|
---|
2324 | common/checksum/alt-sha1.cpp \
|
---|
2325 | common/checksum/alt-sha256.cpp \
|
---|
2326 | common/checksum/alt-sha512.cpp \
|
---|
2327 | common/checksum/alt-sha3.cpp \
|
---|
2328 | common/checksum/crc16ccitt.cpp \
|
---|
2329 | common/checksum/crc32.cpp \
|
---|
2330 | common/checksum/crc32c.cpp \
|
---|
2331 | common/checksum/crc64.cpp \
|
---|
2332 | common/checksum/manifest2.cpp \
|
---|
2333 | common/checksum/manifest3.cpp \
|
---|
2334 | common/checksum/md5str.cpp \
|
---|
2335 | common/checksum/sha1str.cpp \
|
---|
2336 | common/checksum/sha256str.cpp \
|
---|
2337 | common/checksum/sha512str.cpp \
|
---|
2338 | common/crypto/digest-builtin.cpp \
|
---|
2339 | common/crypto/digest-core.cpp \
|
---|
2340 | common/crypto/key.cpp \
|
---|
2341 | common/crypto/pemfile-read.cpp \
|
---|
2342 | common/crypto/pkcs7-asn1-decoder.cpp \
|
---|
2343 | common/crypto/pkcs7-core.cpp \
|
---|
2344 | common/crypto/pkcs7-init.cpp \
|
---|
2345 | common/crypto/pkcs7-sanity.cpp \
|
---|
2346 | common/crypto/pkcs7-verify.cpp \
|
---|
2347 | common/crypto/pkcs8-asn1-decoder.cpp \
|
---|
2348 | common/crypto/pkcs8-core.cpp \
|
---|
2349 | common/crypto/pkcs8-init.cpp \
|
---|
2350 | common/crypto/pkcs8-sanity.cpp \
|
---|
2351 | common/crypto/pkix-signature-builtin.cpp \
|
---|
2352 | common/crypto/pkix-signature-core.cpp \
|
---|
2353 | common/crypto/pkix-signature-rsa.cpp \
|
---|
2354 | common/crypto/pkix-signature-ossl.cpp \
|
---|
2355 | common/crypto/pkix-util.cpp \
|
---|
2356 | common/crypto/pkix-verify.cpp \
|
---|
2357 | common/crypto/rsa-asn1-decoder.cpp \
|
---|
2358 | common/crypto/rsa-core.cpp \
|
---|
2359 | common/crypto/rsa-init.cpp \
|
---|
2360 | common/crypto/rsa-sanity.cpp \
|
---|
2361 | common/crypto/RTCrStoreCertAddFromJavaKeyStore.cpp \
|
---|
2362 | common/crypto/RTCrStoreCreateSnapshotOfUserAndSystemTrustedCAsAndCerts.cpp \
|
---|
2363 | common/crypto/spc-asn1-decoder.cpp \
|
---|
2364 | common/crypto/spc-core.cpp \
|
---|
2365 | common/crypto/spc-init.cpp \
|
---|
2366 | common/crypto/spc-sanity.cpp \
|
---|
2367 | common/crypto/store-cert-add-basic.cpp \
|
---|
2368 | common/crypto/store-inmem.cpp \
|
---|
2369 | common/crypto/store.cpp \
|
---|
2370 | common/crypto/taf-asn1-decoder.cpp \
|
---|
2371 | common/crypto/taf-core.cpp \
|
---|
2372 | common/crypto/taf-init.cpp \
|
---|
2373 | common/crypto/taf-sanity.cpp \
|
---|
2374 | common/crypto/tsp-asn1-decoder.cpp \
|
---|
2375 | common/crypto/tsp-core.cpp \
|
---|
2376 | common/crypto/tsp-init.cpp \
|
---|
2377 | common/crypto/tsp-sanity.cpp \
|
---|
2378 | common/crypto/x509-asn1-decoder.cpp \
|
---|
2379 | common/crypto/x509-certpaths.cpp \
|
---|
2380 | common/crypto/x509-core.cpp \
|
---|
2381 | common/crypto/x509-create-sign.cpp \
|
---|
2382 | common/crypto/x509-file.cpp \
|
---|
2383 | common/crypto/x509-init.cpp \
|
---|
2384 | common/crypto/x509-sanity.cpp \
|
---|
2385 | common/crypto/x509-verify.cpp \
|
---|
2386 | common/dbg/dbg.cpp \
|
---|
2387 | common/dbg/dbgcfg.cpp \
|
---|
2388 | common/dbg/dbgmod.cpp \
|
---|
2389 | common/dbg/dbgmodcodeview.cpp \
|
---|
2390 | common/dbg/dbgmodcontainer.cpp \
|
---|
2391 | common/dbg/dbgmoddeferred.cpp \
|
---|
2392 | common/dbg/dbgmoddwarf.cpp \
|
---|
2393 | common/dbg/dbgmodexports.cpp \
|
---|
2394 | common/dbg/dbgmodldr.cpp \
|
---|
2395 | common/dbg/dbgmodmapsym.cpp \
|
---|
2396 | common/dbg/dbgmodnm.cpp \
|
---|
2397 | common/err/errinfo-alloc.cpp \
|
---|
2398 | common/err/errinfo.cpp \
|
---|
2399 | common/err/errinfolog.cpp \
|
---|
2400 | common/err/errmsg.cpp \
|
---|
2401 | common/err/RTErrConvertFromErrno.cpp \
|
---|
2402 | common/err/RTErrConvertToErrno.cpp \
|
---|
2403 | common/fs/isomaker.cpp \
|
---|
2404 | common/fs/isomakercmd.cpp \
|
---|
2405 | common/fs/isomakerimport.cpp \
|
---|
2406 | common/fs/isovfs.cpp \
|
---|
2407 | common/fs/pdbvfs.cpp \
|
---|
2408 | common/ldr/ldr.cpp \
|
---|
2409 | common/ldr/ldrELF.cpp \
|
---|
2410 | common/ldr/ldrEx.cpp \
|
---|
2411 | common/ldr/ldrFile.cpp \
|
---|
2412 | common/ldr/ldrLX.cpp \
|
---|
2413 | common/ldr/ldrMachO.cpp \
|
---|
2414 | common/ldr/ldrNative.cpp \
|
---|
2415 | common/ldr/ldrPE.cpp \
|
---|
2416 | common/ldr/ldrVfsFile.cpp \
|
---|
2417 | common/log/log.cpp \
|
---|
2418 | common/log/log-weak.cpp \
|
---|
2419 | common/log/log-weak-assert.cpp \
|
---|
2420 | common/log/log-weak-rel.cpp \
|
---|
2421 | common/log/logellipsis.cpp \
|
---|
2422 | common/log/logformat.cpp \
|
---|
2423 | common/log/logrel.cpp \
|
---|
2424 | common/log/logrelellipsis.cpp \
|
---|
2425 | common/log/RTLogCreateEx.cpp \
|
---|
2426 | common/math/bignum.cpp \
|
---|
2427 | common/misc/assert.cpp \
|
---|
2428 | common/misc/cidr.cpp \
|
---|
2429 | common/misc/getopt.cpp \
|
---|
2430 | common/misc/getoptargv.cpp \
|
---|
2431 | common/misc/lockvalidator.cpp \
|
---|
2432 | common/misc/message.cpp \
|
---|
2433 | common/misc/messagerefentry.cpp \
|
---|
2434 | common/misc/once.cpp \
|
---|
2435 | common/misc/RTAssertMsg1Weak.cpp \
|
---|
2436 | common/misc/RTAssertMsg2.cpp \
|
---|
2437 | common/misc/RTAssertMsg2Add.cpp \
|
---|
2438 | common/misc/RTAssertMsg2AddWeak.cpp \
|
---|
2439 | common/misc/RTAssertMsg2AddWeakV.cpp \
|
---|
2440 | common/misc/RTAssertMsg2Weak.cpp \
|
---|
2441 | common/misc/RTAssertMsg2WeakV.cpp \
|
---|
2442 | common/misc/RTFileModeToFlags.cpp \
|
---|
2443 | common/misc/RTFileOpenF.cpp \
|
---|
2444 | common/misc/RTFileOpenV.cpp \
|
---|
2445 | common/misc/RTMemWipeThoroughly.cpp \
|
---|
2446 | common/misc/req.cpp \
|
---|
2447 | common/misc/reqqueue.cpp \
|
---|
2448 | common/misc/reqpool.cpp \
|
---|
2449 | common/misc/sanity-c.c \
|
---|
2450 | common/misc/sanity-cpp.cpp \
|
---|
2451 | common/misc/sg.cpp \
|
---|
2452 | common/misc/term.cpp \
|
---|
2453 | common/misc/thread.cpp \
|
---|
2454 | common/net/macstr.cpp \
|
---|
2455 | common/net/netaddrstr2.cpp \
|
---|
2456 | common/path/comparepaths.cpp \
|
---|
2457 | common/path/RTPathAbsDup.cpp \
|
---|
2458 | common/path/RTPathAbsEx.cpp \
|
---|
2459 | common/path/RTPathAbsExDup.cpp \
|
---|
2460 | common/path/RTPathAppend.cpp \
|
---|
2461 | common/path/RTPathAppendEx.cpp \
|
---|
2462 | common/path/RTPathChangeToDosSlashes.cpp \
|
---|
2463 | common/path/RTPathChangeToUnixSlashes.cpp \
|
---|
2464 | common/path/RTPathCopyComponents.cpp \
|
---|
2465 | common/path/RTPathCountComponents.cpp \
|
---|
2466 | common/path/RTPathEnsureTrailingSeparator.cpp \
|
---|
2467 | common/path/RTPathExt.cpp \
|
---|
2468 | common/path/RTPathFilename.cpp \
|
---|
2469 | common/path/RTPathHasExt.cpp \
|
---|
2470 | common/path/RTPathHasPath.cpp \
|
---|
2471 | common/path/RTPathJoin.cpp \
|
---|
2472 | common/path/RTPathJoinA.cpp \
|
---|
2473 | common/path/RTPathJoinEx.cpp \
|
---|
2474 | common/path/RTPathParse.cpp \
|
---|
2475 | common/path/RTPathParsedReassemble.cpp \
|
---|
2476 | common/path/RTPathParseSimple.cpp \
|
---|
2477 | common/path/RTPathRealDup.cpp \
|
---|
2478 | common/path/rtPathRootSpecLen.cpp \
|
---|
2479 | common/path/RTPathSkipRootSpec.cpp \
|
---|
2480 | common/path/RTPathSplit.cpp \
|
---|
2481 | common/path/RTPathSplitA.cpp \
|
---|
2482 | common/path/RTPathSplitReassemble.cpp \
|
---|
2483 | common/path/RTPathStartsWithRoot.cpp \
|
---|
2484 | common/path/RTPathStripExt.cpp \
|
---|
2485 | common/path/RTPathStripFilename.cpp \
|
---|
2486 | common/path/RTPathStripTrailingSlash.cpp \
|
---|
2487 | common/path/RTPathTraverseList.cpp \
|
---|
2488 | common/path/rtPathVolumeSpecLen.cpp \
|
---|
2489 | common/rand/rand.cpp \
|
---|
2490 | common/rand/randadv.cpp \
|
---|
2491 | common/rand/randparkmiller.cpp \
|
---|
2492 | common/sort/shellsort.cpp \
|
---|
2493 | common/string/base64.cpp \
|
---|
2494 | common/string/RTStrCat.cpp \
|
---|
2495 | common/string/RTStrCmp.cpp \
|
---|
2496 | common/string/RTStrCopy.cpp \
|
---|
2497 | common/string/RTStrCopyEx.cpp \
|
---|
2498 | common/string/RTStrCopyP.cpp \
|
---|
2499 | common/string/RTStrICmpAscii.cpp \
|
---|
2500 | common/string/RTStrIStartsWith.cpp \
|
---|
2501 | common/string/RTStrNCmp.cpp \
|
---|
2502 | common/string/RTStrNICmpAscii.cpp \
|
---|
2503 | common/string/RTStrNLen.cpp \
|
---|
2504 | common/string/RTStrPrintHexBytes.cpp \
|
---|
2505 | common/string/RTStrStartsWith.cpp \
|
---|
2506 | common/string/RTStrStr.cpp \
|
---|
2507 | common/string/simplepattern.cpp \
|
---|
2508 | common/string/straprintf.cpp \
|
---|
2509 | common/string/strcache.cpp \
|
---|
2510 | common/string/strformat.cpp \
|
---|
2511 | common/string/RTStrFormat.cpp \
|
---|
2512 | common/string/strformatnum.cpp \
|
---|
2513 | common/string/strformatrt.cpp \
|
---|
2514 | common/string/strformattype.cpp \
|
---|
2515 | common/string/strhash1.cpp \
|
---|
2516 | common/string/stringalloc.cpp \
|
---|
2517 | common/string/strprintf.cpp \
|
---|
2518 | common/string/strprintf-ellipsis.cpp \
|
---|
2519 | common/string/strprintf2.cpp \
|
---|
2520 | common/string/strprintf2-ellipsis.cpp \
|
---|
2521 | common/string/strspace.cpp \
|
---|
2522 | common/string/strstrip.cpp \
|
---|
2523 | common/string/strtonum.cpp \
|
---|
2524 | common/string/unidata-flags.cpp \
|
---|
2525 | common/string/unidata-lower.cpp \
|
---|
2526 | common/string/unidata-upper.cpp \
|
---|
2527 | common/string/RTUtf16CopyAscii.cpp \
|
---|
2528 | common/string/utf-16-case.cpp \
|
---|
2529 | common/string/utf-16.cpp \
|
---|
2530 | common/string/utf-8-case.cpp \
|
---|
2531 | common/string/utf-8-case2.cpp \
|
---|
2532 | common/string/utf-8.cpp \
|
---|
2533 | common/table/avllu32.cpp \
|
---|
2534 | common/table/avlpv.cpp \
|
---|
2535 | common/table/avlrpv.cpp \
|
---|
2536 | common/table/avlruintptr.cpp \
|
---|
2537 | common/table/avlu32.cpp \
|
---|
2538 | common/table/avluintptr.cpp \
|
---|
2539 | common/time/time.cpp \
|
---|
2540 | common/time/timeprog.cpp \
|
---|
2541 | common/time/timesupref.cpp \
|
---|
2542 | common/time/timesysalias.cpp \
|
---|
2543 | common/vfs/vfsbase.cpp \
|
---|
2544 | common/vfs/vfschain.cpp \
|
---|
2545 | common/vfs/vfsiosmisc.cpp \
|
---|
2546 | common/vfs/vfsmemory.cpp \
|
---|
2547 | common/vfs/vfsmisc.cpp \
|
---|
2548 | common/vfs/vfsmsg.cpp \
|
---|
2549 | common/vfs/vfsstddir.cpp \
|
---|
2550 | common/vfs/vfsstdfile.cpp \
|
---|
2551 | common/vfs/vfsstdpipe.cpp \
|
---|
2552 | common/zip/gzipvfs.cpp \
|
---|
2553 | common/zip/tarcmd.cpp \
|
---|
2554 | common/zip/tarvfs.cpp \
|
---|
2555 | common/zip/tarvfswriter.cpp \
|
---|
2556 | generic/critsect-generic.cpp \
|
---|
2557 | generic/critsectrw-generic.cpp \
|
---|
2558 | generic/env-generic.cpp \
|
---|
2559 | generic/mempool-generic.cpp \
|
---|
2560 | generic/RTEnvDupEx-generic.cpp \
|
---|
2561 | generic/RTFileCopy-generic.cpp \
|
---|
2562 | generic/RTFileCopyAttributes-generic.cpp \
|
---|
2563 | generic/RTFileCopyEx-generic.cpp \
|
---|
2564 | generic/RTFileCopyByHandlesEx-generic.cpp \
|
---|
2565 | generic/RTFileQuerySize-generic.cpp \
|
---|
2566 | generic/RTFileReadAll-generic.cpp \
|
---|
2567 | generic/RTFileReadAllByHandle-generic.cpp \
|
---|
2568 | generic/RTFileReadAllByHandleEx-generic.cpp \
|
---|
2569 | generic/RTFileReadAllEx-generic.cpp \
|
---|
2570 | generic/RTFileReadAllFree-generic.cpp \
|
---|
2571 | generic/RTLogWriteStdErr-generic.cpp \
|
---|
2572 | generic/RTLogWriteStdOut-generic.cpp \
|
---|
2573 | generic/RTLogWriteUser-generic.cpp \
|
---|
2574 | generic/RTLogWriteVmm-stub-generic.cpp \
|
---|
2575 | generic/RTPathIsSame-generic.cpp \
|
---|
2576 | generic/RTPathGetCurrentDrive-generic.cpp \
|
---|
2577 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
2578 | generic/RTTimerLRCreate-generic.cpp \
|
---|
2579 | generic/semfastmutex-generic.cpp \
|
---|
2580 | generic/semxroads-generic.cpp \
|
---|
2581 | generic/spinlock-generic.cpp \
|
---|
2582 | r3/alloc-ef.cpp \
|
---|
2583 | r3/alloc.cpp \
|
---|
2584 | r3/allocex.cpp \
|
---|
2585 | r3/dir.cpp \
|
---|
2586 | r3/dir2.cpp \
|
---|
2587 | r3/fileio.cpp \
|
---|
2588 | r3/fs.cpp \
|
---|
2589 | r3/generic/semspinmutex-r3-generic.cpp \
|
---|
2590 | r3/init.cpp \
|
---|
2591 | r3/init-data.cpp \
|
---|
2592 | r3/process-data.cpp \
|
---|
2593 | r3/mempage-direct.cpp \
|
---|
2594 | r3/memsafer-r3.cpp \
|
---|
2595 | r3/path.cpp \
|
---|
2596 | r3/RTPathTemp.cpp \
|
---|
2597 | r3/process.cpp \
|
---|
2598 | r3/socket.cpp \
|
---|
2599 | r3/stream.cpp \
|
---|
2600 | r3/tcp.cpp \
|
---|
2601 | VBox/log-vbox.cpp \
|
---|
2602 | VBox/RTAssertShouldPanic-vbox.cpp \
|
---|
2603 | common/string/ministring.cpp # for main
|
---|
2604 | ifneq ($(KBUILD_HOST),win)
|
---|
2605 | RuntimeBldProg_SOURCES += \
|
---|
2606 | common/err/errmsgxpcom.cpp
|
---|
2607 | endif
|
---|
2608 | ifdef VBOX_WITH_LIBLZMA
|
---|
2609 | RuntimeBldProg_SOURCES += \
|
---|
2610 | common/zip/lzmavfs.cpp
|
---|
2611 | endif
|
---|
2612 |
|
---|
2613 | RuntimeBldProg_SOURCES.darwin = $(filter-out \
|
---|
2614 | generic/cdrom-generic.cpp \
|
---|
2615 | generic/RTFileMove-generic.cpp \
|
---|
2616 | generic/RTProcDaemonize-generic.cpp \
|
---|
2617 | generic/RTThreadGetAffinity-stub-generic.cpp \
|
---|
2618 | generic/RTThreadSetAffinity-stub-generic.cpp \
|
---|
2619 | generic/RTThreadSetAffinityToCpu-generic.cpp \
|
---|
2620 | generic/RTTimerCreate-generic.cpp \
|
---|
2621 | generic/mppresent-generic.cpp \
|
---|
2622 | generic/RTSystemShutdown-generic.cpp \
|
---|
2623 | generic/timer-generic.cpp \
|
---|
2624 | generic/utf16locale-generic.cpp \
|
---|
2625 | generic/RTProcIsRunningByName-generic.cpp \
|
---|
2626 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
2627 | r3/darwin/filelock-darwin.cpp \
|
---|
2628 | r3/darwin/systemmem-darwin.cpp \
|
---|
2629 | r3/darwin/krnlmod-darwin.cpp \
|
---|
2630 | r3/darwin/filelock-darwin.cpp \
|
---|
2631 | r3/darwin/RTSystemQueryDmiString-darwin.cpp \
|
---|
2632 | r3/darwin/RTPathUserDocuments-darwin.cpp \
|
---|
2633 | r3/posix/RTTimeSet-posix.cpp \
|
---|
2634 | r3/posix/serialport-posix.cpp \
|
---|
2635 | r3/posix/localipc-posix.cpp \
|
---|
2636 | r3/generic/allocex-r3-generic.cpp \
|
---|
2637 | r3/generic/RTLocaleQueryLocaleName-r3-generic.cpp \
|
---|
2638 | r3/generic/RTLocaleQueryNormalizedBaseLocaleName-r3-generic.cpp \
|
---|
2639 | r3/generic/RTLocaleQueryUserCountryCode-r3-generic.cpp \
|
---|
2640 | , $(RuntimeBaseR3_SOURCES.darwin))
|
---|
2641 |
|
---|
2642 | RuntimeBldProg_SOURCES.win = \
|
---|
2643 | common/dbg/dbgmoddbghelp.cpp \
|
---|
2644 | common/string/RTUtf16End.cpp \
|
---|
2645 | common/string/RTUtf16NLenEx.cpp \
|
---|
2646 | common/string/RTUtf16ICmpAscii.cpp \
|
---|
2647 | common/string/RTUtf16NICmpAscii.cpp \
|
---|
2648 | generic/mppresent-generic-online.cpp \
|
---|
2649 | generic/RTDirExists-generic.cpp \
|
---|
2650 | generic/RTDirSetTimes-generic.cpp \
|
---|
2651 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
2652 | generic/RTFileExists-generic.cpp \
|
---|
2653 | generic/RTFileSetAllocationSize-generic.cpp \
|
---|
2654 | generic/RTRandAdvCreateSystemFaster-generic.cpp \
|
---|
2655 | generic/RTRandAdvCreateSystemTruer-generic.cpp \
|
---|
2656 | generic/RTSemEventWait-2-ex-generic.cpp \
|
---|
2657 | generic/RTSemEventWaitNoResume-2-ex-generic.cpp \
|
---|
2658 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
2659 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
2660 | generic/RTSemMutexRequest-generic.cpp \
|
---|
2661 | generic/RTSemMutexRequestDebug-generic.cpp \
|
---|
2662 | generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
|
---|
2663 | generic/uuid-generic.cpp \
|
---|
2664 | nt/fileioutils-nt.cpp \
|
---|
2665 | nt/RTErrConvertFromNtStatus.cpp \
|
---|
2666 | nt/semevent-nt.cpp \
|
---|
2667 | nt/semeventmulti-nt.cpp \
|
---|
2668 | r3/nt/direnum-r3-nt.cpp \
|
---|
2669 | r3/nt/dirrel-r3-nt.cpp \
|
---|
2670 | r3/nt/fs-nt.cpp \
|
---|
2671 | r3/nt/pathint-nt.cpp \
|
---|
2672 | r3/nt/RTFileDelete-r3-nt.cpp \
|
---|
2673 | r3/nt/RTFileQueryFsSizes-nt.cpp \
|
---|
2674 | r3/nt/RTFileSetMode-r3-nt.cpp \
|
---|
2675 | r3/nt/RTPathQueryInfo-nt.cpp \
|
---|
2676 | r3/nt/RTPathSetMode-r3-nt.cpp \
|
---|
2677 | r3/nt/RTPathUnlink-r3-nt.cpp \
|
---|
2678 | r3/nt/RTProcQueryParent-r3-nt.cpp \
|
---|
2679 | r3/win/RTMemProtect-win.cpp \
|
---|
2680 | r3/win/allocex-win.cpp \
|
---|
2681 | r3/win/dir-win.cpp \
|
---|
2682 | r3/win/env-win.cpp \
|
---|
2683 | r3/win/errvars-win.cpp \
|
---|
2684 | r3/win/fileio-win.cpp \
|
---|
2685 | r3/win/init-win.cpp \
|
---|
2686 | r3/win/ldrNative-win.cpp \
|
---|
2687 | r3/win/mempage-native-win.cpp \
|
---|
2688 | r3/win/path-win.cpp \
|
---|
2689 | r3/win/pathint-win.cpp \
|
---|
2690 | r3/win/pipe-win.cpp \
|
---|
2691 | r3/win/process-win.cpp \
|
---|
2692 | r3/win/RTCrStoreCreateSnapshotById-win.cpp \
|
---|
2693 | r3/win/RTHandleGetStandard-win.cpp \
|
---|
2694 | r3/win/RTLogWriteDebugger-win.cpp \
|
---|
2695 | r3/win/rtProcInitExePath-win.cpp \
|
---|
2696 | r3/win/RTUuidCreate-win.cpp \
|
---|
2697 | r3/win/sched-win.cpp \
|
---|
2698 | r3/win/semmutex-win.cpp \
|
---|
2699 | r3/win/symlink-win.cpp \
|
---|
2700 | r3/win/system-get-nt-xxx-win.cpp \
|
---|
2701 | r3/win/thread-win.cpp \
|
---|
2702 | r3/win/thread2-win.cpp \
|
---|
2703 | $(if-expr 1,r3/win/time-win.cpp,r3/nt/time-nt.cpp) \
|
---|
2704 | r3/win/time2-win.cpp \
|
---|
2705 | r3/win/tls-win.cpp \
|
---|
2706 | r3/win/utf16locale-win.cpp \
|
---|
2707 | r3/win/utf8-win.cpp \
|
---|
2708 | win/errmsgwin.cpp \
|
---|
2709 | win/RTErrConvertFromWin32.cpp
|
---|
2710 |
|
---|
2711 | RuntimeBldProg_SOURCES.amd64 = $(filter-out \
|
---|
2712 | VBox/RTLogWriteVmm-amd64-x86.asm \
|
---|
2713 | , $(RuntimeBaseR3_SOURCES.amd64))
|
---|
2714 |
|
---|
2715 | RuntimeBldProg_SOURCES.x86 = $(filter-out \
|
---|
2716 | VBox/RTLogWriteVmm-amd64-x86.asm \
|
---|
2717 | , $(RuntimeBaseR3_SOURCES.x86))
|
---|
2718 |
|
---|
2719 | RuntimeBldProg_SOURCES.arm32 = \
|
---|
2720 | $(RuntimeBaseR3_SOURCES.arm32)
|
---|
2721 |
|
---|
2722 | RuntimeBldProg_SOURCES.arm64 = \
|
---|
2723 | $(RuntimeBaseR3_SOURCES.arm64)
|
---|
2724 |
|
---|
2725 | RuntimeBldProg_SOURCES.win.amd64 := \
|
---|
2726 | $(RuntimeWin64ASM_SOURCES) \
|
---|
2727 | common/string/mempcpy.asm \
|
---|
2728 | common/string/memrchr.asm
|
---|
2729 |
|
---|
2730 | RuntimeBldProg_SOURCES.win.x86 := \
|
---|
2731 | $(RuntimeWin32ASM_SOURCES) \
|
---|
2732 | common/string/mempcpy.asm \
|
---|
2733 | common/string/memrchr.asm
|
---|
2734 |
|
---|
2735 | RuntimeBldProg_SOURCES.win.arm64 := \
|
---|
2736 | $(RuntimeBaseR3_SOURCES.win.arm64) \
|
---|
2737 | r3/win/mp-win.cpp
|
---|
2738 |
|
---|
2739 | ## @todo reduce this
|
---|
2740 | RuntimeBldProg_SOURCES.os2 += \
|
---|
2741 | common/string/memrchr.asm \
|
---|
2742 | generic/mppresent-generic.cpp \
|
---|
2743 | generic/RTCrStoreCreateSnapshotById-generic.cpp \
|
---|
2744 | generic/RTDirQueryInfo-generic.cpp \
|
---|
2745 | generic/RTDirSetTimes-generic.cpp \
|
---|
2746 | generic/fileio-at-generic.cpp \
|
---|
2747 | generic/RTFileCopyPartEx-generic.cpp \
|
---|
2748 | generic/RTFileMove-generic.cpp \
|
---|
2749 | generic/RTFileSetAllocationSize-generic.cpp \
|
---|
2750 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
2751 | generic/RTPathGetCurrentOnDrive-generic.cpp \
|
---|
2752 | generic/RTRandAdvCreateSystemFaster-generic.cpp \
|
---|
2753 | generic/RTRandAdvCreateSystemTruer-generic.cpp \
|
---|
2754 | generic/RTSemEventMultiWait-generic.cpp \
|
---|
2755 | generic/RTSemEventWait-generic.cpp \
|
---|
2756 | generic/RTSemMutexRequest-generic.cpp \
|
---|
2757 | generic/RTSemMutexRequestDebug-generic.cpp \
|
---|
2758 | generic/RTThreadGetNativeState-generic.cpp \
|
---|
2759 | generic/RTUuidCreate-generic.cpp \
|
---|
2760 | generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
|
---|
2761 | generic/timer-generic.cpp \
|
---|
2762 | generic/utf16locale-generic.cpp \
|
---|
2763 | generic/uuid-generic.cpp \
|
---|
2764 | os2/RTErrConvertFromOS2.cpp \
|
---|
2765 | r3/generic/allocex-r3-generic.cpp \
|
---|
2766 | r3/generic/dirrel-r3-generic.cpp \
|
---|
2767 | r3/os2/filelock-os2.cpp \
|
---|
2768 | r3/os2/mempage-native-os2.cpp \
|
---|
2769 | r3/os2/mp-os2.cpp \
|
---|
2770 | r3/os2/pipe-os2.cpp \
|
---|
2771 | r3/os2/rtProcInitExePath-os2.cpp \
|
---|
2772 | r3/os2/sched-os2.cpp \
|
---|
2773 | r3/os2/sems-os2.cpp \
|
---|
2774 | r3/os2/systemmem-os2.cpp \
|
---|
2775 | r3/os2/thread-os2.cpp \
|
---|
2776 | r3/os2/time-os2.cpp \
|
---|
2777 | r3/posix/dir-posix.cpp \
|
---|
2778 | r3/posix/env-posix.cpp \
|
---|
2779 | r3/posix/errvars-posix.cpp \
|
---|
2780 | r3/posix/fileio-posix.cpp \
|
---|
2781 | r3/posix/fileio2-posix.cpp \
|
---|
2782 | r3/posix/fs-posix.cpp \
|
---|
2783 | r3/posix/fs2-posix.cpp \
|
---|
2784 | r3/posix/fs3-posix.cpp \
|
---|
2785 | r3/posix/ldrNative-posix.cpp \
|
---|
2786 | r3/posix/path-posix.cpp \
|
---|
2787 | r3/posix/path2-posix.cpp \
|
---|
2788 | r3/posix/pathhost-posix.cpp \
|
---|
2789 | r3/posix/process-creation-posix.cpp \
|
---|
2790 | r3/posix/process-posix.cpp \
|
---|
2791 | r3/posix/RTFileQueryFsSizes-posix.cpp \
|
---|
2792 | r3/posix/RTFsMountpointsEnum-posix.cpp \
|
---|
2793 | r3/posix/RTHandleGetStandard-posix.cpp \
|
---|
2794 | r3/posix/RTMemProtect-posix.cpp \
|
---|
2795 | r3/posix/RTPathUserDocuments-posix.cpp \
|
---|
2796 | r3/posix/RTPathUserHome-posix.cpp \
|
---|
2797 | r3/posix/RTTimeNow-posix.cpp \
|
---|
2798 | r3/posix/RTTimeSet-posix.cpp \
|
---|
2799 | r3/posix/symlink-posix.cpp \
|
---|
2800 | r3/posix/timelocal-posix.cpp \
|
---|
2801 | r3/posix/utf8-posix.cpp
|
---|
2802 |
|
---|
2803 | RuntimeBldProg_SOURCES.linux = $(filter-out \
|
---|
2804 | r3/memsafer-r3.cpp \
|
---|
2805 | , $(RuntimeBaseR3_SOURCES.linux))
|
---|
2806 |
|
---|
2807 | ## @todo reduce linux, solaris and freebsd sources too.
|
---|
2808 |
|
---|
2809 |
|
---|
2810 |
|
---|
2811 | #
|
---|
2812 | # RuntimeGuestR3 - Guest Additions Runtime (static/exe).
|
---|
2813 | # (The KBUILD_HOST inheritance here is for cross building the linux
|
---|
2814 | # additions, while .x86 is for cross building x86 while targeting amd64.)
|
---|
2815 | #
|
---|
2816 | RuntimeGuestR3_TEMPLATE := VBoxGuestR3Lib
|
---|
2817 | RuntimeGuestR3_EXTENDS := RuntimeR3
|
---|
2818 | RuntimeGuestR3_DEFS = $(filter-out RTCRITSECT_STRICT RT_NO_GIP IN_SUP_R3 IPRT_WITH_LZMA, $(RuntimeR3_DEFS))
|
---|
2819 | RuntimeGuestR3_SOURCES = $(filter-out \
|
---|
2820 | common/time/timesupref.cpp \
|
---|
2821 | common/time/timesupA.asm \
|
---|
2822 | common/time/timesup.cpp \
|
---|
2823 | common/zip/xarvfs.cpp \
|
---|
2824 | common/zip/lzmavfs.cpp \
|
---|
2825 | r3/mempage-heap.cpp \
|
---|
2826 | r3/xml.cpp \
|
---|
2827 | generic/RTLogWriteUser-generic.cpp \
|
---|
2828 | , $(RuntimeR3_SOURCES)) \
|
---|
2829 | \
|
---|
2830 | common/time/timesysalias.cpp \
|
---|
2831 | r3/mempage-direct.cpp \
|
---|
2832 | VBox/logbackdoor.cpp
|
---|
2833 | ifndef VBOX_WITH_NOCRT_STATIC
|
---|
2834 | RuntimeGuestR3_DEFS.win.x86 = $(RuntimeR3_DEFS.win.x86) \
|
---|
2835 | VCC_FAKES_TARGET_$(VBOX_VCC_TOOL_STEM) VCC_FAKES_TARGET=$(substr $(VBOX_VCC_TOOL_STEM),-3)
|
---|
2836 | RuntimeGuestR3_SOURCES.win.x86 = $(RuntimeR3_SOURCES.win.x86) \
|
---|
2837 | r3/win/vcc-fakes-kernel32.cpp \
|
---|
2838 | r3/win/vcc-fakes-kernel32-A.asm \
|
---|
2839 | r3/win/vcc-fakes-ntdll.cpp \
|
---|
2840 | r3/win/vcc-fakes-ntdll-A.asm \
|
---|
2841 | r3/win/vcc-fakes-ws2_32.cpp \
|
---|
2842 | r3/win/vcc-fakes-ws2_32-A.asm \
|
---|
2843 | r3/win/vcc-fakes-shell32.cpp \
|
---|
2844 | r3/win/vcc-fakes-shell32-A.asm
|
---|
2845 | endif
|
---|
2846 |
|
---|
2847 | RuntimeGuestR3_SOURCES.linux = $(filter-out \
|
---|
2848 | r3/memsafer-r3.cpp \
|
---|
2849 | , $(RuntimeR3_SOURCES.linux))
|
---|
2850 |
|
---|
2851 |
|
---|
2852 | #
|
---|
2853 | # RuntimeGuestR3-x86 - Same as RuntimeGuestR3, except that it's targeting x86.
|
---|
2854 | #
|
---|
2855 | RuntimeGuestR3-x86_EXTENDS := RuntimeGuestR3
|
---|
2856 | RuntimeGuestR3-x86_BLD_TRG_ARCH := x86
|
---|
2857 |
|
---|
2858 |
|
---|
2859 | #
|
---|
2860 | # RuntimeGuestR3Shared - Guest Additions Runtime (static/dll).
|
---|
2861 | #
|
---|
2862 | RuntimeGuestR3Shared_TEMPLATE := VBoxGuestR3Dll
|
---|
2863 | RuntimeGuestR3Shared_EXTENDS := RuntimeGuestR3
|
---|
2864 | RuntimeGuestR3Shared_INST = $(INST_ADDITIONS_LIB)
|
---|
2865 | ifdef VBOX_WITH_NOCRT_STATIC
|
---|
2866 | if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64)
|
---|
2867 | RuntimeGuestR3Shared_SDKS = $(filter-out VBoxSoftFloatR3Shared,$(RuntimeGuestR3_SDKS)) VBoxSoftFloatGuestR3Shared
|
---|
2868 | RuntimeGuestR3Shared_SOURCES = $(RuntimeGuestR3_SOURCES) \
|
---|
2869 | common/math/fma.cpp \
|
---|
2870 | common/math/fma-asm.asm \
|
---|
2871 | common/math/fmaf.cpp \
|
---|
2872 | common/math/fmaf-asm.asm
|
---|
2873 |
|
---|
2874 | endif
|
---|
2875 | endif
|
---|
2876 |
|
---|
2877 | #
|
---|
2878 | # RuntimeGuestR3Shared-x86 - Same as RuntimeGuestR3Shared, except that it's targeting x86.
|
---|
2879 | #
|
---|
2880 | RuntimeGuestR3Shared-x86_EXTENDS := RuntimeGuestR3Shared
|
---|
2881 | RuntimeGuestR3Shared-x86_BLD_TRG_ARCH := x86
|
---|
2882 |
|
---|
2883 |
|
---|
2884 | #
|
---|
2885 | # VBoxRT - Shared Object / DLL version.
|
---|
2886 | #
|
---|
2887 | VBoxRT_TEMPLATE = VBoxR3DllNoPic
|
---|
2888 | VBoxRT_SDKS = VBoxLibXml2
|
---|
2889 | ifdef VBOX_WITH_LIBCURL
|
---|
2890 | VBoxRT_SDKS += VBoxLibCurl
|
---|
2891 | endif
|
---|
2892 | ifdef VBOX_WITH_LIBLZMA
|
---|
2893 | VBoxRT_SDKS += VBoxLibLzma
|
---|
2894 | endif
|
---|
2895 | VBoxRT_SDKS += VBoxOpenSslStatic
|
---|
2896 | if1of ($(KBUILD_TARGET_ARCH), $(VBOX_SUPPORTED_HOST_ARCHS))
|
---|
2897 | VBoxRT_SDKS += VBoxSoftFloatR3Shared
|
---|
2898 | endif
|
---|
2899 | VBoxRT_SDKS.win = $(VBOX_WINPSDK) $(VBOX_WINDDK) VBoxNtDll
|
---|
2900 | if1of ($(KBUILD_TARGET), win)
|
---|
2901 | VBoxRT_INST = $(INST_DLL) $(INST_TESTCASE) $(VBOX_INST_TOOLS)
|
---|
2902 | else if1of ($(KBUILD_TARGET)$(VBOX_WITH_HARDENING), darwin win$(VBOX_WITH_HARDENING))
|
---|
2903 | VBoxRT_INST = $(INST_DLL) $(INST_TESTCASE)
|
---|
2904 | endif
|
---|
2905 | VBoxRT_DEFS := $(filter-out RT_NO_GIP, $(RuntimeBaseR3_DEFS)) \
|
---|
2906 | IPRT_WITH_OPENSSL \
|
---|
2907 | IPRT_WITH_XAR \
|
---|
2908 | IPRT_WITH_GHIDRA_DBG_MOD \
|
---|
2909 | $(if-expr !defined(VBOX_WITH_ALT_HASH_CODE),IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256,)
|
---|
2910 | ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
2911 | VBoxRT_DEFS += RT_NO_GIP
|
---|
2912 | endif
|
---|
2913 | ifdef VBOX_WITH_LIBCURL
|
---|
2914 | VBoxRT_DEFS += IPRT_WITH_HTTP
|
---|
2915 | endif
|
---|
2916 | ifdef VBOX_WITH_LIBLZMA
|
---|
2917 | VBoxRT_DEFS += IPRT_WITH_LZMA
|
---|
2918 | endif
|
---|
2919 | ifdef RTALLOC_REPLACE_MALLOC
|
---|
2920 | VBoxRT_DEFS += RTALLOC_REPLACE_MALLOC
|
---|
2921 | endif
|
---|
2922 | if defined(VBOX_WITH_DTRACE_R3) && !defined(VBOX_ONLY_VALIDATIONKIT)
|
---|
2923 | ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
|
---|
2924 | VBoxRT_DEFS += IPRT_WITH_DTRACE IPRT_DTRACE_INCLUDE="dtrace/iprt.h"
|
---|
2925 | else
|
---|
2926 | VBoxRT_DEFS += IPRT_WITH_DTRACE IPRT_DTRACE_INCLUDE=\"dtrace/iprt.h\"
|
---|
2927 | endif
|
---|
2928 | endif
|
---|
2929 | VBoxRT_DEFS.$(KBUILD_TYPE) := $(RuntimeBaseR3_DEFS.$(KBUILD_TYPE))
|
---|
2930 | VBoxRT_DEFS.$(KBUILD_TARGET) := $(RuntimeBaseR3_DEFS.$(KBUILD_TARGET))
|
---|
2931 | VBoxRT_SOURCES := \
|
---|
2932 | VBox/VBoxRTDeps.cpp \
|
---|
2933 | $(filter-out common/checksum/crc32.cpp, \
|
---|
2934 | $(if-expr defined(VBOX_WITH_ALT_HASH_CODE), $(RuntimeBaseR3_SOURCES), \
|
---|
2935 | $(patsubst common/checksum/alt-%,common/checksum/openssl-%,$(RuntimeBaseR3_SOURCES)) ) ) \
|
---|
2936 | common/checksum/crc32-zlib.cpp \
|
---|
2937 | common/dbg/dbgmodghidra.cpp \
|
---|
2938 | common/fuzz/fuzz.cpp \
|
---|
2939 | common/fuzz/fuzz-config.cpp \
|
---|
2940 | common/fuzz/fuzz-observer.cpp \
|
---|
2941 | common/fuzz/fuzz-target-recorder.cpp \
|
---|
2942 | common/fuzz/fuzzmastercmd.cpp \
|
---|
2943 | common/fuzz/fuzzclientcmd.cpp \
|
---|
2944 | common/script/scriptlex.cpp
|
---|
2945 | ifneq ($(KBUILD_TARGET),win)
|
---|
2946 | VBox/VBoxRTDeps.cpp_CXXFLAGS = -Wno-deprecated-declarations
|
---|
2947 | endif
|
---|
2948 | ifdef VBOX_WITH_LIBCURL
|
---|
2949 | VBoxRT_SOURCES += \
|
---|
2950 | generic/http-curl.cpp \
|
---|
2951 | common/rest/rest-primary-object-types.cpp \
|
---|
2952 | common/rest/rest-binary.cpp \
|
---|
2953 | common/rest/RTCRestAnyObject.cpp \
|
---|
2954 | common/rest/RTCRestArrayBase.cpp \
|
---|
2955 | common/rest/RTCRestClientApiBase.cpp \
|
---|
2956 | common/rest/RTCRestClientApiBaseOci.cpp \
|
---|
2957 | common/rest/RTCRestClientRequestBase.cpp \
|
---|
2958 | common/rest/RTCRestClientResponseBase.cpp \
|
---|
2959 | common/rest/RTCRestJsonPrimaryCursor.cpp \
|
---|
2960 | common/rest/RTCRestStringMapBase.cpp \
|
---|
2961 | common/rest/RTCRestOutputBase.cpp \
|
---|
2962 | common/rest/RTCRestOutputPrettyBase.cpp \
|
---|
2963 | common/rest/RTCRestOutputPrettyToString.cpp \
|
---|
2964 | common/rest/RTCRestOutputToString.cpp
|
---|
2965 | endif
|
---|
2966 | if defined(VBOX_WITH_DTRACE_R3) && !defined(VBOX_ONLY_VALIDATIONKIT)
|
---|
2967 | VBoxRT_SOURCES += \
|
---|
2968 | iprt.d
|
---|
2969 | endif
|
---|
2970 | VBoxRT_SOURCES.$(KBUILD_TARGET) = $(RuntimeBaseR3_SOURCES.$(KBUILD_TARGET))
|
---|
2971 | VBoxRT_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeBaseR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
|
---|
2972 | VBoxRT_SOURCES.$(KBUILD_TARGET).x86 := $(RuntimeBaseR3_SOURCES.$(KBUILD_TARGET).x86)
|
---|
2973 | VBoxRT_SOURCES.$(KBUILD_TARGET).amd64 := $(RuntimeBaseR3_SOURCES.$(KBUILD_TARGET).amd64)
|
---|
2974 | VBoxRT_SOURCES.$(KBUILD_TARGET_ARCH) := $(RuntimeBaseR3_SOURCES.$(KBUILD_TARGET_ARCH))
|
---|
2975 | VBoxRT_SOURCES.x86 := $(RuntimeBaseR3_SOURCES.x86)
|
---|
2976 | VBoxRT_SOURCES.amd64 := $(RuntimeBaseR3_SOURCES.amd64)
|
---|
2977 | VBoxRT_SOURCES.win += \
|
---|
2978 | r3/win/dllmain-win.cpp \
|
---|
2979 | $(VBoxRT_0_OUTDIR)/VBoxRT.def
|
---|
2980 | VBoxRT_CLEAN.win += \
|
---|
2981 | $(VBoxRT_0_OUTDIR)/VBoxRT.def
|
---|
2982 | VBoxRT_INCS := $(RuntimeBaseR3_INCS)
|
---|
2983 | VBoxRT_INCS.$(KBUILD_TARGET) := $(RuntimeBaseR3_INCS.$(KBUILD_TARGET))
|
---|
2984 | VBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeBaseR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
|
---|
2985 | VBoxRT_LIBS = \
|
---|
2986 | $(SDK_VBoxLzf_LIBS) \
|
---|
2987 | $(PATH_STAGE_LIB)/SUPR3$(VBOX_SUFF_LIB)
|
---|
2988 | ifndef SDK_VBoxLibXml2_LIBS
|
---|
2989 | VBoxRT_LIBS += \
|
---|
2990 | $(PATH_STAGE_LIB)/VBox-libxml2$(VBOX_SUFF_LIB)
|
---|
2991 | endif
|
---|
2992 | VBoxRT_LIBS += \
|
---|
2993 | $(SDK_VBoxZlib_LIBS)
|
---|
2994 | ifndef SDK_VBoxOpenSslStatic_LIBS
|
---|
2995 | VBoxRT_LIBS += \
|
---|
2996 | $(PATH_STAGE_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB) \
|
---|
2997 | $(PATH_STAGE_LIB)/VBox-libssl$(VBOX_SUFF_LIB)
|
---|
2998 | endif
|
---|
2999 | ifdef IPRT_WITH_LZO
|
---|
3000 | VBoxRT_LIBS += lzo2
|
---|
3001 | endif
|
---|
3002 | ifdef RTALLOC_REPLACE_MALLOC
|
---|
3003 | VBoxRT_LIBS += \
|
---|
3004 | $(PATH_STAGE_LIB)/DisasmR3$(VBOX_SUFF_LIB)
|
---|
3005 | endif
|
---|
3006 | VBoxRT_LIBS.darwin = \
|
---|
3007 | iconv
|
---|
3008 | VBoxRT_LIBS.freebsd = \
|
---|
3009 | iconv \
|
---|
3010 | rt
|
---|
3011 | VBoxRT_LIBS.haiku = \
|
---|
3012 | iconv
|
---|
3013 | VBoxRT_LIBS.solaris = \
|
---|
3014 | kstat \
|
---|
3015 | contract \
|
---|
3016 | devinfo
|
---|
3017 | ifn1of ($(KBUILD_TARGET_ARCH), sparc32 sparc64)
|
---|
3018 | # SMBIOS not available on Solaris SPARC.
|
---|
3019 | VBoxRT_LIBS.solaris += smbios
|
---|
3020 | endif
|
---|
3021 | VBoxRT_LIBS.win += \
|
---|
3022 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/mpr.lib \
|
---|
3023 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB)/wbemuuid.lib \
|
---|
3024 | $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/delayimp.lib
|
---|
3025 | VBoxRT_LDFLAGS.darwin = \
|
---|
3026 | -framework IOKit \
|
---|
3027 | -framework CoreFoundation \
|
---|
3028 | -framework CoreServices \
|
---|
3029 | -framework Security \
|
---|
3030 | -framework SystemConfiguration \
|
---|
3031 | -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxRT.dylib
|
---|
3032 | VBoxRT_LDFLAGS.win = /MANIFEST \
|
---|
3033 | /delayload:user32.dll \
|
---|
3034 | /delayload:shell32.dll \
|
---|
3035 | /delayload:ole32.dll \
|
---|
3036 | /delayload:oleaut32.dll \
|
---|
3037 | /delayload:advapi32.dll
|
---|
3038 |
|
---|
3039 | if1of (VBoxRT, $(DLLS))
|
---|
3040 | $(call VBOX_SET_VER_INFO_DLL,VBoxRT,VirtualBox Runtime)
|
---|
3041 | endif
|
---|
3042 |
|
---|
3043 |
|
---|
3044 | if defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) && "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86"
|
---|
3045 | #
|
---|
3046 | # Hacks for running tests on NT 4. Really ugly!
|
---|
3047 | #
|
---|
3048 | # We put most of the CRT in VBoxRT because we cannot even load msvcr100.dll
|
---|
3049 | # or msvcp100.dll on NT4 because of kernel32.dll dependencies. More hacks
|
---|
3050 | # in RuntimeR3VccTricks.
|
---|
3051 | #
|
---|
3052 | TEMPLATE_VBoxR3RuntimeDllItself = xx
|
---|
3053 | TEMPLATE_VBoxR3RuntimeDllItself_EXTENDS = VBoxR3RuntimeDll
|
---|
3054 | TEMPLATE_VBoxR3RuntimeDllItself_LIBS.win.x86 = \
|
---|
3055 | $(filter-out $(PATH_STAGE_LIB)/RuntimeR3VccTricks%, $(TEMPLATE_VBoxR3RuntimeDll_LIBS.win.x86))
|
---|
3056 | TEMPLATE_VBoxR3RuntimeDllItself_DEFS += IN_RING3 VCC_FAKES_TARGET_$(VBOX_VCC_TOOL_STEM) VCC_FAKES_TARGET=$(substr $(VBOX_VCC_TOOL_STEM),-3)
|
---|
3057 | TEMPLATE_VBoxR3RuntimeDllItself_SOURCES = \
|
---|
3058 | r3/win/vcc-fakes-kernel32.cpp \
|
---|
3059 | r3/win/vcc-fakes-kernel32-A.asm \
|
---|
3060 | r3/win/vcc-fakes-ws2_32.cpp \
|
---|
3061 | r3/win/vcc-fakes-ws2_32-A.asm \
|
---|
3062 | r3/win/vcc-fakes-ntdll.cpp \
|
---|
3063 | r3/win/vcc-fakes-ntdll-A.asm \
|
---|
3064 | r3/win/vcc-fakes-msvcrt.cpp
|
---|
3065 | VBoxRT_TEMPLATE = VBoxR3RuntimeDllItself
|
---|
3066 | VBoxRT_TEMPLATE.win.x86 = VBoxR3RuntimeDllItself
|
---|
3067 | VBoxRT_DEFS.win.x86 = $(TEMPLATE_VBoxR3RuntimeDll_DEFS.win.x86) \
|
---|
3068 | _CRTIMP_PURE="__declspec(dllexport)" VCC_FAKES_TARGET_$(VBOX_VCC_TOOL_STEM) VCC_FAKES_TARGET=$(substr $(VBOX_VCC_TOOL_STEM),-3)
|
---|
3069 | VBoxRT_LDFLAGS.win.x86 = /IGNORE:4049 /IGNORE:4217
|
---|
3070 | VBoxRT_LIBS.win.x86 = \
|
---|
3071 | $(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_LIB)/oldnames.lib \
|
---|
3072 | $(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_LIB)/libcmt.lib \
|
---|
3073 | $(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_LIB)/libcpmt.lib
|
---|
3074 | endif
|
---|
3075 |
|
---|
3076 |
|
---|
3077 | #
|
---|
3078 | # HACK ALERT! Make testcase run during build on SELinux boxes.
|
---|
3079 | # Create a dummy DLL that ensure that VBoxRT is installed
|
---|
3080 | # during the DLL pass and cleaned up later.
|
---|
3081 | #
|
---|
3082 | ifeq ($(KBUILD_TARGET),linux)
|
---|
3083 | if1of (VBoxRT, $(DLLS))
|
---|
3084 | ifneq ($(wildcard /usr/bin/chcon),)
|
---|
3085 | VBoxRT_INSTTYPE = none
|
---|
3086 | VBoxRT_DEBUG_INSTTYPE = both
|
---|
3087 |
|
---|
3088 | VBoxRT-x86_INSTTYPE = $(NO_SUCH_VARIABLE)
|
---|
3089 |
|
---|
3090 | DLLS += VBoxRTDummy
|
---|
3091 | VBoxRTDummy_TEMPLATE = VBoxR3Dll
|
---|
3092 | VBoxRTDummy_INSTTYPE = none
|
---|
3093 | VBoxRTDummy_LIBS = $(PATH_STAGE_BIN)/VBoxRT.so
|
---|
3094 | VBoxRTDummy_CLEAN = $(PATH_STAGE_BIN)/VBoxRT.so
|
---|
3095 | BLDDIRS += $(PATH_STAGE_BIN)
|
---|
3096 |
|
---|
3097 | $(PATH_STAGE_BIN)/VBoxRT.so: $$(VBoxRT_1_TARGET) | $$(dir $$@)
|
---|
3098 | $(INSTALL) $< $@
|
---|
3099 | chcon -t texrel_shlib_t $@ || true
|
---|
3100 |
|
---|
3101 | VBoxRT:: VBoxRTDummy
|
---|
3102 | endif # chcon present.
|
---|
3103 | endif # building VBoxRT
|
---|
3104 | endif # linux
|
---|
3105 |
|
---|
3106 | if1of ($(DLLS), VBoxRT)
|
---|
3107 | # .def file for windows.
|
---|
3108 | $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRT)
|
---|
3109 | $(VBoxRT_0_OUTDIR)/VBoxRT.def: \
|
---|
3110 | $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$(KBUILD_TARGET_ARCH).def \
|
---|
3111 | $(PATH_SUB_CURRENT)/r3/win/VBoxRT-openssl-3.0.def \
|
---|
3112 | $(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86" && defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) \
|
---|
3113 | ,$(PATH_SUB_CURRENT)/r3/win/VBoxRT-msvcr100-win32.def ,) \
|
---|
3114 | | $$(dir $$@) #$(PATH_SUB_CURRENT)/r3/win/VBoxRT-msvcp100-win32.def
|
---|
3115 | $(RM) -f -- $@
|
---|
3116 | $(SED) --output "$@" \
|
---|
3117 | $(if-expr "$(KBUILD_TARGET_ARCH)" == "x86" ,-e "/not-x86/d", -e "/only-x86/d") \
|
---|
3118 | $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64",-e "/not-amd64/d",-e "/only-amd64/d") \
|
---|
3119 | $(if-expr "$(KBUILD_TARGET_ARCH)" == "arm64",-e "/not-arm64/d",-e "/only-arm64/d") \
|
---|
3120 | $(if-expr "$(substr $(if-expr $(KBUILD_TARGET) != 'win',$(VBOX_GCC_std), $(VBOX_VCC_std)),-2)" >= "17" \
|
---|
3121 | && ("$(KBUILD_TARGET)" != "win" || !$(intersects RT_RELAXED_CALLBACKS_TYPES,$(DEFS))) \
|
---|
3122 | ,-e "/before-noexcept/d", -e "/after-noexcept/d") \
|
---|
3123 | $^
|
---|
3124 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
3125 | $(call KB_FN_AUTO_CMD_DEPS,$(VBoxRT_0_OUTDIR)/VBoxRT.def)
|
---|
3126 | endif
|
---|
3127 |
|
---|
3128 |
|
---|
3129 | #
|
---|
3130 | # VBoxRT-x86 - 32-bit version of VBoxRT
|
---|
3131 | #
|
---|
3132 | VBoxRT-x86_EXTENDS = VBoxRT
|
---|
3133 | VBoxRT-x86_TEMPLATE = VBoxR3Dll-x86
|
---|
3134 | VBoxRT-x86_INST.win = $(INST_DLL)x86/
|
---|
3135 | VBoxRT-x86_SDKS = VBoxLibXml2
|
---|
3136 | ifdef VBOX_WITH_LIBCURL
|
---|
3137 | VBoxRT-x86_SDKS += VBoxLibCurl-x86
|
---|
3138 | endif
|
---|
3139 | ifdef VBOX_WITH_LIBLZMA
|
---|
3140 | VBoxRT-x86_SDKS += VBoxLibLzma-x86
|
---|
3141 | endif
|
---|
3142 | VBoxRT-x86_SDKS += VBoxOpenSslStatic-x86
|
---|
3143 |
|
---|
3144 | VBoxRT-x86_LIBS = \
|
---|
3145 | $(SDK_VBoxLzf-x86_LIBS)
|
---|
3146 | if1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
3147 | VBoxRT-x86_LIBS += \
|
---|
3148 | $(PATH_STAGE_LIB)/SUPR3-x86$(VBOX_SUFF_LIB)
|
---|
3149 | endif
|
---|
3150 | ifndef SDK_VBoxLibXml2_LIBS
|
---|
3151 | VBoxRT-x86_LIBS += \
|
---|
3152 | $(PATH_STAGE_LIB)/VBox-libxml2-x86$(VBOX_SUFF_LIB)
|
---|
3153 | endif
|
---|
3154 | VBoxRT-x86_LIBS += \
|
---|
3155 | $(SDK_VBoxZlib_LIBS-x86)
|
---|
3156 | ifndef SDK_VBoxOpenSslStatic_LIBS
|
---|
3157 | VBoxRT-x86_LIBS += \
|
---|
3158 | $(PATH_STAGE_LIB)/VBox-libcrypto-x86$(VBOX_SUFF_LIB) \
|
---|
3159 | $(PATH_STAGE_LIB)/VBox-libssl-x86$(VBOX_SUFF_LIB)
|
---|
3160 | endif
|
---|
3161 | ifdef IPRT_WITH_LZO
|
---|
3162 | VBoxRT-x86_LIBS += lzo2
|
---|
3163 | endif
|
---|
3164 | VBoxRT-x86_LIBS.darwin = \
|
---|
3165 | iconv
|
---|
3166 | VBoxRT-x86_LIBS.freebsd = \
|
---|
3167 | iconv \
|
---|
3168 | rt
|
---|
3169 | VBoxRT-x86_LIBS.haiku = \
|
---|
3170 | iconv
|
---|
3171 | VBoxRT-x86_LIBS.solaris = \
|
---|
3172 | kstat \
|
---|
3173 | contract \
|
---|
3174 | devinfo
|
---|
3175 | ifn1of ($(KBUILD_TARGET_ARCH), sparc32 sparc64)
|
---|
3176 | # SMBIOS not available on Solaris SPARC.
|
---|
3177 | VBoxRT-x86_LIBS.solaris += smbios
|
---|
3178 | endif
|
---|
3179 | VBoxRT-x86_LIBS.win += \
|
---|
3180 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB.x86)/mpr.lib \
|
---|
3181 | $(PATH_SDK_$(VBOX_WINPSDK)_LIB.x86)/wbemuuid.lib \
|
---|
3182 | $(PATH_TOOL_$(VBOX_VCC_TOOL_STEM)X86_LIB)/delayimp.lib
|
---|
3183 |
|
---|
3184 | VBoxRT-x86_SOURCES.win = $(filter-out %.def %.rc,$(VBoxRT_SOURCES.win)) \
|
---|
3185 | $(VBoxRT-x86_0_OUTDIR)/VBoxRT-x86.def
|
---|
3186 | VBoxRT-x86_CLEAN += $(VBoxRT-x86_0_OUTDIR)/VBoxRT-x86.def
|
---|
3187 |
|
---|
3188 | if1of (VBoxRT-x86, $(DLLS))
|
---|
3189 | $(call VBOX_SET_VER_INFO_DLL,VBoxRT-x86,VirtualBox 32-bit Runtime)
|
---|
3190 | endif
|
---|
3191 |
|
---|
3192 | if1of ($(DLLS), VBoxRT-x86)
|
---|
3193 | # .def file for windows.
|
---|
3194 | $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRT-x86)
|
---|
3195 | $(VBoxRT-x86_0_OUTDIR)/VBoxRT-x86.def: \
|
---|
3196 | $(VBOX_PATH_RUNTIME_SRC)/r3/win/VBoxRT-x86.def \
|
---|
3197 | | $$(dir $$@) # Hopefully no need to export openssl here.
|
---|
3198 | $(RM) -f -- $@
|
---|
3199 | $(SED) --output "$@" \
|
---|
3200 | -e "/not-x86/d" \
|
---|
3201 | -e "/only-amd64/d" \
|
---|
3202 | -e "/only-arm64/d" \
|
---|
3203 | $(if-expr "$(substr $(if-expr $(KBUILD_TARGET) != 'win',$(VBOX_GCC_std), $(VBOX_VCC_std)),-2)" >= "17" \
|
---|
3204 | ,-e "/before-noexcept/d", -e "/after-noexcept/d") \
|
---|
3205 | $(VBOX_PATH_RUNTIME_SRC)/r3/win/VBoxRT-x86.def
|
---|
3206 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
3207 | $(call KB_FN_AUTO_CMD_DEPS,$(VBoxRT-x86_0_OUTDIR)/VBoxRT-x86.def)
|
---|
3208 | endif
|
---|
3209 |
|
---|
3210 | #
|
---|
3211 | # VBoxRTImp - Import library/hack.
|
---|
3212 | #
|
---|
3213 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64)
|
---|
3214 | $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc64.def r3/win/VBoxRT-amd64.def)
|
---|
3215 | else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86)
|
---|
3216 | $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc32.def r3/win/VBoxRT-x86.def)
|
---|
3217 | else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.arm64)
|
---|
3218 | $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-vcc-arm64.def r3/win/VBoxRT-arm64.def)
|
---|
3219 | else
|
---|
3220 | $(call VBOX_GENERATE_IMPORT_TARGET_FN,VBoxRTImp,VBoxRT,VBox/VBoxRTImp.def VBox/VBoxRTImp-gcc.def)
|
---|
3221 | endif
|
---|
3222 |
|
---|
3223 |
|
---|
3224 | if1of ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH), win.x86 win.amd64 linux.amd64 darwin.amd64) # remove later
|
---|
3225 | if1of (VBoxRT, $(DLLS))
|
---|
3226 | ifdef VBOX_WITH_LIBCURL
|
---|
3227 | #
|
---|
3228 | # VBoxRTImpCheck - Import library check.
|
---|
3229 | #
|
---|
3230 | PROGRAMS += VBoxRTStableCheck
|
---|
3231 | VBoxRTStableCheck_TEMPLATE = VBoxR3TstExe
|
---|
3232 | VBoxRTStableCheck_ASDEFS.linux.amd64 = PIC # Hack
|
---|
3233 | VBoxRTStableCheck_SOURCES = \
|
---|
3234 | VBox/VBoxRTStableCheck.cpp \
|
---|
3235 | $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm
|
---|
3236 | VBoxRTStableCheck_LIBS = \
|
---|
3237 | $(LIB_RUNTIME)
|
---|
3238 | VBoxRTStableCheck_CLEAN = \
|
---|
3239 | $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm
|
---|
3240 | $(call KB_FN_DO_PASS0_ON_TARGET,VBoxRTStableCheck)
|
---|
3241 |
|
---|
3242 | ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.amd64)
|
---|
3243 | $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \
|
---|
3244 | $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \
|
---|
3245 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \
|
---|
3246 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc64.def \
|
---|
3247 | $(PATH_SUB_CURRENT)/r3/win/VBoxRT-amd64.def \
|
---|
3248 | | $$(dir $$@)
|
---|
3249 | else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.x86)
|
---|
3250 | $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \
|
---|
3251 | $(PATH_SUB_CURRENT)/VBox/DefToAsmExternsVcc32.sed \
|
---|
3252 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \
|
---|
3253 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc32.def \
|
---|
3254 | $(PATH_SUB_CURRENT)/r3/win/VBoxRT-x86.def | $$(dir $$@)
|
---|
3255 | else ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),win.arm64)
|
---|
3256 | $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \
|
---|
3257 | $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \
|
---|
3258 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \
|
---|
3259 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-vcc-arm64.def \
|
---|
3260 | $(PATH_SUB_CURRENT)/r3/win/VBoxRT-arm64.def \
|
---|
3261 | | $$(dir $$@)
|
---|
3262 | else
|
---|
3263 | $(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm: \
|
---|
3264 | $(PATH_SUB_CURRENT)/VBox/DefToAsmExterns.sed \
|
---|
3265 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp.def \
|
---|
3266 | $(PATH_SUB_CURRENT)/VBox/VBoxRTImp-gcc.def | $$(dir $$@)
|
---|
3267 | endif
|
---|
3268 | $(APPEND) -tn "$@" '%include "iprt/asmdefs.mac"' ''
|
---|
3269 | $(SED) --append "$@" \
|
---|
3270 | -e "/not-$(KBUILD_TARGET)/d" \
|
---|
3271 | $(if-expr "$(KBUILD_TARGET)" == "linux" ,, -e "/only-linux/d") \
|
---|
3272 | $(if-expr "$(KBUILD_TARGET)" == "win" ,, -e "/only-win/d") \
|
---|
3273 | $(if-expr "$(KBUILD_TARGET)" == "darwin",, -e "/only-darwin/d") \
|
---|
3274 | $(if-expr "$(KBUILD_TARGET_ARCH)" == "x86" ,-e "/not-x86/d", -e "/only-x86/d") \
|
---|
3275 | $(if-expr "$(KBUILD_TARGET_ARCH)" == "amd64",-e "/not-amd64/d",-e "/only-amd64/d") \
|
---|
3276 | $(if-expr "$(KBUILD_TARGET_ARCH)" == "arm64",-e "/not-arm64/d",-e "/only-arm64/d") \
|
---|
3277 | $(if-expr "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "darwin.arm64",, -e "/only-darwin.arm64/d") \
|
---|
3278 | $(if-expr "$(substr $(if-expr $(KBUILD_TARGET) != 'win',$(VBOX_GCC_std), $(VBOX_VCC_std)),-2)" >= "17" \
|
---|
3279 | ,-e "/before-noexcept/d", -e "/after-noexcept/d") \
|
---|
3280 | $(if-expr $(intersects $(KBUILD_TARGET), linux) && $(intersects $(KBUILD_TARGET_ARCH), amd64 arm64) \
|
---|
3281 | ,-e "/int64=llong/d", -e "/int64=long/d") \
|
---|
3282 | -f "$<" $(filter %.def, $^)
|
---|
3283 | $(call KB_FN_AUTO_CMD_DEPS_COMMANDS)
|
---|
3284 | $(call KB_FN_AUTO_CMD_DEPS,$(VBoxRTStableCheck_0_OUTDIR)/VBoxRTStableCheckA.asm)
|
---|
3285 |
|
---|
3286 | endif
|
---|
3287 | endif
|
---|
3288 | endif # remove later
|
---|
3289 |
|
---|
3290 |
|
---|
3291 | #
|
---|
3292 | # RuntimeR3NoCRT - For windows applications w/o any runtime library.
|
---|
3293 | # Experimental.
|
---|
3294 | #
|
---|
3295 | RuntimeR3NoCrt_TEMPLATE := VBoxR3StaticNoCrt
|
---|
3296 | RuntimeR3NoCrt_INCS := include
|
---|
3297 | RuntimeR3NoCrt_DEFS := \
|
---|
3298 | RT_NO_STRICT \
|
---|
3299 | IPRT_NO_ALLOCA_TROUBLE \
|
---|
3300 | IPRT_GETOPT_WITHOUT_NETWORK_ADDRESSES \
|
---|
3301 | IPRT_MINIMAL_STREAM \
|
---|
3302 | IPRT_NO_FLOAT_FORMATTING
|
---|
3303 | RuntimeR3NoCrt_SOURCES := \
|
---|
3304 | common/string/straprintf.cpp \
|
---|
3305 | common/string/strformat.cpp \
|
---|
3306 | common/string/RTStrFormat.cpp \
|
---|
3307 | common/string/strformatnum.cpp \
|
---|
3308 | common/string/strformatrt.cpp \
|
---|
3309 | common/string/strformattype.cpp \
|
---|
3310 | common/string/strprintf.cpp \
|
---|
3311 | common/string/strprintf-ellipsis.cpp \
|
---|
3312 | common/string/strprintf2.cpp \
|
---|
3313 | common/string/strprintf2-ellipsis.cpp \
|
---|
3314 | common/string/stringalloc.cpp \
|
---|
3315 | common/string/strtonum.cpp \
|
---|
3316 | common/string/RTStrNLen.cpp \
|
---|
3317 | common/string/RTStrCmp.cpp \
|
---|
3318 | common/string/RTStrNCmp.cpp \
|
---|
3319 | common/string/RTStrICmpAscii.cpp \
|
---|
3320 | common/string/RTStrNICmpAscii.cpp \
|
---|
3321 | common/string/RTStrCopy.cpp \
|
---|
3322 | common/string/RTUtf16Copy.cpp \
|
---|
3323 | common/string/utf-16.cpp \
|
---|
3324 | common/string/utf-8.cpp \
|
---|
3325 | common/path/RTPathFilename.cpp \
|
---|
3326 | common/misc/getopt.cpp \
|
---|
3327 | common/misc/getoptargv.cpp \
|
---|
3328 | common/misc/message.cpp \
|
---|
3329 | common/err/errmsg.cpp \
|
---|
3330 | r3/init-data.cpp \
|
---|
3331 | r3/process-data.cpp \
|
---|
3332 | generic/uuid-generic.cpp \
|
---|
3333 | generic/rtStrFormatKernelAddress-generic.cpp
|
---|
3334 |
|
---|
3335 | RuntimeR3NoCrt_SOURCES.x86 := \
|
---|
3336 | common/string/memcpy.asm \
|
---|
3337 | common/string/memchr.asm \
|
---|
3338 | common/string/memcmp.asm \
|
---|
3339 | common/string/memmove.asm \
|
---|
3340 | common/string/memset.asm \
|
---|
3341 | common/string/strlen.asm \
|
---|
3342 | common/string/strchr.asm \
|
---|
3343 | common/string/strcmp.asm \
|
---|
3344 | common/string/strncmp.asm \
|
---|
3345 | common/string/RTStrEnd.asm
|
---|
3346 |
|
---|
3347 | RuntimeR3NoCrt_SOURCES.amd64 := \
|
---|
3348 | common/string/memcpy.asm \
|
---|
3349 | common/string/memchr.asm \
|
---|
3350 | common/string/memcmp.asm \
|
---|
3351 | common/string/memmove.asm \
|
---|
3352 | common/string/memset.asm \
|
---|
3353 | common/string/strlen.asm \
|
---|
3354 | common/string/strchr.asm \
|
---|
3355 | common/string/strcmp.asm \
|
---|
3356 | common/string/strncmp.asm \
|
---|
3357 | common/string/RTStrEnd.asm
|
---|
3358 |
|
---|
3359 | RuntimeR3NoCrt_SOURCES.win := \
|
---|
3360 | r3/win/nocrt-startup-exe-win.cpp \
|
---|
3361 | r3/win/nocrt-startup-common-win.cpp \
|
---|
3362 | r3/win/nocrt-fatal-write-win.cpp \
|
---|
3363 | r3/win/nocrt-alloc-win.cpp \
|
---|
3364 | r3/win/nocrt-streams-win.cpp \
|
---|
3365 | \
|
---|
3366 | win/errmsgwin.cpp
|
---|
3367 |
|
---|
3368 | #
|
---|
3369 | # RuntimeR0 - Ring-0 library for VMMR0.
|
---|
3370 | #
|
---|
3371 | RuntimeR0_TEMPLATE = VBoxR0
|
---|
3372 | RuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX NOFILEID
|
---|
3373 | ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86)
|
---|
3374 | RuntimeR0_DEFS += RT_NO_GIP
|
---|
3375 | endif
|
---|
3376 | if defined(VBOX_WITH_DTRACE_R0) && !defined(VBOX_ONLY_VALIDATIONKIT)
|
---|
3377 | ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING
|
---|
3378 | RuntimeR0_DEFS += IPRT_WITH_DTRACE IPRT_DTRACE_PREFIX=VBOXVMM_ IPRT_DTRACE_INCLUDE="dtrace/VBoxVMM.h"
|
---|
3379 | else
|
---|
3380 | RuntimeR0_DEFS += IPRT_WITH_DTRACE IPRT_DTRACE_PREFIX=VBOXVMM_ IPRT_DTRACE_INCLUDE=\"dtrace/VBoxVMM.h\"
|
---|
3381 | endif
|
---|
3382 | endif
|
---|
3383 | RuntimeR0_INCS = include
|
---|
3384 | RuntimeR0_SOURCES := \
|
---|
3385 | $(if $(VBOX_ONLY_VALIDATIONKIT),,../VMM/VBoxVMM.d) \
|
---|
3386 | common/checksum/crc32c.cpp \
|
---|
3387 | common/log/logellipsis.cpp \
|
---|
3388 | common/log/logrelellipsis.cpp \
|
---|
3389 | common/log/logcom.cpp \
|
---|
3390 | common/log/logformat.cpp \
|
---|
3391 | common/log/tracebuf.cpp \
|
---|
3392 | common/log/tracedefault.cpp \
|
---|
3393 | common/log/RTLogCreateEx.cpp \
|
---|
3394 | common/log/RTLogSetR0ThreadNameF.cpp \
|
---|
3395 | common/misc/RTAssertMsg1Weak.cpp \
|
---|
3396 | common/misc/RTAssertMsg2.cpp \
|
---|
3397 | common/misc/RTAssertMsg2Add.cpp \
|
---|
3398 | common/misc/RTAssertMsg2AddWeak.cpp \
|
---|
3399 | common/misc/RTAssertMsg2AddWeakV.cpp \
|
---|
3400 | common/misc/RTAssertMsg2Weak.cpp \
|
---|
3401 | common/misc/RTAssertMsg2WeakV.cpp \
|
---|
3402 | common/misc/buildconfig.cpp \
|
---|
3403 | common/misc/once.cpp \
|
---|
3404 | common/misc/sanity-c.c \
|
---|
3405 | common/misc/sanity-cpp.cpp \
|
---|
3406 | common/misc/term.cpp \
|
---|
3407 | common/path/RTPathFilename.cpp \
|
---|
3408 | common/rand/rand.cpp \
|
---|
3409 | common/rand/randadv.cpp \
|
---|
3410 | common/rand/randparkmiller.cpp \
|
---|
3411 | common/string/strprintf-ellipsis.cpp \
|
---|
3412 | common/string/strprintf2-ellipsis.cpp \
|
---|
3413 | common/string/strhash1.cpp \
|
---|
3414 | common/string/strncmp.cpp \
|
---|
3415 | common/string/strpbrk.cpp \
|
---|
3416 | common/string/strtonum.cpp \
|
---|
3417 | common/string/RTStrCat.cpp \
|
---|
3418 | common/string/RTStrCatEx.cpp \
|
---|
3419 | common/string/RTStrCatP.cpp \
|
---|
3420 | common/string/RTStrCatPEx.cpp \
|
---|
3421 | common/string/RTStrCopyEx.cpp \
|
---|
3422 | common/string/RTStrCopyP.cpp \
|
---|
3423 | common/string/RTStrCopyPEx.cpp \
|
---|
3424 | common/string/RTStrCmp.cpp \
|
---|
3425 | common/string/RTStrICmpAscii.cpp \
|
---|
3426 | common/string/RTStrNICmpAscii.cpp \
|
---|
3427 | common/string/RTStrNLen.cpp \
|
---|
3428 | common/string/RTStrNLenEx.cpp \
|
---|
3429 | common/table/avlgcptr.cpp \
|
---|
3430 | common/table/avlhcphys.cpp \
|
---|
3431 | common/table/avllu32.cpp \
|
---|
3432 | common/table/avlogcphys.cpp \
|
---|
3433 | common/table/avlogcptr.cpp \
|
---|
3434 | common/table/avlohcphys.cpp \
|
---|
3435 | common/table/avloioport.cpp \
|
---|
3436 | common/table/avlpv.cpp \
|
---|
3437 | common/table/avlrogcphys.cpp \
|
---|
3438 | common/table/avlrogcptr.cpp \
|
---|
3439 | common/table/avlroioport.cpp \
|
---|
3440 | common/table/avlroogcptr.cpp \
|
---|
3441 | common/table/avlu32.cpp \
|
---|
3442 | common/table/avlou32.cpp \
|
---|
3443 | common/time/timesup.cpp \
|
---|
3444 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
3445 | generic/critsect-generic.cpp \
|
---|
3446 | generic/critsectrw-generic.cpp \
|
---|
3447 | generic/RTRandAdvCreateSystemFaster-generic.cpp \
|
---|
3448 | generic/RTRandAdvCreateSystemTruer-generic.cpp \
|
---|
3449 | \
|
---|
3450 | $(RuntimeNoCrt_SOURCES)
|
---|
3451 |
|
---|
3452 | if1of ($(KBUILD_TARGET), darwin solaris freebsd os2)
|
---|
3453 | RuntimeR0_SOURCES += \
|
---|
3454 | common/math/gcc/adddi3.c \
|
---|
3455 | common/math/gcc/anddi3.c \
|
---|
3456 | common/math/gcc/ashldi3.c \
|
---|
3457 | common/math/gcc/ashrdi3.c \
|
---|
3458 | common/math/gcc/cmpdi2.c \
|
---|
3459 | common/math/gcc/divdi3.c \
|
---|
3460 | common/math/gcc/divmoddi4.c \
|
---|
3461 | common/math/gcc/iordi3.c \
|
---|
3462 | common/math/gcc/lshldi3.c \
|
---|
3463 | common/math/gcc/lshrdi3.c \
|
---|
3464 | common/math/gcc/moddi3.c \
|
---|
3465 | common/math/gcc/muldi3.c \
|
---|
3466 | common/math/gcc/negdi2.c \
|
---|
3467 | common/math/gcc/notdi2.c \
|
---|
3468 | common/math/gcc/qdivrem.c \
|
---|
3469 | common/math/gcc/subdi3.c \
|
---|
3470 | common/math/gcc/ucmpdi2.c \
|
---|
3471 | common/math/gcc/udivdi3.c \
|
---|
3472 | common/math/gcc/udivmoddi4.c \
|
---|
3473 | common/math/gcc/umoddi3.c \
|
---|
3474 | common/math/gcc/xordi3.c
|
---|
3475 | endif
|
---|
3476 |
|
---|
3477 | RuntimeR0_SOURCES.x86 += \
|
---|
3478 | common/asm/ASMCpuIdExSlow.asm \
|
---|
3479 | common/asm/ASMAtomicUoAndU64.asm \
|
---|
3480 | common/asm/ASMAtomicUoAndU32.asm \
|
---|
3481 | common/asm/ASMAtomicUoDecU32.asm \
|
---|
3482 | common/asm/ASMAtomicUoIncU32.asm \
|
---|
3483 | common/asm/ASMAtomicUoOrU64.asm \
|
---|
3484 | common/asm/ASMAtomicUoOrU32.asm \
|
---|
3485 | common/asm/ASMAtomicUoXorU32.asm \
|
---|
3486 | common/asm/ASMMemFirstMismatchingU8.asm \
|
---|
3487 | common/asm/ASMGetXcr0.asm \
|
---|
3488 | common/asm/ASMSetXcr0.asm \
|
---|
3489 | common/asm/ASMXSave.asm \
|
---|
3490 | common/asm/ASMXRstor.asm \
|
---|
3491 | common/asm/ASMFxSave.asm \
|
---|
3492 | common/asm/ASMFxRstor.asm \
|
---|
3493 | common/asm/ASMRdMsrEx.asm \
|
---|
3494 | common/asm/ASMWrMsrEx.asm \
|
---|
3495 | common/string/RTStrEnd.asm \
|
---|
3496 | VBox/RTLogWriteVmm-amd64-x86.asm
|
---|
3497 | RuntimeR0_SOURCES.amd64 += \
|
---|
3498 | common/asm/ASMCpuIdExSlow.asm \
|
---|
3499 | common/asm/ASMAtomicUoAndU64.asm \
|
---|
3500 | common/asm/ASMAtomicUoAndU32.asm \
|
---|
3501 | common/asm/ASMAtomicUoDecU32.asm \
|
---|
3502 | common/asm/ASMAtomicUoIncU32.asm \
|
---|
3503 | common/asm/ASMAtomicUoOrU64.asm \
|
---|
3504 | common/asm/ASMAtomicUoOrU32.asm \
|
---|
3505 | common/asm/ASMAtomicUoXorU32.asm \
|
---|
3506 | common/asm/ASMMemFirstMismatchingU8.asm \
|
---|
3507 | common/asm/ASMGetXcr0.asm \
|
---|
3508 | common/asm/ASMSetXcr0.asm \
|
---|
3509 | common/asm/ASMXSave.asm \
|
---|
3510 | common/asm/ASMXRstor.asm \
|
---|
3511 | common/asm/ASMFxSave.asm \
|
---|
3512 | common/asm/ASMFxRstor.asm \
|
---|
3513 | common/asm/ASMRdMsrEx.asm \
|
---|
3514 | common/asm/ASMWrMsrEx.asm \
|
---|
3515 | common/math/RTUInt128MulByU64Ex.asm \
|
---|
3516 | common/string/RTStrEnd.asm \
|
---|
3517 | VBox/RTLogWriteVmm-amd64-x86.asm
|
---|
3518 | RuntimeR0_SOURCES.arm32 += \
|
---|
3519 | common/string/RTStrEnd.cpp
|
---|
3520 | RuntimeR0_SOURCES.arm64 += \
|
---|
3521 | common/string/RTStrEnd.cpp
|
---|
3522 | RuntimeR0_SOURCES.sparc32 += \
|
---|
3523 | common/string/RTStrEnd.cpp
|
---|
3524 | RuntimeR0_SOURCES.sparc64 += \
|
---|
3525 | common/string/RTStrEnd.cpp
|
---|
3526 |
|
---|
3527 | #if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
|
---|
3528 | # RuntimeR0_SOURCES += common/time/timesupA.asm
|
---|
3529 | #else
|
---|
3530 | RuntimeR0_SOURCES += common/time/timesupref.cpp
|
---|
3531 | #endif
|
---|
3532 |
|
---|
3533 | RuntimeR0_SOURCES.win.amd64 := $(RuntimeWin64ASM_SOURCES)
|
---|
3534 | RuntimeR0_SOURCES.win.x86 := $(RuntimeWin32ASM_SOURCES)
|
---|
3535 | RuntimeR0_SOURCES.win = \
|
---|
3536 | nt/NtProcessStartup-stub.cpp
|
---|
3537 |
|
---|
3538 | RuntimeR0_SOURCES.os2 = \
|
---|
3539 | os2/sys0.asm
|
---|
3540 |
|
---|
3541 |
|
---|
3542 | #
|
---|
3543 | # RuntimeR0Stub - Ring-0 context startup stub for Windows and Solaris.
|
---|
3544 | #
|
---|
3545 | RuntimeR0Stub_TEMPLATE = $(if-expr "$(KBUILD_TARGET)" == "solaris",VBoxR0DrvLib,VBoxR0)
|
---|
3546 | RuntimeR0Stub_SOURCES.win = \
|
---|
3547 | nt/NtProcessStartup-stub.cpp
|
---|
3548 | RuntimeR0Stub_SOURCES.solaris = \
|
---|
3549 | r0drv/solaris/modulestub-r0drv-solaris.c
|
---|
3550 |
|
---|
3551 |
|
---|
3552 | #
|
---|
3553 | # RuntimeR0Drv - Ring-0 library for host drivers.
|
---|
3554 | #
|
---|
3555 | RuntimeR0Drv_TEMPLATE = VBoxR0DrvLib
|
---|
3556 | RuntimeR0Drv_SDKS.win = ReorderCompilerIncs $(VBOX_WINDDK) $(VBOX_WINPSDK_INCS)
|
---|
3557 | RuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS RT_NO_EXPORT_SYMBOL NOFILEID
|
---|
3558 | RuntimeR0Drv_DEFS.win = IN_SUP_R0 LDR_ONLY_PE IPRT_WITHOUT_DIGEST_MD4
|
---|
3559 | RuntimeR0Drv_DEFS.darwin = IN_SUP_R0 LDR_ONLY_MACHO IPRT_WITHOUT_DIGEST_MD4 IN_RING0_DRV_ON_DARWIN
|
---|
3560 | if ($(VBOX_SOLARIS_11_UPDATE_VERSION) > 2 \
|
---|
3561 | || ($(VBOX_SOLARIS_11_UPDATE_VERSION) == 2 && $(VBOX_SOLARIS_11_BUILD_VERSION) >= 22))
|
---|
3562 | RuntimeR0Drv_DEFS.solaris += VBOX_NEW_CRASH_DUMP_FORMAT
|
---|
3563 | endif
|
---|
3564 |
|
---|
3565 | RuntimeR0Drv_INCS := $(PATH_SUB_CURRENT) include
|
---|
3566 | RuntimeR0Drv_INCS.freebsd = \
|
---|
3567 | $(PATH_STAGE)/gen-sys-hdrs
|
---|
3568 | RuntimeR0Drv_INCS.solaris = \
|
---|
3569 | r0drv/solaris/vbi/i86pc \
|
---|
3570 | r0drv/solaris/vbi/i86pc/sys
|
---|
3571 |
|
---|
3572 | RuntimeR0Drv_SOURCES = \
|
---|
3573 | common/alloc/alloc.cpp \
|
---|
3574 | common/alloc/heapsimple.cpp \
|
---|
3575 | common/alloc/heapoffset.cpp \
|
---|
3576 | common/checksum/alt-md5.cpp \
|
---|
3577 | common/checksum/crc32.cpp \
|
---|
3578 | common/checksum/crc64.cpp \
|
---|
3579 | common/checksum/ipv4.cpp \
|
---|
3580 | common/checksum/ipv6.cpp \
|
---|
3581 | common/err/RTErrConvertToErrno.cpp \
|
---|
3582 | common/err/RTErrConvertFromErrno.cpp \
|
---|
3583 | common/err/errinfo.cpp \
|
---|
3584 | common/log/log.cpp \
|
---|
3585 | common/log/log-weak.cpp \
|
---|
3586 | common/log/log-weak-assert.cpp \
|
---|
3587 | common/log/log-weak-rel.cpp \
|
---|
3588 | common/log/logellipsis.cpp \
|
---|
3589 | common/log/logrel.cpp \
|
---|
3590 | common/log/logrelellipsis.cpp \
|
---|
3591 | common/log/logcom.cpp \
|
---|
3592 | common/log/logformat.cpp \
|
---|
3593 | common/log/tracebuf.cpp \
|
---|
3594 | common/log/tracedefault.cpp \
|
---|
3595 | common/log/RTLogCreateEx.cpp \
|
---|
3596 | common/misc/RTAssertMsg1Weak.cpp \
|
---|
3597 | common/misc/RTAssertMsg2.cpp \
|
---|
3598 | common/misc/RTAssertMsg2Add.cpp \
|
---|
3599 | common/misc/RTAssertMsg2AddWeak.cpp \
|
---|
3600 | common/misc/RTAssertMsg2AddWeakV.cpp \
|
---|
3601 | common/misc/RTAssertMsg2Weak.cpp \
|
---|
3602 | common/misc/RTAssertMsg2WeakV.cpp \
|
---|
3603 | common/misc/assert.cpp \
|
---|
3604 | common/misc/buildconfig.cpp \
|
---|
3605 | common/misc/handletable.cpp \
|
---|
3606 | common/misc/handletablectx.cpp \
|
---|
3607 | common/misc/handletablesimple.cpp \
|
---|
3608 | common/misc/once.cpp \
|
---|
3609 | common/misc/sanity-c.c \
|
---|
3610 | common/misc/sanity-cpp.cpp \
|
---|
3611 | common/misc/term.cpp \
|
---|
3612 | common/misc/RTMemWipeThoroughly.cpp \
|
---|
3613 | common/path/rtPathVolumeSpecLen.cpp \
|
---|
3614 | common/path/RTPathAbsDup.cpp \
|
---|
3615 | common/path/RTPathAbsEx.cpp \
|
---|
3616 | common/path/RTPathAbsExDup.cpp \
|
---|
3617 | common/path/RTPathAppend.cpp \
|
---|
3618 | common/path/RTPathAppendEx.cpp \
|
---|
3619 | common/path/RTPathExt.cpp \
|
---|
3620 | common/path/RTPathFilename.cpp \
|
---|
3621 | common/path/RTPathHasExt.cpp \
|
---|
3622 | common/path/RTPathHasPath.cpp \
|
---|
3623 | common/path/RTPathParseSimple.cpp \
|
---|
3624 | common/path/RTPathRealDup.cpp \
|
---|
3625 | common/path/RTPathStripExt.cpp \
|
---|
3626 | common/path/RTPathStripFilename.cpp \
|
---|
3627 | common/path/RTPathStripTrailingSlash.cpp \
|
---|
3628 | common/rand/rand.cpp \
|
---|
3629 | common/rand/randadv.cpp \
|
---|
3630 | common/rand/randparkmiller.cpp \
|
---|
3631 | common/string/RTStrCat.cpp \
|
---|
3632 | common/string/RTStrCatEx.cpp \
|
---|
3633 | common/string/RTStrCatP.cpp \
|
---|
3634 | common/string/RTStrCatPEx.cpp \
|
---|
3635 | common/string/RTStrCmp.cpp \
|
---|
3636 | common/string/RTStrCopy.cpp \
|
---|
3637 | common/string/RTStrCopyEx.cpp \
|
---|
3638 | common/string/RTStrCopyP.cpp \
|
---|
3639 | common/string/RTStrCopyPEx.cpp \
|
---|
3640 | common/string/RTStrICmpAscii.cpp \
|
---|
3641 | common/string/RTStrNICmpAscii.cpp \
|
---|
3642 | common/string/RTStrNCmp.cpp \
|
---|
3643 | common/string/RTStrNLen.cpp \
|
---|
3644 | common/string/RTStrNLenEx.cpp \
|
---|
3645 | common/string/RTUtf16ICmpAscii.cpp \
|
---|
3646 | common/string/RTUtf16NICmpAscii.cpp \
|
---|
3647 | common/string/straprintf.cpp \
|
---|
3648 | common/string/strformat.cpp \
|
---|
3649 | common/string/RTStrFormat.cpp \
|
---|
3650 | common/string/strformatnum.cpp \
|
---|
3651 | common/string/strformatrt.cpp \
|
---|
3652 | common/string/strformattype.cpp \
|
---|
3653 | common/string/strhash1.cpp \
|
---|
3654 | common/string/strprintf.cpp \
|
---|
3655 | common/string/strprintf-ellipsis.cpp \
|
---|
3656 | common/string/strprintf2.cpp \
|
---|
3657 | common/string/strprintf2-ellipsis.cpp \
|
---|
3658 | common/string/strtonum.cpp \
|
---|
3659 | common/string/stringalloc.cpp \
|
---|
3660 | common/string/unidata-flags.cpp \
|
---|
3661 | common/string/unidata-lower.cpp \
|
---|
3662 | common/string/unidata-upper.cpp \
|
---|
3663 | common/string/utf-8.cpp \
|
---|
3664 | common/string/utf-8-case.cpp \
|
---|
3665 | common/string/utf-8-case2.cpp \
|
---|
3666 | common/string/utf-16.cpp \
|
---|
3667 | common/string/utf-16-case.cpp \
|
---|
3668 | common/string/utf-16-latin-1.cpp \
|
---|
3669 | common/string/utf-16-printf.cpp \
|
---|
3670 | common/table/avlpv.cpp \
|
---|
3671 | common/table/avlu32.cpp \
|
---|
3672 | common/table/avllu32.cpp \
|
---|
3673 | common/time/time.cpp \
|
---|
3674 | generic/RTLogWriteStdErr-stub-generic.cpp \
|
---|
3675 | generic/RTLogWriteUser-generic.cpp \
|
---|
3676 | generic/RTMpGetArraySize-generic.cpp \
|
---|
3677 | generic/RTRandAdvCreateSystemFaster-generic.cpp \
|
---|
3678 | generic/RTSemEventWait-2-ex-generic.cpp \
|
---|
3679 | generic/RTSemEventWaitNoResume-2-ex-generic.cpp \
|
---|
3680 | generic/RTSemEventMultiWait-2-ex-generic.cpp \
|
---|
3681 | generic/RTSemEventMultiWaitNoResume-2-ex-generic.cpp \
|
---|
3682 | generic/system-page-size-generic.cpp \
|
---|
3683 | generic/critsect-generic.cpp \
|
---|
3684 | generic/critsectrw-generic.cpp \
|
---|
3685 | generic/errvars-generic.cpp \
|
---|
3686 | generic/uuid-generic.cpp \
|
---|
3687 | r0drv/alloc-r0drv.cpp \
|
---|
3688 | r0drv/initterm-r0drv.cpp \
|
---|
3689 | r0drv/generic/semspinmutex-r0drv-generic.c \
|
---|
3690 | r0drv/RTR0DbgKrnlInfoGetSymbol.cpp \
|
---|
3691 | VBox/log-vbox.cpp
|
---|
3692 |
|
---|
3693 | RuntimeR0Drv_SOURCES.amd64 = \
|
---|
3694 | common/asm/ASMCpuIdExSlow.asm \
|
---|
3695 | common/asm/ASMMemFirstMismatchingU8.asm \
|
---|
3696 | common/asm/ASMRdMsrEx.asm \
|
---|
3697 | common/asm/ASMWrMsrEx.asm \
|
---|
3698 | common/math/bignum-amd64-x86.asm \
|
---|
3699 | common/math/RTUInt128MulByU64.asm \
|
---|
3700 | common/math/RTUInt128MulByU64Ex.asm \
|
---|
3701 | common/string/RTStrEnd.asm \
|
---|
3702 | VBox/RTLogWriteVmm-amd64-x86.asm
|
---|
3703 | RuntimeR0Drv_SOURCES.x86 = \
|
---|
3704 | common/asm/ASMCpuIdExSlow.asm \
|
---|
3705 | common/asm/ASMMemFirstMismatchingU8.asm \
|
---|
3706 | common/asm/ASMRdMsrEx.asm \
|
---|
3707 | common/asm/ASMWrMsrEx.asm \
|
---|
3708 | common/math/bignum-amd64-x86.asm \
|
---|
3709 | common/string/RTStrEnd.asm \
|
---|
3710 | VBox/RTLogWriteVmm-amd64-x86.asm
|
---|
3711 | RuntimeR0Drv_SOURCES.arm32 += \
|
---|
3712 | common/string/RTStrEnd.cpp
|
---|
3713 | RuntimeR0Drv_SOURCES.arm64 += \
|
---|
3714 | common/string/RTStrEnd.cpp
|
---|
3715 | RuntimeR0Drv_SOURCES.sparc32 += \
|
---|
3716 | common/string/RTStrEnd.cpp
|
---|
3717 | RuntimeR0Drv_SOURCES.sparc64 += \
|
---|
3718 | common/string/RTStrEnd.cpp
|
---|
3719 |
|
---|
3720 | RuntimeR0Drv_SOURCES.linux = \
|
---|
3721 | common/misc/thread.cpp \
|
---|
3722 | common/string/strpbrk.cpp \
|
---|
3723 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
3724 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
3725 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
3726 | generic/mppresent-generic.cpp \
|
---|
3727 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
3728 | r0drv/linux/alloc-r0drv-linux.c \
|
---|
3729 | r0drv/linux/assert-r0drv-linux.c \
|
---|
3730 | r0drv/linux/initterm-r0drv-linux.c \
|
---|
3731 | r0drv/linux/memobj-r0drv-linux.c \
|
---|
3732 | r0drv/linux/memuserkernel-r0drv-linux.c \
|
---|
3733 | r0drv/linux/mp-r0drv-linux.c \
|
---|
3734 | r0drv/linux/mpnotification-r0drv-linux.c \
|
---|
3735 | r0drv/linux/process-r0drv-linux.c \
|
---|
3736 | r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \
|
---|
3737 | r0drv/linux/semevent-r0drv-linux.c \
|
---|
3738 | r0drv/linux/semeventmulti-r0drv-linux.c \
|
---|
3739 | r0drv/linux/semfastmutex-r0drv-linux.c \
|
---|
3740 | r0drv/linux/semmutex-r0drv-linux.c \
|
---|
3741 | r0drv/linux/spinlock-r0drv-linux.c \
|
---|
3742 | r0drv/linux/thread-r0drv-linux.c \
|
---|
3743 | r0drv/linux/thread2-r0drv-linux.c \
|
---|
3744 | r0drv/linux/threadctxhooks-r0drv-linux.c \
|
---|
3745 | r0drv/linux/time-r0drv-linux.c \
|
---|
3746 | r0drv/linux/timer-r0drv-linux.c \
|
---|
3747 | r0drv/memobj-r0drv.cpp \
|
---|
3748 | r0drv/mpnotification-r0drv.c \
|
---|
3749 | r0drv/powernotification-r0drv.c
|
---|
3750 |
|
---|
3751 | RuntimeR0Drv_SOURCES.win = \
|
---|
3752 | common/ldr/ldr.cpp \
|
---|
3753 | common/ldr/ldrEx.cpp \
|
---|
3754 | common/ldr/ldrPE.cpp \
|
---|
3755 | common/asn1/asn1-basics.cpp \
|
---|
3756 | common/asn1/asn1-dump.cpp \
|
---|
3757 | common/asn1/asn1-cursor.cpp \
|
---|
3758 | common/asn1/asn1-default-allocator.cpp \
|
---|
3759 | common/asn1/asn1-safer-allocator.cpp \
|
---|
3760 | common/asn1/asn1-encode.cpp \
|
---|
3761 | common/asn1/asn1-ut-bitstring.cpp \
|
---|
3762 | common/asn1/asn1-ut-bitstring-decode.cpp \
|
---|
3763 | common/asn1/asn1-ut-boolean.cpp \
|
---|
3764 | common/asn1/asn1-ut-boolean-decode.cpp \
|
---|
3765 | common/asn1/asn1-ut-core.cpp \
|
---|
3766 | common/asn1/asn1-ut-core-decode.cpp \
|
---|
3767 | common/asn1/asn1-ut-dyntype.cpp \
|
---|
3768 | common/asn1/asn1-ut-dyntype-decode.cpp \
|
---|
3769 | common/asn1/asn1-ut-integer.cpp \
|
---|
3770 | common/asn1/asn1-ut-integer-decode.cpp \
|
---|
3771 | common/asn1/asn1-ut-null.cpp \
|
---|
3772 | common/asn1/asn1-ut-null-decode.cpp \
|
---|
3773 | common/asn1/asn1-ut-objid.cpp \
|
---|
3774 | common/asn1/asn1-ut-objid-decode.cpp \
|
---|
3775 | common/asn1/asn1-ut-octetstring.cpp \
|
---|
3776 | common/asn1/asn1-ut-octetstring-decode.cpp \
|
---|
3777 | common/asn1/asn1-ut-string.cpp \
|
---|
3778 | common/asn1/asn1-ut-string-decode.cpp \
|
---|
3779 | common/asn1/asn1-ut-time.cpp \
|
---|
3780 | common/asn1/asn1-ut-time-decode.cpp \
|
---|
3781 | common/crypto/digest-core.cpp \
|
---|
3782 | common/crypto/digest-builtin.cpp \
|
---|
3783 | common/crypto/key.cpp \
|
---|
3784 | common/crypto/rsa-asn1-decoder.cpp \
|
---|
3785 | common/crypto/rsa-core.cpp \
|
---|
3786 | common/crypto/rsa-init.cpp \
|
---|
3787 | common/crypto/rsa-sanity.cpp \
|
---|
3788 | common/crypto/pkcs7-asn1-decoder.cpp \
|
---|
3789 | common/crypto/pkcs7-core.cpp \
|
---|
3790 | common/crypto/pkcs7-init.cpp \
|
---|
3791 | common/crypto/pkcs7-sanity.cpp \
|
---|
3792 | common/crypto/pkcs7-verify.cpp \
|
---|
3793 | common/crypto/pkix-signature-builtin.cpp \
|
---|
3794 | common/crypto/pkix-signature-core.cpp \
|
---|
3795 | common/crypto/pkix-signature-rsa.cpp \
|
---|
3796 | common/crypto/pkix-util.cpp \
|
---|
3797 | common/crypto/pkix-verify.cpp \
|
---|
3798 | common/crypto/spc-asn1-decoder.cpp \
|
---|
3799 | common/crypto/spc-core.cpp \
|
---|
3800 | common/crypto/spc-init.cpp \
|
---|
3801 | common/crypto/spc-sanity.cpp \
|
---|
3802 | common/crypto/x509-asn1-decoder.cpp \
|
---|
3803 | common/crypto/x509-certpaths.cpp \
|
---|
3804 | common/crypto/x509-core.cpp \
|
---|
3805 | common/crypto/x509-create-sign.cpp \
|
---|
3806 | common/crypto/x509-init.cpp \
|
---|
3807 | common/crypto/x509-sanity.cpp \
|
---|
3808 | common/crypto/x509-verify.cpp \
|
---|
3809 | common/crypto/store.cpp \
|
---|
3810 | common/crypto/store-inmem.cpp \
|
---|
3811 | common/crypto/taf-asn1-decoder.cpp \
|
---|
3812 | common/crypto/taf-core.cpp \
|
---|
3813 | common/crypto/taf-init.cpp \
|
---|
3814 | common/crypto/taf-sanity.cpp \
|
---|
3815 | common/crypto/tsp-asn1-decoder.cpp \
|
---|
3816 | common/crypto/tsp-core.cpp \
|
---|
3817 | common/crypto/tsp-init.cpp \
|
---|
3818 | common/crypto/tsp-sanity.cpp \
|
---|
3819 | common/checksum/alt-md2.cpp \
|
---|
3820 | common/checksum/alt-sha1.cpp \
|
---|
3821 | common/checksum/alt-sha256.cpp \
|
---|
3822 | common/checksum/alt-sha512.cpp \
|
---|
3823 | common/checksum/alt-sha3.cpp \
|
---|
3824 | common/checksum/md2str.cpp \
|
---|
3825 | common/checksum/md4str.cpp \
|
---|
3826 | common/checksum/md5str.cpp \
|
---|
3827 | common/checksum/sha1str.cpp \
|
---|
3828 | common/checksum/sha224str.cpp \
|
---|
3829 | common/checksum/sha256str.cpp \
|
---|
3830 | common/checksum/sha384str.cpp \
|
---|
3831 | common/checksum/sha512str.cpp \
|
---|
3832 | common/checksum/sha512t224str.cpp \
|
---|
3833 | common/checksum/sha512t256str.cpp \
|
---|
3834 | common/err/errinfolog.cpp \
|
---|
3835 | common/path/RTPathFilenameUtf16.cpp \
|
---|
3836 | common/path/RTPathChangeToUnixSlashes.cpp \
|
---|
3837 | common/math/bignum.cpp \
|
---|
3838 | common/string/RTStrPrintHexBytes.cpp \
|
---|
3839 | common/string/RTUtf16Copy.cpp \
|
---|
3840 | common/string/RTUtf16CopyAscii.cpp \
|
---|
3841 | common/string/RTUtf16CopyEx.cpp \
|
---|
3842 | common/string/RTUtf16Cat.cpp \
|
---|
3843 | common/string/RTUtf16CatAscii.cpp \
|
---|
3844 | common/string/RTUtf16End.cpp \
|
---|
3845 | common/string/RTUtf16NLen.cpp \
|
---|
3846 | common/string/RTUtf16NLenEx.cpp \
|
---|
3847 | common/string/RTUtf16PrintHexBytes.cpp \
|
---|
3848 | common/string/strstrip.cpp \
|
---|
3849 | generic/memsafer-generic.cpp \
|
---|
3850 | common/misc/thread.cpp \
|
---|
3851 | common/string/strncmp.cpp \
|
---|
3852 | common/string/strpbrk.cpp \
|
---|
3853 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
3854 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
3855 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
3856 | generic/RTTimerCreate-generic.cpp \
|
---|
3857 | generic/mppresent-generic-online.cpp \
|
---|
3858 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
3859 | nt/RTErrConvertFromNtStatus.cpp \
|
---|
3860 | nt/RTNtPathExpand8dot3Path.cpp \
|
---|
3861 | nt/RTNtPathExpand8dot3PathA.cpp \
|
---|
3862 | nt/RTNtPathFindPossible8dot3Name.cpp \
|
---|
3863 | nt/semevent-nt.cpp \
|
---|
3864 | nt/RTSemEventGetResolution-nt.cpp \
|
---|
3865 | nt/semeventmulti-nt.cpp \
|
---|
3866 | nt/RTSemEventMultiGetResolution-nt.cpp \
|
---|
3867 | r0drv/generic/threadctxhooks-r0drv-generic.cpp \
|
---|
3868 | r0drv/alloc-ef-r0drv.cpp \
|
---|
3869 | r0drv/memobj-r0drv.cpp \
|
---|
3870 | r0drv/mpnotification-r0drv.c \
|
---|
3871 | r0drv/powernotification-r0drv.c \
|
---|
3872 | r0drv/nt/alloc-r0drv-nt.cpp \
|
---|
3873 | r0drv/nt/assert-r0drv-nt.cpp \
|
---|
3874 | r0drv/nt/dbgkrnlinfo-r0drv-nt.cpp \
|
---|
3875 | r0drv/nt/initterm-r0drv-nt.cpp \
|
---|
3876 | r0drv/nt/memobj-r0drv-nt.cpp \
|
---|
3877 | r0drv/nt/memuserkernel-r0drv-nt.cpp \
|
---|
3878 | r0drv/nt/mp-r0drv-nt.cpp \
|
---|
3879 | r0drv/nt/process-r0drv-nt.cpp \
|
---|
3880 | r0drv/nt/RTLogWriteDebugger-r0drv-nt.cpp \
|
---|
3881 | r0drv/nt/semfastmutex-r0drv-nt.cpp \
|
---|
3882 | r0drv/nt/semmutex-r0drv-nt.cpp \
|
---|
3883 | r0drv/nt/spinlock-r0drv-nt.cpp \
|
---|
3884 | r0drv/nt/thread-r0drv-nt.cpp \
|
---|
3885 | r0drv/nt/thread2-r0drv-nt.cpp \
|
---|
3886 | r0drv/nt/time-r0drv-nt.cpp \
|
---|
3887 | r0drv/nt/timer-r0drv-nt.cpp \
|
---|
3888 | r0drv/nt/RTTimerGetSystemGranularity-r0drv-nt.cpp
|
---|
3889 |
|
---|
3890 | RuntimeR0Drv_SOURCES.win.amd64 := $(RuntimeWin64ASM_SOURCES) \
|
---|
3891 | common/misc/zero.asm \
|
---|
3892 | common/string/memcmp.asm \
|
---|
3893 | common/string/memchr.asm \
|
---|
3894 | common/string/memcpy.asm \
|
---|
3895 | common/string/memset.asm \
|
---|
3896 | common/string/memmove.asm \
|
---|
3897 | common/string/strlen.asm \
|
---|
3898 | r0drv/nt/toxic-chkstk-r0drv-nt.asm
|
---|
3899 |
|
---|
3900 | RuntimeR0Drv_SOURCES.win.x86 := $(RuntimeWin32ASM_SOURCES) \
|
---|
3901 | common/misc/zero.asm \
|
---|
3902 | common/string/memcmp.asm \
|
---|
3903 | common/string/memchr.asm \
|
---|
3904 | common/string/memcpy.asm \
|
---|
3905 | common/string/memset.asm \
|
---|
3906 | common/string/memmove.asm \
|
---|
3907 | common/string/strlen.asm \
|
---|
3908 | r0drv/nt/nt3fakes-stub-r0drv-nt.cpp \
|
---|
3909 | r0drv/nt/alloca-x86-r0drv-nt.asm \
|
---|
3910 | r0drv/nt/toxic-chkstk-r0drv-nt.asm
|
---|
3911 |
|
---|
3912 |
|
---|
3913 | RuntimeR0Drv_SOURCES.darwin = \
|
---|
3914 | common/ldr/ldr.cpp \
|
---|
3915 | common/ldr/ldrEx.cpp \
|
---|
3916 | common/ldr/ldrMachO.cpp \
|
---|
3917 | common/ldr/ldrMemory.cpp \
|
---|
3918 | common/asn1/asn1-basics.cpp \
|
---|
3919 | common/asn1/asn1-dump.cpp \
|
---|
3920 | common/asn1/asn1-cursor.cpp \
|
---|
3921 | common/asn1/asn1-default-allocator.cpp \
|
---|
3922 | common/asn1/asn1-safer-allocator.cpp \
|
---|
3923 | common/asn1/asn1-encode.cpp \
|
---|
3924 | common/asn1/asn1-ut-bitstring.cpp \
|
---|
3925 | common/asn1/asn1-ut-bitstring-decode.cpp \
|
---|
3926 | common/asn1/asn1-ut-boolean.cpp \
|
---|
3927 | common/asn1/asn1-ut-boolean-decode.cpp \
|
---|
3928 | common/asn1/asn1-ut-core.cpp \
|
---|
3929 | common/asn1/asn1-ut-core-decode.cpp \
|
---|
3930 | common/asn1/asn1-ut-dyntype.cpp \
|
---|
3931 | common/asn1/asn1-ut-dyntype-decode.cpp \
|
---|
3932 | common/asn1/asn1-ut-integer.cpp \
|
---|
3933 | common/asn1/asn1-ut-integer-decode.cpp \
|
---|
3934 | common/asn1/asn1-ut-null.cpp \
|
---|
3935 | common/asn1/asn1-ut-null-decode.cpp \
|
---|
3936 | common/asn1/asn1-ut-objid.cpp \
|
---|
3937 | common/asn1/asn1-ut-objid-decode.cpp \
|
---|
3938 | common/asn1/asn1-ut-octetstring.cpp \
|
---|
3939 | common/asn1/asn1-ut-octetstring-decode.cpp \
|
---|
3940 | common/asn1/asn1-ut-string.cpp \
|
---|
3941 | common/asn1/asn1-ut-string-decode.cpp \
|
---|
3942 | common/asn1/asn1-ut-time.cpp \
|
---|
3943 | common/asn1/asn1-ut-time-decode.cpp \
|
---|
3944 | common/crypto/digest-core.cpp \
|
---|
3945 | common/crypto/digest-builtin.cpp \
|
---|
3946 | common/crypto/key.cpp \
|
---|
3947 | common/crypto/rsa-asn1-decoder.cpp \
|
---|
3948 | common/crypto/rsa-core.cpp \
|
---|
3949 | common/crypto/rsa-init.cpp \
|
---|
3950 | common/crypto/rsa-sanity.cpp \
|
---|
3951 | common/crypto/pkcs7-asn1-decoder.cpp \
|
---|
3952 | common/crypto/pkcs7-core.cpp \
|
---|
3953 | common/crypto/pkcs7-init.cpp \
|
---|
3954 | common/crypto/pkcs7-sanity.cpp \
|
---|
3955 | common/crypto/pkcs7-verify.cpp \
|
---|
3956 | common/crypto/pkix-signature-builtin.cpp \
|
---|
3957 | common/crypto/pkix-signature-core.cpp \
|
---|
3958 | common/crypto/pkix-signature-rsa.cpp \
|
---|
3959 | common/crypto/pkix-util.cpp \
|
---|
3960 | common/crypto/pkix-verify.cpp \
|
---|
3961 | common/crypto/spc-asn1-decoder.cpp \
|
---|
3962 | common/crypto/spc-core.cpp \
|
---|
3963 | common/crypto/spc-init.cpp \
|
---|
3964 | common/crypto/spc-sanity.cpp \
|
---|
3965 | common/crypto/x509-asn1-decoder.cpp \
|
---|
3966 | common/crypto/x509-certpaths.cpp \
|
---|
3967 | common/crypto/x509-core.cpp \
|
---|
3968 | common/crypto/x509-create-sign.cpp \
|
---|
3969 | common/crypto/x509-init.cpp \
|
---|
3970 | common/crypto/x509-sanity.cpp \
|
---|
3971 | common/crypto/x509-verify.cpp \
|
---|
3972 | common/crypto/store.cpp \
|
---|
3973 | common/crypto/store-inmem.cpp \
|
---|
3974 | common/crypto/taf-asn1-decoder.cpp \
|
---|
3975 | common/crypto/taf-core.cpp \
|
---|
3976 | common/crypto/taf-init.cpp \
|
---|
3977 | common/crypto/taf-sanity.cpp \
|
---|
3978 | common/crypto/tsp-asn1-decoder.cpp \
|
---|
3979 | common/crypto/tsp-core.cpp \
|
---|
3980 | common/crypto/tsp-init.cpp \
|
---|
3981 | common/crypto/tsp-sanity.cpp \
|
---|
3982 | common/checksum/alt-md2.cpp \
|
---|
3983 | common/checksum/alt-sha1.cpp \
|
---|
3984 | common/checksum/alt-sha256.cpp \
|
---|
3985 | common/checksum/alt-sha512.cpp \
|
---|
3986 | common/checksum/alt-sha3.cpp \
|
---|
3987 | common/checksum/md2str.cpp \
|
---|
3988 | common/checksum/md4str.cpp \
|
---|
3989 | common/checksum/md5str.cpp \
|
---|
3990 | common/checksum/sha1str.cpp \
|
---|
3991 | common/checksum/sha224str.cpp \
|
---|
3992 | common/checksum/sha256str.cpp \
|
---|
3993 | common/checksum/sha384str.cpp \
|
---|
3994 | common/checksum/sha512str.cpp \
|
---|
3995 | common/checksum/sha512t224str.cpp \
|
---|
3996 | common/checksum/sha512t256str.cpp \
|
---|
3997 | common/err/errinfolog.cpp \
|
---|
3998 | common/math/bignum.cpp \
|
---|
3999 | common/misc/thread.cpp \
|
---|
4000 | common/string/base64.cpp \
|
---|
4001 | common/string/memchr.asm \
|
---|
4002 | common/string/mempcpy.asm \
|
---|
4003 | common/string/strpbrk.cpp \
|
---|
4004 | common/string/strstrip.cpp \
|
---|
4005 | common/string/RTStrPrintHexBytes.cpp \
|
---|
4006 | darwin/RTErrConvertFromDarwin.cpp \
|
---|
4007 | darwin/RTErrConvertFromDarwinIO.cpp \
|
---|
4008 | darwin/RTErrConvertFromDarwinKern.cpp \
|
---|
4009 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
4010 | generic/RTFileReadAll-generic.cpp \
|
---|
4011 | generic/RTFileReadAllByHandle-generic.cpp \
|
---|
4012 | generic/RTFileReadAllByHandleEx-generic.cpp \
|
---|
4013 | generic/RTFileReadAllEx-generic.cpp \
|
---|
4014 | generic/RTFileReadAllFree-generic.cpp \
|
---|
4015 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
4016 | generic/RTMpOnPair-generic.cpp \
|
---|
4017 | generic/RTThreadQueryTerminationStatus-stub-generic.cpp \
|
---|
4018 | generic/RTTimerCreate-generic.cpp \
|
---|
4019 | generic/memsafer-generic.cpp \
|
---|
4020 | generic/mppresent-generic.cpp \
|
---|
4021 | generic/timer-generic.cpp \
|
---|
4022 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
4023 | r0drv/generic/threadctxhooks-r0drv-generic.cpp \
|
---|
4024 | r0drv/darwin/alloc-r0drv-darwin.cpp \
|
---|
4025 | r0drv/darwin/assert-r0drv-darwin.cpp \
|
---|
4026 | r0drv/darwin/initterm-r0drv-darwin.cpp \
|
---|
4027 | r0drv/darwin/dbgkrnlinfo-r0drv-darwin.cpp \
|
---|
4028 | r0drv/darwin/fileio-r0drv-darwin.cpp \
|
---|
4029 | r0drv/darwin/memobj-r0drv-darwin.cpp \
|
---|
4030 | r0drv/darwin/mp-r0drv-darwin.cpp \
|
---|
4031 | r0drv/darwin/memuserkernel-r0drv-darwin.cpp \
|
---|
4032 | r0drv/darwin/process-r0drv-darwin.cpp \
|
---|
4033 | r0drv/darwin/RTLogWriteDebugger-r0drv-darwin.cpp \
|
---|
4034 | r0drv/darwin/RTLogWriteStdOut-r0drv-darwin.cpp \
|
---|
4035 | r0drv/darwin/rtStrFormatKernelAddress-r0drv-darwin.cpp \
|
---|
4036 | r0drv/darwin/semevent-r0drv-darwin.cpp \
|
---|
4037 | r0drv/darwin/semeventmulti-r0drv-darwin.cpp \
|
---|
4038 | r0drv/darwin/semfastmutex-r0drv-darwin.cpp \
|
---|
4039 | r0drv/darwin/semmutex-r0drv-darwin.cpp \
|
---|
4040 | r0drv/darwin/spinlock-r0drv-darwin.cpp \
|
---|
4041 | r0drv/darwin/thread-r0drv-darwin.cpp \
|
---|
4042 | r0drv/darwin/thread2-r0drv-darwin.cpp \
|
---|
4043 | r0drv/darwin/threadpreempt-r0drv-darwin.cpp \
|
---|
4044 | r0drv/darwin/time-r0drv-darwin.cpp \
|
---|
4045 | r0drv/alloc-ef-r0drv.cpp \
|
---|
4046 | r0drv/memobj-r0drv.cpp \
|
---|
4047 | r0drv/powernotification-r0drv.c
|
---|
4048 | # - The xnu memcpy implementation in osfmk/x86_64/bcopy.s returned 'void' rather than 'void *' for a long time, so use our own.
|
---|
4049 | # - The memcmp and strlen implementations are still C implementations living in osfmk/x86_64/loose_ends.c, so use our asm code.
|
---|
4050 | RuntimeR0Drv_SOURCES.darwin.amd64 = \
|
---|
4051 | common/string/memcpy.asm
|
---|
4052 | # common/string/strlen.asm - try again later \
|
---|
4053 | # common/string/memcmp.asm
|
---|
4054 |
|
---|
4055 | RuntimeR0Drv_SOURCES.os2 = \
|
---|
4056 | common/path/RTPathFilenameUtf16.cpp \
|
---|
4057 | common/string/RTUtf16Chr.cpp \
|
---|
4058 | common/string/RTUtf16CmpAscii.cpp \
|
---|
4059 | common/string/memchr.asm \
|
---|
4060 | common/string/memcmp.asm \
|
---|
4061 | common/string/memcpy.asm \
|
---|
4062 | common/string/mempcpy.asm \
|
---|
4063 | common/string/memmove.asm \
|
---|
4064 | common/string/memset.asm \
|
---|
4065 | common/string/strchr.asm \
|
---|
4066 | common/string/strcmp.asm \
|
---|
4067 | common/string/strcpy.asm \
|
---|
4068 | common/string/strlen.asm \
|
---|
4069 | common/string/strncmp.cpp \
|
---|
4070 | common/string/strpbrk.cpp \
|
---|
4071 | common/misc/thread.cpp \
|
---|
4072 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
4073 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
4074 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
4075 | generic/RTMpCpuId-generic.cpp \
|
---|
4076 | generic/RTMpCpuIdFromSetIndex-generic.cpp \
|
---|
4077 | generic/RTMpCpuIdToSetIndex-generic.cpp \
|
---|
4078 | generic/RTMpIsCpuPossible-generic.cpp \
|
---|
4079 | generic/RTMpGetCount-generic.cpp \
|
---|
4080 | generic/RTMpGetMaxCpuId-generic.cpp \
|
---|
4081 | generic/RTMpGetOnlineCount-generic.cpp \
|
---|
4082 | generic/RTMpGetOnlineSet-generic.cpp \
|
---|
4083 | generic/RTMpGetSet-generic.cpp \
|
---|
4084 | generic/RTMpIsCpuOnline-generic.cpp \
|
---|
4085 | generic/RTThreadQueryTerminationStatus-stub-generic.cpp \
|
---|
4086 | generic/RTTimerCreate-generic.cpp \
|
---|
4087 | generic/mppresent-generic.cpp \
|
---|
4088 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
4089 | os2/RTErrConvertFromOS2.cpp \
|
---|
4090 | os2/rtSemWaitOs2ConvertTimeout.cpp \
|
---|
4091 | os2/sys0.asm \
|
---|
4092 | r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
|
---|
4093 | r0drv/generic/RTMpOn-r0drv-generic.cpp \
|
---|
4094 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
4095 | r0drv/generic/threadctxhooks-r0drv-generic.cpp \
|
---|
4096 | r0drv/memobj-r0drv.cpp \
|
---|
4097 | r0drv/powernotification-r0drv.c \
|
---|
4098 | r0drv/os2/alloc-r0drv-os2.cpp \
|
---|
4099 | r0drv/os2/assert-r0drv-os2.cpp \
|
---|
4100 | r0drv/os2/assertA-r0drv-os2.asm \
|
---|
4101 | r0drv/os2/initterm-r0drv-os2.cpp \
|
---|
4102 | r0drv/os2/memobj-r0drv-os2.cpp \
|
---|
4103 | r0drv/os2/memuserkernel-r0drv-os2.cpp \
|
---|
4104 | r0drv/os2/os2imports.imp \
|
---|
4105 | r0drv/os2/process-r0drv-os2.cpp \
|
---|
4106 | r0drv/os2/RTR0AssertPanicSystem-r0drv-os2.asm \
|
---|
4107 | r0drv/os2/RTR0Os2DHQueryDOSVar.asm \
|
---|
4108 | r0drv/os2/RTR0Os2DHVMGlobalToProcess.asm \
|
---|
4109 | r0drv/os2/semevent-r0drv-os2.cpp \
|
---|
4110 | r0drv/os2/semeventmulti-r0drv-os2.cpp \
|
---|
4111 | r0drv/os2/semfastmutex-r0drv-os2.cpp \
|
---|
4112 | r0drv/os2/spinlock-r0drv-os2.cpp \
|
---|
4113 | r0drv/os2/thread-r0drv-os2.cpp \
|
---|
4114 | r0drv/os2/thread2-r0drv-os2.cpp \
|
---|
4115 | r0drv/os2/time-r0drv-os2.cpp \
|
---|
4116 | r0drv/os2/timer-r0drv-os2.cpp \
|
---|
4117 | r0drv/os2/timerA-r0drv-os2.asm
|
---|
4118 | ifndef VBOX_USE_WATCOM_FOR_OS2
|
---|
4119 | RuntimeR0Drv_SOURCES.os2 += \
|
---|
4120 | common/math/gcc/adddi3.c \
|
---|
4121 | common/math/gcc/anddi3.c \
|
---|
4122 | common/math/gcc/ashldi3.c \
|
---|
4123 | common/math/gcc/ashrdi3.c \
|
---|
4124 | common/math/gcc/cmpdi2.c \
|
---|
4125 | common/math/gcc/divdi3.c \
|
---|
4126 | common/math/gcc/divmoddi4.c \
|
---|
4127 | common/math/gcc/iordi3.c \
|
---|
4128 | common/math/gcc/lshldi3.c \
|
---|
4129 | common/math/gcc/lshrdi3.c \
|
---|
4130 | common/math/gcc/moddi3.c \
|
---|
4131 | common/math/gcc/muldi3.c \
|
---|
4132 | common/math/gcc/negdi2.c \
|
---|
4133 | common/math/gcc/notdi2.c \
|
---|
4134 | common/math/gcc/qdivrem.c \
|
---|
4135 | common/math/gcc/subdi3.c \
|
---|
4136 | common/math/gcc/ucmpdi2.c \
|
---|
4137 | common/math/gcc/udivdi3.c \
|
---|
4138 | common/math/gcc/udivmoddi4.c \
|
---|
4139 | common/math/gcc/umoddi3.c \
|
---|
4140 | common/math/gcc/xordi3.c
|
---|
4141 | else
|
---|
4142 | RuntimeR0Drv_SOURCES.os2 += \
|
---|
4143 | common/math/watcom/I8D-x86-32.asm \
|
---|
4144 | common/math/watcom/U8D-x86-32.asm \
|
---|
4145 | common/math/watcom/RTWatcomUInt64Div.c \
|
---|
4146 | common/math/watcom/U8LS-x86-32.asm \
|
---|
4147 | common/math/watcom/U8RS-x86-32.asm \
|
---|
4148 | common/math/watcom/U8M-I8M-x86-32.asm \
|
---|
4149 | common/string/watcom/bzero.asm \
|
---|
4150 | common/string/watcom/memchr.asm \
|
---|
4151 | common/string/watcom/memcmp.asm \
|
---|
4152 | common/string/watcom/memcpy.asm \
|
---|
4153 | common/string/watcom/memmove.asm \
|
---|
4154 | common/string/watcom/mempcpy.asm \
|
---|
4155 | common/string/watcom/memrchr.asm \
|
---|
4156 | common/string/watcom/memset.asm \
|
---|
4157 | common/string/watcom/strchr.asm \
|
---|
4158 | common/string/watcom/strcmp.asm \
|
---|
4159 | common/string/watcom/strcpy.asm \
|
---|
4160 | common/string/watcom/strlen.asm \
|
---|
4161 | common/string/watcom/strncmp.asm \
|
---|
4162 | common/string/watcom/strncpy.asm
|
---|
4163 | endif
|
---|
4164 |
|
---|
4165 | RuntimeR0Drv_SOURCES.freebsd = \
|
---|
4166 | common/misc/thread.cpp \
|
---|
4167 | common/string/memchr.asm \
|
---|
4168 | common/string/memmove.asm \
|
---|
4169 | common/string/strpbrk.cpp \
|
---|
4170 | common/string/memcmp.asm \
|
---|
4171 | common/string/strchr.asm \
|
---|
4172 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
4173 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
4174 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
4175 | generic/RTMpOnPair-generic.cpp \
|
---|
4176 | generic/RTTimerCreate-generic.cpp \
|
---|
4177 | generic/mppresent-generic.cpp \
|
---|
4178 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
4179 | r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
|
---|
4180 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
4181 | r0drv/generic/threadctxhooks-r0drv-generic.cpp \
|
---|
4182 | r0drv/freebsd/alloc-r0drv-freebsd.c \
|
---|
4183 | r0drv/freebsd/assert-r0drv-freebsd.c \
|
---|
4184 | r0drv/freebsd/initterm-r0drv-freebsd.c \
|
---|
4185 | r0drv/freebsd/memobj-r0drv-freebsd.c \
|
---|
4186 | r0drv/freebsd/memuserkernel-r0drv-freebsd.c \
|
---|
4187 | r0drv/freebsd/process-r0drv-freebsd.c \
|
---|
4188 | r0drv/freebsd/semevent-r0drv-freebsd.c \
|
---|
4189 | r0drv/freebsd/semeventmulti-r0drv-freebsd.c \
|
---|
4190 | r0drv/freebsd/semfastmutex-r0drv-freebsd.c \
|
---|
4191 | r0drv/freebsd/semmutex-r0drv-freebsd.c \
|
---|
4192 | r0drv/freebsd/spinlock-r0drv-freebsd.c \
|
---|
4193 | r0drv/freebsd/thread-r0drv-freebsd.c \
|
---|
4194 | r0drv/freebsd/thread2-r0drv-freebsd.c \
|
---|
4195 | r0drv/freebsd/time-r0drv-freebsd.c \
|
---|
4196 | r0drv/freebsd/mp-r0drv-freebsd.c \
|
---|
4197 | generic/timer-generic.cpp \
|
---|
4198 | r0drv/alloc-ef-r0drv.cpp \
|
---|
4199 | r0drv/memobj-r0drv.cpp \
|
---|
4200 | r0drv/powernotification-r0drv.c
|
---|
4201 |
|
---|
4202 | RuntimeR0Drv_SOURCES.netbsd = \
|
---|
4203 | common/misc/thread.cpp \
|
---|
4204 | common/string/strpbrk.cpp \
|
---|
4205 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
4206 | generic/RTLogWriteDebugger-generic.cpp \
|
---|
4207 | generic/RTThreadQueryTerminationStatus-stub-generic.cpp \
|
---|
4208 | generic/RTTimerCreate-generic.cpp \
|
---|
4209 | generic/mppresent-generic.cpp \
|
---|
4210 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
4211 | r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
|
---|
4212 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
4213 | r0drv/generic/threadctxhooks-r0drv-generic.cpp \
|
---|
4214 | r0drv/netbsd/RTLogWriteStdOut-r0drv-netbsd.c \
|
---|
4215 | r0drv/netbsd/alloc-r0drv-netbsd.c \
|
---|
4216 | r0drv/netbsd/assert-r0drv-netbsd.c \
|
---|
4217 | r0drv/netbsd/initterm-r0drv-netbsd.c \
|
---|
4218 | r0drv/netbsd/memobj-r0drv-netbsd.c \
|
---|
4219 | r0drv/netbsd/memuserkernel-r0drv-netbsd.c \
|
---|
4220 | r0drv/netbsd/process-r0drv-netbsd.c \
|
---|
4221 | r0drv/netbsd/semevent-r0drv-netbsd.c \
|
---|
4222 | r0drv/netbsd/semeventmulti-r0drv-netbsd.c \
|
---|
4223 | r0drv/netbsd/semfastmutex-r0drv-netbsd.c \
|
---|
4224 | r0drv/netbsd/spinlock-r0drv-netbsd.c \
|
---|
4225 | r0drv/netbsd/thread-r0drv-netbsd.c \
|
---|
4226 | r0drv/netbsd/thread2-r0drv-netbsd.c \
|
---|
4227 | r0drv/netbsd/time-r0drv-netbsd.c \
|
---|
4228 | r0drv/netbsd/mp-r0drv-netbsd.c \
|
---|
4229 | generic/timer-generic.cpp \
|
---|
4230 | r0drv/memobj-r0drv.cpp \
|
---|
4231 | r0drv/powernotification-r0drv.c
|
---|
4232 |
|
---|
4233 | RuntimeR0Drv_SOURCES.solaris = \
|
---|
4234 | common/misc/thread.cpp \
|
---|
4235 | common/string/memchr.asm \
|
---|
4236 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
4237 | generic/RTLogWriteStdOut-stub-generic.cpp \
|
---|
4238 | generic/RTMpGetCoreCount-generic.cpp \
|
---|
4239 | generic/RTThreadQueryTerminationStatus-stub-generic.cpp \
|
---|
4240 | generic/RTTimerCreate-generic.cpp \
|
---|
4241 | generic/mppresent-generic.cpp \
|
---|
4242 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
4243 | r0drv/memobj-r0drv.cpp \
|
---|
4244 | r0drv/mpnotification-r0drv.c \
|
---|
4245 | r0drv/powernotification-r0drv.c \
|
---|
4246 | r0drv/solaris/RTLogWriteDebugger-r0drv-solaris.c \
|
---|
4247 | r0drv/solaris/RTMpPokeCpu-r0drv-solaris.c \
|
---|
4248 | r0drv/solaris/alloc-r0drv-solaris.c \
|
---|
4249 | r0drv/solaris/assert-r0drv-solaris.c \
|
---|
4250 | r0drv/solaris/dbgkrnlinfo-r0drv-solaris.c \
|
---|
4251 | r0drv/solaris/initterm-r0drv-solaris.c \
|
---|
4252 | r0drv/solaris/memuserkernel-r0drv-solaris.c \
|
---|
4253 | r0drv/solaris/mpnotification-r0drv-solaris.c \
|
---|
4254 | r0drv/solaris/memobj-r0drv-solaris.c \
|
---|
4255 | r0drv/solaris/mp-r0drv-solaris.c \
|
---|
4256 | r0drv/solaris/process-r0drv-solaris.c \
|
---|
4257 | r0drv/solaris/semevent-r0drv-solaris.c \
|
---|
4258 | r0drv/solaris/semeventmulti-r0drv-solaris.c \
|
---|
4259 | r0drv/solaris/semfastmutex-r0drv-solaris.c \
|
---|
4260 | r0drv/solaris/semmutex-r0drv-solaris.c \
|
---|
4261 | r0drv/solaris/spinlock-r0drv-solaris.c \
|
---|
4262 | r0drv/solaris/thread-r0drv-solaris.c \
|
---|
4263 | r0drv/solaris/thread2-r0drv-solaris.c \
|
---|
4264 | r0drv/solaris/threadctxhooks-r0drv-solaris.c \
|
---|
4265 | r0drv/solaris/time-r0drv-solaris.c \
|
---|
4266 | r0drv/solaris/timer-r0drv-solaris.c
|
---|
4267 |
|
---|
4268 | RuntimeR0Drv_SOURCES.haiku = \
|
---|
4269 | common/misc/thread.cpp \
|
---|
4270 | common/string/memchr.asm \
|
---|
4271 | common/string/memmove.asm \
|
---|
4272 | common/string/strpbrk.cpp \
|
---|
4273 | common/string/memcmp.asm \
|
---|
4274 | common/string/strchr.asm \
|
---|
4275 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
4276 | generic/RTMpOnPair-generic.cpp \
|
---|
4277 | generic/RTThreadQueryTerminationStatus-stub-generic.cpp \
|
---|
4278 | generic/RTTimerCreate-generic.cpp \
|
---|
4279 | generic/mppresent-generic.cpp \
|
---|
4280 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
4281 | r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
|
---|
4282 | r0drv/generic/mpnotification-r0drv-generic.cpp \
|
---|
4283 | r0drv/generic/threadctxhooks-r0drv-generic.cpp \
|
---|
4284 | r0drv/haiku/alloc-r0drv-haiku.c \
|
---|
4285 | r0drv/haiku/assert-r0drv-haiku.c \
|
---|
4286 | r0drv/haiku/initterm-r0drv-haiku.c \
|
---|
4287 | r0drv/haiku/memobj-r0drv-haiku.c \
|
---|
4288 | r0drv/haiku/mp-r0drv-haiku.c \
|
---|
4289 | r0drv/haiku/process-r0drv-haiku.c \
|
---|
4290 | r0drv/haiku/RTLogWriteDebugger-r0drv-haiku.c \
|
---|
4291 | r0drv/haiku/RTLogWriteStdOut-r0drv-haiku.c \
|
---|
4292 | r0drv/haiku/semevent-r0drv-haiku.c \
|
---|
4293 | r0drv/haiku/semeventmulti-r0drv-haiku.c \
|
---|
4294 | r0drv/haiku/semfastmutex-r0drv-haiku.c \
|
---|
4295 | r0drv/haiku/semmutex-r0drv-haiku.c \
|
---|
4296 | r0drv/haiku/spinlock-r0drv-haiku.c \
|
---|
4297 | r0drv/haiku/thread-r0drv-haiku.c \
|
---|
4298 | r0drv/haiku/thread2-r0drv-haiku.c \
|
---|
4299 | r0drv/haiku/time-r0drv-haiku.c \
|
---|
4300 | generic/timer-generic.cpp \
|
---|
4301 | r0drv/memobj-r0drv.cpp \
|
---|
4302 | r0drv/powernotification-r0drv.c
|
---|
4303 |
|
---|
4304 | ## PORTME: Porters create and add their selection of platform specific Ring-0 Driver files here.
|
---|
4305 |
|
---|
4306 | RuntimeR0Drv_ORDERDEPS.freebsd = \
|
---|
4307 | $(PATH_STAGE)/gen-sys-hdrs/bus_if.h \
|
---|
4308 | $(PATH_STAGE)/gen-sys-hdrs/device_if.h
|
---|
4309 |
|
---|
4310 |
|
---|
4311 | #
|
---|
4312 | # RuntimeGuestR0 - Guest driver runtime.
|
---|
4313 | #
|
---|
4314 | # This is almost the same as the RuntimeR0Drv, the main difference is in the
|
---|
4315 | # backdoor logging and the lack of sup.h (which should be made irrelevant even
|
---|
4316 | # for RuntimeR0Drv).
|
---|
4317 | #
|
---|
4318 | # In addition we include 64-bit integer stuff, since older kernels doesn't
|
---|
4319 | # export all of these and we happen to have all of it.
|
---|
4320 | #
|
---|
4321 | RuntimeGuestR0_TEMPLATE := VBoxGuestR0DrvLib
|
---|
4322 | RuntimeGuestR0_EXTENDS = RuntimeR0Drv
|
---|
4323 | RuntimeGuestR0_DEFS.win.x86 = $(RuntimeR0Drv_DEFS.win.x86) IPRT_TARGET_NT4 # The 32-bit version needs to work on NT4 too.
|
---|
4324 | RuntimeGuestR0_SOURCES := $(filter-out generic/RTLogWriteUser-generic.cpp, $(RuntimeR0Drv_SOURCES))
|
---|
4325 | RuntimeGuestR0_SOURCES += \
|
---|
4326 | VBox/logbackdoor.cpp
|
---|
4327 | RuntimeGuestR0_SOURCES.win := \
|
---|
4328 | $(filter-out common/checksum/md% common/checksum/sha%, $(RuntimeR0Drv_SOURCES.win))
|
---|
4329 | RuntimeGuestR0_SOURCES.win.x86 := \
|
---|
4330 | $(RuntimeR0Drv_SOURCES.win.x86) \
|
---|
4331 | common/compiler/vcc/x86-allshl.asm \
|
---|
4332 | common/compiler/vcc/x86-allshr.asm \
|
---|
4333 | common/compiler/vcc/x86-aullshr.asm \
|
---|
4334 | common/compiler/vcc/x86-allmul.asm \
|
---|
4335 | common/compiler/vcc/x86-alldiv.asm \
|
---|
4336 | common/compiler/vcc/x86-allrem.asm \
|
---|
4337 | common/compiler/vcc/x86-alldvrm.asm \
|
---|
4338 | common/compiler/vcc/x86-aulldiv.asm \
|
---|
4339 | common/compiler/vcc/x86-aullrem.asm \
|
---|
4340 | common/compiler/vcc/x86-aulldvrm.asm
|
---|
4341 |
|
---|
4342 |
|
---|
4343 |
|
---|
4344 | ifdef VBOX_WITH_RAW_MODE
|
---|
4345 | #
|
---|
4346 | # RuntimeRC - Raw-mode context library.
|
---|
4347 | #
|
---|
4348 | RuntimeRC_TEMPLATE = VBoxRc
|
---|
4349 | RuntimeRC_DEFS = IN_RT_RC RT_WITH_VBOX IN_SUP_RC IN_VMM_RC NOFILEID
|
---|
4350 | RuntimeRC_INCS = include
|
---|
4351 | RuntimeRC_SOURCES := \
|
---|
4352 | common/asm/ASMMemFirstMismatchingU8.asm \
|
---|
4353 | common/asm/ASMGetXcr0.asm \
|
---|
4354 | common/asm/ASMSetXcr0.asm \
|
---|
4355 | common/asm/ASMXSave.asm \
|
---|
4356 | common/asm/ASMXRstor.asm \
|
---|
4357 | common/asm/ASMFxSave.asm \
|
---|
4358 | common/asm/ASMFxRstor.asm \
|
---|
4359 | common/checksum/alt-md5.cpp \
|
---|
4360 | common/checksum/crc32.cpp \
|
---|
4361 | common/checksum/crc64.cpp \
|
---|
4362 | common/log/log.cpp \
|
---|
4363 | common/log/log-weak.cpp \
|
---|
4364 | common/log/log-weak-assert.cpp \
|
---|
4365 | common/log/log-weak-rel.cpp \
|
---|
4366 | common/log/logellipsis.cpp \
|
---|
4367 | common/log/logrel.cpp \
|
---|
4368 | common/log/logrelellipsis.cpp \
|
---|
4369 | common/log/logcom.cpp \
|
---|
4370 | common/log/logformat.cpp \
|
---|
4371 | common/log/tracebuf.cpp \
|
---|
4372 | common/log/tracedefault.cpp \
|
---|
4373 | common/log/RTLogCreateEx.cpp \
|
---|
4374 | common/misc/RTAssertMsg1Weak.cpp \
|
---|
4375 | common/misc/RTAssertMsg2.cpp \
|
---|
4376 | common/misc/RTAssertMsg2Add.cpp \
|
---|
4377 | common/misc/RTAssertMsg2AddWeak.cpp \
|
---|
4378 | common/misc/RTAssertMsg2AddWeakV.cpp \
|
---|
4379 | common/misc/RTAssertMsg2Weak.cpp \
|
---|
4380 | common/misc/RTAssertMsg2WeakV.cpp \
|
---|
4381 | common/misc/assert.cpp \
|
---|
4382 | common/misc/buildconfig.cpp \
|
---|
4383 | common/misc/sanity-c.c \
|
---|
4384 | common/misc/sanity-cpp.cpp \
|
---|
4385 | common/path/RTPathFilename.cpp \
|
---|
4386 | common/string/strformat.cpp \
|
---|
4387 | common/string/RTStrFormat.cpp \
|
---|
4388 | common/string/strformatnum.cpp \
|
---|
4389 | common/string/strformatrt.cpp \
|
---|
4390 | common/string/strformattype.cpp \
|
---|
4391 | common/string/strncmp.cpp \
|
---|
4392 | common/string/strpbrk.cpp \
|
---|
4393 | common/string/strprintf.cpp \
|
---|
4394 | common/string/strprintf-ellipsis.cpp \
|
---|
4395 | common/string/strprintf2.cpp \
|
---|
4396 | common/string/strprintf2-ellipsis.cpp \
|
---|
4397 | common/string/RTStrCmp.cpp \
|
---|
4398 | common/string/RTStrCopy.cpp \
|
---|
4399 | common/string/RTStrCopyEx.cpp \
|
---|
4400 | common/string/RTStrEnd.asm \
|
---|
4401 | common/string/RTStrICmpAscii.cpp \
|
---|
4402 | common/table/avllu32.cpp \
|
---|
4403 | common/table/avlou32.cpp \
|
---|
4404 | common/table/avlogcphys.cpp \
|
---|
4405 | common/table/avlogcptr.cpp \
|
---|
4406 | common/table/avlohcphys.cpp \
|
---|
4407 | common/table/avloioport.cpp \
|
---|
4408 | common/table/avlrogcphys.cpp \
|
---|
4409 | common/table/avlrogcptr.cpp \
|
---|
4410 | common/table/avlroioport.cpp \
|
---|
4411 | common/table/avlroogcptr.cpp \
|
---|
4412 | common/table/avlu32.cpp \
|
---|
4413 | common/time/timeprog.cpp \
|
---|
4414 | common/time/timesup.cpp \
|
---|
4415 | gc/initterm-gc.cpp \
|
---|
4416 | generic/RTAssertShouldPanic-generic.cpp \
|
---|
4417 | generic/rtStrFormatKernelAddress-generic.cpp \
|
---|
4418 | generic/errvars-generic.cpp \
|
---|
4419 | \
|
---|
4420 | $(RuntimeNoCrt_SOURCES)
|
---|
4421 |
|
---|
4422 | #if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
|
---|
4423 | # RuntimeRC_SOURCES += common/time/timesupA.asm
|
---|
4424 | #else
|
---|
4425 | RuntimeRC_SOURCES += common/time/timesupref.cpp
|
---|
4426 | #endif
|
---|
4427 |
|
---|
4428 | RuntimeRC_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
|
---|
4429 |
|
---|
4430 | ifeq ($(VBOX_LDR_FMT32),lx)
|
---|
4431 | RuntimeRC_SOURCES += os2/sys0.asm
|
---|
4432 | endif
|
---|
4433 |
|
---|
4434 | if1of ($(KBUILD_TARGET), darwin solaris freebsd os2)
|
---|
4435 | RuntimeRC_SOURCES += \
|
---|
4436 | common/math/gcc/adddi3.c \
|
---|
4437 | common/math/gcc/anddi3.c \
|
---|
4438 | common/math/gcc/ashldi3.c \
|
---|
4439 | common/math/gcc/ashrdi3.c \
|
---|
4440 | common/math/gcc/cmpdi2.c \
|
---|
4441 | common/math/gcc/divdi3.c \
|
---|
4442 | common/math/gcc/divmoddi4.c \
|
---|
4443 | common/math/gcc/iordi3.c \
|
---|
4444 | common/math/gcc/lshldi3.c \
|
---|
4445 | common/math/gcc/lshrdi3.c \
|
---|
4446 | common/math/gcc/moddi3.c \
|
---|
4447 | common/math/gcc/muldi3.c \
|
---|
4448 | common/math/gcc/negdi2.c \
|
---|
4449 | common/math/gcc/notdi2.c \
|
---|
4450 | common/math/gcc/qdivrem.c \
|
---|
4451 | common/math/gcc/subdi3.c \
|
---|
4452 | common/math/gcc/ucmpdi2.c \
|
---|
4453 | common/math/gcc/udivdi3.c \
|
---|
4454 | common/math/gcc/udivmoddi4.c \
|
---|
4455 | common/math/gcc/umoddi3.c \
|
---|
4456 | common/math/gcc/xordi3.c
|
---|
4457 | endif
|
---|
4458 |
|
---|
4459 |
|
---|
4460 | #
|
---|
4461 | # RuntimeRCStub - Raw-mode context startup stub for Windows.
|
---|
4462 | #
|
---|
4463 | RuntimeRCStub_TEMPLATE = VBoxRc
|
---|
4464 | RuntimeRCStub_SOURCES.win = \
|
---|
4465 | nt/NtProcessStartup-stub.cpp
|
---|
4466 |
|
---|
4467 |
|
---|
4468 | endif # VBOX_WITH_RAW_MODE
|
---|
4469 |
|
---|
4470 |
|
---|
4471 | #
|
---|
4472 | # Static library for new & delete for the electric fence.
|
---|
4473 | #
|
---|
4474 | RuntimeEFCPP_TEMPLATE := $(VBoxRT_TEMPLATE)
|
---|
4475 | RuntimeEFCPP_SDKS := $(RuntimeR3_SDKS)
|
---|
4476 | RuntimeEFCPP_SDKS.$(KBUILD_TARGET) := $(RuntimeR3_SDKS.$(KBUILD_TARGET))
|
---|
4477 | RuntimeEFCPP_DEFS := $(RuntimeR3_DEFS)
|
---|
4478 | RuntimeEFCPP_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
|
---|
4479 | RuntimeEFCPP_INCS := $(RuntimeR3_INCS)
|
---|
4480 | RuntimeEFCPP_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
|
---|
4481 | RuntimeEFCPP_SOURCES := r3/alloc-ef-cpp.cpp
|
---|
4482 |
|
---|
4483 |
|
---|
4484 |
|
---|
4485 | #
|
---|
4486 | # The NTDLL mini import library.
|
---|
4487 | #
|
---|
4488 | # Note! The reason for doing this is to avoid importing CRT symbols from the
|
---|
4489 | # NTDLL. We do not wish to do this because:
|
---|
4490 | # - Our compiler is usually a different one and we should use the
|
---|
4491 | # matching CRT,
|
---|
4492 | # - Older versions of NTDLL may not sport all the exports our w2k3 or
|
---|
4493 | # later WINDDK ntdll.lib have and thus we may easily end up with
|
---|
4494 | # images that does not load on older windows versions.
|
---|
4495 | #
|
---|
4496 | if1of (win, $(KBUILD_TARGET) $(KBUILD_HOST))
|
---|
4497 | RuntimeR3NtDll-amd64_TEMPLATE = VBoxR3Dll
|
---|
4498 | RuntimeR3NtDll-amd64_BLD_TRG_ARCH = amd64
|
---|
4499 | RuntimeR3NtDll-amd64_ARFLAGS = /NODEFAULTLIB /MACHINE:amd64
|
---|
4500 | RuntimeR3NtDll-amd64_SOURCES = \
|
---|
4501 | r3/win/ntdll-mini-implib.def
|
---|
4502 |
|
---|
4503 | RuntimeR3NtDll-x86_TEMPLATE = VBoxR3Dll
|
---|
4504 | RuntimeR3NtDll-x86_BLD_TRG_ARCH = x86
|
---|
4505 | RuntimeR3NtDll-x86_ARFLAGS = /NODEFAULTLIB /MACHINE:x86
|
---|
4506 | RuntimeR3NtDll-x86_SOURCES = \
|
---|
4507 | r3/win/ntdll-mini-implib.def \
|
---|
4508 | $(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm
|
---|
4509 | RuntimeR3NtDll-x86_CLEAN = \
|
---|
4510 | $(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm
|
---|
4511 |
|
---|
4512 | $$(RuntimeR3NtDll-x86_0_OUTDIR)/ntdll-mini-implib.asm: $(PATH_SUB_CURRENT)/r3/win/ntdll-mini-implib.def | $$(dir $$@)
|
---|
4513 | $(call MSG_GENERATE,,$@,$<)
|
---|
4514 | $(QUIET)$(APPEND) -nt "$@" \
|
---|
4515 | ';Autogenerated, do not edit' \
|
---|
4516 | '%include "iprt/asmdefs.mac"' \
|
---|
4517 | 'BEGINCODE' \
|
---|
4518 | '%macro IMPLIB_EXPORT 1' \
|
---|
4519 | 'global %1:function' \
|
---|
4520 | '%1: nop' \
|
---|
4521 | '%endm' \
|
---|
4522 | ''
|
---|
4523 | $(QUIET)$(SED) -e '1,/EXPORTS/d' \
|
---|
4524 | -e 's/^.*;;=[[:space:]]*\([^[:space:]]*\)[[:space:]]*$$/IMPLIB_EXPORT \1/' \
|
---|
4525 | $< --append $@
|
---|
4526 |
|
---|
4527 | RuntimeR3NtDll-arm64_TEMPLATE = VBoxR3Dll
|
---|
4528 | RuntimeR3NtDll-arm64_BLD_TRG_ARCH = arm64
|
---|
4529 | RuntimeR3NtDll-arm64_ARFLAGS = /NODEFAULTLIB /MACHINE:arm64
|
---|
4530 | RuntimeR3NtDll-arm64_SOURCES = \
|
---|
4531 | r3/win/ntdll-mini-implib.def
|
---|
4532 | endif
|
---|
4533 |
|
---|
4534 | #
|
---|
4535 | # Bag of tricks required for making VCC100 output binaries work on NT4, W2K
|
---|
4536 | # early XP and early W2K3. Used by validation kit.
|
---|
4537 | #
|
---|
4538 | ifndef VBOX_WITH_NOCRT_STATIC
|
---|
4539 | RuntimeR3VccTricks_TEMPLATE = VBoxR3Static
|
---|
4540 | RuntimeR3VccTricks_DEFS = VCC_FAKES_TARGET_$(VBOX_VCC_TOOL_STEM) VCC_FAKES_TARGET=$(substr $(VBOX_VCC_TOOL_STEM),-3)
|
---|
4541 | RuntimeR3VccTricks_SOURCES = \
|
---|
4542 | r3/win/vcc-fakes-kernel32.cpp \
|
---|
4543 | r3/win/vcc-fakes-kernel32-A.asm \
|
---|
4544 | r3/win/vcc-fakes-shell32.cpp \
|
---|
4545 | r3/win/vcc-fakes-shell32-A.asm \
|
---|
4546 | r3/win/vcc-fakes-ntdll.cpp \
|
---|
4547 | r3/win/vcc-fakes-ntdll-A.asm
|
---|
4548 | endif
|
---|
4549 |
|
---|
4550 | if defined(VBOX_WITH_MORE_NT4_COMPAT_BINARIES) && "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86" # Ugly hacks... :-)
|
---|
4551 | LIBRARIES += RuntimeR3VccTricks2
|
---|
4552 | RuntimeR3VccTricks2_TEMPLATE = VBoxR3Dll
|
---|
4553 | RuntimeR3VccTricks2_DEFS += $(RuntimeR3VccTricks_DEFS)
|
---|
4554 | RuntimeR3VccTricks2_SOURCES = $(RuntimeR3VccTricks_SOURCES)
|
---|
4555 | RuntimeR3VccTricks2_SOURCES += $(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib
|
---|
4556 | RuntimeR3VccTricks2_CLEAN = $(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib
|
---|
4557 | RuntimeR3VccTricks2_VBOX_LIBCMT_NEEDED =
|
---|
4558 |
|
---|
4559 | $$(RuntimeR3VccTricks2_0_OUTDIR)/dynobjs.lib: \
|
---|
4560 | $$(PATH_TOOL_$$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/msvcrt$(VBOX_VCC_CRT_TYPE).lib \
|
---|
4561 | $$(PATH_TOOL_$$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/libcmt$(VBOX_VCC_CRT_TYPE).lib \
|
---|
4562 | $$(LIB_RUNTIME) \
|
---|
4563 | $(MAKEFILE) | $$(dir $$@)
|
---|
4564 | $(RM) -f -- "$@"
|
---|
4565 | # $(REDIRECT) -C $(dir $@) -- $(KBUILD_DEVTOOLS)/common/openwatcom/v1.9-r2/binnt/wlib \
|
---|
4566 | # $(PATH_TOOL_$(TEMPLATE_VBoxR3Dll_TOOL.win.x86)_LIB)/libcmt$(VBOX_VCC_CRT_TYPE).lib \
|
---|
4567 | # $(foreach file, $(RuntimeR3VccTricks2_VBOX_LIBCMT_NEEDED), *$(file))
|
---|
4568 | $(KBUILD_DEVTOOLS)/common/openwatcom/v1.9-r2/binnt/wlib -o=$@.tmp.lib $< \
|
---|
4569 | -MSVCR100.dll \
|
---|
4570 | $(addprefix $(RuntimeR3VccTricks2_0_OUTDIR)/, $(RuntimeR3VccTricks2_VBOX_LIBCMT_NEEDED)) \
|
---|
4571 | -chandler4gs.obj
|
---|
4572 | $(KBUILD_DEVTOOLS)/common/openwatcom/v1.9-r2/binnt/wlib -o=$@ \
|
---|
4573 | $(LIB_RUNTIME) \
|
---|
4574 | +$@.tmp.lib
|
---|
4575 | $(RM) -f -- $@.tmp.lib $(addprefix $(RuntimeR3VccTricks2_0_OUTDIR)/, $(RuntimeR3VccTricks_VBOX_LIBCMT_NEEDED))
|
---|
4576 | endif
|
---|
4577 |
|
---|
4578 |
|
---|
4579 | #
|
---|
4580 | # errmsg.cpp depends on a generated header.
|
---|
4581 | #
|
---|
4582 | common/err/errmsg.cpp_DEPS = \
|
---|
4583 | $(IPRT_OUT_DIR)/errmsgdata-all.h \
|
---|
4584 | $(IPRT_OUT_DIR)/errmsgdata-no-full-msg.h \
|
---|
4585 | $(IPRT_OUT_DIR)/errmsgdata-only-defines.h
|
---|
4586 | common/err/errmsg.cpp_INCS = $(IPRT_OUT_DIR)
|
---|
4587 |
|
---|
4588 | win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgwindata-only-defines.h
|
---|
4589 | win/errmsgwin.cpp_INCS = $(IPRT_OUT_DIR)
|
---|
4590 |
|
---|
4591 | # Our COM errors only for R3 libraries on the host
|
---|
4592 | define def_errmsgwin_deps
|
---|
4593 | $(lib)_common/err/errmsgxpcom.cpp_INCS = $(IPRT_OUT_DIR)
|
---|
4594 | $(lib)_common/err/errmsgxpcom.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
|
---|
4595 | endef
|
---|
4596 | $(foreach lib,RuntimeR3 RuntimeBldProg VBoxRT VBoxRT-x86,$(eval $(def_errmsgwin_deps)))
|
---|
4597 |
|
---|
4598 |
|
---|
4599 | #
|
---|
4600 | # Generate the status code data.
|
---|
4601 | #
|
---|
4602 | $(IPRT_OUT_DIR)/errmsgdata.h: \
|
---|
4603 | $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \
|
---|
4604 | $(PATH_ROOT)/include/iprt/err.h \
|
---|
4605 | $(PATH_ROOT)/include/VBox/err.h \
|
---|
4606 | | $$(dir $$@)
|
---|
4607 | $(call MSG_GENERATE,,$@,$(filter %.h,$^))
|
---|
4608 | $(QUIET)$(SED) -f $< --output "$@" $(filter %.h,$^)
|
---|
4609 |
|
---|
4610 | $(IPRT_OUT_DIR)/errmsgdata-all.h.ts +| $(IPRT_OUT_DIR)/errmsgdata-all.h: \
|
---|
4611 | $$(bldRTErrMsgSorter_1_TARGET)
|
---|
4612 | $(call MSG_GENERATE,,$@,$<)
|
---|
4613 | $(QUIET)"$<" --all "$(IPRT_OUT_DIR)/errmsgdata-all.h.ts"
|
---|
4614 | $(QUIET)$(CP) --changed -fv -- "$(IPRT_OUT_DIR)/errmsgdata-all.h.ts" "$(IPRT_OUT_DIR)/errmsgdata-all.h"
|
---|
4615 |
|
---|
4616 | $(IPRT_OUT_DIR)/errmsgdata-no-full-msg.h.ts +| $(IPRT_OUT_DIR)/errmsgdata-no-full-msg.h: \
|
---|
4617 | $$(bldRTErrMsgSorter_1_TARGET)
|
---|
4618 | $(call MSG_GENERATE,,$@,$<)
|
---|
4619 | $(QUIET)"$<" --no-full-msg "$(IPRT_OUT_DIR)/errmsgdata-no-full-msg.h.ts"
|
---|
4620 | $(QUIET)$(CP) --changed -fv -- "$(IPRT_OUT_DIR)/errmsgdata-no-full-msg.h.ts" "$(IPRT_OUT_DIR)/errmsgdata-no-full-msg.h"
|
---|
4621 |
|
---|
4622 | $(IPRT_OUT_DIR)/errmsgdata-only-defines.h.ts +| $(IPRT_OUT_DIR)/errmsgdata-only-defines.h: \
|
---|
4623 | $$(bldRTErrMsgSorter_1_TARGET)
|
---|
4624 | $(call MSG_GENERATE,,$@,$<)
|
---|
4625 | $(QUIET)"$<" --only-defines "$(IPRT_OUT_DIR)/errmsgdata-only-defines.h.ts"
|
---|
4626 | $(QUIET)$(CP) --changed -fv -- "$(IPRT_OUT_DIR)/errmsgdata-only-defines.h.ts" "$(IPRT_OUT_DIR)/errmsgdata-only-defines.h"
|
---|
4627 |
|
---|
4628 |
|
---|
4629 | $(IPRT_OUT_DIR)/errmsgwindata.h: \
|
---|
4630 | $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgcom.sed \
|
---|
4631 | $$(qwildcard ,$$(qaddsuffix ,/WinError.h,$$(SDK_$$(VBOX_WINPSDK)_INCS))) \
|
---|
4632 | | $$(dir $$@)
|
---|
4633 | $(call MSG_GENERATE,,$@,$(deps $@, 2))
|
---|
4634 | $(QUIET)$(SED) -f "$<" --output "$@" $(qdeps sh,$@,2)
|
---|
4635 |
|
---|
4636 | $(IPRT_OUT_DIR)/errmsgvboxcomdata.h.ts +| $(IPRT_OUT_DIR)/errmsgvboxcomdata.h: \
|
---|
4637 | $(VBOX_PATH_RUNTIME_SRC)/VBox/errmsgvboxcom.xsl \
|
---|
4638 | $(VBOX_XIDL_FILE_SRC) \
|
---|
4639 | | $$(dir $$@)
|
---|
4640 | $(call MSG_GENERATE,,$@,$(filter %.xidl,$^))
|
---|
4641 | $(QUIET)$(VBOX_XSLTPROC) -o $(IPRT_OUT_DIR)/errmsgvboxcomdata.h.ts $< $(filter %.xidl,$^)
|
---|
4642 | $(QUIET)$(CP) --changed -fv -- $(IPRT_OUT_DIR)/errmsgvboxcomdata.h.ts $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
|
---|
4643 |
|
---|
4644 | $(IPRT_OUT_DIR)/errmsgwindata-only-defines.h.ts +| $(IPRT_OUT_DIR)/errmsgwindata-only-defines.h: \
|
---|
4645 | $$(bldRTErrMsgWinSorter_1_TARGET)
|
---|
4646 | $(call MSG_GENERATE,,$@,$<)
|
---|
4647 | $(QUIET)"$<" --only-defines "$(IPRT_OUT_DIR)/errmsgwindata-only-defines.h.ts"
|
---|
4648 | $(QUIET)$(CP) --changed -fv -- "$(IPRT_OUT_DIR)/errmsgwindata-only-defines.h.ts" "$(IPRT_OUT_DIR)/errmsgwindata-only-defines.h"
|
---|
4649 |
|
---|
4650 |
|
---|
4651 | #
|
---|
4652 | # Sorter for the IPRT status codes.
|
---|
4653 | #
|
---|
4654 | BLDPROGS += bldRTErrMsgSorter
|
---|
4655 | bldRTErrMsgSorter_TEMPLATE = VBoxBldProg
|
---|
4656 | bldRTErrMsgSorter_INCS = $(IPRT_OUT_DIR)
|
---|
4657 | bldRTErrMsgSorter_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h
|
---|
4658 | bldRTErrMsgSorter_SOURCES = common/err/errmsg-sorter.cpp
|
---|
4659 |
|
---|
4660 | #
|
---|
4661 | # Sorter for the windows error codes.
|
---|
4662 | #
|
---|
4663 | BLDPROGS.win += bldRTErrMsgWinSorter
|
---|
4664 | bldRTErrMsgWinSorter_TEMPLATE = VBoxBldProg
|
---|
4665 | bldRTErrMsgWinSorter_INCS = $(IPRT_OUT_DIR)
|
---|
4666 | bldRTErrMsgWinSorter_DEPS = \
|
---|
4667 | $(IPRT_OUT_DIR)/errmsgwindata.h \
|
---|
4668 | $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
|
---|
4669 | bldRTErrMsgWinSorter_SOURCES = win/errmsgwin-sorter.cpp
|
---|
4670 |
|
---|
4671 |
|
---|
4672 |
|
---|
4673 | if "$(KBUILD_TARGET)" == "freebsd"
|
---|
4674 | #
|
---|
4675 | # FreeBSDGeneratedKernelHeaders - Generate some kernel interface headers.
|
---|
4676 | #
|
---|
4677 | # These are used by:
|
---|
4678 | # - The RTMp* API in IPRT.
|
---|
4679 | # - VBoxGuest
|
---|
4680 | #
|
---|
4681 | # Note! We cannot give a output path to the awk program, it will always
|
---|
4682 | # generate the header next to the source. So, we'll have to temporarily copy
|
---|
4683 | # the source file to the destination directory to work.
|
---|
4684 | #
|
---|
4685 | VBOX_AWK := /usr/bin/awk
|
---|
4686 | INSTALLS += FreeBSDGeneratedKernelHeaders
|
---|
4687 | FreeBSDGeneratedKernelHeaders_INST = gen-sys-hdrs/
|
---|
4688 | FreeBSDGeneratedKernelHeaders_SOURCES = \
|
---|
4689 | $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h \
|
---|
4690 | $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h \
|
---|
4691 | $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h
|
---|
4692 | FreeBSDGeneratedKernelHeaders_CLEAN = $(FreeBSDGeneratedKernelHeaders_SOURCES)
|
---|
4693 |
|
---|
4694 | $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m | $$(dir $$@)
|
---|
4695 | $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
|
---|
4696 | $(QUIET)$(CP) -f $< $(@D)/bus_if.m
|
---|
4697 | $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/bus_if.m -h -p
|
---|
4698 | $(QUIET)$(RM) $(@D)/bus_if.m
|
---|
4699 |
|
---|
4700 | $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m | $$(dir $$@)
|
---|
4701 | $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
|
---|
4702 | $(QUIET)$(CP) -f $< $(@D)/device_if.m
|
---|
4703 | $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/device_if.m -h -p
|
---|
4704 | $(QUIET)$(RM) $(@D)/device_if.m
|
---|
4705 |
|
---|
4706 | $$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h: $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m | $$(dir $$@)
|
---|
4707 | $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
|
---|
4708 | $(QUIET)$(CP) -f $< $(@D)/pci_if.m
|
---|
4709 | $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/pci_if.m -h -p
|
---|
4710 | $(QUIET)$(RM) $(@D)/pci_if.m
|
---|
4711 | endif # FreeBSD
|
---|
4712 |
|
---|
4713 |
|
---|
4714 | #
|
---|
4715 | # Aliases for .cpp.h files so we can more easily do syntax checking from the editor.
|
---|
4716 | #
|
---|
4717 | ldrELFRelocatable.cpp.o: ldrELF.o
|
---|
4718 | ldrELFRelocatable.cpp.obj: ldrELF.obj
|
---|
4719 |
|
---|
4720 |
|
---|
4721 | #
|
---|
4722 | # Doxygen documentation.
|
---|
4723 | #
|
---|
4724 | IPRT_DOXYFILE_INPUT_DIRS = \
|
---|
4725 | $(PATH_ROOT)/include/iprt \
|
---|
4726 | $(PATH_ROOT)/include/iprt/cpp \
|
---|
4727 | $(PATH_ROOT)/include/iprt/linux \
|
---|
4728 | $(PATH_ROOT)/include/iprt/nocrt \
|
---|
4729 | $(PATH_ROOT)/include/iprt/nocrt/x86 \
|
---|
4730 | $(PATH_ROOT)/include/iprt/nocrt/amd64 \
|
---|
4731 | $(PATH_ROOT)/include/iprt/nocrt/compiler \
|
---|
4732 | $(VBOX_PATH_RUNTIME_SRC)/include/internal \
|
---|
4733 | $(VBOX_PATH_RUNTIME_SRC)/common/alloc \
|
---|
4734 | $(VBOX_PATH_RUNTIME_SRC)/common/asm \
|
---|
4735 | $(VBOX_PATH_RUNTIME_SRC)/common/checksum \
|
---|
4736 | $(VBOX_PATH_RUNTIME_SRC)/common/dbg \
|
---|
4737 | $(VBOX_PATH_RUNTIME_SRC)/common/err \
|
---|
4738 | $(VBOX_PATH_RUNTIME_SRC)/common/ldr \
|
---|
4739 | $(VBOX_PATH_RUNTIME_SRC)/common/log \
|
---|
4740 | $(VBOX_PATH_RUNTIME_SRC)/common/math \
|
---|
4741 | $(VBOX_PATH_RUNTIME_SRC)/common/math/amd64 \
|
---|
4742 | $(VBOX_PATH_RUNTIME_SRC)/common/math/gcc \
|
---|
4743 | $(VBOX_PATH_RUNTIME_SRC)/common/math/x86 \
|
---|
4744 | $(VBOX_PATH_RUNTIME_SRC)/common/misc \
|
---|
4745 | $(VBOX_PATH_RUNTIME_SRC)/common/path \
|
---|
4746 | $(VBOX_PATH_RUNTIME_SRC)/common/rand \
|
---|
4747 | $(VBOX_PATH_RUNTIME_SRC)/common/string \
|
---|
4748 | $(VBOX_PATH_RUNTIME_SRC)/common/table \
|
---|
4749 | $(VBOX_PATH_RUNTIME_SRC)/common/time \
|
---|
4750 | $(VBOX_PATH_RUNTIME_SRC)/VBox \
|
---|
4751 | $(foreach dir, $(VBOX_PATH_RUNTIME_SRC) $(VBOX_PATH_RUNTIME_SRC)/r3 $(VBOX_PATH_RUNTIME_SRC)/r0drv, \
|
---|
4752 | $(dir) \
|
---|
4753 | $(dir)/darwin \
|
---|
4754 | $(dir)/haiku \
|
---|
4755 | $(dir)/linux \
|
---|
4756 | $(dir)/nt \
|
---|
4757 | $(dir)/os2 \
|
---|
4758 | $(dir)/solaris \
|
---|
4759 | $(dir)/win \
|
---|
4760 | $(dir)/win32 \
|
---|
4761 | $(dir)/win64 \
|
---|
4762 | $(dir)/generic \
|
---|
4763 | )
|
---|
4764 |
|
---|
4765 | # These must come first in order to make things look nice.
|
---|
4766 | IPRT_DOXYFILE_INPUT_FIRST = \
|
---|
4767 | $(PATH_ROOT)/include/iprt/cdefs.h \
|
---|
4768 | $(PATH_ROOT)/include/iprt/types.h \
|
---|
4769 | $(PATH_ROOT)/include/iprt/runtime.h \
|
---|
4770 | $(PATH_ROOT)/include/iprt/param.h \
|
---|
4771 | $(PATH_ROOT)/include/iprt/assert.h \
|
---|
4772 | $(PATH_ROOT)/include/iprt/asm.h
|
---|
4773 |
|
---|
4774 | IPRT_DOXYFILE_INPUT := \
|
---|
4775 | $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(IPRT_DOXYFILE_INPUT_DIRS)))) ) \
|
---|
4776 | $(foreach dir, $(IPRT_DOXYFILE_INPUT_DIRS), $(wildcard $(dir)/*.cpp $(dir)/.c $(dir)/.asm))
|
---|
4777 | IPRT_DOXYFILE_INPUT := \
|
---|
4778 | $(IPRT_DOXYFILE_INPUT_FIRST) \
|
---|
4779 | $(sort $(filter-out $(IPRT_DOXYFILE_INPUT_FIRST), $(IPRT_DOXYFILE_INPUT)))
|
---|
4780 |
|
---|
4781 |
|
---|
4782 | IPRT_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/iprt
|
---|
4783 | BLDDIRS += $(IPRT_DOXYFILE_OUTPUT)
|
---|
4784 |
|
---|
4785 | includedep $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt.dep
|
---|
4786 |
|
---|
4787 | # Generate the Doxyfile
|
---|
4788 | $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt: \
|
---|
4789 | $(VBOX_PATH_RUNTIME_SRC)/Doxyfile \
|
---|
4790 | $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \
|
---|
4791 | $(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_IPRT_INPUT_PREV,FORCE) \
|
---|
4792 | $(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_IPRT_OUTPUT_PREV,FORCE) \
|
---|
4793 | | $$(dir $$@)
|
---|
4794 | $(QUIET)$(RM) -f $@ $@.tmp $@.dep
|
---|
4795 | $(QUIET)$(CP) -f $(VBOX_PATH_RUNTIME_SRC)/Doxyfile $@.tmp
|
---|
4796 | $(QUIET)$(APPEND) $@.tmp
|
---|
4797 | $(QUIET)$(APPEND) $@.tmp "OUTPUT_DIRECTORY = $(IPRT_DOXYFILE_OUTPUT)"
|
---|
4798 | $(QUIET)$(APPEND) $@.tmp "WARN_LOGFILE = $(IPRT_DOXYFILE_OUTPUT)/errors"
|
---|
4799 | $(QUIET)$(APPEND) $@.tmp 'INCLUDE_PATH = ' \
|
---|
4800 | '$(PATH_ROOT)/include' \
|
---|
4801 | '$(VBOX_PATH_RUNTIME_SRC)/include' \
|
---|
4802 | '$(VBOX_PATH_RUNTIME_SRC)/' \
|
---|
4803 | '$(VBOX_PATH_RUNTIME_SRC)/common/table'
|
---|
4804 | $(QUIET)$(APPEND) $@.tmp "INCLUDE_FILE_PATTERNS = *.cpp.h"
|
---|
4805 | $(QUIET)$(APPEND) $@.tmp "PREDEFINED += $(ARCH_BITS_DEFS)"
|
---|
4806 | $(QUIET)$(APPEND) $@.tmp 'EXCLUDE = '\
|
---|
4807 | '$(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-flags.cpp' \
|
---|
4808 | '$(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-lower.cpp' \
|
---|
4809 | '$(VBOX_PATH_RUNTIME_SRC)/common/string/unidata-upper.cpp' \
|
---|
4810 | $(QUIET)$(APPEND) $@.tmp
|
---|
4811 | $(QUIET)$(APPEND) $@.tmp 'INPUT = $(foreach x,$(IPRT_DOXYFILE_INPUT),\$(NLTAB)$(x))'
|
---|
4812 | $(QUIET)$(APPEND) $@.tmp
|
---|
4813 | $(QUIET)$(MV) -f $@.tmp $@
|
---|
4814 | $(QUIET)$(APPEND) $@.dep "DOXYGEN_IPRT_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)"
|
---|
4815 | $(QUIET)$(APPEND) $@.dep "DOXYGEN_IPRT_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)"
|
---|
4816 |
|
---|
4817 | # Do the actual job.
|
---|
4818 | $(IPRT_DOXYFILE_OUTPUT)/docs.iprt: $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt $$(IPRT_DOXYFILE_INPUT) \
|
---|
4819 | | $(IPRT_DOXYFILE_OUTPUT)/
|
---|
4820 | $(QUIET)$(RM) -f $@
|
---|
4821 | $(QUIET)$(RM) -Rf $(IPRT_DOXYFILE_OUTPUT)/html/
|
---|
4822 | $(VBOX_DOXYGEN) $(DOXYGEN_OPTS) $(IPRT_DOXYFILE_OUTPUT)/Doxyfile.iprt
|
---|
4823 | $(SED) -e '/warning. Unexpected tag .dd. found/d' \
|
---|
4824 | -e '/warning. Unsupported xml.html tag .globalScope. found/d' \
|
---|
4825 | --output $(IPRT_DOXYFILE_OUTPUT)/errors2 \
|
---|
4826 | $(IPRT_DOXYFILE_OUTPUT)/errors
|
---|
4827 | $(CAT) $(IPRT_DOXYFILE_OUTPUT)/errors2
|
---|
4828 | $(SED) -e "/[^ ]/q 1" $(IPRT_DOXYFILE_OUTPUT)/errors2
|
---|
4829 | $(APPEND) $@
|
---|
4830 |
|
---|
4831 | # aliases
|
---|
4832 | docs.iprt: $(IPRT_DOXYFILE_OUTPUT)/docs.iprt
|
---|
4833 | if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
|
---|
4834 | docs: $(IPRT_DOXYFILE_OUTPUT)/docs.iprt
|
---|
4835 | endif
|
---|
4836 |
|
---|
4837 | test-doxygen::
|
---|
4838 | @echo test-$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_IPRT_OUTPUT_PREV,FORCE)
|
---|
4839 | @echo $(IPRT_DOXYFILE_OUTPUT)
|
---|
4840 | @echo $(DOXYGEN_IPRT_OUTPUT_PREV)
|
---|
4841 | @echo $(IPRT_DOXYFILE_INPUT)
|
---|
4842 |
|
---|
4843 |
|
---|
4844 | #
|
---|
4845 | # Test mangling.
|
---|
4846 | #
|
---|
4847 | if1of ($(LIBRARIES), RuntimeR3 RuntimeR0 RuntimeR0Drv RuntimeRC)
|
---|
4848 | test-mangling:: $(IPRT_OUT_DIR)/mangling.run
|
---|
4849 | OTHERS += $(IPRT_OUT_DIR)/mangling.run
|
---|
4850 | OTHER_CLEAN += $(IPRT_OUT_DIR)/mangling.run
|
---|
4851 | $(IPRT_OUT_DIR)/mangling.run: \
|
---|
4852 | $$(RuntimeR3_1_TARGET) \
|
---|
4853 | $$(RuntimeR0_1_TARGET) \
|
---|
4854 | $$(RuntimeR0Drv_1_TARGET) \
|
---|
4855 | $$(RuntimeRC_1_TARGET)
|
---|
4856 | if1of ($(KBUILD_TARGET), win os2)
|
---|
4857 | $(call MSG_L1,IPRT: skipped mangling test.)
|
---|
4858 | else
|
---|
4859 | # Generate a SED script from mangling.h that checks for known symbols.
|
---|
4860 | $(QUIET)$(SED) \
|
---|
4861 | -e '/^# *define.*RT_MANGLER/!d' \
|
---|
4862 | -e 's/^.*RT_MANGLER(\([^)][^)]*\)).*$(DOLLAR)/\/^\1$(DOLLAR)\/b ok/' \
|
---|
4863 | $(PATH_ROOT)/include/iprt/mangling.h \
|
---|
4864 | --output "$@"
|
---|
4865 | $(QUIET)$(APPEND) -n '$@' \
|
---|
4866 | ':bad' \
|
---|
4867 | 's/^\(.*\)$(DOLLAR)/error: Missing # define \1 /' \
|
---|
4868 | ':bad-pad' \
|
---|
4869 | '/^.\{0,70\}$(DOLLAR)/ { s/$(DOLLAR)/ /; bbad-pad; }' \
|
---|
4870 | 's/define \([^ ]*\) \([ ]*\)$(DOLLAR)/define \1 \2RT_MANGLER(\1)/' \
|
---|
4871 | 'p' \
|
---|
4872 | $(if-expr !defined(IPRT_IGNORE_TEST_MANGLING),'q 1') \
|
---|
4873 | '' \
|
---|
4874 | ':ok' \
|
---|
4875 | 'd'
|
---|
4876 | # Find the best way to generate a symbol list and subject it to mangling.h.
|
---|
4877 | if $(intersects $(KBUILD_TARGET), linux) && "$(VBOX_GCC_fvisibility-hidden)"
|
---|
4878 | $(call MSG_L1,IPRT: Testing mangling and visiblity for newer gcc...)
|
---|
4879 | $(QUIET)readelf -Ws $^ \
|
---|
4880 | | $(SED) \
|
---|
4881 | -e 's/[[:space:]]\+/ /g' \
|
---|
4882 | -e '/^ *[[:digit:]]\+:/!d' \
|
---|
4883 | -e 's/^ \+[[:digit:]]\+: \+[[:xdigit:]]\+ \+[[:digit:]]\+ \+//' \
|
---|
4884 | -e '/^SECTION/d' \
|
---|
4885 | -e '/^FILE/d' \
|
---|
4886 | -e 's/^[[:alpha:]]\+ \+//' \
|
---|
4887 | -e '/LOCAL/d' \
|
---|
4888 | -e 's/^[[:alpha:]]\+ \+//' \
|
---|
4889 | -e '/^HIDDEN [[:xdigit:]]\+ RT/bkeep-hidden' \
|
---|
4890 | -e '/^HIDDEN [[:xdigit:]]\+ g_[a-z0-9]*RT/bkeep-hidden' \
|
---|
4891 | -e '/^HIDDEN/d' \
|
---|
4892 | -e ':keep-hidden' \
|
---|
4893 | -e 's/^[[:alpha:]]\+ \+//' \
|
---|
4894 | -e '/^UND/d' \
|
---|
4895 | -e 's/^[[:digit:]]\+ \+//' \
|
---|
4896 | \
|
---|
4897 | -e '/^nocrt_/d' \
|
---|
4898 | -e '/^bzero/d' \
|
---|
4899 | -e '/^memchr/d' \
|
---|
4900 | -e '/^memcmp/d' \
|
---|
4901 | -e '/^memcpy/d' \
|
---|
4902 | -e '/^mempcpy/d' \
|
---|
4903 | -e '/^memmove/d' \
|
---|
4904 | -e '/^memset/d' \
|
---|
4905 | -e '/^strchr/d' \
|
---|
4906 | -e '/^strpbrk/d' \
|
---|
4907 | -e '/^_Z7strpbrk/d' \
|
---|
4908 | -e '/^strcmp/d' \
|
---|
4909 | -e '/^strcpy/d' \
|
---|
4910 | -e '/^strncpy/d' \
|
---|
4911 | -e '/^strlen/d' \
|
---|
4912 | -e '/^setjmp/d' \
|
---|
4913 | -e '/^longjmp/d' \
|
---|
4914 | -e '/^_Z[[:alpha:]]*[[:digit:]]\+RTC/d' \
|
---|
4915 | -e '/^_Z[[:alpha:]]*[[:digit:]]\+RTC/d' \
|
---|
4916 | \
|
---|
4917 | -e '/^_ZnwjPv/d' \
|
---|
4918 | -e '/^_ZnwmPv/d' \
|
---|
4919 | -e '/^_ZNSt[1-9]/d' \
|
---|
4920 | \
|
---|
4921 | -e '/^_ZN[a-zA-Z]*St[[:digit:]]*_*[lL]ist/d' \
|
---|
4922 | -e '/^_ZN[a-zA-Z]*[[:digit:]]*__gnu_cxx/d' \
|
---|
4923 | -e '/^_ZNSa.*ElementNode.*/d' \
|
---|
4924 | -e '/^_ZSt.*ElementNode.*/d' \
|
---|
4925 | \
|
---|
4926 | -e '/^_Z[[:digit:]]\+dbus/d' \
|
---|
4927 | -e '/^g_pfn_dbus/d' \
|
---|
4928 | -e '/^_Z13RTDBusLoadLibv/d' \
|
---|
4929 | \
|
---|
4930 | -e '/^g_[ac]VTG/d' \
|
---|
4931 | -e '/^g_VTGObjHeader/d' \
|
---|
4932 | -e '/^g_VTGProbeData/d' \
|
---|
4933 | -e '/^VTGProbeStub/d' \
|
---|
4934 | -e '/^g_achVTGStringTable/d' \
|
---|
4935 | -e '/^g_acVTGProbeEnabled/d' \
|
---|
4936 | \
|
---|
4937 | -e '/^VBoxHost_/d'\
|
---|
4938 | -e '/^VBoxGuest_/d'\
|
---|
4939 | | $(SED) -nf "$@"
|
---|
4940 | endif
|
---|
4941 | $(call MSG_L1,IPRT: Testing mangling using nm...)
|
---|
4942 | $(QUIET)$(VBOX_NM) $^ 2> /dev/null \
|
---|
4943 | | $(SED) -n \
|
---|
4944 | -e 's/^[0-9a-f][0-9a-f]* //' \
|
---|
4945 | -e '/^[TUDB] /!d' \
|
---|
4946 | -e 's/^. //' \
|
---|
4947 | $(if-expr "$(KBUILD_TARGET)" == "darwin" || "$(KBUILD_TARGET)" == "os2" || "$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)" == "win.x86", \
|
---|
4948 | -e 's/^_//',) \
|
---|
4949 | \
|
---|
4950 | -e '/^g_cchrt/d'\
|
---|
4951 | -e '/^g_crt/d'\
|
---|
4952 | -e '/^g_frt/d'\
|
---|
4953 | -e '/^g_offrt/d'\
|
---|
4954 | -e '/^g_pfnrt/d'\
|
---|
4955 | -e '/^g_rt/d'\
|
---|
4956 | -e '/^g_szrt/d'\
|
---|
4957 | -e '/^g_ProcessSelf/d'\
|
---|
4958 | -e '/^g_u64ProgramStart/d'\
|
---|
4959 | -e '/^g_enmProcessPriority/d'\
|
---|
4960 | -e '/^g_hDbgModStrCache/d'\
|
---|
4961 | -e '/^g_pfnR0Darwin/d'\
|
---|
4962 | -e '/^g_pDarwinLockGroup/d'\
|
---|
4963 | $(if-expr "$(KBUILD_TARGET)" == "solaris", \
|
---|
4964 | -e '/^g_kLdrRdrFileOps/d' \
|
---|
4965 | -e '/^g_pSUPGlobalInfoPage/d' \
|
---|
4966 | -e '/^g_Logger/d' \
|
---|
4967 | -e '/^g_RelLogger/d' \
|
---|
4968 | -e '/^g_VM/d',) \
|
---|
4969 | $(if-expr "$(KBUILD_TARGET)" == "linux", \
|
---|
4970 | -e '/^g_kLdrRdrFileOps/d',) \
|
---|
4971 | \
|
---|
4972 | -e '/^g_[ac]VTG/d' \
|
---|
4973 | -e '/^g_VTGObjHeader/d' \
|
---|
4974 | -e '/^g_VTGProbeData/d' \
|
---|
4975 | -e '/^VTGProbeStub/d' \
|
---|
4976 | -e '/^g_achVTGStringTable/d' \
|
---|
4977 | -e '/^g_acVTGProbeEnabled/d' \
|
---|
4978 | \
|
---|
4979 | -e '/^g_pfn_dbus/d' \
|
---|
4980 | -e '/^RTDBusLoadLib/d' \
|
---|
4981 | \
|
---|
4982 | -e '/^RT/p' \
|
---|
4983 | -e '/^g_/p' \
|
---|
4984 | | $(SED) -nf "$@"
|
---|
4985 | endif
|
---|
4986 | endif
|
---|
4987 | $(QUIET)$(APPEND) -t $@
|
---|
4988 |
|
---|
4989 | if !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_VALIDATIONKIT) && !defined(VBOX_ONLY_DOCS)
|
---|
4990 | #
|
---|
4991 | # Windows build tool.
|
---|
4992 | #
|
---|
4993 | BLDPROGS.win += ntBldSymDb
|
---|
4994 | ntBldSymDb_TEMPLATE = VBoxAdvBldProg
|
---|
4995 | ntBldSymDb_INCS = .
|
---|
4996 | ntBldSymDb_SOURCES = r0drv/nt/ntBldSymDb.cpp
|
---|
4997 | endif
|
---|
4998 |
|
---|
4999 |
|
---|
5000 | #
|
---|
5001 | # Generate the rules (we're the to sub-makefile).
|
---|
5002 | #
|
---|
5003 | include $(FILE_KBUILD_SUB_FOOTER)
|
---|
5004 |
|
---|
5005 |
|
---|
5006 | #
|
---|
5007 | # Aliases for code templates.
|
---|
5008 | #
|
---|
5009 | rsa-template.o rsa-template.obj: rsa-core.o rsa-asn1-decoder.o rsa-sanity.o rsa-init.o
|
---|
5010 | spc-template.o spc-template.obj: spc-core.o spc-asn1-decoder.o spc-sanity.o spc-init.o
|
---|
5011 | taf-template.o taf-template.obj: taf-core.o taf-asn1-decoder.o taf-sanity.o taf-init.o
|
---|
5012 | tsp-template.o tsp-template.obj: tsp-core.o tsp-asn1-decoder.o tsp-sanity.o tsp-init.o
|
---|
5013 | x509-template.o x509-template.obj: x509-core.o x509-asn1-decoder.o x509-sanity.o x509-init.o
|
---|
5014 | pkcs7-template.o pkcs7-template.obj: pkcs7-core.o pkcs7-asn1-decoder.o pkcs7-sanity.o pkcs7-init.o
|
---|
5015 | pkcs8-template.o pkcs8-template.obj: pkcs8-core.o pkcs8-asn1-decoder.o pkcs8-sanity.o pkcs8-init.o
|
---|