VirtualBox

Changeset 19853 in vbox for trunk


Ignore:
Timestamp:
May 20, 2009 10:42:58 AM (16 years ago)
Author:
vboxsync
Message:

SDK: refactoring Python samples

Location:
trunk/src
Files:
1 added
3 deleted
5 edited

Legend:

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

    r16174 r19853  
    4545endif # !VBOX_ONLY_DOCS
    4646
     47# @todo: include Python shell into binary delivery?
     48ifdef VBOX_ONLY_SDK
     49 include $(PATH_SUB_CURRENT)/VBoxShell/Makefile.kmk
     50endif
     51
    4752include $(KBUILD_PATH)/subfooter.kmk
    4853
  • trunk/src/VBox/Main/Makefile.kmk

    r19852 r19853  
    8888        $(VBOX_PATH_SDK)/bindings/mscom/include/VirtualBox.h \
    8989        $(VBOX_PATH_SDK)/bindings/mscom/lib/VirtualBox.tlb \
    90         $(VBOX_PATH_SDK)/bindings/mscom/lib/VirtualBox_i.c \
    91         $(VBOX_PATH_SDK)/bindings/mscom/python/samples/vboxshell.py   \
    92         $(VBOX_PATH_SDK)/bindings/mscom/python/samples/shellcommon.py
     90        $(VBOX_PATH_SDK)/bindings/mscom/lib/VirtualBox_i.c
    9391 OTHER_CLEAN    += \
    9492        $(VBOX_IDL_FILE.MSCOM) \
     
    9896        $(PATH_VBoxCOM)/VirtualBox.h   \
    9997        $(PATH_VBoxCOM)/VirtualBox_i.c \
    100         $(PATH_VBoxCOM)/VirtualBox.tlb \
    101         $(VBOX_PATH_SDK)/bindings/mscom/python/samples/vboxshell.py \
    102         $(VBOX_PATH_SDK)/bindings/mscom/python/samples/shellcommon.py
     98        $(PATH_VBoxCOM)/VirtualBox.tlb
    10399
    104100 VBOX_MAIN_PREREQS += $(PATH_VBoxCOM)/VirtualBox_i.c
     
    758754        $(CP) $(PATH_VBoxCOM)/VirtualBox_i.c $(VBOX_PATH_SDK)/bindings/mscom/lib
    759755
    760 
    761 ## @todo Use install targets, please.
    762 #        Actually, what on earth is this stuff doing? Why copy two files like this?
    763 $(VBOX_PATH_SDK)/bindings/mscom/python/samples/shellcommon.py \
    764 + $(VBOX_PATH_SDK)/bindings/mscom/python/samples/vboxshell.py: \
    765                 $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/shellcommon.py \
    766                 $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/mscom/vboxshell.py
    767         $(MKDIR) -p $(VBOX_PATH_SDK)/bindings/mscom/python/samples
    768         $(CP) $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/shellcommon.py     $(VBOX_PATH_SDK)/bindings/mscom/python/samples/shellcommon.py
    769         $(CP) $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/mscom/vboxshell.py $(VBOX_PATH_SDK)/bindings/mscom/python/samples/vboxshell.py
    770 
    771756#
    772757# Translation stuff
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r19020 r19853  
    372372        $(VBOXWEB_WS_PERL) \
    373373        $(VBOXWEB_PYTHONWSSAMPLE)\
    374         $(VBOXWEB_SHELLCOMMON) \
    375374        $(VBOXWEB_JAXWSSAMPLE) \
    376375        $(VBOXWEB_METRICSAMPLE) \
     
    390389      samples/perl/clienttest.pl=>perl/samples/clienttest.pl \
    391390      samples/python/Makefile=>python/samples/Makefile \
    392       samples/python/Makefile.glue=>python/lib/Makefile \
    393       $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/ws/vboxshell.py=>python/samples/vboxshell.py \
    394       $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/shellcommon.py=>python/samples/shellcommon.py
     391      samples/python/Makefile.glue=>python/lib/Makefile
    395392
    396393 #
  • trunk/src/VBox/Makefile.kmk

    r18186 r19853  
    4545 endif
    4646 include $(PATH_SUB_CURRENT)/Installer/Makefile.kmk
     47 include $(PATH_SUB_CURRENT)/Frontends/Makefile.kmk
    4748
    4849else
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r18893 r19853  
    13921392 endif
    13931393 INSTALLS += VBoxPython-inst-py-xpcom
    1394  INSTALLS += VBoxPython-inst-sample
    13951394endif
    13961395
     
    14691468        python/server/module.py=>server/module.py \
    14701469        python/server/policy.py=>server/policy.py
    1471 
    1472 # Python Client Module - a sample script.
    1473 VBoxPython-inst-sample_INST = $(INST_SDK)bindings/xpcom/python/sample/
    1474 VBoxPython-inst-sample_SOURCES = \
    1475         $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/xpcom/vboxshell.py \
    1476         $(PATH_ROOT)/src/VBox/Frontends/VBoxShell/shellcommon.py
    14771470
    14781471#
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