VirtualBox

Changeset 10201

Show
Ignore:
Timestamp:
07/04/08 06:46:17 (2 months ago)
Author:
vboxsync
Message:

Use TARGET_xpidl instead of VBOX_XPIDL, and make VBOX_XPIDL wait on all the IDL files to be processed. This is to make sure main doesn't try process its IDL file too early. (VBOX_SINGLE_MAKEFILE)

Files:

Legend:

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

    r10179 r10201  
    15431543+ $(PATH_TARGET)/$(notdir $(subst .idl,.xpt,$(idl))): \ 
    15441544                $(VBOX_PATH_XPCOM_SRC)/$(idl) \ 
    1545                 | $$(TARGET_xpidl) 
     1545                | $$$$(TARGET_xpidl) 
    15461546        $$(call MSG_TOOL,xpidl,XPCOM,$$<,$$@) 
    15471547        $$(QUIET)$(MKDIR) -p $(VBOX_PATH_SDK)/include $(VBOX_PATH_SDK)/idl 
    1548         $$(QUIET)$$(VBOX_XPIDL) -m header $(XPIDL_INCS) -e $$@ $$< 
    1549         $$(QUIET)$$(VBOX_XPIDL) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(idl)))) $$< 
     1548        $$(QUIET)$$(TARGET_xpidl) -m header $(XPIDL_INCS) -e $$@ $$< 
     1549        $$(QUIET)$$(TARGET_xpidl) -m typelib $(XPIDL_INCS) -e $(addprefix $(PATH_TARGET)/,$(notdir $(subst .idl,.xpt,$(idl)))) $$< 
    15501550        $$(QUIET)$(CP) $$< $$(VBOX_PATH_SDK)/idl 
    15511551endef 
     
    15591559        $(QUIET)$(ECHO_EXT) > $@ 
    15601560 
     1561# Make sure main doesn't start using xpidl before we're done with the idl files here. 
     1562$(VBOX_XPIDL): $$(PATH_VBox-xpcom-string)/idl_ts 
     1563 
    15611564# Manual dependency... 
    15621565xpcom/string/src/nsAString.cpp: $(PATH_VBox-xpcom-string)/idl_ts 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy