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