VirtualBox

Changeset 11588 in vbox


Ignore:
Timestamp:
Aug 22, 2008 10:05:59 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
35210
Message:

python: cleanup.

File:
1 edited

Legend:

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

    r11587 r11588  
    13171317   endif
    13181318 endif
    1319  DLLS +=VBox-xpcom-pymod
    1320 endif
    1321 
    1322 # Python Client Module.
    1323 PY_PATH = sdk/bindings/com/python/xpcom
    1324 PY_DEST = $(PATH_BIN)/$(PY_PATH)
    1325 PY_SAMPLE = $(PATH_BIN)/sdk/bindings/com/python/sample
    1326 
    1327 VBox-xpcom-pymod_TEMPLATE = XPCOM
    1328 ## @todo why isn't this target called VBoxPython?
    1329 VBox-xpcom-pymod_NAME = VBoxPython
    1330 VBox-xpcom-pymod_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTI_API EXPORT_XPT_API VBOX_PYXPCOM
    1331 VBox-xpcom-pymod_INCS += $(VBOX_PATH_PYTHON_INC) python/src
    1332 VBox-xpcom-pymod_SOURCES = \
     1319 DLLS += VBoxPython
     1320 INSTALLS += VBoxPython-inst-py-xpcom
     1321 INSTALLS += VBoxPython-inst-sample
     1322endif
     1323
     1324# Python Client Module - the C++/XPCOM bits.
     1325VBoxPython_TEMPLATE = XPCOM
     1326VBoxPython_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTI_API EXPORT_XPT_API VBOX_PYXPCOM
     1327VBoxPython_INCS = \
     1328        $(VBOX_PATH_PYTHON_INC) \
     1329        python/src
     1330VBoxPython_SOURCES = \
    13331331        python/src/module/_xpcom.cpp \
    13341332        python/src/dllmain.cpp \
     
    13531351        python/src/TypeObject.cpp \
    13541352        python/src/VariantUtils.cpp
    1355 VBox-xpcom-pymod_LIBS = $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL)
    1356 ## @todo rewrite this to an INSTALLS target, it's just copying.
    1357 VBox-xpcom-pymod_DEPS = \
    1358         $(PY_DEST)/components.py \
    1359         $(PY_DEST)/file.py \
    1360         $(PY_DEST)/__init__.py \
    1361         $(PY_DEST)/nsError.py \
    1362         $(PY_DEST)/primitives.py \
    1363         $(PY_DEST)/xpcom_consts.py \
    1364         $(PY_DEST)/xpt.py \
    1365         $(PY_DEST)/client/__init__.py \
    1366         $(PY_DEST)/server/__init__.py \
    1367         $(PY_DEST)/server/enumerator.py \
    1368         $(PY_DEST)/server/factory.py \
    1369         $(PY_DEST)/server/loader.py \
    1370         $(PY_DEST)/server/module.py \
    1371         $(PY_DEST)/server/policy.py \
    1372         $(PY_SAMPLE)/vboxshell.py \
    1373         $(TARGET_VBoxXPCOM)
    1374 
    1375 $(PY_DEST):
    1376         $(QUIET)$(MKDIR) -p -- \
    1377                 $@ \
    1378                 $(PY_SAMPLE) \
    1379                 $@/client \
    1380                 $@/server
    1381 
    1382 $(PY_DEST)/%.py: $(PATH_SUB_CURRENT)/python/%.py $(PY_DEST)
    1383         $(QUIET)$(CP) -f -- $< $@
    1384 
    1385 $(PY_SAMPLE)/%.py: $(PATH_SUB_CURRENT)/python/sample/%.py $(PY_DEST)
    1386         $(QUIET)$(CP) -f -- $< $@
     1353VBoxPython_LIBS = $(PATH_BIN)/VBoxXPCOM$(VBOX_SUFF_DLL)
     1354
     1355# Python Client Module - the Python bits.
     1356VBoxPython-inst-py-xpcom_INST = $(INST_SDK)/bindings/com/python/xpcom/
     1357VBoxPython-inst-py-xpcom_SOURCES = \
     1358        python/components.py \
     1359        python/file.py \
     1360        python/__init__.py \
     1361        python/nsError.py \
     1362        python/primitives.py \
     1363        python/xpcom_consts.py \
     1364        python/xpt.py \
     1365        python/client/__init__.py=>client/__init__.py \
     1366        python/server/__init__.py=>server/__init__.py \
     1367        python/server/enumerator.py=>server/enumerator.py \
     1368        python/server/factory.py=>server/factory.py \
     1369        python/server/loader.py=>server/loader.py \
     1370        python/server/module.py=>server/module.py \
     1371        python/server/policy.py=>server/policy.py
     1372
     1373# Python Client Module - a sample script.
     1374VBoxPython-inst-sample_INST = $(INST_SDK)/bindings/com/python/sample/
     1375VBoxPython-inst-sample_SOURCES = \
     1376        python/sample/vboxshell.py
    13871377
    13881378
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