X-Git-Url: https://git.saurik.com/apple/file_cmds.git/blobdiff_plain/00337e45cbde0be25dd3e61cbd0bd3a55c65ab01..HEAD:/file_cmds.xcodeproj/project.pbxproj diff --git a/file_cmds.xcodeproj/project.pbxproj b/file_cmds.xcodeproj/project.pbxproj index e115549..dcf7d02 100644 --- a/file_cmds.xcodeproj/project.pbxproj +++ b/file_cmds.xcodeproj/project.pbxproj @@ -7,6 +7,29 @@ objects = { /* Begin PBXAggregateTarget section */ + 3E966CE71FB2211F0019F7A1 /* tests */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 3E966CE91FB2211F0019F7A1 /* Build configuration list for PBXAggregateTarget "tests" */; + buildPhases = ( + 3E966CED1FB2215C0019F7A1 /* CopyFiles */, + 3E966CEF1FB221740019F7A1 /* CopyFiles */, + ); + dependencies = ( + ); + name = tests; + productName = tests; + }; + 729D07252347EC4D000716E5 /* macos_host_tools */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 729D07682347EC4D000716E5 /* Build configuration list for PBXAggregateTarget "macos_host_tools" */; + buildPhases = ( + ); + dependencies = ( + 729D074E2347EC4D000716E5 /* PBXTargetDependency */, + ); + name = macos_host_tools; + productName = macos_host_tools; + }; FC8A8C3C14B64A9D001B97AD /* shar */ = { isa = PBXAggregateTarget; buildConfigurationList = FC8A8C3D14B64A9D001B97AD /* Build configuration list for PBXAggregateTarget "shar" */; @@ -88,6 +111,8 @@ isa = PBXAggregateTarget; buildConfigurationList = FC8A8C8114B655ED001B97AD /* Build configuration list for PBXAggregateTarget "executables" */; buildPhases = ( + D178BEFA253DAE01001FC103 /* Copy plist */, + D178BF21253DAE2E001FC103 /* Copy tests */, ); dependencies = ( FC8A8C8414B655FD001B97AD /* PBXTargetDependency */, @@ -185,6 +210,15 @@ /* End PBXAggregateTarget section */ /* Begin PBXBuildFile section */ + 3E59B9311D4A767600D3128C /* futimens.c in Sources */ = {isa = PBXBuildFile; fileRef = 3E59B9301D4A767600D3128C /* futimens.c */; }; + 3E966CEE1FB2216F0019F7A1 /* file_cmds.plist in CopyFiles */ = {isa = PBXBuildFile; fileRef = 3E966CEC1FB2214F0019F7A1 /* file_cmds.plist */; }; + 3E966CF01FB2218A0019F7A1 /* chgrp.sh in CopyFiles */ = {isa = PBXBuildFile; fileRef = 3E966CEB1FB2214F0019F7A1 /* chgrp.sh */; }; + 729D06D8230B5E42000716E5 /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 729D06D7230B5E42000716E5 /* CoreFoundation.framework */; }; + 7D0A20EA2499364700F0F6D7 /* metrics.c in Sources */ = {isa = PBXBuildFile; fileRef = 7D0A20E92499364700F0F6D7 /* metrics.c */; }; + D178BEFB253DAE2A001FC103 /* file_cmds.plist in Copy plist */ = {isa = PBXBuildFile; fileRef = 3E966CEC1FB2214F0019F7A1 /* file_cmds.plist */; }; + D178BF22253DAE42001FC103 /* chgrp.sh in Copy tests */ = {isa = PBXBuildFile; fileRef = 3E966CEB1FB2214F0019F7A1 /* chgrp.sh */; }; + D178BF48253DAE45001FC103 /* touch.sh in Copy tests */ = {isa = PBXBuildFile; fileRef = D11B5750253C22BD009A59BF /* touch.sh */; }; + D1B4221F25762FC8003E3A47 /* cp.sh in Copy tests */ = {isa = PBXBuildFile; fileRef = D1B421D325762E9E003E3A47 /* cp.sh */; }; FC8A8A2814B6486E001B97AD /* chflags.c in Sources */ = {isa = PBXBuildFile; fileRef = FCB1BDCC14B6460C0070FACB /* chflags.c */; }; FC8A8BE414B6494B001B97AD /* chflags.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = FCB1BDCB14B6460C0070FACB /* chflags.1 */; }; FC8A8BE514B64958001B97AD /* chmod.c in Sources */ = {isa = PBXBuildFile; fileRef = FCB1BDD014B6460C0070FACB /* chmod.c */; }; @@ -199,7 +233,6 @@ FC8A8BEF14B6497A001B97AD /* sum1.c in Sources */ = {isa = PBXBuildFile; fileRef = FCB1BDE114B6460C0070FACB /* sum1.c */; }; FC8A8BF014B6497D001B97AD /* sum2.c in Sources */ = {isa = PBXBuildFile; fileRef = FCB1BDE214B6460C0070FACB /* sum2.c */; }; FC8A8BF114B64982001B97AD /* compress.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = FCB1BDE414B6460C0070FACB /* compress.1 */; }; - FC8A8BF214B64984001B97AD /* uncompress.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = FCB1BDEB14B6460C0070FACB /* uncompress.1 */; }; FC8A8BF314B64988001B97AD /* compress.c in Sources */ = {isa = PBXBuildFile; fileRef = FCB1BDE514B6460C0070FACB /* compress.c */; }; FC8A8BF414B6498A001B97AD /* zopen.c in Sources */ = {isa = PBXBuildFile; fileRef = FCB1BDEE14B6460C0070FACB /* zopen.c */; }; FC8A8BF514B64995001B97AD /* cp.c in Sources */ = {isa = PBXBuildFile; fileRef = FCB1BDF214B6460C0070FACB /* cp.c */; }; @@ -297,6 +330,13 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 729D074F2347EC4D000716E5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = FCB1BDAF14B645D00070FACB /* Project object */; + proxyType = 1; + remoteGlobalIDString = FC8A8B8C14B648ED001B97AD; + remoteInfo = mtree; + }; FC8A8C4914B64DE1001B97AD /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = FCB1BDAF14B645D00070FACB /* Project object */; @@ -797,6 +837,50 @@ /* End PBXContainerItemProxy section */ /* Begin PBXCopyFilesBuildPhase section */ + 3E966CED1FB2215C0019F7A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /AppleInternal/CoreOS/BATS/unit_tests; + dstSubfolderSpec = 0; + files = ( + 3E966CEE1FB2216F0019F7A1 /* file_cmds.plist in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 3E966CEF1FB221740019F7A1 /* CopyFiles */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /AppleInternal/Tests/file_cmds; + dstSubfolderSpec = 0; + files = ( + 3E966CF01FB2218A0019F7A1 /* chgrp.sh in CopyFiles */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D178BEFA253DAE01001FC103 /* Copy plist */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /AppleInternal/CoreOS/BATS/unit_tests; + dstSubfolderSpec = 0; + files = ( + D178BEFB253DAE2A001FC103 /* file_cmds.plist in Copy plist */, + ); + name = "Copy plist"; + runOnlyForDeploymentPostprocessing = 0; + }; + D178BF21253DAE2E001FC103 /* Copy tests */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = /AppleInternal/Tests/file_cmds; + dstSubfolderSpec = 0; + files = ( + D1B4221F25762FC8003E3A47 /* cp.sh in Copy tests */, + D178BF48253DAE45001FC103 /* touch.sh in Copy tests */, + D178BF22253DAE42001FC103 /* chgrp.sh in Copy tests */, + ); + name = "Copy tests"; + runOnlyForDeploymentPostprocessing = 0; + }; FC8A8B0F14B648D7001B97AD /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -833,7 +917,6 @@ dstPath = /usr/share/man/man1/; dstSubfolderSpec = 0; files = ( - FC8A8BF214B64984001B97AD /* uncompress.1 in CopyFiles */, FC8A8BF114B64982001B97AD /* compress.1 in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 1; @@ -1143,6 +1226,15 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 0773099A1A3A4DFE00E9B4EA /* dd.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = dd.entitlements; sourceTree = ""; }; + 3E59B9301D4A767600D3128C /* futimens.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = futimens.c; sourceTree = ""; }; + 3E966CEB1FB2214F0019F7A1 /* chgrp.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = chgrp.sh; sourceTree = ""; }; + 3E966CEC1FB2214F0019F7A1 /* file_cmds.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = file_cmds.plist; sourceTree = ""; }; + 729D06D7230B5E42000716E5 /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; }; + 7D0A20E82499364700F0F6D7 /* metrics.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = metrics.h; sourceTree = ""; }; + 7D0A20E92499364700F0F6D7 /* metrics.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = metrics.c; sourceTree = ""; }; + D11B5750253C22BD009A59BF /* touch.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = touch.sh; sourceTree = ""; }; + D1B421D325762E9E003E3A47 /* cp.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = cp.sh; sourceTree = ""; }; FC8A8B1214B648D7001B97AD /* chmod */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = chmod; sourceTree = BUILT_PRODUCTS_DIR; }; FC8A8B1A14B648E0001B97AD /* chown */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = chown; sourceTree = BUILT_PRODUCTS_DIR; }; FC8A8B2214B648E3001B97AD /* cksum */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = cksum; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -1232,7 +1324,7 @@ FCB1BE1D14B6460C0070FACB /* symlink.7 */ = {isa = PBXFileReference; lastKnownFileType = text; path = symlink.7; sourceTree = ""; }; FCB1BE1F14B6460C0070FACB /* cmp.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = cmp.c; sourceTree = ""; }; FCB1BE2014B6460C0070FACB /* extern.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = extern.h; sourceTree = ""; }; - FCB1BE2114B6460C0070FACB /* ls.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = ls.1; sourceTree = ""; }; + FCB1BE2114B6460C0070FACB /* ls.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; lineEnding = 0; path = ls.1; sourceTree = ""; }; FCB1BE2214B6460C0070FACB /* ls.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = ls.c; sourceTree = ""; }; FCB1BE2314B6460C0070FACB /* ls.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ls.h; sourceTree = ""; }; FCB1BE2514B6460C0070FACB /* print.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = print.c; sourceTree = ""; }; @@ -1453,6 +1545,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 729D06D8230B5E42000716E5 /* CoreFoundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1525,9 +1618,29 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 3E966CEA1FB221330019F7A1 /* tests */ = { + isa = PBXGroup; + children = ( + 3E966CEB1FB2214F0019F7A1 /* chgrp.sh */, + 3E966CEC1FB2214F0019F7A1 /* file_cmds.plist */, + D11B5750253C22BD009A59BF /* touch.sh */, + D1B421D325762E9E003E3A47 /* cp.sh */, + ); + path = tests; + sourceTree = ""; + }; + 729D06D6230B5E42000716E5 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 729D06D7230B5E42000716E5 /* CoreFoundation.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; FCB1BDAD14B645D00070FACB = { isa = PBXGroup; children = ( + 3E966CEA1FB221330019F7A1 /* tests */, FCB1BDCA14B6460C0070FACB /* chflags */, FCB1BDCE14B6460C0070FACB /* chmod */, FCB1BDD414B6460C0070FACB /* chown */, @@ -1559,6 +1672,7 @@ FCB1BE8614B6460C0070FACB /* touch */, FDAD94A71808BCB700B4D5A0 /* Libraries */, FCB1BDB914B645D10070FACB /* Products */, + 729D06D6230B5E42000716E5 /* Frameworks */, ); indentWidth = 8; sourceTree = ""; @@ -1691,6 +1805,7 @@ FCB1BDF814B6460C0070FACB /* dd */ = { isa = PBXGroup; children = ( + 0773099A1A3A4DFE00E9B4EA /* dd.entitlements */, FCB1BDF914B6460C0070FACB /* args.c */, FCB1BDFA14B6460C0070FACB /* conv.c */, FCB1BDFB14B6460C0070FACB /* conv_tab.c */, @@ -1822,6 +1937,8 @@ FCB1BE4114B6460C0070FACB /* specspec.c */, FCB1BE4214B6460C0070FACB /* test */, FCB1BE4814B6460C0070FACB /* verify.c */, + 7D0A20E82499364700F0F6D7 /* metrics.h */, + 7D0A20E92499364700F0F6D7 /* metrics.c */, ); path = mtree; sourceTree = ""; @@ -1953,6 +2070,7 @@ FDAD947F1808BB3A00B4D5A0 /* gzip */ = { isa = PBXGroup; children = ( + 3E59B9301D4A767600D3128C /* futimens.c */, FDAD94801808BB3A00B4D5A0 /* gzexe */, FDAD94811808BB3A00B4D5A0 /* gzexe.1 */, FDAD94821808BB3A00B4D5A0 /* gzip.1 */, @@ -2081,6 +2199,7 @@ FC8A8B3514B648EA001B97AD /* Sources */, FC8A8B3614B648EA001B97AD /* Frameworks */, FC8A8B3714B648EA001B97AD /* CopyFiles */, + 72E62BA81A3A62960015FC8E /* ShellScript */, ); buildRules = ( ); @@ -2440,14 +2559,21 @@ FCB1BDAF14B645D00070FACB /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0600; + LastUpgradeCheck = 0610; ORGANIZATIONNAME = "Apple Inc."; + TargetAttributes = { + 3E966CE71FB2211F0019F7A1 = { + CreatedOnToolsVersion = 9.2; + ProvisioningStyle = Automatic; + }; + }; }; buildConfigurationList = FCB1BDB214B645D00070FACB /* Build configuration list for PBXProject "file_cmds" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, ); mainGroup = FCB1BDAD14B645D00070FACB; @@ -2490,6 +2616,8 @@ FC8A8BCC14B648F0001B97AD /* touch */, FC8A8CC814B65F92001B97AD /* uncompress */, FC8A8C5014B650CF001B97AD /* unlink */, + 3E966CE71FB2211F0019F7A1 /* tests */, + 729D07252347EC4D000716E5 /* macos_host_tools */, ); }; /* End PBXProject section */ @@ -2509,6 +2637,20 @@ shellScript = "install -d -g ${GROUP} -o ${USER} -m 0755 ${INSTALL_DIR}\ninstall -d -g ${GROUP} -o ${USER} -m 0755 ${DSTROOT}/usr/share\ninstall -d -g ${GROUP} -o ${USER} -m 0755 ${DSTROOT}/usr/share/man\ninstall -d -g ${GROUP} -o ${USER} -m 0755 ${DSTROOT}/usr/share/man/man{1,7,8}"; showEnvVarsInLog = 0; }; + 72E62BA81A3A62960015FC8E /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 8; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 1; + shellPath = /bin/sh; + shellScript = ". ${SRCROOT}/dd/install_symlink.sh"; + showEnvVarsInLog = 0; + }; FC8A8C4C14B64DF9001B97AD /* ShellScript */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 8; @@ -2791,6 +2933,7 @@ FC8A8C1914B64A1A001B97AD /* create.c in Sources */, FC8A8C1A14B64A22001B97AD /* excludes.c in Sources */, FC8A8C1B14B64A27001B97AD /* misc.c in Sources */, + 7D0A20EA2499364700F0F6D7 /* metrics.c in Sources */, FC8A8C1C14B64A2D001B97AD /* mtree.c in Sources */, FC8A8C1D14B64A31001B97AD /* spec.c in Sources */, FC8A8C1E14B64A34001B97AD /* specspec.c in Sources */, @@ -2882,6 +3025,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 3E59B9311D4A767600D3128C /* futimens.c in Sources */, FDAD949F1808BBB900B4D5A0 /* gzip.c in Sources */, ); runOnlyForDeploymentPostprocessing = 0; @@ -2889,6 +3033,11 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 729D074E2347EC4D000716E5 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FC8A8B8C14B648ED001B97AD /* mtree */; + targetProxy = 729D074F2347EC4D000716E5 /* PBXContainerItemProxy */; + }; FC8A8C4A14B64DE1001B97AD /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = FC8A8BC414B648EF001B97AD /* stat */; @@ -3247,6 +3396,22 @@ /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ + 3E966CE81FB2211F0019F7A1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_STYLE = Automatic; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; + 729D07692347EC4D000716E5 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + INSTALL_PATH = /usr/bin; + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; FC8A8B1114B648D7001B97AD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { @@ -3284,7 +3449,12 @@ FC8A8B3914B648EA001B97AD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + CODE_SIGN_ENTITLEMENTS = dd/dd.entitlements; + "CODE_SIGN_ENTITLEMENTS[sdk=macosx*]" = ""; + CODE_SIGN_IDENTITY = "-"; INSTALL_PATH = /bin; + "INSTALL_PATH[sdk=appletvos]" = /usr/local/bin; + "INSTALL_PATH[sdk=iphoneos*]" = /usr/local/bin; }; name = Release; }; @@ -3318,7 +3488,6 @@ FC8A8B6114B648EC001B97AD /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - INSTALL_MODE_FLAG = "u+s,u+rw,go-rw,a+X"; OTHER_CFLAGS = ( "-iquote", "$(SDKROOT)/System/Library/Frameworks/Kernel.framework/PrivateHeaders", @@ -3380,6 +3549,7 @@ ENABLE_SHA1, ENABLE_SHA256, ); + GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES; INSTALL_PATH = /usr/sbin; "OTHER_LDFLAGS[sdk=macosx*]" = "-lCrashReporterClient"; }; @@ -3505,6 +3675,7 @@ GCC_WARN_UNUSED_VARIABLE = YES; INSTALL_PATH = /usr/bin; PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = macosx.internal; VERSIONING_SYSTEM = "apple-generic"; WARNING_CFLAGS = ( "-Wall", @@ -3537,6 +3708,22 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 3E966CE91FB2211F0019F7A1 /* Build configuration list for PBXAggregateTarget "tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 3E966CE81FB2211F0019F7A1 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 729D07682347EC4D000716E5 /* Build configuration list for PBXAggregateTarget "macos_host_tools" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 729D07692347EC4D000716E5 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; FC8A8B1014B648D7001B97AD /* Build configuration list for PBXNativeTarget "chmod" */ = { isa = XCConfigurationList; buildConfigurations = (