VirtualBox

Changeset 5555 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Oct 30, 2007 1:07:19 AM (17 years ago)
Author:
vboxsync
Message:

kStuff on Darwin and OS/2, no more special magic in src/VBox/Runtime.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/Makefile.kmk

    r5552 r5555  
    6060INCS += include
    6161
    62 ifndef IPRT_WITH_KSTUFF
    63  ifneq ($(wildcard ./kLdr/kLdrModMachO.c),)
    64   ifeq ($(filter-out darwin win os2,$(BUILD_TARGET)),)
    65    IPRT_WITH_KLDR=1
    66    IPRT_PATH_KLDR=./kLdr
    67   endif
    68  endif
    69 endif
    70 
    7162#
    7263# Unicode Specification reader used to regenerate unidata.cpp.
     
    122113 RuntimeR3_DEFS        += LDR_WITH_KLDR
    123114endif
    124 ifdef IPRT_WITH_KLDR
    125  RuntimeR3_DEFS        += LDR_WITH_KLDR KLDR_USE_CRT
    126  RuntimeR3_DEFS.debug  += KLDRMOD_STRICT KLDRMODLX_STRICT KLDRMODPE_STRICT KLDRMODNATIVE_STRICT KLDRRDR_STRICT
    127 endif
    128115ifdef VBOX_MAIN_RELEASE_LOG ## @todo (dmik): temporary, until RTThreadSelf/RTThreadAdopt are properly updated
    129116 RuntimeR3_DEFS         += RTCRITSECT_STRICT
     
    134121 RuntimeR3_INCS        += \
    135122        $(PATH_ROOT)/src/libs/kStuff/kStuff/include
    136 endif
    137 ifdef IPRT_WITH_KLDR
    138  RuntimeR3_INCS        += \
    139         $(IPRT_PATH_KLDR)
    140123endif
    141124RuntimeR3_INCS.l4       = \
     
    235218endif
    236219
    237 ifdef IPRT_WITH_KLDR
    238  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.c
    248 # 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.c
    254 
    255 endif
    256 
    257220# VBox specific stuff.
    258221RuntimeR3_SOURCES += \
     
    504467RuntimeW32GuestR3_SDKS         = WINPSDK W2K3DDK
    505468RuntimeW32GuestR3_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
     469ifdef IPRT_WITH_KSTUFF
     470 RuntimeW32GuestR3_DEFS       += LDR_WITH_KLDR
    509471endif
    510472RuntimeW32GuestR3_SOURCES      = $(RuntimeR3_SOURCES.win) $(RuntimeR3_SOURCES)
     
    517479RuntimeLnx32GuestR3_TEMPLATE   = VBOXLNX32GUESTR3LIB
    518480RuntimeLnx32GuestR3_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
     481ifdef IPRT_WITH_KSTUFF
     482 RuntimeLnx32GuestR3_DEFS     += LDR_WITH_KLDR
    522483endif
    523484RuntimeLnx32GuestR3_SOURCES    = $(RuntimeR3_SOURCES.linux) $(RuntimeR3_SOURCES)
     
    530491RuntimeOS2GuestR3_TEMPLATE     = VBOXOS2GUESTR3LIB
    531492RuntimeOS2GuestR3_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
     493ifdef IPRT_WITH_KSTUFF
     494 RuntimeOS2GuestR3_DEFS       += LDR_WITH_KLDR
    535495endif
    536496RuntimeOS2GuestR3_SOURCES      = $(RuntimeR3_SOURCES.os2) $(RuntimeR3_SOURCES)
Note: See TracChangeset for help on using the changeset viewer.

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