VirtualBox

Changeset 3404 in vbox for trunk/src/libs/xpcom18a4


Ignore:
Timestamp:
Jul 3, 2007 10:30:44 PM (17 years ago)
Author:
vboxsync
Message:

OS/2: Changed the default path to glib and libIDL to $(PATH_DEVTOOLS_TRG)/glibidl/gcc335 (so that the .zip from hobbes can be just unpacked to $(PATH_DEVTOOLS_TRG)); made install glib and libIDL headers to the same directory as xpidl.exe.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r3381 r3404  
    551551        xpcom/typelib/xpt/src/xpt_xdr.c
    552552
    553 ifeq ($(filter-out os2,$(BUILD_TARGET)),)
     553ifeq ($(BUILD_TARGET),os2)
    554554 # glib and libIDL needed by XPCOM on OS/2.
    555  VBOX_PATH_GLIB      ?= $(PATH_DEVTOOLS_TRG)/glibidl
    556  VBOX_PATH_GLIB      := $(wildcard $(VBOX_PATH_GLIB))
    557  VBOX_PATH_LIBIDL    ?= $(PATH_DEVTOOLS_TRG)/glibidl
    558  VBOX_PATH_LIBIDL    := $(wildcard $(VBOX_PATH_LIBIDL))
    559  ifeq ($(VBOX_PATH_GLIB),)
    560   $(warning VBOX_PATH_GLIB is wrong or not defined!)
     555 VBOX_PATH_GLIB      ?= $(PATH_DEVTOOLS_TRG)/glibidl/gcc335
     556 VBOX_PATH_LIBIDL    ?= $(PATH_DEVTOOLS_TRG)/glibidl/gcc335
     557 ifeq ($(wildcard $(VBOX_PATH_GLIB)),)
     558  $(warning VBOX_PATH_GLIB is "$(VBOX_PATH_GLIB)" which is not a valid directory!)
    561559 endif
    562  ifeq ($(VBOX_PATH_LIBIDL),)
    563   $(warning VBOX_PATH_LIBIDL is wrong or not defined!)
     560 ifeq ($(wildcard $(VBOX_PATH_LIBIDL)),)
     561  $(warning VBOX_PATH_LIBIDL is "$(VBOX_PATH_LIBIDL)" which is not a valid directory!)
    564562 endif
    565563 xpidl_INCS = \
     
    569567        $(VBOX_PATH_LIBIDL)/lib/libidl.lib \
    570568        $(VBOX_PATH_LIBIDL)/lib/glib.lib
     569 # install necessary DLLs to the same place where xpidl goes
     570 INSTALLS += xpidl-DLLS
     571 xpidl_ORDERDEPS = xpidl-DLLS
     572 xpidl-DLLS_INST = $(xpidl_INST)
     573 # static libraries of these may be provided instead,
     574 # so copy DLLs only when they are present
     575 xpidl-DLLS_SOURCES += $(wildcard $(VBOX_PATH_GLIB)/lib/glib.dll)
     576 xpidl-DLLS_SOURCES += $(wildcard $(VBOX_PATH_LIBIDL)/lib/libIDL.dll)
    571577else
    572578 # We do these ONCE.
     
    14431449        $$(call MSG_TOOL,xpidl,XPCOM,$$<,$$@)
    14441450        $$(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/include $(VBOX_PATH_SDK)/idl
    1445         $$(QUIET)$$(TARGET_xpidl) -m header $(XPIDL_INCS) -e $$@ $$<
    1446         $$(QUIET)$$(TARGET_xpidl) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(idl)))) $$<
     1451        $$(QUIET)$$(VBOX_XPIDL) -m header $(XPIDL_INCS) -e $$@ $$<
     1452        $$(QUIET)$$(VBOX_XPIDL) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(idl)))) $$<
    14471453        $$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/idl
    14481454endef
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