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