VirtualBox

儲存庫 vbox 的更動 11896


忽略:
時間撮記:
2008-9-1 上午08:10:34 (16 年 以前)
作者:
vboxsync
訊息:

samples update, ship mscom examples

位置:
trunk/src
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Main/Makefile.kmk

    r11875 r11896  
    9292ifdef VBOX_ONLY_SDK
    9393  NEED_MSCOM = 1
     94  NEED_XPCOM = 1
    9495endif
    9596
  • trunk/src/VBox/Main/testcase/Makefile.kmk

    r11848 r11896  
    2828include $(KBUILD_PATH)/subheader.kmk
    2929
    30 ifndef VBOX_ONLY_SDK
     30ifeq ($(KBUILD_TARGET),win)
     31 NEED_MSCOM_SAMPLE = 1
     32else
     33 NEED_XPCOM_SAMPLE = 1
     34endif
     35
     36ifdef VBOX_ONLY_SDK
     37 NEED_MSCOM_SAMPLE = 1
     38 NEED_XPCOM_SAMPLE = 1
     39else
    3140 ifdef VBOX_WITH_TESTCASES
    3241  PROGRAMS       += tstAPI
     
    4554  PROGRAMS.win   += tstVBoxAPIWin
    4655 endif # VBOX_WITH_TESTCASES
    47 endif #! VBOX_ONLY_SDK
     56endif # VBOX_ONLY_SDK
    4857
    49 INSTALLS += samples
     58ifdef  NEED_MSCOM_SAMPLE
     59  INSTALLS += samplesMSCOM
     60endif
     61
     62ifdef  NEED_XPCOM_SAMPLE
     63  INSTALLS += samplesXPCOM
     64endif
     65
     66# maybe, if will ship glue COM headers with SDK
     67#INSTALLS += tstAPI
    5068
    5169#
    5270# The samples
    5371#
    54 samples_MODE = a+r,u+w
    55 ifeq ($(KBUILD_TARGET),win)
    56  samples_INST = $(INST_SDK)bindings/mscom/samples/
    57  samples_SOURCES = tstVBoxAPIWin.cpp
    58 else
    59  samples_INST = $(INST_SDK)bindings/xpcom/samples/
    60  samples_SOURCES = tstVBoxAPILinux.cpp makefile.tstVBoxAPILinux=>Makefile
    61 endif
     72samplesMSCOM_MODE = a+r,u+w
     73samplesMSCOM_INST = $(INST_SDK)bindings/mscom/samples/
     74samplesMSCOM_SOURCES = tstVBoxAPIWin.cpp
     75
     76samplesXPCOM_MODE = a+r,u+w
     77samplesXPCOM_INST = $(INST_SDK)bindings/xpcom/samples/
     78samplesXPCOM_SOURCES = tstVBoxAPILinux.cpp makefile.tstVBoxAPILinux=>Makefile
    6279
    6380#
     
    6582#
    6683tstAPI_TEMPLATE = VBOXMAINCLIENTEXE
     84#tstAPI_INST = $(INST_SDK)bindings/gluecom/samples/
    6785tstAPI_SOURCES  = tstAPI.cpp
    6886ifeq ($(KBUILD_TARGET),win) ## @todo just add this to the template.
  • trunk/src/libs/xpcom18a4/python/sample/vboxshell.py

    r11892 r11896  
    3939import xpcom
    4040import xpcom.components
    41 import sys
     41import sys, traceback
    4242
    4343from shellcommon import interpret
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette