From 027c5e85cf0790d32ca8c73514fc7ae8e6fec08e Mon Sep 17 00:00:00 2001 From: Christopher Lloyd Date: Mon, 19 Oct 2009 20:27:55 +0000 Subject: [PATCH] (fixes issue 388) Added Linux 386 target to Cocoa.xcodeproj --- Cocoa/Cocoa.xcodeproj/project.pbxproj | 139 ++++++++++++++++++++++++++ Cocoa/Info.plist | 2 +- 2 files changed, 140 insertions(+), 1 deletion(-) diff --git a/Cocoa/Cocoa.xcodeproj/project.pbxproj b/Cocoa/Cocoa.xcodeproj/project.pbxproj index 2b7cf984..a29cbe7c 100644 --- a/Cocoa/Cocoa.xcodeproj/project.pbxproj +++ b/Cocoa/Cocoa.xcodeproj/project.pbxproj @@ -15,6 +15,10 @@ FE01AB1A0C5D9C3400AEA51A /* Cocoa.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF3B2780B35CB9D00A76FD1 /* Cocoa.m */; }; FE01AB1C0C5D9C3400AEA51A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; FE01AB1D0C5D9C3400AEA51A /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; + FECC1DCC108D025D00BD4A91 /* Cocoa.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF3B23A0B35C74700A76FD1 /* Cocoa.h */; settings = {ATTRIBUTES = (Public, ); }; }; + FECC1DCF108D025D00BD4A91 /* Cocoa.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF3B2780B35CB9D00A76FD1 /* Cocoa.m */; }; + FECC1DD1108D025D00BD4A91 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D69BFE84028FC02AAC07 /* Foundation.framework */; }; + FECC1DD2108D025D00BD4A91 /* AppKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0867D6A5FE840307C02AAC07 /* AppKit.framework */; }; /* End PBXBuildFile section */ /* Begin PBXBuildRule section */ @@ -26,6 +30,14 @@ outputFiles = ( ); }; + FECC1DDB108D02C600BD4A91 /* PBXBuildRule */ = { + isa = PBXBuildRule; + compilerSpec = org.cocotron.1.0.linux.i386.gcc.default; + fileType = sourcecode.c; + isEditable = 1; + outputFiles = ( + ); + }; /* End PBXBuildRule section */ /* Begin PBXContainerItemProxy section */ @@ -92,6 +104,13 @@ remoteGlobalIDString = FEA3164C0FD5667D00F480D4; remoteInfo = "AppKit-MacOS-i386"; }; + FECC1DD9108D027000BD4A91 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FE7135460B36427F006C9493 /* AppKit.xcodeproj */; + proxyType = 1; + remoteGlobalIDString = C889741E0EA0BF3100D0A0A2 /* AppKit-Linux-i386 */; + remoteInfo = "AppKit-Linux-i386"; + }; FEF80ABD0C5D9F3000FF7CA5 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = FE7135460B36427F006C9493 /* AppKit.xcodeproj */; @@ -116,6 +135,8 @@ FE01AB210C5D9C3400AEA51A /* Cocoa.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Cocoa.framework; sourceTree = BUILT_PRODUCTS_DIR; }; FE3217D10BB41D16004F000A /* ApplicationServices.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ApplicationServices.xcodeproj; path = ../ApplicationServices/ApplicationServices.xcodeproj; sourceTree = SOURCE_ROOT; }; FE7135460B36427F006C9493 /* AppKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = AppKit.xcodeproj; path = ../AppKit/AppKit.xcodeproj; sourceTree = SOURCE_ROOT; }; + FECC1DD6108D025D00BD4A91 /* Cocoa.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Cocoa.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FECC1DD7108D025D00BD4A91 /* Info copy.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Info copy.plist"; sourceTree = ""; }; FEF3B23A0B35C74700A76FD1 /* Cocoa.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Cocoa.h; sourceTree = ""; }; FEF3B2780B35CB9D00A76FD1 /* Cocoa.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Cocoa.m; sourceTree = ""; }; /* End PBXFileReference section */ @@ -139,6 +160,15 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FECC1DD0108D025D00BD4A91 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + FECC1DD1108D025D00BD4A91 /* Foundation.framework in Frameworks */, + FECC1DD2108D025D00BD4A91 /* AppKit.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -147,6 +177,7 @@ children = ( FE01AB210C5D9C3400AEA51A /* Cocoa.framework */, C8E0BFAA0F0E6B0E00677729 /* Cocoa.framework */, + FECC1DD6108D025D00BD4A91 /* Cocoa.framework */, ); name = Products; sourceTree = ""; @@ -180,6 +211,7 @@ isa = PBXGroup; children = ( 8DC2EF5A0486A6940098B216 /* Info.plist */, + FECC1DD7108D025D00BD4A91 /* Info copy.plist */, ); name = Resources; sourceTree = ""; @@ -254,6 +286,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FECC1DCB108D025D00BD4A91 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + FECC1DCC108D025D00BD4A91 /* Cocoa.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ @@ -300,6 +340,27 @@ productReference = FE01AB210C5D9C3400AEA51A /* Cocoa.framework */; productType = "com.apple.product-type.framework"; }; + FECC1DC6108D025D00BD4A91 /* Cocoa-Linux-i386 */ = { + isa = PBXNativeTarget; + buildConfigurationList = FECC1DD3108D025D00BD4A91 /* Build configuration list for PBXNativeTarget "Cocoa-Linux-i386" */; + buildPhases = ( + FECC1DCB108D025D00BD4A91 /* Headers */, + FECC1DCD108D025D00BD4A91 /* Resources */, + FECC1DCE108D025D00BD4A91 /* Sources */, + FECC1DD0108D025D00BD4A91 /* Frameworks */, + ); + buildRules = ( + FECC1DDB108D02C600BD4A91 /* PBXBuildRule */, + ); + dependencies = ( + FECC1DDA108D027000BD4A91 /* PBXTargetDependency */, + ); + name = "Cocoa-Linux-i386"; + productInstallPath = "$(HOME)/Library/Frameworks"; + productName = Cocoa; + productReference = FECC1DD6108D025D00BD4A91 /* Cocoa.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -325,6 +386,7 @@ targets = ( FE01AB110C5D9C3400AEA51A /* Cocoa-Windows-i386 */, C8E0BF990F0E6B0E00677729 /* Cocoa-Darwin-i386 */, + FECC1DC6108D025D00BD4A91 /* Cocoa-Linux-i386 */, ); }; /* End PBXProject section */ @@ -396,6 +458,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FECC1DCD108D025D00BD4A91 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -415,6 +484,14 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + FECC1DCE108D025D00BD4A91 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + FECC1DCF108D025D00BD4A91 /* Cocoa.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -428,6 +505,11 @@ name = "ApplicationServices-Darwin-i386"; targetProxy = C8E0BFB10F0E6B6C00677729 /* PBXContainerItemProxy */; }; + FECC1DDA108D027000BD4A91 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = "AppKit-Linux-i386"; + targetProxy = FECC1DD9108D027000BD4A91 /* PBXContainerItemProxy */; + }; FEF80ABE0C5D9F3000FF7CA5 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = "AppKit-Windows-i386"; @@ -559,6 +641,54 @@ }; name = Release; }; + FECC1DD4108D025D00BD4A91 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = i386; + DEPLOYMENT_LOCATION = YES; + DSTROOT = /; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .so; + FRAMEWORK_SEARCH_PATHS = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_PREFIX_HEADER = ""; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + OTHER_CFLAGS = ( + "-DCOCOA_INSIDE_BUILD", + "-D__LITTLE_ENDIAN__", + ); + PREBINDING = NO; + PRODUCT_NAME = Cocoa; + SYMROOT = /Developer/Cocotron/1.0/build/Cocoa/Linux/i386; + }; + name = Release; + }; + FECC1DD5108D025D00BD4A91 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ARCHS = i386; + DEPLOYMENT_LOCATION = YES; + DSTROOT = /; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .so; + FRAMEWORK_SEARCH_PATHS = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = NO; + GCC_PREFIX_HEADER = ""; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = /Developer/Cocotron/1.0/Linux/i386/Frameworks; + OTHER_CFLAGS = ( + "-DCOCOA_INSIDE_BUILD", + "-D__LITTLE_ENDIAN__", + ); + PREBINDING = NO; + PRODUCT_NAME = Cocoa; + SYMROOT = /Developer/Cocotron/1.0/build/Cocoa/Linux/i386; + }; + name = Debug; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -589,6 +719,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + FECC1DD3108D025D00BD4A91 /* Build configuration list for PBXNativeTarget "Cocoa-Linux-i386" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + FECC1DD4108D025D00BD4A91 /* Release */, + FECC1DD5108D025D00BD4A91 /* Debug */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = 0867D690FE84028FC02AAC07 /* Project object */; diff --git a/Cocoa/Info.plist b/Cocoa/Info.plist index 34535f44..f960a28e 100644 --- a/Cocoa/Info.plist +++ b/Cocoa/Info.plist @@ -1,5 +1,5 @@ - + CFBundleDevelopmentRegion