Changeset 12378 in vbox for trunk/src/libs/xpcom18a4
- Timestamp:
- Sep 10, 2008 8:59:47 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/Makefile.kmk
r12376 r12378 215 215 TEMPLATE_XPCOMBLDPROG_LDFLAGS.$(KBUILD_TARGET_ARCH) = $(TEMPLATE_XPCOMEXE_LDFLAGS.$(KBUILD_TARGET_ARCH)) 216 216 TEMPLATE_XPCOMBLDPROG_ORDERDEPS = $(foreach hdrinst, $(filter %-HEADERS, $(INSTALLS)), $(TARGET_$(hdrinst))) 217 218 219 # 220 # Template for building VBoxPhython against the Mac OS X 10.5 SDK. 221 # ASSUMES that the SDK bits are in the .darwin properties we're overriding below. 222 # 223 TEMPLATE_XPCOMOSX105 = XPCOM libraries (shared) built against the Mac OS X 10.5 SDK 224 TEMPLATE_XPCOMOSX105_EXTENDS = XPCOM 225 TEMPLATE_XPCOMOSX105_CXXFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CXXFLAGS),$(TEMPLATE_XPCOM_CXXFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_CXXFLAGS) 226 TEMPLATE_XPCOMOSX105_CFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_CFLAGS),$(TEMPLATE_XPCOM_CFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_CFLAGS) 227 TEMPLATE_XPCOMOSX105_LDFLAGS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_LDFLAGS),$(TEMPLATE_XPCOM_LDFLAGS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_LDFLAGS) 228 TEMPLATE_XPCOMOSX105_DEFS.darwin = $(filter-out $(VBOX_DARWIN_DEF_SDK_DEFS),$(TEMPLATE_XPCOM_DEFS.darwin)) $(VBOX_DARWIN_DEF_SDK_10_5_DEFS) 229 TEMPLATE_XPCOMOSX105_INCS.darwin = $(VBOX_PATH_MACOSX_SDK_10_5)/Developer/Headers/FlatCarbon 217 230 218 231 … … 1298 1311 endif 1299 1312 # Does -framework really work with CXXFLAGS and CFLAGS? 1300 VBOX_PYTHON_FRAMEWORK := 1313 VBOX_PYTHON_FRAMEWORK := -framework Python 1301 1314 VBOX_PATH_PYTHON_INC := $(VBOX_PATH_MACOSX_SDK_10_4)/System/Library/Frameworks/Python.framework/Headers 1302 1315 endif … … 1373 1386 $(VBOX_LIB_PYTHON) 1374 1387 1375 ## @todo we'll have to use the 10.5 SDK if we wish to build this. :-/ 1376 #VBoxPython_DEFS.darwin = MAC_OS_X_VERSION_MIN_REQUIRED=1050 MAC_OS_X_VERSION_MAX_ALLOWED=1050 1377 #VBoxPython_CXXFLAGS.darwin = -mmacosx-version-min=10.5 -isysroot $(subst MacOSX10.4u,MacOSX10.5,$(VBOX_PATH_MACOSX_SDK)) -framework Python 1378 #VBoxPython_LDFLAGS.darwin = -mmacosx-version-min=10.5 -isysroot $(subst MacOSX10.4u,MacOSX10.5,$(VBOX_PATH_MACOSX_SDK)) -framework Python 1379 1388 if defined(VBOX_WITH_VBOXPYTHON_FOR_OSX_10_5) && "$(KBUILD_TARGET)" == "darwin" 1389 # Same VBoxPython except built against the Mac OS X 10.5 SDK. 1390 DLLS += VBoxPython2_5 1391 VBoxPython2_5_EXTENDS = VBoxPython 1392 VBoxPython2_5_TEMPLATE = XPCOMOSX105 1393 VBoxPython2_5_NAME.darwin = VBoxPython2_5 1394 VBoxPython2_5_INCS = \ 1395 python/src \ 1396 $(VBOX_PATH_MACOSX_SDK_10_5)/System/Library/Frameworks/Python.framework/Headers 1397 endif 1380 1398 1381 1399 # Python Client Module - the Python bits.
Note:
See TracChangeset
for help on using the changeset viewer.