VirtualBox

Changeset 3150 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Jun 18, 2007 10:31:27 PM (17 years ago)
Author:
vboxsync
Message:

XPCOM: Ported necessary bits of IPC/DConnect tp OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r3100 r3150  
    682682 LIB_VMMGC       = $(PATH_BIN)/VMMGC.gc
    683683 LIB_REM         = $(PATH_LIB)/VBoxREMImp.dylib
     684 LIB_XPCOM       = $(PATH_BIN)/VBoxXPCOM.dylib
    684685endif
    685686ifeq ($(BUILD_TARGET),l4)
     
    690691 LIB_VMMGC       = $(PATH_BIN)/VMMGC.gc
    691692 LIB_REM         = $(PATH_BIN)/VBoxREMImp.s.so
     693 LIB_XPCOM       = $(PATH_BIN)/VBoxXPCOM.s.so
    692694endif
    693695ifeq ($(filter-out linux freebsd netbsd openbsd solaris,$(BUILD_TARGET)),)
     
    698700 LIB_VMMGC       = $(PATH_BIN)/VMMGC.gc
    699701 LIB_REM         = $(PATH_BIN)/VBoxREMImp.so
     702 LIB_XPCOM       = $(PATH_BIN)/VBoxXPCOM.so
    700703endif
    701704ifeq ($(BUILD_TARGET),os2)
     
    706709 LIB_VMMGC       = $(PATH_LIB)/VMMGCImp.lib
    707710 LIB_REM         = $(PATH_LIB)/VBoxREMImp.lib
     711 LIB_XPCOM       = $(PATH_BIN)/VBoxXCOM.dll
    708712 OBJ_SYS0        = $(PATH_OBJ)/src/VBox/Runtime/RuntimeR0/os2/sys0.obj
    709713endif
     
    715719 LIB_VMMGC       = $(PATH_OUT)/obj/src/VBox/VMM/VMMGC/VMMGC.lib
    716720 LIB_REM         = $(PATH_LIB)/VBoxREMImp.lib
     721 LIB_XPCOM       = $(PATH_BIN)/VBoxXPCOM.dll
    717722endif
    718723
     
    743748 VBOX_XSLTPROC ?= $(PATH_DEVTOOLS)/win.x86/bin/xsltproc.exe
    744749else
     750ifeq ($(BUILD_PLATFORM),os2)
     751 VBOX_XSLTPROC ?= $(PATH_DEVTOOLS)/os2.x86/bin/xsltproc.exe
     752else
    745753 VBOX_XSLTPROC ?= xsltproc$(HOSTSUFF_EXE)
     754endif
    746755endif
    747756
     
    773782ifeq ($(filter-out win.x86 linux.x86, $(BUILD_PLATFORM).$(BUILD_PLATFORM_ARCH)),)
    774783 PATH_TOOL_YASM ?= $(PATH_DEVTOOLS_BLD)/bin
     784endif
     785
     786# glib and libIDL needed by XPCOM on OS/2.
     787ifeq ($(BUILD_TARGET),os2)
     788 VBOX_PATH_GLIB      ?= $(PATH_DEVTOOLS_TRG)/glibidl
     789 VBOX_PATH_GLIB      := $(wildcard $(VBOX_PATH_GLIB))
     790 VBOX_PATH_LIBIDL    ?= $(PATH_DEVTOOLS_TRG)/glibidl
     791 VBOX_PATH_LIBIDL    := $(wildcard $(VBOX_PATH_LIBIDL))
     792 ifeq ($(VBOX_PATH_GLIB),)
     793  $(warning VBOX_PATH_GLIB is wrong or not defined!)
     794 endif
     795 ifeq ($(VBOX_PATH_LIBIDL),)
     796  $(warning VBOX_PATH_LIBIDL is wrong or not defined!)
     797 endif
    775798endif
    776799
     
    787810        $(VBOX_PATH_SDK)/include/xpcom/xpcom \
    788811        $(VBOX_PATH_SDK)/include/xpcom/ipcd
    789  # libIDL-config (for xpcom18a4)
    790  ifeq ($(origin VBOX_LIBIDL_CONFIG),undefined)
    791   export VBOX_LIBIDL_CONFIG := $(firstword $(shell which libIDL-config-2 libIDL-config 2> /dev/null))
     812 ifneq ($(BUILD_TARGET),os2)
     813  # libIDL-config (for xpcom18a4)
     814  ifeq ($(origin VBOX_LIBIDL_CONFIG),undefined)
     815   export VBOX_LIBIDL_CONFIG := $(firstword $(shell which libIDL-config-2 libIDL-config 2> /dev/null))
     816  endif
    792817 endif
    793818endif
     
    17541779        $(PATH_LIB)/VBoxXPCOM$(VBOX_SUFF_LIB) \
    17551780        $(PATH_LIB)/VBoxXPCOMGlue$(VBOX_SUFF_LIB) \
    1756         $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL) \
     1781        $(LIB_XPCOM) \
    17571782        $(LIB_RUNTIME)
    17581783
     
    18471872        $(LIB_VMM) \
    18481873        $(PATH_LIB)/VBoxXPCOMGlue$(VBOX_SUFF_LIB) \
    1849         $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL)
     1874        $(LIB_XPCOM)
    18501875
    18511876 ifeq ($(BUILD_TARGET_ARCH),amd64)
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