Changeset 6553 in vbox
- Timestamp:
- Jan 29, 2008 2:19:25 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 27584
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/Makefile.kmk
r6539 r6553 29 29 VBOX_LIB_VBGL_R3 := $(PATH_LIB)/VBoxGuestR3LibLinux.a 30 30 VBOX_LIB_VBGL_R3_XFREE86 := $(PATH_LIB)/VBoxGuestR3LibLinuxXFree86.a 31 VBOX_LIB_IPRT_GUEST_R3 := $(PATH_LIB)/RuntimeLnx32GuestR3Shared.a32 31 33 32 vboxvideo_drv_TEMPLATE = VBOXLNX32GUESTR3EXE … … 127 126 vboxvideo_drv_70_LIBS = \ 128 127 $(VBOX_LIB_VBGL_R3) \ 129 $(VBOX_LIB_IPRT_GUEST_ R3) \128 $(VBOX_LIB_IPRT_GUEST_MINI_R3) \ 130 129 $(VBOX_LIB_VBGL_R3) 131 130 … … 143 142 vboxvideo_drv_71_LIBS = \ 144 143 $(VBOX_LIB_VBGL_R3) \ 145 $(VBOX_LIB_IPRT_GUEST_ R3) \144 $(VBOX_LIB_IPRT_GUEST_MINI_R3) \ 146 145 $(VBOX_LIB_VBGL_R3) 147 146 … … 159 158 vboxvideo_drv_13_LIBS = \ 160 159 $(VBOX_LIB_VBGL_R3) \ 161 $(VBOX_LIB_IPRT_GUEST_ R3) \160 $(VBOX_LIB_IPRT_GUEST_MINI_R3) \ 162 161 $(VBOX_LIB_VBGL_R3) 163 162 … … 177 176 vboxvideo_drv_14_LIBS = \ 178 177 $(VBOX_LIB_VBGL_R3) \ 179 $(VBOX_LIB_IPRT_GUEST_ R3) \178 $(VBOX_LIB_IPRT_GUEST_MINI_R3) \ 180 179 $(VBOX_LIB_VBGL_R3) 181 180 endif … … 199 198 $(VBOX_LIB_IPRT_GUEST_R3) \ 200 199 $(VBOX_LIB_VBGL_R3) 200 ## @todo Use VBOX_LIB_IPRT_GUEST_MINI_R3 instead of VBOX_LIB_IPRT_GUEST_R3? 201 201 endif 202 202 -
trunk/src/VBox/Runtime/Makefile.kmk
r6536 r6553 34 34 # 35 35 ifeq ($(BUILD_TARGET),linux) 36 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 Runtime Lnx32GuestR3Shared36 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 RuntimeGuestR3Mini 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 RuntimeGuestR3 Shared42 LIBRARIES = RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini 43 43 #LIBRARIES.os2 = RuntimeOS2Warp3GuestR0 44 44 #LIBRARIES.win = RuntimeW32NT4GuestR0 … … 49 49 # 50 50 else ifdef VBOX_ADDITIONS_LINUX_ONLY 51 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 Runtime Lnx32GuestR3Shared51 LIBRARIES = RuntimeLnx32GuestR0 RuntimeLnx32GuestR3 RuntimeGuestR3Mini 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 Runtime Lnx32GuestR3Shared70 LIBRARIES += RuntimeLnx32GuestR3 RuntimeGuestR3Mini 71 71 ifdef VBOX_WITH_LINUX_ADDITIONS_32BIT_R0 72 72 LIBRARIES += RuntimeLnx32GuestR0 … … 78 78 endif 79 79 else 80 LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3 Shared80 LIBRARIES += RuntimeGuestR0 RuntimeGuestR3 RuntimeGuestR3Mini 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.cpp478 479 # VBox specific stuff.480 RuntimeR3Shared_SOURCES += \481 VBox/strformat-vbox.cpp482 483 RuntimeR3Shared_SOURCES.linux = \484 r3/posix/fileio-posix.cpp \485 r3/posix/path-posix.cpp \486 r3/posix/utf8-posix.cpp487 488 489 RuntimeR3Shared_SOURCES.solaris = \490 r3/posix/fileio-posix.cpp \491 r3/posix/path-posix.cpp \492 r3/posix/utf8-posix.cpp493 494 458 495 459 # … … 559 523 560 524 # 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 += \ 525 # RuntimeGuestR3Mini - Minimal Guest Additions Runtime which does not require 526 # initialization and can be linked into an .so. Intended 527 # for X11 drivers. 528 # 529 ifeq ($(BUILD_TARGET),linux) ## @todo elimiate this by fixing VBOXGUESTR3LIB/DLL/EXE. What about NOCPP like the x11 bits? 530 RuntimeGuestR3Mini_TEMPLATE := VBOXLNX32GUESTR3LIB 531 else ## @todo this should be VBOXGUESTR3DLL I think if PIC code is required. 532 RuntimeGuestR3Mini_TEMPLATE := VBOXGUESTR3LIB 533 endif 534 RuntimeGuestR3Mini_SDKS.win := $(RuntimeR3_SDKS.win) 535 RuntimeGuestR3Mini_DEFS := $(filter-out RTCRITSECT_STRICT, $(RuntimeR3_DEFS)) \ 536 RT_MINI 537 RuntimeGuestR3Mini_DEFS.$(BUILD_TARGET) := $(RuntimeR3_DEFS.$(BUILD_TARGET)) 538 RuntimeGuestR3Mini_INCS := $(RuntimeR3_INCS) 539 RuntimeGuestR3Mini_INCS.$(BUILD_TARGET) := $(RuntimeR3_INCS.$(BUILD_TARGET)) 540 RuntimeGuestR3Mini_SOURCES = \ 541 common/err/errmsg.cpp \ 542 common/err/RTErrConvertFromErrno.cpp \ 543 common/log/logformat.cpp \ 544 common/misc/assert.cpp \ 545 common/misc/sanity-c.c \ 546 common/misc/sanity-cpp.cpp \ 547 common/string/strformat.cpp \ 548 common/string/strformatrt.cpp \ 549 common/string/string.cpp \ 550 common/string/strprintf.cpp \ 551 common/string/unidata.cpp \ 552 common/string/utf-8.cpp \ 553 common/string/utf-16.cpp \ 554 generic/pathhost-generic.cpp \ 555 generic/RTAssertDoBreakpoint-generic.cpp \ 556 r3/alloc.cpp \ 557 r3/fileio.cpp \ 558 r3/fs.cpp \ 559 r3/path.cpp 560 RuntimeGuestR3Mini_SOURCES.linux = \ 561 r3/posix/fileio-posix.cpp \ 562 r3/posix/path-posix.cpp \ 563 r3/posix/utf8-posix.cpp 564 RuntimeGuestR3Mini_SOURCES.solaris = \ 565 r3/posix/fileio-posix.cpp \ 566 r3/posix/path-posix.cpp \ 567 r3/posix/utf8-posix.cpp 568 # VBox specific stuff. 569 RuntimeGuestR3Mini_SOURCES += \ 574 570 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)) 571 VBox/logbackdoor-redirect.cpp \ 572 VBox/strformat-vbox.cpp 578 573 579 574 … … 602 597 RuntimeLnx32GuestR3_SOURCES += VBox/logbackdoor.cpp 603 598 RuntimeLnx32GuestR3_INCS = $(RuntimeR3_INCS.linux) $(RuntimeR3_INCS) 604 605 606 #607 # RuntimeLnx32GuestR3Shared - 32-bit Linux guest program runtime which does not require608 # initialisation.609 #610 RuntimeLnx32GuestR3Shared_TEMPLATE = VBOXLNX32GUESTR3LIB611 RuntimeLnx32GuestR3Shared_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 \612 LDR_WITH_PE RT_WITH_VBOX VBOX_SHARED_RUNTIME613 ifdef IPRT_WITH_KSTUFF614 RuntimeLnx32GuestR3Shared_DEFS += LDR_WITH_KLDR615 endif616 RuntimeLnx32GuestR3Shared_SOURCES = $(RuntimeR3Shared_SOURCES.linux) $(RuntimeR3Shared_SOURCES)617 RuntimeLnx32GuestR3Shared_SOURCES += \618 VBox/logbackdoor.cpp \619 VBox/logbackdoor-redirect.cpp620 RuntimeLnx32GuestR3Shared_INCS = $(RuntimeR3_INCS.linux) $(RuntimeR3_INCS)621 599 622 600 -
trunk/src/VBox/Runtime/VBox/strformat-vbox.cpp
r6536 r6553 139 139 */ 140 140 case 't': 141 #if defined(IN_RING3) && !defined( VBOX_SHARED_RUNTIME) /* we don't want this anywhere else yet. */141 #if defined(IN_RING3) && !defined(RT_MINI) /* we don't want this anywhere else yet. */ 142 142 return RTStrFormat(pfnOutput, pvArgOutput, NULL, 0, "%#x\n", RTThreadSelf()); 143 #else /* !IN_RING3 */143 #else /* !IN_RING3 || RT_MINI */ 144 144 return pfnOutput(pvArgOutput, "0xffffffff", sizeof("0xffffffff") - 1); 145 #endif /* !IN_RING3 */145 #endif /* !IN_RING3 || RT_MINI */ 146 146 147 147 case 'h': -
trunk/src/VBox/Runtime/r3/path.cpp
r6536 r6553 553 553 } 554 554 555 #ifndef VBOX_SHARED_RUNTIME 555 556 #ifndef RT_MINI 556 557 557 558 /** … … 687 688 } 688 689 689 #endif /* !VBOX_SHARED_RUNTIME */ 690 #endif /* !RT_MINI */ 691 -
trunk/src/VBox/Runtime/r3/posix/path-posix.cpp
r6536 r6553 401 401 402 402 403 #ifndef VBOX_SHARED_RUNTIME 404 403 #ifndef RT_MINI 405 404 RTDECL(int) RTPathProgram(char *pszPath, unsigned cchPath) 406 405 { … … 488 487 return VERR_BUFFER_OVERFLOW; 489 488 } 490 491 #endif /* !VBOX_SHARED_RUNTIME */ 489 #endif /* !RT_MINI */ 490 492 491 493 492 #ifndef RT_OS_L4
Note:
See TracChangeset
for help on using the changeset viewer.