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