Changeset 5555 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Oct 30, 2007 1:07:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/Makefile.kmk
r5552 r5555 60 60 INCS += include 61 61 62 ifndef IPRT_WITH_KSTUFF63 ifneq ($(wildcard ./kLdr/kLdrModMachO.c),)64 ifeq ($(filter-out darwin win os2,$(BUILD_TARGET)),)65 IPRT_WITH_KLDR=166 IPRT_PATH_KLDR=./kLdr67 endif68 endif69 endif70 71 62 # 72 63 # Unicode Specification reader used to regenerate unidata.cpp. … … 122 113 RuntimeR3_DEFS += LDR_WITH_KLDR 123 114 endif 124 ifdef IPRT_WITH_KLDR125 RuntimeR3_DEFS += LDR_WITH_KLDR KLDR_USE_CRT126 RuntimeR3_DEFS.debug += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT127 endif128 115 ifdef VBOX_MAIN_RELEASE_LOG ## @todo (dmik): temporary, until RTThreadSelf/RTThreadAdopt are properly updated 129 116 RuntimeR3_DEFS += RTCRITSECT_STRICT … … 134 121 RuntimeR3_INCS += \ 135 122 $(PATH_ROOT)/src/libs/kStuff/kStuff/include 136 endif137 ifdef IPRT_WITH_KLDR138 RuntimeR3_INCS += \139 $(IPRT_PATH_KLDR)140 123 endif 141 124 RuntimeR3_INCS.l4 = \ … … 235 218 endif 236 219 237 ifdef IPRT_WITH_KLDR238 RuntimeR3_SOURCES += \239 common/ldr/ldrkLdr.cpp \240 $(IPRT_PATH_KLDR)/kLdrMod.c \241 $(IPRT_PATH_KLDR)/kLdrModLX.c \242 $(IPRT_PATH_KLDR)/kLdrModPE.c \243 $(IPRT_PATH_KLDR)/kLdrModMachO.c \244 $(IPRT_PATH_KLDR)/kLdrModNative.c \245 $(IPRT_PATH_KLDR)/kLdrMisc.c \246 $(IPRT_PATH_KLDR)/kLdrRdr.c \247 $(IPRT_PATH_KLDR)/kLdrHlpStr.c248 # We Implement these using IPRT facilities.249 # $(IPRT_PATH_KLDR)/kLdrHlp.c \250 # $(IPRT_PATH_KLDR)/kLdrHlpHeap.c \251 # $(IPRT_PATH_KLDR)/kLdrHlpSem.c \252 # $(IPRT_PATH_KLDR)/kLdrHlpMem.c \253 # $(IPRT_PATH_KLDR)/kLdrHlpPath.c254 255 endif256 257 220 # VBox specific stuff. 258 221 RuntimeR3_SOURCES += \ … … 504 467 RuntimeW32GuestR3_SDKS = WINPSDK W2K3DDK 505 468 RuntimeW32GuestR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX 506 ifdef IPRT_WITH_KLDR 507 RuntimeW32GuestR3_DEFS += LDR_WITH_KLDR KLDR_USE_CRT 508 RuntimeW32GuestR3_DEFS.debug += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT 469 ifdef IPRT_WITH_KSTUFF 470 RuntimeW32GuestR3_DEFS += LDR_WITH_KLDR 509 471 endif 510 472 RuntimeW32GuestR3_SOURCES = $(RuntimeR3_SOURCES.win) $(RuntimeR3_SOURCES) … … 517 479 RuntimeLnx32GuestR3_TEMPLATE = VBOXLNX32GUESTR3LIB 518 480 RuntimeLnx32GuestR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX 519 ifdef IPRT_WITH_KLDR 520 RuntimeLnx32GuestR3_DEFS += LDR_WITH_KLDR KLDR_USE_CRT 521 RuntimeLnx32GuestR3_DEFS.debug += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT 481 ifdef IPRT_WITH_KSTUFF 482 RuntimeLnx32GuestR3_DEFS += LDR_WITH_KLDR 522 483 endif 523 484 RuntimeLnx32GuestR3_SOURCES = $(RuntimeR3_SOURCES.linux) $(RuntimeR3_SOURCES) … … 530 491 RuntimeOS2GuestR3_TEMPLATE = VBOXOS2GUESTR3LIB 531 492 RuntimeOS2GuestR3_DEFS = IN_RT_R3 IN_SUP_R3 LDR_WITH_NATIVE LDR_WITH_ELF32 LDR_WITH_PE RT_WITH_VBOX 532 ifdef IPRT_WITH_KLDR 533 RuntimeOS2GuestR3_DEFS += LDR_WITH_KLDR KLDR_USE_CRT 534 RuntimeOS2GuestR3_DEFS.debug += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT 493 ifdef IPRT_WITH_KSTUFF 494 RuntimeOS2GuestR3_DEFS += LDR_WITH_KLDR 535 495 endif 536 496 RuntimeOS2GuestR3_SOURCES = $(RuntimeR3_SOURCES.os2) $(RuntimeR3_SOURCES)
Note:
See TracChangeset
for help on using the changeset viewer.