- Timestamp:
- Aug 21, 2008 3:04:38 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 35113
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r11491 r11537 29 29 30 30 ifdef VBOX_WITH_PYTHON 31 # bridge for XPCOM to invoke Python32 XPCOM_PYTHON = VBox-xpcom-python33 31 # bridge for Python to invoke XPCOM 34 XPCOM_PYMOD = VBox-xpcom-pymod VBox-xpcom-helper 32 XPCOM_PYMOD = VBox-xpcom-pymod 33 # VBox-xpcom-helper 35 34 # bridge between PYMOD and VirtualBox, to minimize mods 36 35 XPCOM_VBOX_HELPER = VBox-xpcom-helper 37 PYTHON_ LIBS =python2.536 PYTHON_INCS=/usr/include/python2.5 38 37 endif 39 38 … … 259 258 VBox-xpcom-ipcdlock \ 260 259 VBox-xpcom-ipctransmgr \ 261 VBox-xpcom-ipctmgrcom \ 262 $(XPCOM_PYTHON) \ 263 $(PYTHON_LIBS) 260 VBox-xpcom-ipctmgrcom 264 261 265 262 DLLS += \ … … 1123 1120 $(TARGET_VBox-xpcom-proxy) \ 1124 1121 $(TARGET_VBox-xpcom-nspr) \ 1125 $(TARGET_$(XPCOM_PYTHON)) \1126 $(PYTHON_LIBS) \1127 1122 $(TARGET_VBoxXPCOMGlue_s) 1128 1123 … … 1140 1135 $(TARGET_VBox-xpcom-proxy) \ 1141 1136 $(TARGET_VBox-xpcom-nspr) \ 1142 $(TARGET_$(XPCOM_PYTHON))\1143 1137 $(TARGET_VBoxXPCOMGlue_s) \ 1144 1138 -Wl,--no-whole-archive … … 1156 1150 $(TARGET_VBox-xpcom-xptcall) \ 1157 1151 $(TARGET_VBox-xpcom-proxy) \ 1158 $(TARGET_$(XPCOM_PYTHON))\1159 1152 $(TARGET_VBox-xpcom-nspr) \ 1160 1153 $(TARGET_VBoxXPCOMGlue_s) \ … … 1263 1256 1264 1257 1265 # 1266 # Python XPCOM bindings 1267 # 1268 VBox-xpcom-python_TEMPLATE = XPCOM 1269 VBox-xpcom-python_NOINST = 1 1270 VBox-xpcom-python_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTI_API EXPORT_XPT_API VBOX_PYXPCOM 1271 VBox-xpcom-python_INCS += /usr/include/python2.5 1272 VBox-xpcom-python_SOURCES = \ 1273 python/src/dllmain.cpp \ 1258 # Helper for initialization of XPCOM 1259 VBox-xpcom-helper_TEMPLATE = VBOXMAINCLIENTDLL 1260 VBox-xpcom-helper_NAME = VBoxHlp 1261 VBox-xpcom-helper_DEFS = 1262 VBox-xpcom-helper_SOURCES = \ 1263 python/src/module/helper.cpp 1264 1265 # Python Client Module 1266 PY_PATH = sdk/bindings/com/python/xpcom 1267 PY_DEST = $(PATH_BIN)/$(PY_PATH) 1268 PY_SAMPLE = $(PATH_BIN)/sdk/bindings/com/python/sample 1269 1270 VBox-xpcom-pymod_TEMPLATE = XPCOM 1271 # sucky name, maybe rename? 1272 VBox-xpcom-pymod_NAME = _xpcom 1273 VBox-xpcom-pymod_INST = bin/$(PY_PATH)/ 1274 VBox-xpcom-pymod_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTI_API EXPORT_XPT_API VBOX_PYXPCOM 1275 VBox-xpcom-pymod_INCS += $(PYTHON_INCS) python/src 1276 VBox-xpcom-pymod_SOURCES = \ 1277 python/src/module/_xpcom.cpp \ 1278 python/src/dllmain.cpp \ 1274 1279 python/src/ErrorUtils.cpp \ 1275 1280 python/src/PyGBase.cpp \ … … 1292 1297 python/src/TypeObject.cpp \ 1293 1298 python/src/VariantUtils.cpp 1294 1295 1296 # Helper for initialization of XPCOM1297 VBox-xpcom-helper_TEMPLATE = VBOXMAINCLIENTDLL1298 VBox-xpcom-helper_NAME = VBoxHlp1299 VBox-xpcom-helper_DEFS =1300 VBox-xpcom-helper_SOURCES = \1301 python/src/module/helper.cpp1302 1303 # Python Client Module1304 PY_PATH = sdk/bindings/com/python/xpcom1305 PY_DEST = $(PATH_BIN)/$(PY_PATH)1306 PY_SAMPLE = $(PATH_BIN)/sdk/bindings/com/python/sample1307 1308 VBox-xpcom-pymod_TEMPLATE = XPCOM1309 # sucky name, maybe rename?1310 VBox-xpcom-pymod_NAME = _xpcom1311 VBox-xpcom-pymod_INST = bin/$(PY_PATH)/1312 VBox-xpcom-pymod_DEFS = _IMPL_NS_COM _IMPL_NS_BASE EXPORT_XPTI_API EXPORT_XPT_API VBOX_PYXPCOM1313 VBox-xpcom-pymod_INCS += /usr/include/python2.5 python/src1314 VBox-xpcom-pymod_SOURCES = \1315 python/src/module/_xpcom.cpp1316 1299 VBox-xpcom-pymod_LIBS = $(TARGET_VBox-xpcom-helper) 1317 1300 VBox-xpcom-pymod_LDFLAGS += $(PATH_BIN)/VBoxXPCOM.so
Note:
See TracChangeset
for help on using the changeset viewer.