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