Changeset 6536 in vbox
- Timestamp:
- Jan 28, 2008 7:44:43 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27563
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r6361 r6536 34 34 # 35 35 ifeq ($(BUILD_TARGET),linux) 36 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 36 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 RuntimeLnx32GuestR3Shared 37 37 else ifeq ($(BUILD_TARGET),os2) 38 38 LIBRARIES = RuntimeOS2GuestR0 RuntimeOS2GuestR3 #RuntimeOS2Warp3GuestR0 … … 40 40 LIBRARIES = RuntimeW32GuestR0 RuntimeW32GuestR3 RuntimeW32NT4GuestR0 41 41 else 42 LIBRARIES = RuntimeGuestR0 RuntimeGuestR3 42 LIBRARIES = RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Shared 43 43 #LIBRARIES.os2 = RuntimeOS2Warp3GuestR0 44 44 #LIBRARIES.win = RuntimeW32NT4GuestR0 … … 49 49 # 50 50 else ifdef VBOX_ADDITIONS_LINUX_ONLY 51 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 51 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 RuntimeLnx32GuestR3Shared 52 52 else ifdef VBOX_ADDITIONS_WIN32_ONLY 53 53 LIBRARIES = RuntimeW32GuestR0 RuntimeW32GuestR3 RuntimeW32NT4GuestR0 … … 68 68 endif 69 69 ifdef VBOX_WITH_LINUX_ADDITIONS 70 LIBRARIES += RuntimeLnx32GuestR3 70 LIBRARIES += RuntimeLnx32GuestR3 RuntimeLnx32GuestR3Shared 71 71 ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0 72 72 LIBRARIES += RuntimeLnx32GuestR0 … … 78 78 endif 79 79 else 80 LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 80 LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Shared 81 81 endif 82 82 #LIBRARIES.os2 = RuntimeOS2Warp3GuestR0 … … 456 456 ## PORTME: Porters add their selection of platform specific files for Ring-3 here. 457 457 458 RuntimeR3Shared_SOURCES = \ 459 common/err/errmsg.cpp \ 460 common/err/RTErrConvertFromErrno.cpp \ 461 common/log/logformat.cpp \ 462 common/misc/assert.cpp \ 463 common/misc/sanity-c.c \ 464 common/misc/sanity-cpp.cpp \ 465 common/string/strformat.cpp \ 466 common/string/strformatrt.cpp \ 467 common/string/string.cpp \ 468 common/string/strprintf.cpp \ 469 common/string/unidata.cpp \ 470 common/string/utf-8.cpp \ 471 common/string/utf-16.cpp \ 472 generic/pathhost-generic.cpp \ 473 generic/RTAssertDoBreakpoint-generic.cpp \ 474 r3/alloc.cpp \ 475 r3/fileio.cpp \ 476 r3/fs.cpp \ 477 r3/path.cpp 478 479 # VBox specific stuff. 480 RuntimeR3Shared_SOURCES += \ 481 VBox/strformat-vbox.cpp 482 483 RuntimeR3Shared_SOURCES.linux = \ 484 r3/posix/fileio-posix.cpp \ 485 r3/posix/path-posix.cpp \ 486 r3/posix/utf8-posix.cpp 487 488 489 RuntimeR3Shared_SOURCES.solaris = \ 490 r3/posix/fileio-posix.cpp \ 491 r3/posix/path-posix.cpp \ 492 r3/posix/utf8-posix.cpp 493 458 494 459 495 # … … 523 559 524 560 # 561 # RuntimeGuestR3Shared - Guest Additions Runtime (static) which does not require initialisation. 562 # 563 RuntimeGuestR3Shared_TEMPLATE := VBOXGUESTR3LIB 564 RuntimeGuestR3Shared_SDKS.win := $(RuntimeR3_SDKS.win) 565 RuntimeGuestR3Shared_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS)) \ 566 VBOX_SHARED_RUNTIME 567 RuntimeGuestR3Shared_DEFS.$(BUILD_TARGET) := $(RuntimeR3_DEFS.$(BUILD_TARGET)) 568 RuntimeGuestR3Shared_INCS := $(RuntimeR3_INCS) 569 RuntimeGuestR3Shared_INCS.$(BUILD_TARGET) := $(RuntimeR3_INCS.$(BUILD_TARGET)) 570 RuntimeGuestR3Shared_SOURCES := $(filter-out \ 571 generic/RTLogWriteUser-generic.cpp \ 572 , $(RuntimeR3Shared_SOURCES)) 573 RuntimeGuestR3Shared_SOURCES += \ 574 VBox/logbackdoor.cpp \ 575 VBox/logbackdoor-redirect.cpp 576 RuntimeGuestR3Shared_SOURCES.$(BUILD_TARGET) := $(RuntimeR3Shared_SOURCES.$(BUILD_TARGET)) 577 RuntimeGuestR3Shared_SOURCES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH) := $(RuntimeR3Shared_SOURCES.$(BUILD_TARGET).$(BUILD_TARGET_ARCH)) 578 579 580 # 525 581 # RuntimeW32GuestR3 - Win32 guest program runtime. 526 582 # … … 546 602 RuntimeLnx32GuestR3_SOURCES += VBox/logbackdoor.cpp 547 603 RuntimeLnx32GuestR3_INCS = $(RuntimeR3_INCS.linux) $(RuntimeR3_INCS) 604 605 606 # 607 # RuntimeLnx32GuestR3Shared - 32-bit Linux guest program runtime which does not require 608 # initialisation. 609 # 610 RuntimeLnx32GuestR3Shared_TEMPLATE = VBOXLNX32GUESTR3LIB 611 RuntimeLnx32GuestR3Shared_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 \ 612 LDR_WITH_PE RT_WITH_VBOX VBOX_SHARED_RUNTIME 613 ifdef IPRT_WITH_KSTUFF 614 RuntimeLnx32GuestR3Shared_DEFS += LDR_WITH_KLDR 615 endif 616 RuntimeLnx32GuestR3Shared_SOURCES = $(RuntimeR3Shared_SOURCES.linux) $(RuntimeR3Shared_SOURCES) 617 RuntimeLnx32GuestR3Shared_SOURCES += \ 618 VBox/logbackdoor.cpp \ 619 VBox/logbackdoor-redirect.cpp 620 RuntimeLnx32GuestR3Shared_INCS = $(RuntimeR3_INCS.linux) $(RuntimeR3_INCS) 548 621 549 622 -
trunk/src/VBox/Runtime/VBox/strformat-vbox.cpp
r5999 r6536 139 139 */ 140 140 case 't': 141 #if def IN_RING3/* we don't want this anywhere else yet. */141 #if defined(IN_RING3) && !defined(VBOX_SHARED_RUNTIME) /* we don't want this anywhere else yet. */ 142 142 return RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "%#x\n", RTThreadSelf()); 143 143 #else /* !IN_RING3 */ -
trunk/src/VBox/Runtime/r3/path.cpp
r5999 r6536 553 553 } 554 554 555 #ifndef VBOX_SHARED_RUNTIME 555 556 556 557 /** … … 685 686 #endif 686 687 } 688 689 #endif /* !VBOX_SHARED_RUNTIME */ -
trunk/src/VBox/Runtime/r3/posix/path-posix.cpp
r5999 r6536 401 401 402 402 403 #ifndef VBOX_SHARED_RUNTIME 404 403 405 RTDECL(int) RTPathProgram(char *pszPath, unsigned cchPath) 404 406 { … … 487 489 } 488 490 491 #endif /* !VBOX_SHARED_RUNTIME */ 489 492 490 493 #ifndef RT_OS_L4
Note:
See TracChangeset
for help on using the changeset viewer.