VirtualBox

Changeset 50124 in vbox


Ignore:
Timestamp:
Jan 20, 2014 4:42:14 PM (11 years ago)
Author:
vboxsync
Message:

Main: use different file names for IID file, otherwise the SDK build gets confused as it handles both COM and XPCOM on one system

File:
1 edited

Legend:

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

    r50121 r50124  
    119119 VBox-xpcom-bindings-lib_INST = $(INST_SDK)bindings/xpcom/lib/
    120120 VBox-xpcom-bindings-lib_MODE = a+r,u+w
    121  VBox-xpcom-bindings-lib_SOURCES = $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c
    122  VBox-xpcom-bindings-lib_CLEAN = $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c
     121 VBox-xpcom-bindings-lib_SOURCES = $(VBoxCOM_0_OUTDIR)/VirtualBox_XPCOM_i.c=>VirtualBox_i.c
     122 VBox-xpcom-bindings-lib_CLEAN = $(VBoxCOM_0_OUTDIR)/VirtualBox_XPCOM_i.c
    123123
    124124 VBOX_MAIN_PREREQS += $(VBOX_IDL_TYPELIB.XPCOM) $(VBOX_IDL_HEADER.XPCOM)
     
    830830        glue/NativeEventQueue.cpp \
    831831        glue/ErrorInfo.cpp \
    832         glue/errorprint.cpp \
    833         $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c
     832        glue/errorprint.cpp
    834833VBoxCOM_INCS          += \
    835834        include
     
    837836 VBoxCOM_DEFS.x86       = _WIN32_WINNT=0x0500
    838837 VBoxCOM_DEFS.amd64     = _WIN32_WINNT=0x0510
     838 VBoxCOM_SOURCES       += \
     839        $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c
    839840else # !win
    840841 VBoxCOM_SOURCES       += \
     842        $(VBoxCOM_0_OUTDIR)/VirtualBox_XPCOM_i.c \
    841843        glue/xpcom/helpers.cpp
    842844endif # !win
     
    968970# Aliases for testing purposes.
    969971ifdef VBOX_WITH_XPCOM
    970 testidl:    $(VBOX_IDL_FILE.XPCOM) $(VBOX_IDL_TYPELIB.XPCOM) $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c
     972testidl:    $(VBOX_IDL_FILE.XPCOM) $(VBOX_IDL_TYPELIB.XPCOM) $(VBoxCOM_0_OUTDIR)/VirtualBox_XPCOM_i.c
    971973testidlhdr: $(VBOX_IDL_HEADER.XPCOM)
    972974else
     
    976978
    977979
    978 ifdef VBOX_WITH_XPCOM
    979 $(VBoxCOM_0_OUTDIR)/VirtualBox_i.c: $(VBOX_PATH_MAIN_SRC)/idl/xpidl_iid.xsl $(VBOX_XIDL_FILE) | $$(dir $$@)
     980$(VBoxCOM_0_OUTDIR)/VirtualBox_XPCOM_i.c: $(VBOX_PATH_MAIN_SRC)/idl/xpidl_iid.xsl $(VBOX_XIDL_FILE) | $$(dir $$@)
    980981        $(call MSG_TOOL,xsltproc,VBoxSVC,$<,$@)
    981982        $(QUIET)$(VBOX_XSLTPROC) -o $@ $< $(VBOX_XIDL_FILE)
    982 else
     983
    983984$(VBoxCOM_0_OUTDIR)/VirtualBox_i.c \
    984985+ $(VBoxCOM_0_OUTDIR)/VirtualBox.h \
     
    10061007                /I idl \
    10071008                $(call VBOX_FN_MAKE_WIN_PATH,$<)
    1008 endif
    10091009
    10101010#
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