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