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