VirtualBox

source: vbox/trunk/src/VBox/Runtime/Makefile.kmk@ 26626

Last change on this file since 26626 was 26626, checked in by vboxsync, 15 years ago

Implemented RTSystemQueryDmiString on Solaris.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 59.4 KB
Line 
1# $Id: Makefile.kmk 26626 2010-02-18 12:19:31Z vboxsync $
2## @file
3# Sub-Makefile for the IPRT (IPRT).
4#
5
6#
7# Copyright (C) 2006-2010 Sun Microsystems, Inc.
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# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
27# Clara, CA 95054 USA or visit http://www.sun.com if you need
28# additional information or have any questions.
29#
30
31SUB_DEPTH = ../../..
32include $(KBUILD_PATH)/subheader.kmk
33
34ifdef VBOX_ONLY_ADDITIONS
35 #
36 # Only build the additions, sort out the legacy names first.
37 #
38 LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
39 ifdef VBOX_WITH_ADDITION_DRIVERS
40 LIBRARIES += RuntimeGuestR0
41 endif
42 #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
43 LIBRARIES.win.x86 += RuntimeGuestR0NT4
44
45else ifdef VBOX_ONLY_DOCS
46 #
47 # Build docs only - need just regular R3 runtime.
48 #
49 LIBRARIES += RuntimeR3
50 DLLS += VBoxRT
51
52else # !VBOX_ONLY_ADDITIONS && !VBOX_ONLY_DOCS
53
54 #
55 # Normal build.
56 #
57 include $(PATH_SUB_CURRENT)/testcase/Makefile.kmk
58
59 BLDPROGS += uniread
60 LIBRARIES += RuntimeR3 RuntimeR0 RuntimeEFCPP RuntimeR3NoCRTGCC
61 LIBRARIES.win += RuntimeR0Stub
62 ifdef VBOX_WITH_RAW_MODE
63 LIBRARIES += RuntimeRC
64 LIBRARIES.win += RuntimeRCStub
65 endif
66 ifdef VBOX_WITH_VBOXDRV
67 LIBRARIES += RuntimeR0Drv
68 endif
69 ifdef VBOX_WITH_ADDITIONS
70 LIBRARIES += RuntimeGuestR3 RuntimeGuestR3Shared RuntimeGuestR3Mini
71 ifdef VBOX_WITH_ADDITION_DRIVERS
72 LIBRARIES += RuntimeGuestR0
73 endif
74 #LIBRARIES.os2 += RuntimeGuestR0OS2Warp3
75 LIBRARIES.win.x86 += RuntimeGuestR0NT4
76 endif # VBOX_WITH_ADDITIONS
77 LIBRARIES.l4 += RuntimeR3L4 RuntimeLnxHostR3
78 DLLS += VBoxRT
79endif
80
81# Where the generated stuff goes.
82IPRT_OUT_DIR := $(PATH_TARGET)/Runtime
83BLDDIRS += $(IPRT_OUT_DIR)
84OTHER_CLEAN += \
85 $(IPRT_OUT_DIR)/errmsgdata.h \
86 $(IPRT_OUT_DIR)/errmsgcomdata.h \
87 $(IPRT_OUT_DIR)/errmsgvboxcomdata.h \
88 $(IPRT_OUT_DIR)/Doxyfile.iprt \
89 $(IPRT_OUT_DIR)/Doxyfile.iprt.dep \
90 $(IPRT_OUT_DIR)/docs.iprt
91
92
93#
94# Globals
95#
96VBOX_PATH_RUNTIME_SRC := $(PATH_SUB_CURRENT)
97
98
99#
100# Set the defines that buildconfig.cpp needs. Its used by several targets.
101#
102common/misc/buildconfig.cpp_DEFS = \
103 IPRT_BLDCFG_SCM_REV=$(VBOX_SVN_REV) \
104 IPRT_BLDCFG_VERSION_STRING=\"$(VBOX_VERSION_STRING)\" \
105 IPRT_BLDCFG_VERSION_MAJOR=$(VBOX_VERSION_MAJOR) \
106 IPRT_BLDCFG_VERSION_MINOR=$(VBOX_VERSION_MINOR) \
107 IPRT_BLDCFG_VERSION_BUILD=$(VBOX_VERSION_BUILD)
108
109#
110# Unicode Specification reader used to regenerate unidata.cpp.
111#
112uniread_TEMPLATE = VBOXBLDPROG
113uniread_SOURCES = common/string/uniread.cpp
114uniread_INCS = include
115
116#
117# Win64 assembly sources.
118#
119RuntimeWin64ASM_SOURCES = \
120 win/amd64/ASMAtomicBitClear.asm \
121 win/amd64/ASMAtomicBitTestAndToggle.asm \
122 win/amd64/ASMAtomicBitToggle.asm \
123 win/amd64/ASMAtomicReadU64.asm \
124 win/amd64/ASMAtomicXchgU16.asm \
125 win/amd64/ASMAtomicXchgU8.asm \
126 win/amd64/ASMBitFirstClear.asm \
127 win/amd64/ASMBitFirstSet.asm \
128 win/amd64/ASMGetCS.asm \
129 win/amd64/ASMGetDS.asm \
130 win/amd64/ASMGetES.asm \
131 win/amd64/ASMGetFlags.asm \
132 win/amd64/ASMGetFS.asm \
133 win/amd64/ASMGetGS.asm \
134 win/amd64/ASMGetIDTR.asm \
135 win/amd64/ASMGetGDTR.asm \
136 win/amd64/ASMGetTR.asm \
137 win/amd64/ASMGetSS.asm \
138 win/amd64/ASMProbeReadByte.asm \
139 win/amd64/ASMSetFlags.asm \
140 win/amd64/ASMGetDR0.asm \
141 win/amd64/ASMGetDR1.asm \
142 win/amd64/ASMGetDR2.asm \
143 win/amd64/ASMGetDR3.asm \
144 win/amd64/ASMGetDR6.asm \
145 win/amd64/ASMGetDR7.asm \
146 common/asm/ASMAtomicCmpXchgU8.asm \
147 common/asm/ASMMultU64ByU32DivByU32.asm \
148 common/asm/ASMNopPause.asm
149
150#
151# Win32 assembly sources.
152#
153RuntimeWin32ASM_SOURCES = \
154 common/asm/ASMAtomicCmpXchgU8.asm \
155 common/asm/ASMMultU64ByU32DivByU32.asm
156
157#
158# NoCRT sources (minus math stuff).
159#
160RuntimeNoCrt_SOURCES = \
161 common/misc/setjmp.asm \
162 common/string/memchr.asm \
163 common/string/memcmp.asm \
164 common/string/memcpy.asm \
165 common/string/mempcpy.asm \
166 common/string/memmove.asm \
167 common/string/memset.asm \
168 common/string/strchr.asm \
169 common/string/strcpy.asm \
170 common/string/strcmp.asm \
171 common/string/strlen.asm
172
173
174#
175# RuntimeR3 - Static Runtime for Ring-3 executables.
176#
177RuntimeR3_TEMPLATE = VBoxR3Static
178RuntimeR3_SDKS = VBOX_LIBXML2 VBOX_BOOST
179RuntimeR3_SDKS.win = WINPSDK W2K3DDK
180RuntimeR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX RT_NO_GIP
181ifdef IPRT_WITH_KSTUFF
182 RuntimeR3_DEFS += LDR_WITH_KLDR
183endif
184ifdef VBOX_MAIN_RELEASE_LOG ## @todo (dmik): temporary, until RTThreadSelf/RTThreadAdopt are properly updated
185 RuntimeR3_DEFS += RTCRITSECT_STRICT
186endif
187ifdef IPRT_WITH_LZJB
188 RuntimeR3_DEFS += RTZIP_USE_LZJB
189endif
190ifdef IPRT_WITH_LZO
191 RuntimeR3_DEFS += RTZIP_USE_LZO
192endif
193ifdef IPRT_WITH_FUTEX_BASED_SEMS
194 RuntimeR3_DEFS.linux += IPRT_WITH_FUTEX_BASED_SEMS
195endif
196RuntimeR3_INCS = \
197 include \
198 $(SDK_VBOX_ZLIB_INCS)
199RuntimeR3_INCS += \
200 $(PATH_ROOT)/src/libs/liblzf-3.4
201ifdef IPRT_WITH_KSTUFF
202 RuntimeR3_INCS += \
203 $(PATH_ROOT)/src/libs/kStuff/kStuff/include
204endif
205RuntimeR3_INCS.l4 = \
206 $(L4_INCDIR)
207
208# RuntimeR3_INCS.solaris = \
209# /usr/include
210
211RuntimeR3_SOURCES = \
212 common/alloc/alloc.cpp \
213 common/alloc/heapsimple.cpp \
214 common/alloc/heapoffset.cpp \
215 common/alloc/memcache.cpp \
216 common/checksum/adler32.cpp \
217 common/checksum/crc32-zlib.cpp \
218 common/checksum/crc64.cpp \
219 common/checksum/md5.cpp \
220 common/checksum/md5str.cpp \
221 common/checksum/ipv4.cpp \
222 common/dbg/dbg.cpp \
223 common/dbg/dbgas.cpp \
224 common/dbg/dbgmod.cpp \
225 common/dbg/dbgmodcontainer.cpp \
226 common/dbg/dbgmodnm.cpp \
227 common/err/errmsg.cpp \
228 common/err/RTErrConvertFromErrno.cpp \
229 common/err/RTErrConvertToErrno.cpp \
230 common/ldr/ldr.cpp \
231 common/ldr/ldrELF.cpp \
232 common/ldr/ldrEx.cpp \
233 common/ldr/ldrFile.cpp \
234 common/ldr/ldrNative.cpp \
235 common/ldr/ldrPE.cpp \
236 common/log/log.cpp \
237 common/log/logellipsis.cpp \
238 common/log/logrel.cpp \
239 common/log/logrelellipsis.cpp \
240 common/log/logcom.cpp \
241 common/log/logformat.cpp \
242 common/misc/RTAssertMsg1Weak.cpp \
243 common/misc/RTAssertMsg2.cpp \
244 common/misc/RTAssertMsg2Add.cpp \
245 common/misc/RTAssertMsg2AddWeak.cpp \
246 common/misc/RTAssertMsg2AddWeakV.cpp \
247 common/misc/RTAssertMsg2Weak.cpp \
248 common/misc/RTAssertMsg2WeakV.cpp \
249 common/misc/RTFileOpenF.cpp \
250 common/misc/RTFileOpenV.cpp \
251 common/misc/assert.cpp \
252 common/misc/buildconfig.cpp \
253 common/misc/cache.cpp \
254 common/misc/cidr.cpp \
255 common/misc/getopt.cpp \
256 common/misc/getoptargv.cpp \
257 common/misc/handletable.cpp \
258 common/misc/handletablectx.cpp \
259 common/misc/handletablesimple.cpp \
260 common/misc/lockvalidator.cpp \
261 common/misc/message.cpp \
262 common/misc/once.cpp \
263 common/misc/req.cpp \
264 common/misc/sanity-c.c \
265 common/misc/sanity-cpp.cpp \
266 common/misc/semspingpong.cpp \
267 common/misc/thread.cpp \
268 common/misc/zip.cpp \
269 common/misc/term.cpp \
270 common/misc/tar.cpp \
271 common/path/rtPathRootSpecLen.cpp \
272 common/path/rtPathVolumeSpecLen.cpp \
273 common/path/RTPathAbsDup.cpp \
274 common/path/RTPathAbsEx.cpp \
275 common/path/RTPathAbsExDup.cpp \
276 common/path/RTPathAppend.cpp \
277 common/path/RTPathChangeToDosSlashes.cpp \
278 common/path/RTPathChangeToUnixSlashes.cpp \
279 common/path/RTPathCopyComponents.cpp \
280 common/path/RTPathCountComponents.cpp \
281 common/path/RTPathExt.cpp \
282 common/path/RTPathFilename.cpp \
283 common/path/RTPathHaveExt.cpp \
284 common/path/RTPathHavePath.cpp \
285 common/path/RTPathJoin.cpp \
286 common/path/RTPathParse.cpp \
287 common/path/RTPathRealDup.cpp \
288 common/path/RTPathStripExt.cpp \
289 common/path/RTPathStripFilename.cpp \
290 common/path/RTPathStripTrailingSlash.cpp \
291 common/path/RTPathTraverseList.cpp \
292 common/path/comparepaths.cpp \
293 common/rand/rand.cpp \
294 common/rand/randadv.cpp \
295 common/rand/randparkmiller.cpp \
296 common/string/RTStrCmp.cpp \
297 common/string/RTStrConvertHexBytes.cpp \
298 common/string/RTStrNCmp.cpp \
299 common/string/RTStrNLen.cpp \
300 common/string/RTStrNLenEx.cpp \
301 common/string/RTStrPrintHexBytes.cpp \
302 common/string/RTStrStr.cpp \
303 common/string/base64.cpp \
304 common/string/simplepattern.cpp \
305 common/string/straprintf.cpp \
306 common/string/strformat.cpp \
307 common/string/strformatrt.cpp \
308 common/string/strformattype.cpp \
309 common/string/stringalloc.cpp \
310 common/string/strprintf.cpp \
311 common/string/strspace.cpp \
312 common/string/strstrip.cpp \
313 common/string/strtonum.cpp \
314 common/string/strversion.cpp \
315 common/string/uni.cpp \
316 common/string/unidata.cpp \
317 common/string/utf-16.cpp \
318 common/string/utf-8.cpp \
319 common/string/utf-8-case.cpp \
320 common/string/ministring.cpp \
321 common/table/avlgcptr.cpp \
322 common/table/avlhcphys.cpp \
323 common/table/avllu32.cpp \
324 common/table/avlou32.cpp \
325 common/table/avlogcphys.cpp \
326 common/table/avlogcptr.cpp \
327 common/table/avlohcphys.cpp \
328 common/table/avloioport.cpp \
329 common/table/avlpv.cpp \
330 common/table/avlrgcptr.cpp \
331 common/table/avlrogcphys.cpp \
332 common/table/avlrogcptr.cpp \
333 common/table/avlroioport.cpp \
334 common/table/avlroogcptr.cpp \
335 common/table/avlruintptr.cpp \
336 common/table/avlrfoff.cpp \
337 common/table/avlu32.cpp \
338 common/table/avluintptr.cpp \
339 common/table/avlul.cpp \
340 common/table/table.cpp \
341 common/time/time.cpp \
342 common/time/timeprog.cpp \
343 common/time/timesup.cpp \
344 generic/critsect-generic.cpp \
345 generic/env-generic.cpp \
346 generic/RTDirCreateTemp-generic.cpp \
347 generic/RTEnvDupEx-generic.cpp \
348 generic/RTFileCopy-generic.cpp \
349 generic/RTFileQuerySize-generic.cpp \
350 generic/RTFileReadAll-generic.cpp \
351 generic/RTFileReadAllEx-generic.cpp \
352 generic/RTFileReadAllByHandle-generic.cpp \
353 generic/RTFileReadAllByHandleEx-generic.cpp \
354 generic/RTFileReadAllFree-generic.cpp \
355 generic/RTLogWriteStdErr-generic.cpp \
356 generic/RTLogWriteStdOut-generic.cpp \
357 generic/RTLogWriteUser-generic.cpp \
358 generic/RTMpGetDescription-generic.cpp \
359 generic/RTTimerLRCreate-generic.cpp \
360 generic/mempool-generic.cpp \
361 generic/semfastmutex-generic.cpp \
362 generic/semxroads-generic.cpp \
363 generic/spinlock-generic.cpp \
364 generic/strcache-stubs-generic.cpp \
365 generic/timerlr-generic.cpp \
366 r3/alloc-ef.cpp \
367 r3/alloc.cpp \
368 r3/dir.cpp \
369 r3/fileio.cpp \
370 r3/fs.cpp \
371 r3/init.cpp \
372 r3/path.cpp \
373 r3/process.cpp \
374 r3/stream.cpp \
375 r3/test.cpp \
376 r3/testi.cpp \
377 r3/tcp.cpp \
378 r3/generic/semspinmutex-r3-generic.cpp
379
380#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
381# RuntimeR3_SOURCES += common/time/timesupA.asm
382#else
383 RuntimeR3_SOURCES += common/time/timesupref.cpp
384#endif
385
386ifdef IPRT_WITH_LZJB
387 RuntimeR3_SOURCES += common/misc/lzjb.c
388endif
389
390# Some versions of GCC might require this.
391RuntimeR3_SOURCES.x86 += \
392 common/asm/ASMAtomicXchgU64.asm \
393 common/asm/ASMAtomicCmpXchgU64.asm \
394 common/asm/ASMAtomicCmpXchgExU64.asm \
395 common/asm/ASMAtomicReadU64.asm \
396 common/asm/ASMAtomicUoReadU64.asm
397
398ifdef IPRT_WITH_KSTUFF
399 RuntimeR3_SOURCES += \
400 common/ldr/ldrkStuff.cpp
401endif
402
403# VBox specific stuff.
404RuntimeR3_SOURCES += \
405 VBox/RTAssertShouldPanic-vbox.cpp \
406 VBox/log-vbox.cpp
407ifneq ($(KBUILD_TARGET),win)
408RuntimeR3_SOURCES += \
409 common/err/errmsgxpcom.cpp
410endif
411if1of ($(KBUILD_TARGET),freebsd linux netbsd openbsd solaris)
412RuntimeR3_SOURCES += \
413 $(if $(VBOX_WITH_DBUS),VBox/dbus.cpp,)
414endif
415
416RuntimeR3_SOURCES.win = \
417 generic/RTDirExists-generic.cpp \
418 generic/RTDirQueryInfo-generic.cpp \
419 generic/RTDirSetTimes-generic.cpp \
420 generic/RTFileExists-generic.cpp \
421 generic/RTMpGetCurFrequency-generic.cpp \
422 generic/RTMpGetMaxFrequency-generic.cpp \
423 generic/RTRandAdvCreateSystemFaster-generic.cpp \
424 generic/RTRandAdvCreateSystemTruer-generic.cpp \
425 generic/RTSemEventWait-generic.cpp \
426 generic/RTSemEventMultiWait-generic.cpp \
427 generic/RTSemMutexRequest-generic.cpp \
428 generic/RTSemMutexRequestDebug-generic.cpp \
429 generic/RTSystemQueryDmiString-generic.cpp \
430 generic/mppresent-generic.cpp \
431 generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
432 generic/uuid-generic.cpp \
433 generic/RTProcIsRunningByName-generic.cpp \
434 generic/RTThreadGetNativeState-generic.cpp \
435 nt/RTErrConvertFromNtStatus.cpp \
436 r3/posix/env-posix.cpp \
437 r3/win/RTSystemQueryOSInfo-win.cpp \
438 r3/win/alloc-win.cpp \
439 r3/win/dir-win.cpp \
440 r3/win/fileio-win.cpp \
441 r3/win/fs-win.cpp \
442 r3/win/ldrNative-win.cpp \
443 r3/win/localipc-win.cpp \
444 r3/win/mp-win.cpp \
445 r3/win/path-win.cpp \
446 r3/win/process-win.cpp \
447 r3/win/RTLogWriteDebugger-win.cpp \
448 r3/win/rtProcInitExePath-win.cpp \
449 r3/win/sched-win.cpp \
450 r3/win/semevent-win.cpp \
451 r3/win/semeventmulti-win.cpp \
452 r3/win/semmutex-win.cpp \
453 r3/win/rtFileNativeSetAttributes-win.cpp \
454 r3/win/thread-win.cpp \
455 r3/win/time-win.cpp \
456 r3/win/timer-win.cpp \
457 r3/win/tls-win.cpp \
458 r3/win/utf16locale-win.cpp \
459 r3/win/utf8-win.cpp \
460 r3/win/RTUuidCreate-win.cpp \
461 win/errmsgwin.cpp \
462 win/RTErrConvertFromWin32.cpp
463
464RuntimeR3_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
465RuntimeR3_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
466
467RuntimeR3_SOURCES.linux = \
468 generic/pathhost-generic.cpp \
469 generic/RTDirQueryInfo-generic.cpp \
470 generic/RTDirSetTimes-generic.cpp \
471 generic/RTFileMove-generic.cpp \
472 generic/RTLogWriteDebugger-generic.cpp \
473 generic/RTTimeLocalNow-generic.cpp \
474 generic/RTTimerCreate-generic.cpp \
475 generic/RTUuidCreate-generic.cpp \
476 generic/mppresent-generic.cpp \
477 generic/utf16locale-generic.cpp \
478 generic/uuid-generic.cpp \
479 r3/linux/RTThreadGetNativeState-linux.cpp \
480 r3/linux/mp-linux.cpp \
481 r3/linux/rtProcInitExePath-linux.cpp \
482 r3/linux/sched-linux.cpp \
483 r3/linux/sysfs.cpp \
484 r3/linux/time-linux.cpp \
485 r3/linux/RTProcIsRunningByName-linux.cpp \
486 r3/linux/RTSystemQueryDmiString-linux.cpp \
487 r3/posix/RTFileQueryFsSizes-posix.cpp \
488 r3/posix/RTSystemQueryOSInfo-posix.cpp \
489 r3/posix/alloc-posix.cpp \
490 r3/posix/dir-posix.cpp \
491 r3/posix/env-posix.cpp \
492 r3/posix/fileio-posix.cpp \
493 r3/posix/filelock-posix.cpp \
494 r3/posix/fs-posix.cpp \
495 r3/posix/ldrNative-posix.cpp \
496 r3/posix/path-posix.cpp \
497 r3/posix/process-posix.cpp \
498 r3/posix/rand-posix.cpp \
499 r3/posix/RTTimeNow-posix.cpp \
500 r3/posix/RTTimeSet-posix.cpp \
501 r3/posix/semrw-posix.cpp \
502 r3/posix/thread-posix.cpp \
503 r3/posix/timelocal-posix.cpp \
504 r3/posix/timer-posix.cpp \
505 r3/posix/tls-posix.cpp \
506 r3/posix/utf8-posix.cpp
507ifdef IPRT_WITH_FUTEX_BASED_SEMS
508 RuntimeR3_SOURCES.linux += \
509 r3/linux/semevent-linux.cpp \
510 r3/linux/semeventmulti-linux.cpp \
511 r3/linux/semmutex-linux.cpp
512else
513 RuntimeR3_SOURCES.linux.x86 += \
514 r3/posix/semevent-posix.cpp \
515 r3/posix/semeventmulti-posix.cpp \
516 r3/posix/semmutex-posix.cpp
517 RuntimeR3_SOURCES.linux.amd64 += \
518 r3/linux/semevent-linux.cpp \
519 r3/linux/semeventmulti-linux.cpp
520 ifdef RT_NEW_LINUX_MUTEX_CODE
521 RuntimeR3_SOURCES.linux.amd64 += \
522 r3/linux/semmutex-linux.cpp
523 else
524 RuntimeR3_SOURCES.linux.amd64 += \
525 r3/posix/semmutex-posix.cpp
526 endif
527endif
528
529RuntimeR3_SOURCES.os2 = \
530 generic/pathhost-generic.cpp \
531 generic/RTDirQueryInfo-generic.cpp \
532 generic/RTDirSetTimes-generic.cpp \
533 generic/RTFileMove-generic.cpp \
534 generic/RTLogWriteDebugger-generic.cpp \
535 generic/RTRandAdvCreateSystemFaster-generic.cpp \
536 generic/RTRandAdvCreateSystemTruer-generic.cpp \
537 generic/RTSystemQueryDmiString-generic.cpp \
538 generic/RTTimeLocalNow-generic.cpp \
539 generic/RTTimerCreate-generic.cpp \
540 generic/RTUuidCreate-generic.cpp \
541 generic/mppresent-generic.cpp \
542 generic/RTSemEventWait-generic.cpp \
543 generic/RTSemEventMultiWait-generic.cpp \
544 generic/RTSemMutexRequest-generic.cpp \
545 generic/RTSemMutexRequestDebug-generic.cpp \
546 generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
547 generic/timer-generic.cpp \
548 generic/utf16locale-generic.cpp \
549 generic/uuid-generic.cpp \
550 generic/RTMpGetCurFrequency-generic.cpp \
551 generic/RTMpGetMaxFrequency-generic.cpp \
552 generic/RTProcIsRunningByName-generic.cpp \
553 generic/RTThreadGetNativeState-generic.cpp \
554 os2/RTErrConvertFromOS2.cpp \
555 r3/os2/filelock-os2.cpp \
556 r3/os2/mp-os2.cpp \
557 r3/os2/rtProcInitExePath-os2.cpp \
558 r3/os2/sched-os2.cpp \
559 r3/os2/sems-os2.cpp \
560 r3/os2/thread-os2.cpp \
561 r3/os2/time-os2.cpp \
562 r3/posix/RTFileQueryFsSizes-posix.cpp \
563 r3/posix/RTSystemQueryOSInfo-posix.cpp \
564 r3/posix/alloc-posix.cpp \
565 r3/posix/dir-posix.cpp \
566 r3/posix/env-posix.cpp \
567 r3/posix/fileio-posix.cpp \
568 r3/posix/fs-posix.cpp \
569 r3/posix/ldrNative-posix.cpp \
570 r3/posix/path-posix.cpp \
571 r3/posix/process-posix.cpp \
572 r3/posix/RTTimeNow-posix.cpp \
573 r3/posix/RTTimeSet-posix.cpp \
574 r3/posix/timelocal-posix.cpp \
575 r3/posix/utf8-posix.cpp
576
577RuntimeR3_SOURCES.darwin = \
578 darwin/RTErrConvertFromDarwin.cpp \
579 darwin/RTErrConvertFromDarwinCOM.cpp \
580 darwin/RTErrConvertFromDarwinIO.cpp \
581 darwin/RTErrConvertFromDarwinKern.cpp \
582 generic/pathhost-generic.cpp \
583 generic/RTDirQueryInfo-generic.cpp \
584 generic/RTDirSetTimes-generic.cpp \
585 generic/RTFileMove-generic.cpp \
586 generic/RTLogWriteDebugger-generic.cpp \
587 generic/RTSystemQueryDmiString-generic.cpp \
588 generic/RTTimeLocalNow-generic.cpp \
589 generic/RTTimerCreate-generic.cpp \
590 generic/RTUuidCreate-generic.cpp \
591 generic/mppresent-generic.cpp \
592 generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
593 generic/timer-generic.cpp \
594 generic/utf16locale-generic.cpp \
595 generic/uuid-generic.cpp\
596 generic/RTProcIsRunningByName-generic.cpp \
597 generic/RTThreadGetNativeState-generic.cpp \
598 r3/darwin/alloc-darwin.cpp \
599 r3/darwin/filelock-darwin.cpp \
600 r3/darwin/mp-darwin.cpp \
601 r3/darwin/rtProcInitExePath-darwin.cpp \
602 r3/darwin/sched-darwin.cpp \
603 r3/darwin/time-darwin.cpp \
604 r3/posix/RTFileQueryFsSizes-posix.cpp \
605 r3/posix/RTSystemQueryOSInfo-posix.cpp \
606 r3/posix/RTTimeSet-posix.cpp \
607 r3/posix/dir-posix.cpp \
608 r3/posix/env-posix.cpp \
609 r3/posix/fileio-posix.cpp \
610 r3/posix/fs-posix.cpp \
611 r3/posix/ldrNative-posix.cpp \
612 r3/posix/path-posix.cpp \
613 r3/posix/process-posix.cpp \
614 r3/posix/rand-posix.cpp \
615 r3/posix/semevent-posix.cpp \
616 r3/posix/semeventmulti-posix.cpp \
617 r3/posix/semmutex-posix.cpp \
618 r3/posix/thread-posix.cpp \
619 r3/posix/timelocal-posix.cpp \
620 r3/posix/tls-posix.cpp \
621 r3/posix/utf8-posix.cpp
622
623## @todo Make BSD sched, implement RTMP*.
624RuntimeR3_SOURCES.freebsd = \
625 generic/pathhost-generic.cpp \
626 generic/RTDirQueryInfo-generic.cpp \
627 generic/RTDirSetTimes-generic.cpp \
628 generic/RTFileMove-generic.cpp \
629 generic/RTLogWriteDebugger-generic.cpp \
630 generic/RTSystemQueryDmiString-generic.cpp \
631 generic/RTTimeLocalNow-generic.cpp \
632 generic/RTTimerCreate-generic.cpp \
633 generic/RTUuidCreate-generic.cpp \
634 generic/mppresent-generic.cpp \
635 generic/sched-generic.cpp \
636 generic/utf16locale-generic.cpp \
637 generic/uuid-generic.cpp \
638 generic/RTMpCpuId-generic.cpp \
639 generic/RTMpCpuIdFromSetIndex-generic.cpp \
640 generic/RTMpCpuIdToSetIndex-generic.cpp \
641 generic/RTMpIsCpuPossible-generic.cpp \
642 generic/RTMpGetMaxCpuId-generic.cpp \
643 generic/RTMpGetOnlineSet-generic.cpp \
644 generic/RTMpGetSet-generic.cpp \
645 generic/RTMpIsCpuOnline-generic.cpp \
646 generic/RTProcIsRunningByName-generic.cpp \
647 generic/RTThreadGetNativeState-generic.cpp \
648 r3/freebsd/mp-freebsd.cpp \
649 r3/freebsd/alloc-freebsd.cpp \
650 r3/freebsd/rtProcInitExePath-freebsd.cpp \
651 r3/posix/RTFileQueryFsSizes-posix.cpp \
652 r3/posix/RTSystemQueryOSInfo-posix.cpp \
653 r3/posix/dir-posix.cpp \
654 r3/posix/env-posix.cpp \
655 r3/posix/fileio-posix.cpp \
656 r3/posix/filelock-posix.cpp \
657 r3/posix/fs-posix.cpp \
658 r3/posix/ldrNative-posix.cpp \
659 r3/posix/path-posix.cpp \
660 r3/posix/process-posix.cpp \
661 r3/posix/rand-posix.cpp \
662 r3/posix/RTMpGetCount-posix.cpp \
663 r3/posix/RTTimeNow-posix.cpp \
664 r3/posix/RTTimeSet-posix.cpp \
665 r3/posix/semevent-posix.cpp \
666 r3/posix/semeventmulti-posix.cpp \
667 r3/posix/semmutex-posix.cpp \
668 r3/posix/semrw-posix.cpp \
669 r3/posix/thread-posix.cpp \
670 r3/posix/time-posix.cpp \
671 r3/posix/timelocal-posix.cpp \
672 r3/posix/timer-posix.cpp \
673 r3/posix/tls-posix.cpp \
674 r3/posix/utf8-posix.cpp
675
676RuntimeR3_SOURCES.solaris = \
677 generic/pathhost-generic.cpp \
678 generic/RTDirQueryInfo-generic.cpp \
679 generic/RTDirSetTimes-generic.cpp \
680 generic/RTFileMove-generic.cpp \
681 generic/RTLogWriteDebugger-generic.cpp \
682 generic/RTTimeLocalNow-generic.cpp \
683 generic/RTTimerCreate-generic.cpp \
684 generic/RTUuidCreate-generic.cpp \
685 generic/sched-generic.cpp \
686 generic/utf16locale-generic.cpp \
687 generic/uuid-generic.cpp \
688 generic/RTProcIsRunningByName-generic.cpp \
689 generic/RTThreadGetNativeState-generic.cpp \
690 r3/posix/RTFileQueryFsSizes-posix.cpp \
691 r3/posix/RTSystemQueryOSInfo-posix.cpp \
692 r3/posix/dir-posix.cpp \
693 r3/posix/env-posix.cpp \
694 r3/posix/fileio-posix.cpp \
695 r3/posix/filelock-posix.cpp \
696 r3/posix/fs-posix.cpp \
697 r3/posix/ldrNative-posix.cpp \
698 r3/posix/path-posix.cpp \
699 r3/posix/process-posix.cpp \
700 r3/posix/rand-posix.cpp \
701 r3/posix/RTTimeNow-posix.cpp \
702 r3/posix/RTTimeSet-posix.cpp \
703 r3/posix/semevent-posix.cpp \
704 r3/posix/semeventmulti-posix.cpp \
705 r3/posix/semmutex-posix.cpp \
706 r3/posix/semrw-posix.cpp \
707 r3/posix/thread-posix.cpp \
708 r3/posix/time-posix.cpp \
709 r3/posix/timelocal-posix.cpp \
710 r3/posix/timer-posix.cpp \
711 r3/posix/tls-posix.cpp \
712 r3/posix/utf8-posix.cpp \
713 r3/solaris/alloc-solaris.cpp \
714 r3/solaris/mp-solaris.cpp \
715 r3/solaris/RTSystemQueryDmiString-solaris.cpp \
716 r3/solaris/rtProcInitExePath-solaris.cpp
717
718## PORTME: Porters add their selection of platform specific files for Ring-3 here.
719
720
721#
722# L4 RuntimeR3 subtarget since L4 headers won't work with VBOXR3.
723#
724RuntimeR3L4_TEMPLATE = VBOXR3NP
725RuntimeR3L4_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF LDR_WITH_PE
726ifneq ($(KBUILD_TARGET_ARCH),amd64)
727RuntimeR3L4_DEFS += __PIC__
728endif
729RuntimeR3L4_INCS = \
730 include \
731 $(L4_INCDIR)
732
733RuntimeR3L4_SOURCES = \
734 generic/fs-stubs-generic.cpp \
735 generic/pathhost-generic.cpp \
736 generic/RTDirQueryInfo-generic.cpp \
737 generic/RTDirSetTimes-generic.cpp \
738 generic/RTFileMove-generic.cpp \
739 generic/RTLogWriteDebugger-generic.cpp \
740 generic/RTSystemQueryOSInfo-generic.cpp \
741 generic/RTSystemQueryDmiString-generic.cpp \
742 generic/RTTimeLocalNow-generic.cpp \
743 generic/RTUuidCreate-generic.cpp \
744 generic/mppresent-generic.cpp \
745 generic/sched-generic.cpp \
746 generic/RTSemEventWait-generic.cpp \
747 generic/RTSemEventMultiWait-generic.cpp \
748 generic/RTSemMutexRequest-generic.cpp \
749 generic/RTSemMutexRequestDebug-generic.cpp \
750 generic/semrw-$(if-expr defined(VBOX_WITH_LOCKLESS_SEMRW),lockless-,)generic.cpp \
751 generic/utf16locale-generic.cpp \
752 generic/uuid-generic.cpp \
753 generic/RTProcIsRunningByName-generic.cpp \
754 generic/RTThreadGetNativeState-generic.cpp \
755 l4/l4-errno.cpp \
756 l4/rtProcInitExePath-l4.cpp \
757 l4/process-l4env.cpp \
758 l4/sems-l4env.cpp \
759 l4/thread-l4env.cpp \
760 l4/timer-l4env.cpp \
761 l4/utf8-l4env.cpp \
762 r3/posix/RTFileQueryFsSizes-posix.cpp \
763 r3/posix/alloc-posix.cpp \
764 r3/posix/dir-posix.cpp \
765 r3/posix/env-posix.cpp \
766 r3/posix/fileio-posix.cpp \
767 r3/posix/filelock-posix.cpp \
768 r3/posix/ldrNative-posix.cpp \
769 r3/posix/path-posix.cpp \
770 r3/posix/rand-posix.cpp \
771 r3/posix/RTTimeNow-posix.cpp \
772 r3/posix/RTTimeSet-posix.cpp \
773 r3/posix/time-posix.cpp \
774 r3/posix/timelocal-posix.cpp
775
776
777#
778# RuntimeGuestR3 - Guest Additions Runtime (static/exe).
779# (The KBUILD_HOST inheritance here is for l4 cross building the linux
780# additions, while .x86 is for cross building x86 while targeting amd64.)
781#
782RuntimeGuestR3_TEMPLATE := VBOXGUESTR3LIB
783## @todo change this to EXTEND the RuntimeR3 target.
784RuntimeGuestR3_SDKS.win := $(RuntimeR3_SDKS.win)
785RuntimeGuestR3_DEFS := $(filter-out RTCRITSECT_STRICT RT_NO_GIP, $(RuntimeR3_DEFS))
786RuntimeGuestR3_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
787RuntimeGuestR3_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
788RuntimeGuestR3_INCS := $(RuntimeR3_INCS)
789RuntimeGuestR3_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
790RuntimeGuestR3_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
791RuntimeGuestR3_SOURCES := $(filter-out \
792 common/time/timesupref.cpp \
793 common/time/timesupA.asm \
794 common/time/timesup.cpp \
795 generic/RTLogWriteUser-generic.cpp \
796 , $(RuntimeR3_SOURCES))
797RuntimeGuestR3_SOURCES += \
798 common/time/timesysalias.cpp \
799 VBox/logbackdoor.cpp
800RuntimeGuestR3_SOURCES.$(KBUILD_TARGET) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
801RuntimeGuestR3_SOURCES.$(KBUILD_HOST) := $(RuntimeR3_SOURCES.$(KBUILD_HOST))
802RuntimeGuestR3_SOURCES.$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET_ARCH))
803RuntimeGuestR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
804RuntimeGuestR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH) := $(RuntimeR3_SOURCES.$(KBUILD_HOST).$(KBUILD_TARGET_ARCH))
805
806
807#
808# RuntimeGuestR3Shared - Guest Additions Runtime (static/dll).
809#
810RuntimeGuestR3Shared_TEMPLATE := VBOXGUESTR3DLL
811RuntimeGuestR3Shared_EXTENDS := RuntimeGuestR3
812RuntimeGuestR3Shared_INST = $(INST_ADDITIONS_LIB)
813
814
815#
816# RuntimeGuestR3Mini - Minimal Guest Additions Runtime which does not require
817# initialization and can be linked into an .so. Intended
818# for X11 drivers, GRADD and similar.
819#
820RuntimeGuestR3Mini_TEMPLATE := VBOXGUESTR3DLL
821## @todo change this to EXTEND the RuntimeGuestR3 target.
822RuntimeGuestR3Mini_INST := $(INST_ADDITIONS_LIB)
823RuntimeGuestR3Mini_SDKS.win := $(RuntimeR3_SDKS.win)
824RuntimeGuestR3Mini_DEFS := $(filter-out RTCRITSECT_STRICT RT_NO_GIP, $(RuntimeR3_DEFS)) RT_MINI
825RuntimeGuestR3Mini_DEFS.$(KBUILD_TARGET) := $(RuntimeR3_DEFS.$(KBUILD_TARGET))
826RuntimeGuestR3Mini_DEFS.$(KBUILD_HOST) := $(RuntimeR3_DEFS.$(KBUILD_HOST))
827RuntimeGuestR3Mini_INCS := $(RuntimeR3_INCS)
828RuntimeGuestR3Mini_INCS.$(KBUILD_TARGET) := $(RuntimeR3_INCS.$(KBUILD_TARGET))
829RuntimeGuestR3Mini_INCS.$(KBUILD_HOST) := $(RuntimeR3_INCS.$(KBUILD_HOST))
830RuntimeGuestR3Mini_SOURCES = \
831 common/err/errmsg.cpp \
832 common/err/errmsgxpcom.cpp \
833 common/err/RTErrConvertFromErrno.cpp \
834 common/log/logformat.cpp \
835 common/misc/RTAssertMsg1Weak.cpp \
836 common/misc/RTAssertMsg2.cpp \
837 common/misc/RTAssertMsg2Add.cpp \
838 common/misc/RTAssertMsg2AddWeak.cpp \
839 common/misc/RTAssertMsg2AddWeakV.cpp \
840 common/misc/RTAssertMsg2Weak.cpp \
841 common/misc/RTAssertMsg2WeakV.cpp \
842 common/misc/assert.cpp \
843 common/misc/buildconfig.cpp \
844 common/misc/sanity-c.c \
845 common/misc/sanity-cpp.cpp \
846 common/path/rtPathVolumeSpecLen.cpp \
847 common/path/RTPathAbsDup.cpp \
848 common/path/RTPathAbsEx.cpp \
849 common/path/RTPathAbsExDup.cpp \
850 common/path/RTPathAppend.cpp \
851 common/path/RTPathExt.cpp \
852 common/path/RTPathFilename.cpp \
853 common/path/RTPathHaveExt.cpp \
854 common/path/RTPathHavePath.cpp \
855 common/path/RTPathJoin.cpp \
856 common/path/RTPathParse.cpp \
857 common/path/RTPathRealDup.cpp \
858 common/path/RTPathStripExt.cpp \
859 common/path/RTPathStripFilename.cpp \
860 common/path/RTPathStripTrailingSlash.cpp \
861 common/string/RTStrCmp.cpp \
862 common/string/RTStrNCmp.cpp \
863 common/string/RTStrNLen.cpp \
864 common/string/RTStrNLenEx.cpp \
865 common/string/RTStrStr.cpp \
866 common/string/straprintf.cpp \
867 common/string/strformat.cpp \
868 common/string/strformatrt.cpp \
869 common/string/strformattype.cpp \
870 common/string/stringalloc.cpp \
871 common/string/strprintf.cpp \
872 common/string/strtonum.cpp \
873 common/string/unidata.cpp \
874 common/string/utf-8.cpp \
875 common/string/utf-8-case.cpp \
876 common/string/utf-16.cpp \
877 generic/pathhost-generic.cpp \
878 generic/RTAssertShouldPanic-generic.cpp \
879 r3/alloc.cpp \
880 r3/fileio.cpp \
881 r3/fs.cpp
882RuntimeGuestR3Mini_SOURCES.freebsd = \
883 r3/posix/env-posix.cpp \
884 r3/posix/fileio-posix.cpp \
885 r3/posix/path-posix.cpp \
886 r3/posix/utf8-posix.cpp
887RuntimeGuestR3Mini_SOURCES.linux = \
888 r3/posix/env-posix.cpp \
889 r3/posix/fileio-posix.cpp \
890 r3/posix/path-posix.cpp \
891 r3/posix/utf8-posix.cpp
892RuntimeGuestR3Mini_SOURCES.solaris = \
893 r3/posix/env-posix.cpp \
894 r3/posix/fileio-posix.cpp \
895 r3/posix/path-posix.cpp \
896 r3/posix/utf8-posix.cpp
897RuntimeGuestR3Mini_SOURCES.win = \
898 r3/win/fileio-win.cpp \
899 r3/win/path-win.cpp \
900 r3/win/utf8-win.cpp \
901 win/errmsgwin.cpp \
902 win/RTErrConvertFromWin32.cpp
903
904# VBox specific stuff.
905RuntimeGuestR3Mini_SOURCES += \
906 VBox/logbackdoor.cpp \
907 VBox/logbackdoor-redirect.cpp
908
909
910#
911# RuntimeLnxHostR3 Linux host program runtime
912# (Only used when building L4.)
913#
914RuntimeLnxHostR3_TEMPLATE = VBOXLNXHOSTR3LIB
915RuntimeLnxHostR3_DEFS = IN_RT_R3 IN_SUP_R3 RT_WITH_VBOX RT_NO_GIP
916RuntimeLnxHostR3_SOURCES = \
917 $(RuntimeR3_SOURCES.linux.$(KBUILD_TARGET_ARCH)) \
918 $(RuntimeR3_SOURCES.linux) \
919 $(RuntimeR3_SOURCES)
920RuntimeLnxHostR3_INCS = \
921 $(RuntimeR3_INCS.linux.$(KBUILD_TARGET_ARCH)) \
922 $(RuntimeR3_INCS.linux) \
923 $(RuntimeR3_INCS)
924
925
926#
927# VBoxRT - Shared Object / DLL version.
928#
929VBoxRT_TEMPLATE = VBoxR3Dll
930VBoxRT_SDKS = VBOX_OPENSSL VBOX_LIBXML2 VBOX_LIBCURL VBOX_BOOST
931VBoxRT_SDKS.win = WINPSDK W2K3DDK VBOX_NTDLL
932if1of ($(KBUILD_TARGET)$(VBOX_WITH_HARDENING), darwin win)
933VBoxRT_INST = $(INST_DLL) $(INST_TESTCASE)
934endif
935VBoxRT_DEFS = $(filter-out RT_NO_GIP,$(RuntimeR3_DEFS)) IN_SUP_R3 IN_SUP_R3
936VBoxRT_DEFS.$(KBUILD_TYPE) = $(RuntimeR3_DEFS.$(KBUILD_TYPE))
937VBoxRT_SOURCES = \
938 VBox/VBoxRTDeps.cpp \
939 $(RuntimeR3_SOURCES)
940VBoxRT_SOURCES += \
941 common/misc/s3.cpp \
942 r3/xml.cpp \
943 common/checksum/RTSha1Digest.cpp \
944 common/checksum/manifest.cpp \
945 common/checksum/sha1.cpp \
946 common/checksum/sha1str.cpp \
947 common/checksum/sha256.cpp \
948 common/checksum/sha256str.cpp \
949 common/checksum/sha512.cpp \
950 common/checksum/sha512str.cpp
951VBoxRT_SOURCES.$(KBUILD_TARGET) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET))
952VBoxRT_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
953VBoxRT_SOURCES.$(KBUILD_TARGET_ARCH) = $(RuntimeR3_SOURCES.$(KBUILD_TARGET_ARCH))
954VBoxRT_SOURCES.win += \
955 r3/win/dllmain-win.cpp \
956 r3/win/fileaio-win.cpp \
957 $(VBoxRT_0_OUTDIR)/VBoxRT.def
958VBoxRT_SOURCES.linux += \
959 r3/linux/fileaio-linux.cpp
960VBoxRT_SOURCES.solaris += \
961 r3/solaris/fileaio-solaris.cpp
962VBoxRT_SOURCES.darwin += \
963 r3/posix/fileaio-posix.cpp
964VBoxRT_SOURCES.freebsd += \
965 r3/freebsd/fileaio-freebsd.cpp
966VBoxRT_INCS = $(RuntimeR3_INCS)
967VBoxRT_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
968VBoxRT_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH) = $(RuntimeR3_INCS.$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH))
969VBoxRT_LIBS = \
970 $(PATH_LIB)/SUPR3$(VBOX_SUFF_LIB) \
971 $(PATH_LIB)/VBox-liblzf$(VBOX_SUFF_LIB) \
972 $(SDK_VBOX_ZLIB_LIBS)
973ifdef IPRT_WITH_KSTUFF
974 VBoxRT_LIBS += \
975 $(PATH_LIB)/VBox-kStuff$(VBOX_SUFF_LIB)
976endif
977ifndef SDK_VBOX_LIBXML2_LIBS
978 VBoxRT_LIBS += \
979 $(PATH_LIB)/VBox-libxml2$(VBOX_SUFF_LIB)
980endif
981ifndef SDK_VBOX_OPENSSL_LIBS
982 VBoxRT_LIBS += \
983 $(PATH_LIB)/VBox-libcrypto$(VBOX_SUFF_LIB)
984endif
985ifdef IPRT_WITH_LZO
986 VBoxRT_LIBS += lzo2
987endif
988VBoxRT_LIBS.darwin = \
989 iconv
990VBoxRT_LIBS.freebsd = \
991 iconv \
992 rt
993VBoxRT_LIBS.solaris = \
994 kstat smbios
995VBoxRT_LDFLAGS.darwin = -framework IOKit -install_name $(VBOX_DYLD_EXECUTABLE_PATH)/VBoxRT.dylib
996ifdef VBOX_USE_VCC80
997VBoxRT_LDFLAGS.win = /MANIFEST
998endif
999VBoxRT_LDFLAGS.l4 = \
1000 -Wl,-whole-archive \
1001 $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB) \
1002 -Wl,-no-whole-archive
1003ifeq ($(KBUILD_TARGET),l4)
1004VBoxRT_LIBS += \
1005 $(L4_LIBDIR)/libl4sys.a \
1006 $(L4_LIBDIR)/libl4sys.p.a
1007endif
1008VBoxRT_LIBS.l4 = \
1009 $(PATH_LIB)/RuntimeR3L4$(VBOX_SUFF_LIB)
1010
1011if1of ($(DLLS), VBoxRT)
1012$$(VBoxRT_0_OUTDIR)/VBoxRT.def: \
1013 $(PATH_SUB_CURRENT)/r3/win/VBoxRT-$$(if-expr $$(KBUILD_TARGET_ARCH) == amd64,win64,win32).def \
1014 $(PATH_SUB_CURRENT)/r3/win/$(if $(VBOX_OSE),VBoxRT-openssl-ose.def,VBoxRT-openssl.def)
1015 $(RM) -f -- $@
1016 $(REDIRECT) -wto $@ -- $(CAT_EXT) $^
1017endif
1018
1019
1020#
1021# HACK ALLERT! Make testcase run during build on SELinux boxes.
1022# Create a dummy DLL that ensure that VBoxRT is installed
1023# during the DLL pass and cleaned up later.
1024#
1025ifeq ($(KBUILD_TARGET),linux)
1026 if1of (VBoxRT, $(DLLS))
1027 ifneq ($(wildcard /usr/bin/chcon),)
1028VBoxRT_NOINST = true
1029
1030DLLS += VBoxRTDummy
1031VBoxRTDummy_TEMPLATE = VBOXR3
1032VBoxRTDummy_NOINST = true
1033VBoxRTDummy_LIBS = $(PATH_BIN)/VBoxRT.so
1034VBoxRTDummy_CLEAN= $(PATH_BIN)/VBoxRT.so
1035BLDDIRS += $(PATH_BIN)
1036
1037$(PATH_BIN)/VBoxRT.so: $$(TARGET_VBoxRT) | $$(dir $$@)
1038 $(INSTALL) $< $@
1039 chcon -t texrel_shlib_t $@ || true
1040
1041VBoxRT:: VBoxRTDummy
1042 endif # chcon present.
1043 endif # building VBoxRT
1044endif # linux
1045
1046#
1047# RuntimeR3NoCRTGCC - CRT replacement lib for VBoxREM.
1048# This is used together with VBoxRT.
1049#
1050## @todo the *_alias.c stuff is busted, remove and use RT_WITH_NOCRT_ALIASES instead.
1051RuntimeR3NoCRTGCC_TEMPLATE = VBOXNOCRTGCC
1052RuntimeR3NoCRTGCC_LIBSUFF = $(VBOX_SUFF_LIB)
1053RuntimeR3NoCRTGCC_INCS = include
1054RuntimeR3NoCRTGCC_SOURCES = \
1055 common/misc/sanity-cpp.cpp \
1056 common/misc/sanity-c.c \
1057 \
1058 common/math/ceill.asm \
1059 common/math/cosl.asm \
1060 common/math/fabs.asm \
1061 common/math/fabsf.asm \
1062 common/math/fabsl.asm \
1063 common/math/floor.asm \
1064 common/math/floorf.asm \
1065 common/math/floorl.asm \
1066 common/math/ldexpl.asm \
1067 common/math/llrint.asm \
1068 common/math/llrintf.asm \
1069 common/math/llrintl.asm \
1070 common/math/logl.asm \
1071 common/math/lrint.asm \
1072 common/math/lrintf.asm \
1073 common/math/lrintl.asm \
1074 common/math/remainder.asm \
1075 common/math/remainderf.asm \
1076 common/math/remainderl.asm \
1077 common/math/sinl.asm \
1078 common/math/tanl.asm \
1079 common/math/trunc.asm \
1080 common/math/truncf.asm \
1081 common/math/truncl.asm \
1082 \
1083 $(RuntimeNoCrt_SOURCES) \
1084 \
1085 common/string/memchr_alias.c \
1086 common/string/memcmp_alias.c \
1087 common/string/memcpy_alias.c \
1088 common/string/memmove_alias.c \
1089 common/string/memset_alias.c \
1090 common/string/strchr_alias.c \
1091 common/string/strcmp_alias.c \
1092 common/string/strlen_alias.c
1093
1094RuntimeR3NoCRTGCC_SOURCES.x86 = \
1095 common/math/x86/fenv-x86.c \
1096 common/math/gcc/adddi3.c \
1097 common/math/gcc/anddi3.c \
1098 common/math/gcc/ashldi3.c \
1099 common/math/gcc/ashrdi3.c \
1100 common/math/gcc/cmpdi2.c \
1101 common/math/gcc/divdi3.c \
1102 common/math/gcc/iordi3.c \
1103 common/math/gcc/lshldi3.c \
1104 common/math/gcc/lshrdi3.c \
1105 common/math/gcc/moddi3.c \
1106 common/math/gcc/muldi3.c \
1107 common/math/gcc/negdi2.c \
1108 common/math/gcc/notdi2.c \
1109 common/math/gcc/qdivrem.c \
1110 common/math/gcc/subdi3.c \
1111 common/math/gcc/ucmpdi2.c \
1112 common/math/gcc/udivdi3.c \
1113 common/math/gcc/umoddi3.c \
1114 common/math/gcc/xordi3.c
1115
1116
1117## @todo stop using the old memcpy.c and memset.c code.
1118
1119#
1120# RuntimeR0 - Ring-0 library for VMMR0.
1121#
1122RuntimeR0_TEMPLATE = VBoxR0
1123RuntimeR0_DEFS = IN_RT_R0 RT_WITH_VBOX
1124RuntimeR0_INCS = include
1125RuntimeR0_SOURCES = \
1126 common/checksum/crc32.cpp \
1127 common/checksum/crc64.cpp \
1128 common/checksum/md5.cpp \
1129 common/checksum/ipv4.cpp \
1130 common/log/logellipsis.cpp \
1131 common/log/logrelellipsis.cpp \
1132 common/log/logcom.cpp \
1133 common/log/logformat.cpp \
1134 common/misc/RTAssertMsg1Weak.cpp \
1135 common/misc/RTAssertMsg2.cpp \
1136 common/misc/RTAssertMsg2Add.cpp \
1137 common/misc/RTAssertMsg2AddWeak.cpp \
1138 common/misc/RTAssertMsg2AddWeakV.cpp \
1139 common/misc/RTAssertMsg2Weak.cpp \
1140 common/misc/RTAssertMsg2WeakV.cpp \
1141 common/misc/buildconfig.cpp \
1142 common/misc/handletable.cpp \
1143 common/misc/handletablectx.cpp \
1144 common/misc/handletablesimple.cpp \
1145 common/misc/sanity-c.c \
1146 common/misc/sanity-cpp.cpp \
1147 common/misc/term.cpp \
1148 common/string/strformat.cpp \
1149 common/string/strformatrt.cpp \
1150 common/string/strformattype.cpp \
1151 common/string/strncmp.cpp \
1152 common/string/strpbrk.cpp \
1153 common/string/strprintf.cpp \
1154 common/table/avlgcptr.cpp \
1155 common/table/avlhcphys.cpp \
1156 common/table/avllu32.cpp \
1157 common/table/avlogcphys.cpp \
1158 common/table/avlogcptr.cpp \
1159 common/table/avlohcphys.cpp \
1160 common/table/avloioport.cpp \
1161 common/table/avlpv.cpp \
1162 common/table/avlrogcphys.cpp \
1163 common/table/avlrogcptr.cpp \
1164 common/table/avlroioport.cpp \
1165 common/table/avlroogcptr.cpp \
1166 common/table/avlu32.cpp \
1167 common/table/avlou32.cpp \
1168 common/time/timesup.cpp \
1169 generic/RTAssertShouldPanic-generic.cpp \
1170 \
1171 $(RuntimeNoCrt_SOURCES)
1172
1173if1of ($(KBUILD_TARGET), darwin solaris freebsd)
1174RuntimeR0_SOURCES += \
1175 common/math/gcc/adddi3.c \
1176 common/math/gcc/anddi3.c \
1177 common/math/gcc/ashldi3.c \
1178 common/math/gcc/ashrdi3.c \
1179 common/math/gcc/cmpdi2.c \
1180 common/math/gcc/divdi3.c \
1181 common/math/gcc/iordi3.c \
1182 common/math/gcc/lshldi3.c \
1183 common/math/gcc/lshrdi3.c \
1184 common/math/gcc/moddi3.c \
1185 common/math/gcc/muldi3.c \
1186 common/math/gcc/negdi2.c \
1187 common/math/gcc/notdi2.c \
1188 common/math/gcc/qdivrem.c \
1189 common/math/gcc/subdi3.c \
1190 common/math/gcc/ucmpdi2.c \
1191 common/math/gcc/udivdi3.c \
1192 common/math/gcc/umoddi3.c \
1193 common/math/gcc/xordi3.c
1194endif
1195
1196#if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
1197# RuntimeR0_SOURCES += common/time/timesupA.asm
1198#else
1199 RuntimeR0_SOURCES += common/time/timesupref.cpp
1200#endif
1201
1202RuntimeR0_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
1203RuntimeR0_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
1204RuntimeR0_SOURCES.win = \
1205 nt/NtProcessStartup-stub.cpp
1206
1207RuntimeR0_SOURCES.os2 = \
1208 os2/RTErrConvertFromOS2.cpp \
1209 os2/sys0.asm
1210
1211
1212#
1213# RuntimeR0Stub - Ring-0 context startup stub for Windows.
1214#
1215RuntimeR0Stub_TEMPLATE = VBoxR0
1216RuntimeR0Stub_SOURCES.win = \
1217 nt/NtProcessStartup-stub.cpp
1218
1219
1220#
1221# RuntimeR0Drv - Ring-0 library for host drivers.
1222#
1223RuntimeR0Drv_TEMPLATE = VBOXR0DRV
1224RuntimeR0Drv_SDKS.win = W2K3DDK WINPSDKINCS
1225RuntimeR0Drv_DEFS = IN_RT_R0 RT_WITH_VBOX RT_WITHOUT_NOCRT_WRAPPERS RT_NO_EXPORT_SYMBOL
1226RuntimeR0Drv_DEFS.win = IN_SUP_R0
1227RuntimeR0Drv_DEFS.linux = MODULE KBUILD_MODNAME=KBUILD_STR\(vboxdrv\) KBUILD_BASENAME=KBUILD_STR\(vboxdrv\) IN_SUP_R0
1228
1229RuntimeR0Drv_INCS := $(PATH_SUB_CURRENT) include
1230RuntimeR0Drv_INCS.freebsd = \
1231 $(PATH_INS)/gen-sys-hdrs
1232RuntimeR0Drv_INCS.linux = \
1233 r0drv/linux
1234RuntimeR0Drv_INCS.solaris = \
1235 r0drv/solaris/vbi/i86pc \
1236 r0drv/solaris/vbi/i86pc/sys
1237
1238RuntimeR0Drv_SOURCES = \
1239 common/alloc/alloc.cpp \
1240 common/alloc/heapsimple.cpp \
1241 common/alloc/heapoffset.cpp \
1242 common/checksum/crc32.cpp \
1243 common/checksum/crc64.cpp \
1244 common/checksum/md5.cpp \
1245 common/checksum/ipv4.cpp \
1246 common/log/log.cpp \
1247 common/log/logellipsis.cpp \
1248 common/log/logrel.cpp \
1249 common/log/logrelellipsis.cpp \
1250 common/log/logcom.cpp \
1251 common/log/logformat.cpp \
1252 common/misc/RTAssertMsg1Weak.cpp \
1253 common/misc/RTAssertMsg2.cpp \
1254 common/misc/RTAssertMsg2Add.cpp \
1255 common/misc/RTAssertMsg2AddWeak.cpp \
1256 common/misc/RTAssertMsg2AddWeakV.cpp \
1257 common/misc/RTAssertMsg2Weak.cpp \
1258 common/misc/RTAssertMsg2WeakV.cpp \
1259 common/misc/assert.cpp \
1260 common/misc/buildconfig.cpp \
1261 common/misc/handletable.cpp \
1262 common/misc/handletablectx.cpp \
1263 common/misc/handletablesimple.cpp \
1264 common/misc/once.cpp \
1265 common/misc/sanity-c.c \
1266 common/misc/sanity-cpp.cpp \
1267 common/misc/term.cpp \
1268 common/path/rtPathVolumeSpecLen.cpp \
1269 common/path/RTPathAbsDup.cpp \
1270 common/path/RTPathAbsEx.cpp \
1271 common/path/RTPathAbsExDup.cpp \
1272 common/path/RTPathAppend.cpp \
1273 common/path/RTPathExt.cpp \
1274 common/path/RTPathFilename.cpp \
1275 common/path/RTPathHaveExt.cpp \
1276 common/path/RTPathHavePath.cpp \
1277 common/path/RTPathParse.cpp \
1278 common/path/RTPathRealDup.cpp \
1279 common/path/RTPathStripExt.cpp \
1280 common/path/RTPathStripFilename.cpp \
1281 common/path/RTPathStripTrailingSlash.cpp \
1282 common/rand/rand.cpp \
1283 common/rand/randadv.cpp \
1284 common/rand/randparkmiller.cpp \
1285 common/string/RTStrCmp.cpp \
1286 common/string/RTStrNCmp.cpp \
1287 common/string/RTStrNLen.cpp \
1288 common/string/RTStrNLenEx.cpp \
1289 common/string/strformat.cpp \
1290 common/string/strformatrt.cpp \
1291 common/string/strformattype.cpp \
1292 common/string/strprintf.cpp \
1293 common/string/strtonum.cpp \
1294 common/string/stringalloc.cpp \
1295 common/string/utf-16.cpp \
1296 common/string/utf-8.cpp \
1297 common/table/avlpv.cpp \
1298 generic/RTLogWriteStdErr-stub-generic.cpp \
1299 generic/RTLogWriteUser-generic.cpp \
1300 generic/RTRandAdvCreateSystemFaster-generic.cpp \
1301 generic/uuid-generic.cpp \
1302 r0drv/alloc-r0drv.cpp \
1303 r0drv/initterm-r0drv.cpp \
1304 r0drv/generic/semspinmutex-r0drv-generic.c \
1305 VBox/log-vbox.cpp \
1306
1307## @todo: Linking against RuntimeR0Drv on Linux will result in unresolved external
1308## references to several string functions (e.g. strlen). We could include the
1309## missing functions here but our own implementations conflict with declarations
1310## of some Linux kernels (inline versus not inline, size_t versus unsigned int).
1311##
1312## The prototypes for the unresolved externals are declared in <linux/string.h>.
1313## This file is not included with extern "C" { ... } and therefore the function
1314## prototypes are mangled during C++ compilation. That's why we have to provide
1315## implementations with mangled function names.
1316##
1317## bird: Why don't we just extern "C" {} that file then?
1318RuntimeR0Drv_SOURCES.linux = \
1319 common/string/strpbrk.cpp \
1320 common/err/RTErrConvertToErrno.cpp \
1321 common/err/RTErrConvertFromErrno.cpp \
1322 generic/RTAssertShouldPanic-generic.cpp \
1323 generic/RTLogWriteStdOut-stub-generic.cpp \
1324 generic/mppresent-generic.cpp \
1325 r0drv/linux/alloc-r0drv-linux.c \
1326 r0drv/linux/assert-r0drv-linux.c \
1327 r0drv/linux/initterm-r0drv-linux.c \
1328 r0drv/linux/memobj-r0drv-linux.c \
1329 r0drv/linux/memuserkernel-r0drv-linux.c \
1330 r0drv/linux/mp-r0drv-linux.c \
1331 r0drv/linux/mpnotification-r0drv-linux.c \
1332 r0drv/linux/process-r0drv-linux.c \
1333 r0drv/linux/RTLogWriteDebugger-r0drv-linux.c \
1334 r0drv/linux/semevent-r0drv-linux.c \
1335 r0drv/linux/semeventmulti-r0drv-linux.c \
1336 r0drv/linux/semfastmutex-r0drv-linux.c \
1337 r0drv/linux/semmutex-r0drv-linux.c \
1338 r0drv/linux/spinlock-r0drv-linux.c \
1339 r0drv/linux/thread-r0drv-linux.c \
1340 r0drv/linux/thread2-r0drv-linux.c \
1341 r0drv/linux/time-r0drv-linux.c \
1342 r0drv/linux/timer-r0drv-linux.c \
1343 r0drv/memobj-r0drv.cpp \
1344 r0drv/mpnotification-r0drv.c \
1345 r0drv/powernotification-r0drv.c
1346## @todo thread2-r0drv-linux.c and assert-r0drv-linux.c
1347
1348RuntimeR0Drv_SOURCES.win = \
1349 common/misc/thread.cpp \
1350 common/string/memcmp.asm \
1351 common/string/memchr.asm \
1352 common/string/memcpy.asm \
1353 common/string/memset.asm \
1354 common/string/memmove.asm \
1355 common/string/strlen.asm \
1356 common/string/strncmp.cpp \
1357 common/string/strpbrk.cpp \
1358 generic/RTAssertShouldPanic-generic.cpp \
1359 generic/RTLogWriteStdOut-stub-generic.cpp \
1360 generic/mppresent-generic.cpp \
1361 nt/RTErrConvertFromNtStatus.cpp \
1362 r0drv/memobj-r0drv.cpp \
1363 r0drv/mpnotification-r0drv.c \
1364 r0drv/powernotification-r0drv.c \
1365 r0drv/nt/alloc-r0drv-nt.cpp \
1366 r0drv/nt/assert-r0drv-nt.cpp \
1367 r0drv/nt/initterm-r0drv-nt.cpp \
1368 r0drv/nt/memobj-r0drv-nt.cpp \
1369 r0drv/nt/memuserkernel-r0drv-nt.cpp \
1370 r0drv/nt/mp-r0drv-nt.cpp \
1371 r0drv/nt/mpnotification-r0drv-nt.cpp \
1372 r0drv/nt/process-r0drv-nt.cpp \
1373 r0drv/nt/RTLogWriteDebugger-r0drv-nt.cpp \
1374 r0drv/nt/semevent-r0drv-nt.cpp \
1375 r0drv/nt/semeventmulti-r0drv-nt.cpp \
1376 r0drv/nt/semfastmutex-r0drv-nt.cpp \
1377 r0drv/nt/semmutex-r0drv-nt.cpp \
1378 r0drv/nt/spinlock-r0drv-nt.cpp \
1379 r0drv/nt/thread-r0drv-nt.cpp \
1380 r0drv/nt/thread2-r0drv-nt.cpp \
1381 r0drv/nt/time-r0drv-nt.cpp \
1382 r0drv/nt/timer-r0drv-nt.cpp
1383
1384RuntimeR0Drv_SOURCES.win.amd64 = $(RuntimeWin64ASM_SOURCES)
1385RuntimeR0Drv_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
1386
1387RuntimeR0Drv_SOURCES.darwin = \
1388 common/err/RTErrConvertFromErrno.cpp \
1389 common/misc/thread.cpp \
1390 common/string/memchr.asm \
1391 common/string/strpbrk.cpp \
1392 darwin/RTErrConvertFromDarwin.cpp \
1393 darwin/RTErrConvertFromDarwinIO.cpp \
1394 darwin/RTErrConvertFromDarwinKern.cpp \
1395 generic/RTAssertShouldPanic-generic.cpp \
1396 generic/RTTimerCreate-generic.cpp \
1397 generic/mppresent-generic.cpp \
1398 generic/timer-generic.cpp \
1399 r0drv/generic/mpnotification-r0drv-generic.cpp \
1400 r0drv/darwin/alloc-r0drv-darwin.cpp \
1401 r0drv/darwin/assert-r0drv-darwin.cpp \
1402 r0drv/darwin/initterm-r0drv-darwin.cpp \
1403 r0drv/darwin/memobj-r0drv-darwin.cpp \
1404 r0drv/darwin/mp-r0drv-darwin.cpp \
1405 r0drv/darwin/memuserkernel-r0drv-darwin.cpp \
1406 r0drv/darwin/process-r0drv-darwin.cpp \
1407 r0drv/darwin/RTLogWriteDebugger-r0drv-darwin.cpp \
1408 r0drv/darwin/RTLogWriteStdOut-r0drv-darwin.cpp \
1409 r0drv/darwin/semaphore-r0drv-darwin.cpp \
1410 r0drv/darwin/spinlock-r0drv-darwin.cpp \
1411 r0drv/darwin/thread-r0drv-darwin.cpp \
1412 r0drv/darwin/thread2-r0drv-darwin.cpp \
1413 r0drv/darwin/threadpreempt-r0drv-darwin.cpp \
1414 r0drv/darwin/time-r0drv-darwin.cpp \
1415 r0drv/memobj-r0drv.cpp \
1416 r0drv/powernotification-r0drv.c
1417
1418RuntimeR0Drv_SOURCES.os2 = \
1419 common/string/memchr.asm \
1420 common/string/memcmp.asm \
1421 common/string/memcpy.asm \
1422 common/string/mempcpy.asm \
1423 common/string/memmove.asm \
1424 common/string/memset.asm \
1425 common/string/strchr.asm \
1426 common/string/strcmp.asm \
1427 common/string/strcpy.asm \
1428 common/string/strlen.asm \
1429 \
1430 common/string/strncmp.cpp \
1431 common/string/strpbrk.cpp \
1432 \
1433 common/misc/thread.cpp \
1434 generic/RTAssertShouldPanic-generic.cpp \
1435 generic/RTLogWriteDebugger-generic.cpp \
1436 generic/RTLogWriteStdOut-stub-generic.cpp \
1437 generic/RTMpCpuId-generic.cpp \
1438 generic/RTMpCpuIdFromSetIndex-generic.cpp \
1439 generic/RTMpCpuIdToSetIndex-generic.cpp \
1440 generic/RTMpIsCpuPossible-generic.cpp \
1441 generic/RTMpGetCount-generic.cpp \
1442 generic/RTMpGetMaxCpuId-generic.cpp \
1443 generic/RTMpGetOnlineCount-generic.cpp \
1444 generic/RTMpGetOnlineSet-generic.cpp \
1445 generic/RTMpGetSet-generic.cpp \
1446 generic/RTMpIsCpuOnline-generic.cpp \
1447 generic/RTTimerCreate-generic.cpp \
1448 generic/mppresent-generic.cpp \
1449 os2/RTErrConvertFromOS2.cpp \
1450 os2/sys0.asm \
1451 r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
1452 r0drv/generic/RTMpOn-r0drv-generic.cpp \
1453 r0drv/generic/mpnotification-r0drv-generic.cpp \
1454 r0drv/memobj-r0drv.cpp \
1455 r0drv/powernotification-r0drv.c \
1456 r0drv/os2/alloc-r0drv-os2.cpp \
1457 r0drv/os2/assert-r0drv-os2.cpp \
1458 r0drv/os2/assertA-r0drv-os2.asm \
1459 r0drv/os2/initterm-r0drv-os2.cpp \
1460 r0drv/os2/memobj-r0drv-os2.cpp \
1461 r0drv/os2/memuserkernel-r0drv-os2.cpp \
1462 r0drv/os2/os2imports.imp \
1463 r0drv/os2/process-r0drv-os2.cpp \
1464 r0drv/os2/RTR0AssertPanicSystem-r0drv-os2.asm \
1465 r0drv/os2/RTR0Os2DHQueryDOSVar.asm \
1466 r0drv/os2/RTR0Os2DHVMGlobalToProcess.asm \
1467 r0drv/os2/semevent-r0drv-os2.cpp \
1468 r0drv/os2/semeventmulti-r0drv-os2.cpp \
1469 r0drv/os2/semfastmutex-r0drv-os2.cpp \
1470 r0drv/os2/spinlock-r0drv-os2.cpp \
1471 r0drv/os2/thread-r0drv-os2.cpp \
1472 r0drv/os2/thread2-r0drv-os2.cpp \
1473 r0drv/os2/time-r0drv-os2.cpp \
1474 r0drv/os2/timer-r0drv-os2.cpp \
1475 r0drv/os2/timerA-r0drv-os2.asm
1476
1477RuntimeR0Drv_SOURCES.freebsd = \
1478 common/err/RTErrConvertFromErrno.cpp \
1479 common/err/RTErrConvertToErrno.cpp \
1480 common/misc/thread.cpp \
1481 common/string/memchr.asm \
1482 common/string/memmove.asm \
1483 common/string/strpbrk.cpp \
1484 common/string/memcmp.asm \
1485 common/string/strchr.asm \
1486 generic/RTAssertShouldPanic-generic.cpp \
1487 generic/RTLogWriteDebugger-generic.cpp \
1488 generic/RTLogWriteStdOut-stub-generic.cpp \
1489 generic/RTTimerCreate-generic.cpp \
1490 generic/mppresent-generic.cpp \
1491 r0drv/generic/RTMpIsCpuWorkPending-r0drv-generic.cpp \
1492 r0drv/generic/mpnotification-r0drv-generic.cpp \
1493 r0drv/freebsd/alloc-r0drv-freebsd.c \
1494 r0drv/freebsd/assert-r0drv-freebsd.c \
1495 r0drv/freebsd/initterm-r0drv-freebsd.c \
1496 r0drv/freebsd/memobj-r0drv-freebsd.c \
1497 r0drv/freebsd/memuserkernel-r0drv-freebsd.c \
1498 r0drv/freebsd/process-r0drv-freebsd.c \
1499 r0drv/freebsd/semevent-r0drv-freebsd.c \
1500 r0drv/freebsd/semeventmulti-r0drv-freebsd.c \
1501 r0drv/freebsd/semfastmutex-r0drv-freebsd.c \
1502 r0drv/freebsd/spinlock-r0drv-freebsd.c \
1503 r0drv/freebsd/thread-r0drv-freebsd.c \
1504 r0drv/freebsd/thread2-r0drv-freebsd.c \
1505 r0drv/freebsd/time-r0drv-freebsd.c \
1506 r0drv/freebsd/mp-r0drv-freebsd.c \
1507 generic/timer-generic.cpp \
1508 r0drv/memobj-r0drv.cpp \
1509 r0drv/powernotification-r0drv.c
1510
1511RuntimeR0Drv_SOURCES.solaris = \
1512 common/err/RTErrConvertFromErrno.cpp \
1513 common/err/RTErrConvertToErrno.cpp \
1514 common/misc/thread.cpp \
1515 common/string/memchr.asm \
1516 generic/RTAssertShouldPanic-generic.cpp \
1517 generic/RTLogWriteStdOut-stub-generic.cpp \
1518 generic/RTTimerCreate-generic.cpp \
1519 generic/mppresent-generic.cpp \
1520 r0drv/memobj-r0drv.cpp \
1521 r0drv/mpnotification-r0drv.c \
1522 r0drv/powernotification-r0drv.c \
1523 r0drv/solaris/RTLogWriteDebugger-r0drv-solaris.c \
1524 r0drv/solaris/assert-r0drv-solaris.c \
1525 r0drv/solaris/initterm-r0drv-solaris.c \
1526 r0drv/solaris/memuserkernel-r0drv-solaris.c \
1527 r0drv/solaris/semevent-r0drv-solaris.c \
1528 r0drv/solaris/semeventmulti-r0drv-solaris.c \
1529 r0drv/solaris/semfastmutex-r0drv-solaris.c \
1530 r0drv/solaris/spinlock-r0drv-solaris.c
1531
1532 # VBI is now compiled into IPRT
1533 RuntimeR0Drv_SOURCES.solaris += \
1534 r0drv/solaris/vbi/RTMpPokeCpu-r0drv-solaris.c \
1535 r0drv/solaris/vbi/mpnotification-r0drv-solaris.c \
1536 r0drv/solaris/vbi/alloc-r0drv-solaris.c \
1537 r0drv/solaris/vbi/memobj-r0drv-solaris.c \
1538 r0drv/solaris/vbi/mp-r0drv-solaris.c \
1539 r0drv/solaris/vbi/process-r0drv-solaris.c \
1540 r0drv/solaris/vbi/thread-r0drv-solaris.c \
1541 r0drv/solaris/vbi/thread2-r0drv-solaris.c \
1542 r0drv/solaris/vbi/time-r0drv-solaris.c \
1543 r0drv/solaris/vbi/timer-r0drv-solaris.c \
1544 r0drv/solaris/vbi/i86pc/os/vbi.c
1545
1546
1547## PORTME: Porters create and add their selection of platform specific Ring-0 Driver files here.
1548
1549RuntimeR0Drv_ORDERDEPS.freebsd = \
1550 $(PATH_INS)/gen-sys-hdrs/bus_if.h \
1551 $(PATH_INS)/gen-sys-hdrs/device_if.h
1552
1553
1554#
1555# RuntimeGuestR0 - Guest driver runtime.
1556# This is almost the same as the RuntimeR0Drv, the main difference
1557# is in the backdoor logging and the lack of sup.h (which should be
1558# made irrelevant even for RuntimeR0Drv).
1559#
1560RuntimeGuestR0_TEMPLATE := VBOXGUESTR0LIB
1561RuntimeGuestR0_SOURCES := $(filter-out generic/RTLogWriteUser-generic.cpp, $(RuntimeR0Drv_SOURCES))
1562RuntimeGuestR0_SOURCES += \
1563 VBox/logbackdoor.cpp
1564RuntimeGuestR0_EXTENDS = RuntimeR0Drv
1565
1566
1567#
1568# RuntimeGuestR0NT4 - Win32 NT4 guest driver runtime.
1569#
1570RuntimeGuestR0NT4_EXTENDS = RuntimeGuestR0
1571RuntimeGuestR0NT4_EXTENDS_BY = appending
1572RuntimeGuestR0NT4_DEFS = IPRT_TARGET_NT4
1573
1574
1575ifdef VBOX_WITH_RAW_MODE
1576 #
1577 # RuntimeRC - Raw-mode context library.
1578 #
1579 RuntimeRC_TEMPLATE = VBoxRc
1580 RuntimeRC_DEFS = IN_RT_RC RT_WITH_VBOX
1581 RuntimeRC_INCS = include
1582 RuntimeRC_SOURCES = \
1583 common/log/log.cpp \
1584 common/log/logellipsis.cpp \
1585 common/log/logrel.cpp \
1586 common/log/logrelellipsis.cpp \
1587 common/log/logcom.cpp \
1588 common/log/logformat.cpp \
1589 common/misc/RTAssertMsg1Weak.cpp \
1590 common/misc/RTAssertMsg2.cpp \
1591 common/misc/RTAssertMsg2Add.cpp \
1592 common/misc/RTAssertMsg2AddWeak.cpp \
1593 common/misc/RTAssertMsg2AddWeakV.cpp \
1594 common/misc/RTAssertMsg2Weak.cpp \
1595 common/misc/RTAssertMsg2WeakV.cpp \
1596 common/misc/assert.cpp \
1597 common/misc/buildconfig.cpp \
1598 common/misc/sanity-c.c \
1599 common/misc/sanity-cpp.cpp \
1600 common/string/strformat.cpp \
1601 common/string/strformatrt.cpp \
1602 common/string/strformattype.cpp \
1603 common/string/strncmp.cpp \
1604 common/string/strpbrk.cpp \
1605 common/string/strprintf.cpp \
1606 common/table/avllu32.cpp \
1607 common/table/avlou32.cpp \
1608 common/table/avlogcphys.cpp \
1609 common/table/avlogcptr.cpp \
1610 common/table/avlohcphys.cpp \
1611 common/table/avloioport.cpp \
1612 common/table/avlrogcphys.cpp \
1613 common/table/avlrogcptr.cpp \
1614 common/table/avlroioport.cpp \
1615 common/table/avlroogcptr.cpp \
1616 common/table/avlu32.cpp \
1617 common/time/timeprog.cpp \
1618 common/time/timesup.cpp \
1619 gc/initterm-gc.cpp \
1620 generic/RTAssertShouldPanic-generic.cpp \
1621 \
1622 $(RuntimeNoCrt_SOURCES)
1623
1624 #if1of ($(KBUILD_TARGET_ARCH),amd64 x86)
1625 # RuntimeRC_SOURCES += common/time/timesupA.asm
1626 #else
1627 RuntimeRC_SOURCES += common/time/timesupref.cpp
1628 #endif
1629
1630 RuntimeRC_SOURCES.win.x86 = $(RuntimeWin32ASM_SOURCES)
1631
1632 ifeq ($(VBOX_LDR_FMT32),lx)
1633 RuntimeRC_SOURCES += os2/sys0.asm
1634 endif
1635
1636 if1of ($(KBUILD_TARGET), darwin solaris freebsd)
1637 RuntimeRC_SOURCES += \
1638 common/math/gcc/adddi3.c \
1639 common/math/gcc/anddi3.c \
1640 common/math/gcc/ashldi3.c \
1641 common/math/gcc/ashrdi3.c \
1642 common/math/gcc/cmpdi2.c \
1643 common/math/gcc/divdi3.c \
1644 common/math/gcc/iordi3.c \
1645 common/math/gcc/lshldi3.c \
1646 common/math/gcc/lshrdi3.c \
1647 common/math/gcc/moddi3.c \
1648 common/math/gcc/muldi3.c \
1649 common/math/gcc/negdi2.c \
1650 common/math/gcc/notdi2.c \
1651 common/math/gcc/qdivrem.c \
1652 common/math/gcc/subdi3.c \
1653 common/math/gcc/ucmpdi2.c \
1654 common/math/gcc/udivdi3.c \
1655 common/math/gcc/umoddi3.c \
1656 common/math/gcc/xordi3.c
1657 endif
1658
1659
1660 #
1661 # RuntimeRCStub - Raw-mode context startup stub for Windows.
1662 #
1663 RuntimeRCStub_TEMPLATE = VBoxRc
1664 RuntimeRCStub_SOURCES.win = \
1665 nt/NtProcessStartup-stub.cpp
1666
1667
1668endif # VBOX_WITH_RAW_MODE
1669
1670
1671#
1672# Static library for new & delete for the electric fence.
1673#
1674RuntimeEFCPP_TEMPLATE = $(RuntimeR3_TEMPLATE)
1675RuntimeEFCPP_SDKS = $(RuntimeR3_SDKS)
1676RuntimeEFCPP_SDKS.$(KBUILD_TARGET) = $(RuntimeR3_SDKS.$(KBUILD_TARGET))
1677RuntimeEFCPP_DEFS = $(RuntimeR3_DEFS)
1678RuntimeEFCPP_DEFS.$(KBUILD_TARGET) = $(RuntimeR3_DEFS.$(KBUILD_TARGET))
1679RuntimeEFCPP_INCS = $(RuntimeR3_INCS)
1680RuntimeEFCPP_INCS.$(KBUILD_TARGET) = $(RuntimeR3_INCS.$(KBUILD_TARGET))
1681RuntimeEFCPP_SOURCES = r3/alloc-ef-cpp.cpp
1682
1683
1684
1685#
1686# errmsg.cpp depends on a generated header.
1687#
1688common/err/errmsg.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgdata.h
1689common/err/errmsg.cpp_INCS = $(IPRT_OUT_DIR)
1690
1691win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgcomdata.h
1692win/errmsgwin.cpp_INCS = $(IPRT_OUT_DIR)
1693
1694# Our COM errors only for R3 libraries on the host
1695define def_errmsgwin_deps
1696 $(lib)_win/errmsgwin.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
1697 $(lib)_common/err/errmsgxpcom.cpp_INCS = $(IPRT_OUT_DIR)
1698 $(lib)_common/err/errmsgxpcom.cpp_DEPS = $(IPRT_OUT_DIR)/errmsgvboxcomdata.h
1699endef
1700$(foreach lib,RuntimeR3 VBoxRT RuntimeLnxHostR3,$(eval $(def_errmsgwin_deps)))
1701
1702
1703#
1704# Generate the status code data.
1705#
1706$(IPRT_OUT_DIR)/errmsgdata.h: \
1707 $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsg.sed \
1708 $(PATH_ROOT)/include/iprt/err.h \
1709 $(PATH_ROOT)/include/VBox/err.h \
1710 | $$(dir $$@)
1711 $(call MSG_GENERATE,,$@,$(filter %.h,$^))
1712 $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
1713
1714## @todo r=bird: rename this to indicate that it's not only COM errors, but all win32/64 errors.
1715$(IPRT_OUT_DIR)/errmsgcomdata.h: \
1716 $(VBOX_PATH_RUNTIME_SRC)/common/err/errmsgcom.sed \
1717 $$(PATH_SDK_WINPSDK_INC)/WinError.h \
1718 | $$(dir $$@)
1719 $(call MSG_GENERATE,,$@,$(filter %.h,$^))
1720 $(QUIET)$(REDIRECT) -wo $@ -- $(SED) -f $< $(filter %.h,$^)
1721
1722$(IPRT_OUT_DIR)/errmsgvboxcomdata.h: \
1723 $(VBOX_PATH_RUNTIME_SRC)/VBox/errmsgvboxcom.xsl \
1724 $(VBOX_XIDL_FILE_SRC) \
1725 | $$(dir $$@)
1726 $(call MSG_GENERATE,,$@,$(filter %.xidl,$^))
1727 $(VBOX_XSLTPROC) -o $@ $< $(filter %.xidl,$^)
1728
1729
1730if "$(KBUILD_TARGET)" == "freebsd"
1731#
1732# FreeBSDGeneratedKernelHeaders - Generate some kernel interface headers.
1733#
1734# These are used by:
1735# - The RTMp* API in IPRT.
1736# - VBoxGuest
1737#
1738# Note! We cannot give a output path to the awk program, it will always
1739# generate the header next to the source. So, we'll have to temporarily copy
1740# the source file to the destination directory to work.
1741#
1742VBOX_AWK := /usr/bin/awk
1743INSTALLS += FreeBSDGeneratedKernelHeaders
1744FreeBSDGeneratedKernelHeaders_INST = gen-sys-hdrs/
1745FreeBSDGeneratedKernelHeaders_SOURCES = \
1746 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h \
1747 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h \
1748 $(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h
1749FreeBSDGeneratedKernelHeaders_CLEAN = $(FreeBSDGeneratedKernelHeaders_SOURCES)
1750
1751$$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/bus_if.h: $(VBOX_FREEBSD_SRC)/kern/bus_if.m | $$(dir $$@)
1752 $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
1753 $(QUIET)$(CP) -f $< $(@D)/bus_if.m
1754 $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/bus_if.m -h -p
1755 $(QUIET)$(RM) $(@D)/bus_if.m
1756
1757$$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/device_if.h: $(VBOX_FREEBSD_SRC)/kern/device_if.m | $$(dir $$@)
1758 $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
1759 $(QUIET)$(CP) -f $< $(@D)/device_if.m
1760 $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/device_if.m -h -p
1761 $(QUIET)$(RM) $(@D)/device_if.m
1762
1763$$(FreeBSDGeneratedKernelHeaders_0_OUTDIR)/pci_if.h: $(VBOX_FREEBSD_SRC)/dev/pci/pci_if.m | $$(dir $$@)
1764 $(call MSG_TOOL,awk,FreeBSDGeneratedKernelHeaders,$<,$@)
1765 $(QUIET)$(CP) -f $< $(@D)/pci_if.m
1766 $(QUIET)$(VBOX_AWK) -f $(VBOX_FREEBSD_SRC)/tools/makeobjops.awk $(@D)/pci_if.m -h -p
1767 $(QUIET)$(RM) $(@D)/pci_if.m
1768endif # FreeBSD
1769
1770
1771#
1772# Aliases for .cpp.h files so we can more easily do syntax checking from the editor.
1773#
1774ldrELFRelocatable.cpp.o: ldrELF.o
1775ldrELFRelocatable.cpp.obj: ldrELF.obj
1776
1777
1778#
1779# Doxygen documentation.
1780#
1781IPRT_DOXYFILE_INPUT_DIRS = \
1782 $(PATH_ROOT)/include/iprt \
1783 $(PATH_ROOT)/include/iprt/cpp \
1784 $(PATH_ROOT)/include/iprt/linux \
1785 $(PATH_ROOT)/include/iprt/nocrt \
1786 $(PATH_ROOT)/include/iprt/nocrt/x86 \
1787 $(PATH_ROOT)/include/iprt/nocrt/amd64 \
1788 $(PATH_ROOT)/include/iprt/nocrt/compiler \
1789 $(VBOX_PATH_RUNTIME_SRC)/include/internal \
1790 $(VBOX_PATH_RUNTIME_SRC)/common/alloc \
1791 $(VBOX_PATH_RUNTIME_SRC)/common/asm \
1792 $(VBOX_PATH_RUNTIME_SRC)/common/checksum \
1793 $(VBOX_PATH_RUNTIME_SRC)/common/dbg \
1794 $(VBOX_PATH_RUNTIME_SRC)/common/err \
1795 $(VBOX_PATH_RUNTIME_SRC)/common/ldr \
1796 $(VBOX_PATH_RUNTIME_SRC)/common/log \
1797 $(VBOX_PATH_RUNTIME_SRC)/common/math \
1798 $(VBOX_PATH_RUNTIME_SRC)/common/math/amd64 \
1799 $(VBOX_PATH_RUNTIME_SRC)/common/math/gcc \
1800 $(VBOX_PATH_RUNTIME_SRC)/common/math/x86 \
1801 $(VBOX_PATH_RUNTIME_SRC)/common/misc \
1802 $(VBOX_PATH_RUNTIME_SRC)/common/path \
1803 $(VBOX_PATH_RUNTIME_SRC)/common/rand \
1804 $(VBOX_PATH_RUNTIME_SRC)/common/string \
1805 $(VBOX_PATH_RUNTIME_SRC)/common/table \
1806 $(VBOX_PATH_RUNTIME_SRC)/common/time \
1807 $(VBOX_PATH_RUNTIME_SRC)/VBox \
1808 $(foreach dir, $(VBOX_PATH_RUNTIME_SRC) $(VBOX_PATH_RUNTIME_SRC)/r3 $(VBOX_PATH_RUNTIME_SRC)/r0drv,\
1809 $(dir) \
1810 $(dir)/darwin \
1811 $(dir)/l4 \
1812 $(dir)/linux \
1813 $(dir)/nt \
1814 $(dir)/os2 \
1815 $(dir)/win \
1816 $(dir)/win32 \
1817 $(dir)/win64 \
1818 $(dir)/generic \
1819 )
1820
1821# These must come first in order to make things look nice.
1822IPRT_DOXYFILE_INPUT_FIRST =\
1823 $(PATH_ROOT)/include/iprt/cdefs.h \
1824 $(PATH_ROOT)/include/iprt/types.h \
1825 $(PATH_ROOT)/include/iprt/runtime.h \
1826 $(PATH_ROOT)/include/iprt/param.h \
1827 $(PATH_ROOT)/include/iprt/assert.h \
1828 $(PATH_ROOT)/include/iprt/asm.h \
1829
1830IPRT_DOXYFILE_INPUT := \
1831 $(filter-out %.cpp.h, $(sort $(wildcard $(addsuffix /*.h, $(IPRT_DOXYFILE_INPUT_DIRS)))) ) \
1832 $(foreach dir, $(IPRT_DOXYFILE_INPUT_DIRS), $(wildcard $(dir)/*.cpp $(dir)/.c $(dir)/.asm))
1833IPRT_DOXYFILE_INPUT := \
1834 $(IPRT_DOXYFILE_INPUT_FIRST) \
1835 $(filter-out $(IPRT_DOXYFILE_INPUT_FIRST), $(IPRT_DOXYFILE_INPUT))
1836
1837
1838IPRT_DOXYFILE_OUTPUT = $(PATH_OUT)/docs/iprt
1839BLDDIRS += $(IPRT_DOXYFILE_OUTPUT)
1840
1841includedep $(IPRT_OUT_DIR)/Doxyfile.iprt.dep
1842
1843# Generate the Doxyfile
1844$(IPRT_OUT_DIR)/Doxyfile.iprt: \
1845 $(VBOX_PATH_RUNTIME_SRC)/Doxyfile \
1846 $(VBOX_PATH_RUNTIME_SRC)/Makefile.kmk \
1847 $(comp-vars IPRT_DOXYFILE_INPUT,DOXYGEN_INPUT_PREV,FORCE) \
1848 $(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE) \
1849 | $$(dir $$@)
1850 $(RM) -f $@ [email protected] [email protected]
1851 $(CP) -f $(VBOX_PATH_RUNTIME_SRC)/Doxyfile [email protected]
1852 $(APPEND) [email protected]
1853 $(APPEND) [email protected] "OUTPUT_DIRECTORY = $(IPRT_DOXYFILE_OUTPUT)"
1854 $(APPEND) [email protected] "WARN_LOGFILE = $(IPRT_DOXYFILE_OUTPUT)/errors"
1855 $(APPEND) [email protected] "INCLUDE_PATH = $(PATH_ROOT)/include include . common/table"
1856 $(APPEND) [email protected] "INCLUDE_FILE_PATTERNS = *.cpp.h"
1857 $(APPEND) [email protected] "PREDEFINED += $(ARCH_BITS_DEFS)"
1858 $(APPEND) [email protected]
1859 $(APPEND) [email protected] "INPUT = $(IPRT_DOXYFILE_INPUT)"
1860 $(APPEND) [email protected]
1861 $(MV) -f [email protected] $@
1862 @$(APPEND) [email protected] "DOXYGEN_OUTPUT_PREV = $(IPRT_DOXYFILE_OUTPUT)"
1863 @$(APPEND) [email protected] "DOXYGEN_INPUT_PREV = $(IPRT_DOXYFILE_INPUT)"
1864
1865# Do the actual job.
1866$(IPRT_OUT_DIR)/docs.iprt: $(IPRT_OUT_DIR)/Doxyfile.iprt $$(IPRT_DOXYFILE_INPUT) | $(IPRT_DOXYFILE_OUTPUT)/
1867 $(RM) -f $(wildcard $(IPRT_DOXYFILE_OUTPUT)/html/*) $(IPRT_OUT_DIR)/docs.iprt
1868 doxygen $(IPRT_OUT_DIR)/Doxyfile.iprt
1869 $(APPEND) $(IPRT_OUT_DIR)/docs.iprt
1870
1871# aliases
1872docs.iprt: $(IPRT_OUT_DIR)/docs.iprt
1873if !defined(VBOX_ONLY_DOCS) && defined(VBOX_WITH_ALL_DOXYGEN_TARGETS)
1874docs: $(IPRT_OUT_DIR)/docs.iprt
1875endif
1876
1877test-doxygen::
1878 @echo test-$(comp-vars IPRT_DOXYFILE_OUTPUT,DOXYGEN_OUTPUT_PREV,FORCE)
1879 @echo $(IPRT_DOXYFILE_OUTPUT)
1880 @echo $(DOXYGEN_OUTPUT_PREV)
1881 @echo $(IPRT_DOXYFILE_INPUT)
1882
1883#
1884# Generate the rules (we're the to sub-makefile).
1885#
1886include $(KBUILD_PATH)/subfooter.kmk
1887
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette