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