Changeset 3404 in vbox for trunk/src/libs/xpcom18a4
- Timestamp:
- Jul 3, 2007 10:30:44 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r3381 r3404 551 551 xpcom/typelib/xpt/src/xpt_xdr.c 552 552 553 ifeq ($( filter-out os2,$(BUILD_TARGET)),)553 ifeq ($(BUILD_TARGET),os2) 554 554 # 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!) 561 559 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!) 564 562 endif 565 563 xpidl_INCS = \ … … 569 567 $(VBOX_PATH_LIBIDL)/lib/libidl.lib \ 570 568 $(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) 571 577 else 572 578 # We do these ONCE. … … 1443 1449 $$(call MSG_TOOL,xpidl,XPCOM,$$<,$$@) 1444 1450 $$(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)))) $$< 1447 1453 $$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/idl 1448 1454 endef
Note:
See TracChangeset
for help on using the changeset viewer.