X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/d696c285d331ab577dcabd00419d8c30336673da..a61fdf0a731e23ff7eb0cc86ba748fd9af5de879:/ld64.xcodeproj/project.pbxproj diff --git a/ld64.xcodeproj/project.pbxproj b/ld64.xcodeproj/project.pbxproj index 1ce18dd..e8a771c 100644 --- a/ld64.xcodeproj/project.pbxproj +++ b/ld64.xcodeproj/project.pbxproj @@ -13,28 +13,40 @@ buildPhases = ( F96D5367094A2754008E9EE8 /* ShellScript */, ); - buildSettings = { - PRODUCT_NAME = "unit-tests"; - }; dependencies = ( F96D536A094A275D008E9EE8 /* PBXTargetDependency */, F96D536C094A275F008E9EE8 /* PBXTargetDependency */, + F96904890A4333AC00B77D2A /* PBXTargetDependency */, F9EA73970974999B008B4F1D /* PBXTargetDependency */, ); name = "unit-tests"; productName = "unit-tests"; }; + F9B1A2670A3A567B00DA8FAB /* all */ = { + isa = PBXAggregateTarget; + buildConfigurationList = F9B1A26C0A3A568700DA8FAB /* Build configuration list for PBXAggregateTarget "all" */; + buildPhases = ( + ); + dependencies = ( + F9B1A2690A3A568200DA8FAB /* PBXTargetDependency */, + F9B1A26B0A3A568400DA8FAB /* PBXTargetDependency */, + ); + name = all; + productName = all; + }; /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ F9023C4E06D5A272001BBF46 /* ld.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9023C3F06D5A254001BBF46 /* ld.cpp */; }; F933E3D9092E855B0083EAC8 /* ObjectDump.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F971EED706D5AD240041D381 /* ObjectDump.cpp */; }; - F97288E707D277570031794D /* SectCreate.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F97288E607D277570031794D /* SectCreate.cpp */; }; - F97F5029070D0BB200B9FCD7 /* ld64.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F97F5028070D0BB200B9FCD7 /* ld64.1 */; }; + F97F5029070D0BB200B9FCD7 /* ld.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F97F5028070D0BB200B9FCD7 /* ld.1 */; }; + F9B1A2640A3A563E00DA8FAB /* rebase.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F9B1A2580A3A448800DA8FAB /* rebase.1 */; }; F9C0D4BD06DD28D2001C7193 /* Options.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9C0D48A06DD1E1B001C7193 /* Options.cpp */; }; F9EA72D5097454FF008B4F1D /* machochecker.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9EA72D4097454FF008B4F1D /* machochecker.cpp */; }; F9EA7584097882F3008B4F1D /* debugline.c in Sources */ = {isa = PBXBuildFile; fileRef = F9EA7582097882F3008B4F1D /* debugline.c */; }; F9EA75BC09788857008B4F1D /* debugline.c in Sources */ = {isa = PBXBuildFile; fileRef = F9EA7582097882F3008B4F1D /* debugline.c */; }; + F9EC78060A2F8674002A3E39 /* rebase.cpp in Sources */ = {isa = PBXBuildFile; fileRef = F9EC78050A2F8674002A3E39 /* rebase.cpp */; }; + F9FCC3F20A54A75600CEB866 /* ld64.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = F9FCC3F10A54A75600CEB866 /* ld64.1 */; }; /* End PBXBuildFile section */ /* Begin PBXBuildRule section */ @@ -56,24 +68,14 @@ }; /* End PBXBuildRule section */ -/* Begin PBXBuildStyle section */ - F933D92F09291D070083EAC8 /* Development */ = { - isa = PBXBuildStyle; - buildSettings = { - COPY_PHASE_STRIP = NO; - }; - name = Development; - }; - F933D93009291D070083EAC8 /* Deployment */ = { - isa = PBXBuildStyle; - buildSettings = { - COPY_PHASE_STRIP = YES; - }; - name = Deployment; - }; -/* End PBXBuildStyle section */ - /* Begin PBXContainerItemProxy section */ + F96904880A4333AC00B77D2A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F9023C3006D5A227001BBF46 /* Project object */; + proxyType = 1; + remoteGlobalIDString = F9EC77ED0A2F85F6002A3E39; + remoteInfo = rebase; + }; F96D5369094A275D008E9EE8 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = F9023C3006D5A227001BBF46 /* Project object */; @@ -88,6 +90,20 @@ remoteGlobalIDString = F971EED206D5ACF60041D381; remoteInfo = ObjectDump; }; + F9B1A2680A3A568200DA8FAB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F9023C3006D5A227001BBF46 /* Project object */; + proxyType = 1; + remoteGlobalIDString = F9023C3806D5A23E001BBF46; + remoteInfo = ld; + }; + F9B1A26A0A3A568400DA8FAB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F9023C3006D5A227001BBF46 /* Project object */; + proxyType = 1; + remoteGlobalIDString = F9EC77ED0A2F85F6002A3E39; + remoteInfo = rebase; + }; F9EA73960974999B008B4F1D /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = F9023C3006D5A227001BBF46 /* Project object */; @@ -104,15 +120,27 @@ dstPath = /usr/share/man/man1; dstSubfolderSpec = 0; files = ( - F97F5029070D0BB200B9FCD7 /* ld64.1 in CopyFiles */, + F97F5029070D0BB200B9FCD7 /* ld.1 in CopyFiles */, + F9FCC3F20A54A75600CEB866 /* ld64.1 in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 1; + }; + F9B1A25E0A3A44CB00DA8FAB /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 8; + dstPath = /usr/share/man/man1; + dstSubfolderSpec = 0; + files = ( + F9B1A2640A3A563E00DA8FAB /* rebase.1 in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 1; }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 3DA587190ACC53BE0015C432 /* LLVMReader.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = LLVMReader.hpp; path = src/LLVMReader.hpp; sourceTree = ""; }; C02A29DE0953B26E001FB8C1 /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ChangeLog; sourceTree = ""; }; - F9023C3906D5A23E001BBF46 /* ld64 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ld64; sourceTree = BUILT_PRODUCTS_DIR; }; + F9023C3906D5A23E001BBF46 /* ld */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ld; sourceTree = BUILT_PRODUCTS_DIR; }; F9023C3E06D5A254001BBF46 /* ExecutableFile.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ExecutableFile.h; path = src/ExecutableFile.h; sourceTree = ""; }; F9023C3F06D5A254001BBF46 /* ld.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ld.cpp; path = src/ld.cpp; sourceTree = ""; }; F9023C4106D5A254001BBF46 /* ObjectFile.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = ObjectFile.h; path = src/ObjectFile.h; sourceTree = ""; }; @@ -125,15 +153,18 @@ F933E3CE092E84250083EAC8 /* MachOWriterExecutable.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = MachOWriterExecutable.hpp; path = src/MachOWriterExecutable.hpp; sourceTree = ""; }; F971EED306D5ACF60041D381 /* ObjectDump */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = ObjectDump; sourceTree = BUILT_PRODUCTS_DIR; }; F971EED706D5AD240041D381 /* ObjectDump.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = ObjectDump.cpp; path = src/ObjectDump.cpp; sourceTree = ""; }; - F97288E607D277570031794D /* SectCreate.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = SectCreate.cpp; path = src/SectCreate.cpp; sourceTree = ""; }; - F972890007D27FD00031794D /* SectCreate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = SectCreate.h; path = src/SectCreate.h; sourceTree = ""; }; - F97F5028070D0BB200B9FCD7 /* ld64.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = ld64.1; path = doc/man/man1/ld64.1; sourceTree = ""; }; + F97F5028070D0BB200B9FCD7 /* ld.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = ld.1; path = doc/man/man1/ld.1; sourceTree = ""; }; + F98D26850AA779BD00416316 /* OpaqueSection.hpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.h; name = OpaqueSection.hpp; path = src/OpaqueSection.hpp; sourceTree = ""; }; + F9B1A2580A3A448800DA8FAB /* rebase.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = rebase.1; path = doc/man/man1/rebase.1; sourceTree = ""; }; F9C0D48A06DD1E1B001C7193 /* Options.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Options.cpp; path = src/Options.cpp; sourceTree = ""; }; F9C0D48B06DD1E1B001C7193 /* Options.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = Options.h; path = src/Options.h; sourceTree = ""; }; F9EA72CB097454A6008B4F1D /* machocheck */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = machocheck; sourceTree = BUILT_PRODUCTS_DIR; }; F9EA72D4097454FF008B4F1D /* machochecker.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = machochecker.cpp; path = src/machochecker.cpp; sourceTree = ""; }; F9EA7582097882F3008B4F1D /* debugline.c */ = {isa = PBXFileReference; fileEncoding = 30; indentWidth = 2; lastKnownFileType = sourcecode.c.c; name = debugline.c; path = src/debugline.c; sourceTree = ""; tabWidth = 4; usesTabs = 1; }; F9EA7583097882F3008B4F1D /* debugline.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = debugline.h; path = src/debugline.h; sourceTree = ""; }; + F9EC77EE0A2F85F6002A3E39 /* rebase */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = rebase; sourceTree = BUILT_PRODUCTS_DIR; }; + F9EC78050A2F8674002A3E39 /* rebase.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = rebase.cpp; path = src/rebase.cpp; sourceTree = ""; }; + F9FCC3F10A54A75600CEB866 /* ld64.1 */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text.man; name = ld64.1; path = doc/man/man1/ld64.1; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -158,6 +189,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + F9EC77EC0A2F85F6002A3E39 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -172,18 +210,21 @@ F933E3CB092E84250083EAC8 /* MachOReaderArchive.hpp */, F933E3CC092E84250083EAC8 /* MachOReaderDylib.hpp */, F933E3CE092E84250083EAC8 /* MachOWriterExecutable.hpp */, + 3DA587190ACC53BE0015C432 /* LLVMReader.hpp */, F9023C3E06D5A254001BBF46 /* ExecutableFile.h */, F9023C4106D5A254001BBF46 /* ObjectFile.h */, + F98D26850AA779BD00416316 /* OpaqueSection.hpp */, F9023C3F06D5A254001BBF46 /* ld.cpp */, F9C0D48A06DD1E1B001C7193 /* Options.cpp */, F9C0D48B06DD1E1B001C7193 /* Options.h */, - F97288E607D277570031794D /* SectCreate.cpp */, - F972890007D27FD00031794D /* SectCreate.h */, F9EA7582097882F3008B4F1D /* debugline.c */, F9EA7583097882F3008B4F1D /* debugline.h */, F9EA72D4097454FF008B4F1D /* machochecker.cpp */, F971EED706D5AD240041D381 /* ObjectDump.cpp */, - F97F5028070D0BB200B9FCD7 /* ld64.1 */, + F9EC78050A2F8674002A3E39 /* rebase.cpp */, + F97F5028070D0BB200B9FCD7 /* ld.1 */, + F9FCC3F10A54A75600CEB866 /* ld64.1 */, + F9B1A2580A3A448800DA8FAB /* rebase.1 */, F9023C3A06D5A23E001BBF46 /* Products */, ); sourceTree = ""; @@ -191,9 +232,10 @@ F9023C3A06D5A23E001BBF46 /* Products */ = { isa = PBXGroup; children = ( - F9023C3906D5A23E001BBF46 /* ld64 */, + F9023C3906D5A23E001BBF46 /* ld */, F971EED306D5ACF60041D381 /* ObjectDump */, F9EA72CB097454A6008B4F1D /* machocheck */, + F9EC77EE0A2F85F6002A3E39 /* rebase */, ); name = Products; sourceTree = ""; @@ -208,19 +250,17 @@ F9023C3606D5A23E001BBF46 /* Sources */, F9023C3706D5A23E001BBF46 /* Frameworks */, F97F5025070D0B6300B9FCD7 /* CopyFiles */, + F9FCC3EF0A54A4ED00CEB866 /* ShellScript */, ); buildRules = ( F9E8D4BE07FCAF2A00FD5801 /* PBXBuildRule */, F9E8D4BD07FCAF2000FD5801 /* PBXBuildRule */, ); - buildSettings = { - PRODUCT_NAME = ld64; - }; dependencies = ( ); name = ld; productName = ld64; - productReference = F9023C3906D5A23E001BBF46 /* ld64 */; + productReference = F9023C3906D5A23E001BBF46 /* ld */; productType = "com.apple.product-type.tool"; }; F971EED206D5ACF60041D381 /* ObjectDump */ = { @@ -232,9 +272,6 @@ ); buildRules = ( ); - buildSettings = { - PRODUCT_NAME = ObjectDump; - }; dependencies = ( ); name = ObjectDump; @@ -251,13 +288,6 @@ ); buildRules = ( ); - buildSettings = { - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; - GCC_MODEL_TUNING = G5; - INSTALL_PATH = "$(HOME)/bin"; - PREBINDING = NO; - PRODUCT_NAME = machocheck; - }; dependencies = ( ); name = machocheck; @@ -265,24 +295,40 @@ productReference = F9EA72CB097454A6008B4F1D /* machocheck */; productType = "com.apple.product-type.tool"; }; + F9EC77ED0A2F85F6002A3E39 /* rebase */ = { + isa = PBXNativeTarget; + buildConfigurationList = F9EC77F00A2F8616002A3E39 /* Build configuration list for PBXNativeTarget "rebase" */; + buildPhases = ( + F9EC77EB0A2F85F6002A3E39 /* Sources */, + F9EC77EC0A2F85F6002A3E39 /* Frameworks */, + F9B1A25E0A3A44CB00DA8FAB /* CopyFiles */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = rebase; + productName = rebase; + productReference = F9EC77EE0A2F85F6002A3E39 /* rebase */; + productType = "com.apple.product-type.tool"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ F9023C3006D5A227001BBF46 /* Project object */ = { isa = PBXProject; buildConfigurationList = F933D92309291AC90083EAC8 /* Build configuration list for PBXProject "ld64" */; - buildSettings = { - }; - buildStyles = ( - F933D92F09291D070083EAC8 /* Development */, - F933D93009291D070083EAC8 /* Deployment */, - ); + compatibilityVersion = "Xcode 2.4"; hasScannedForEncodings = 0; mainGroup = F9023C2C06D5A227001BBF46; productRefGroup = F9023C3A06D5A23E001BBF46 /* Products */; projectDirPath = ""; + projectRoot = ""; + shouldCheckCompatibility = 1; targets = ( + F9B1A2670A3A567B00DA8FAB /* all */, F9023C3806D5A23E001BBF46 /* ld */, + F9EC77ED0A2F85F6002A3E39 /* rebase */, F971EED206D5ACF60041D381 /* ObjectDump */, F9EA72CA097454A6008B4F1D /* machocheck */, F96D5368094A2754008E9EE8 /* unit-tests */, @@ -302,7 +348,22 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/csh; - shellScript = "# Let tests set MACOSX_DEPLOYMENT_TARGET as they need\nunsetenv MACOSX_DEPLOYMENT_TARGET\n\n# make an symlink to ld64 called ld, so that gcc will use this linker for all linking\nrm -rf $BUILT_PRODUCTS_DIR/ld\nln -s $BUILT_PRODUCTS_DIR/ld64 $BUILT_PRODUCTS_DIR/ld\n\n# run full test suite\n$SRCROOT/unit-tests/run-all-unit-tests\n\nexit 0"; + shellScript = "# Let tests set MACOSX_DEPLOYMENT_TARGET as they need\nunsetenv MACOSX_DEPLOYMENT_TARGET\n\n# always use new linker\nsetenv LD_NO_CLASSIC_LINKER\nsetenv LD_NO_CLASSIC_LINKER_STATIC\n\n# run full test suite\n\"$SRCROOT\"/unit-tests/run-all-unit-tests\n\nexit 0"; + showEnvVarsInLog = 0; + }; + F9FCC3EF0A54A4ED00CEB866 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 8; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = "cd ${DSTROOT}/usr/bin\nln -s ld ld64"; + showEnvVarsInLog = 0; }; /* End PBXShellScriptBuildPhase section */ @@ -313,7 +374,6 @@ files = ( F9023C4E06D5A272001BBF46 /* ld.cpp in Sources */, F9C0D4BD06DD28D2001C7193 /* Options.cpp in Sources */, - F97288E707D277570031794D /* SectCreate.cpp in Sources */, F9EA7584097882F3008B4F1D /* debugline.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -335,9 +395,22 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + F9EC77EB0A2F85F6002A3E39 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + F9EC78060A2F8674002A3E39 /* rebase.cpp in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + F96904890A4333AC00B77D2A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F9EC77ED0A2F85F6002A3E39 /* rebase */; + targetProxy = F96904880A4333AC00B77D2A /* PBXContainerItemProxy */; + }; F96D536A094A275D008E9EE8 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = F9023C3806D5A23E001BBF46 /* ld */; @@ -348,6 +421,16 @@ target = F971EED206D5ACF60041D381 /* ObjectDump */; targetProxy = F96D536B094A275F008E9EE8 /* PBXContainerItemProxy */; }; + F9B1A2690A3A568200DA8FAB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F9023C3806D5A23E001BBF46 /* ld */; + targetProxy = F9B1A2680A3A568200DA8FAB /* PBXContainerItemProxy */; + }; + F9B1A26B0A3A568400DA8FAB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F9EC77ED0A2F85F6002A3E39 /* rebase */; + targetProxy = F9B1A26A0A3A568400DA8FAB /* PBXContainerItemProxy */; + }; F9EA73970974999B008B4F1D /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = F9EA72CA097454A6008B4F1D /* machocheck */; @@ -361,8 +444,9 @@ buildSettings = { COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = "$(RC_ProjectSourceVersion)"; + DEBUG_INFORMATION_FORMAT = dwarf; GCC_DYNAMIC_NO_PIC = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; GCC_TREAT_WARNINGS_AS_ERRORS = YES; @@ -390,10 +474,11 @@ GCC_WARN_UNUSED_VALUE = YES; GCC_WARN_UNUSED_VARIABLE = YES; INSTALL_PATH = /usr/bin; + MACOSX_DEPLOYMENT_TARGET = 10.5; OTHER_CPLUSPLUSFLAGS = "$(OTHER_CPLUSPLUSFLAGS)"; OTHER_LDFLAGS = ""; PREBINDING = NO; - PRODUCT_NAME = ld64; + PRODUCT_NAME = ld; SECTORDER_FLAGS = ""; VERSIONING_SYSTEM = "apple-generic"; WARNING_CFLAGS = "-Wall"; @@ -405,14 +490,13 @@ buildSettings = { COPY_PHASE_STRIP = YES; CURRENT_PROJECT_VERSION = "$(RC_ProjectSourceVersion)"; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_DYNAMIC_NO_PIC = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 3; GCC_PREPROCESSOR_DEFINITIONS = "$(GCC_PREPROCESSOR_DEFINITIONS_$(RC_RELEASE))"; - GCC_PREPROCESSOR_DEFINITIONS_Curry = __OPEN_SOURCE__; GCC_PREPROCESSOR_DEFINITIONS_CurryWeed = __OPEN_SOURCE__; - GCC_PREPROCESSOR_DEFINITIONS_Leopard = __OPEN_SOURCE__; GCC_TREAT_WARNINGS_AS_ERRORS = NO; GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO; GCC_WARN_ABOUT_MISSING_NEWLINE = YES; @@ -441,8 +525,9 @@ OTHER_CPLUSPLUSFLAGS = "$(OTHER_CPLUSPLUSFLAGS)"; OTHER_LDFLAGS = ""; PREBINDING = NO; - PRODUCT_NAME = ld64; + PRODUCT_NAME = ld; SECTORDER_FLAGS = ""; + VALID_ARCHS = "i386 ppc"; VERSIONING_SYSTEM = "apple-generic"; WARNING_CFLAGS = "-Wall"; }; @@ -452,7 +537,8 @@ isa = XCBuildConfiguration; buildSettings = { COPY_PHASE_STRIP = NO; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_MODEL_TUNING = G5; GCC_OPTIMIZATION_LEVEL = 0; INSTALL_PATH = "$(HOME)/bin"; @@ -473,15 +559,15 @@ isa = XCBuildConfiguration; buildSettings = { COPY_PHASE_STRIP = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; + GCC_OPTIMIZATION_LEVEL = s; INSTALL_PATH = "$(HOME)/bin"; OTHER_LDFLAGS = ""; OTHER_REZFLAGS = ""; PREBINDING = NO; PRODUCT_NAME = ObjectDump; - SECTORDER_FLAGS = ""; WARNING_CFLAGS = ( "-Wmost", "-Wno-four-char-constants", @@ -524,12 +610,36 @@ }; name = Release; }; + F9B1A26D0A3A568700DA8FAB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + GCC_DYNAMIC_NO_PIC = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + PRODUCT_NAME = all; + }; + name = Debug; + }; + F9B1A26E0A3A568700DA8FAB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + PRODUCT_NAME = all; + ZERO_LINK = NO; + }; + name = Release; + }; F9EA72D0097454D5008B4F1D /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; INSTALL_PATH = "$(HOME)/bin"; PREBINDING = NO; PRODUCT_NAME = machocheck; @@ -540,7 +650,8 @@ isa = XCBuildConfiguration; buildSettings = { COPY_PHASE_STRIP = YES; - GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; GCC_MODEL_TUNING = G5; INSTALL_PATH = "$(HOME)/bin"; PREBINDING = NO; @@ -548,6 +659,37 @@ }; name = Release; }; + F9EC77F10A2F8616002A3E39 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_DYNAMIC_NO_PIC = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_MODEL_TUNING = G5; + GCC_OPTIMIZATION_LEVEL = 0; + INSTALL_PATH = "$(HOME)/bin"; + PREBINDING = NO; + PRODUCT_NAME = rebase; + }; + name = Debug; + }; + F9EC77F20A2F8616002A3E39 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COPY_PHASE_STRIP = YES; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_MODEL_TUNING = G5; + GCC_PREPROCESSOR_DEFINITIONS = "$(GCC_PREPROCESSOR_DEFINITIONS_$(RC_RELEASE))"; + GCC_PREPROCESSOR_DEFINITIONS_CurryWeed = __OPEN_SOURCE__; + INSTALL_PATH = /usr/bin; + PREBINDING = NO; + PRODUCT_NAME = rebase; + VALID_ARCHS = "i386 ppc"; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -587,6 +729,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + F9B1A26C0A3A568700DA8FAB /* Build configuration list for PBXAggregateTarget "all" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F9B1A26D0A3A568700DA8FAB /* Debug */, + F9B1A26E0A3A568700DA8FAB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; F9EA72CF097454D5008B4F1D /* Build configuration list for PBXNativeTarget "machocheck" */ = { isa = XCConfigurationList; buildConfigurations = ( @@ -596,6 +747,15 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + F9EC77F00A2F8616002A3E39 /* Build configuration list for PBXNativeTarget "rebase" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F9EC77F10A2F8616002A3E39 /* Debug */, + F9EC77F20A2F8616002A3E39 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; /* End XCConfigurationList section */ }; rootObject = F9023C3006D5A227001BBF46 /* Project object */;