]> git.saurik.com Git - apple/libutil.git/commitdiff
libutil-38.tar.gz os-x-1010 os-x-10101 os-x-10102 os-x-10103 os-x-10104 os-x-10105 v38
authorApple <opensource@apple.com>
Tue, 7 Jan 2014 22:39:33 +0000 (22:39 +0000)
committerApple <opensource@apple.com>
Tue, 7 Jan 2014 22:39:33 +0000 (22:39 +0000)
libutil.xcodeproj/project.pbxproj
tzlinkd/entitlements.plist [new file with mode: 0644]
xcconfigs/base.xcconfig [new file with mode: 0644]
xcconfigs/tzlinkd.xcconfig

index 31761893debbb88fe4b29addf53c2c682079b7b9..965c679a4fad78102f39cfc6ade6e3627bc0d57e 100644 (file)
@@ -89,7 +89,7 @@
                BA79F9DB13BB7698006A292D /* CopyFiles */ = {
                        isa = PBXCopyFilesBuildPhase;
                        buildActionMask = 8;
-                       dstPath = "$(INSTALL_PREFIX)/usr/local/share/man/man3";
+                       dstPath = "$(INSTALL_PATH_PREFIX)/usr/local/share/man/man3";
                        dstSubfolderSpec = 0;
                        files = (
                                BA79F9DD13BB76B0006A292D /* getmntopts.3 in CopyFiles */,
                BA79F9E713BB77BB006A292D /* CopyFiles */ = {
                        isa = PBXCopyFilesBuildPhase;
                        buildActionMask = 8;
-                       dstPath = "$(INSTALL_PREFIX)/usr/local/OpenSourceVersions";
+                       dstPath = "$(INSTALL_PATH_PREFIX)/usr/local/OpenSourceVersions";
                        dstSubfolderSpec = 0;
                        files = (
                                BA79F9E913BB77FA006A292D /* libutil.plist in CopyFiles */,
                BA79F9E813BB77D6006A292D /* CopyFiles */ = {
                        isa = PBXCopyFilesBuildPhase;
                        buildActionMask = 8;
-                       dstPath = "$(INSTALL_PREFIX)/usr/local/OpenSourceLicenses";
+                       dstPath = "$(INSTALL_PATH_PREFIX)/usr/local/OpenSourceLicenses";
                        dstSubfolderSpec = 0;
                        files = (
                                BA79F9EA13BB77FF006A292D /* libutil.txt in CopyFiles */,
                FDBC26EE1741B13400CA4B2B /* CopyFiles */ = {
                        isa = PBXCopyFilesBuildPhase;
                        buildActionMask = 2147483647;
-                       dstPath = "$(INSTALL_PREFIX)/System/Library/LaunchDaemons";
+                       dstPath = "$(INSTALL_PATH_PREFIX)/System/Library/LaunchDaemons";
                        dstSubfolderSpec = 0;
                        files = (
                                FDBC27051741B1C300CA4B2B /* com.apple.tzlinkd.plist in CopyFiles */,
 /* End PBXCopyFilesBuildPhase section */
 
 /* Begin PBXFileReference section */
+               3F09C378186D1F73007AF93C /* base.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = base.xcconfig; path = xcconfigs/base.xcconfig; sourceTree = "<group>"; };
                BA79F9A313BB70FF006A292D /* ExtentManager.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = ExtentManager.cpp; sourceTree = "<group>"; };
                BA79F9A413BB70FF006A292D /* ExtentManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ExtentManager.h; sourceTree = "<group>"; };
                BA79F9A513BB70FF006A292D /* getmntopts.3 */ = {isa = PBXFileReference; lastKnownFileType = text; path = getmntopts.3; sourceTree = "<group>"; };
                BA79F9BC13BB70FF006A292D /* wipefs.3 */ = {isa = PBXFileReference; lastKnownFileType = text; path = wipefs.3; sourceTree = "<group>"; };
                BA79F9BD13BB70FF006A292D /* wipefs.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = wipefs.cpp; sourceTree = "<group>"; };
                BA79F9BE13BB70FF006A292D /* wipefs.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = wipefs.h; sourceTree = "<group>"; };
-               BA79F9C013BB712E006A292D /* BSD.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = BSD.xcconfig; path = Makefiles/CoreOS/Xcode/BSD.xcconfig; sourceTree = DEVELOPER_DIR; };
-               BA79F9C513BB718B006A292D /* libutil1.0.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libutil1.0.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
+               BA79F9C513BB718B006A292D /* libutil.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libutil.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
                FDBC26F01741B13400CA4B2B /* tzlinkd */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = tzlinkd; sourceTree = BUILT_PRODUCTS_DIR; };
                FDBC26F91741B18500CA4B2B /* tzlink.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = tzlink.c; sourceTree = "<group>"; };
                FDBC26FA1741B19000CA4B2B /* com.apple.tzlinkd.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = com.apple.tzlinkd.plist; sourceTree = "<group>"; };
                BA79F99513BB70D7006A292D = {
                        isa = PBXGroup;
                        children = (
-                               BA79F9C013BB712E006A292D /* BSD.xcconfig */,
+                               3F09C378186D1F73007AF93C /* base.xcconfig */,
                                BA79F9A313BB70FF006A292D /* ExtentManager.cpp */,
                                BA79F9A413BB70FF006A292D /* ExtentManager.h */,
                                BA79F9A513BB70FF006A292D /* getmntopts.3 */,
                BA79F9C613BB718B006A292D /* Products */ = {
                        isa = PBXGroup;
                        children = (
-                               BA79F9C513BB718B006A292D /* libutil1.0.dylib */,
+                               BA79F9C513BB718B006A292D /* libutil.dylib */,
                                FDBC26F01741B13400CA4B2B /* tzlinkd */,
                        );
                        name = Products;
                        );
                        name = util;
                        productName = util;
-                       productReference = BA79F9C513BB718B006A292D /* libutil1.0.dylib */;
+                       productReference = BA79F9C513BB718B006A292D /* libutil.dylib */;
                        productType = "com.apple.product-type.library.dynamic";
                };
                FDBC26EF1741B13400CA4B2B /* tzlinkd */ = {
                        inputPaths = (
                        );
                        outputPaths = (
-                               "$(BUILT_PRODUCTS_DIR)/libutil.dylib",
+                               "$(BUILT_PRODUCTS_DIR)/libutil1.0.dylib",
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
-                       shellScript = "set -e\nset -x\n\nln -sf libutil1.0.dylib \"${BUILT_PRODUCTS_DIR}/libutil.dylib\"\n";
+                       shellScript = "set -e\nset -x\n\nln -sf ${EXECUTABLE_NAME} \"${BUILT_PRODUCTS_DIR}/libutil1.0.dylib\"\n";
                };
                BA79F9EB13BB7864006A292D /* ShellScript */ = {
                        isa = PBXShellScriptBuildPhase;
                        inputPaths = (
                        );
                        outputPaths = (
-                               "$(DSTROOT)/$(INSTALL_PREFIX)/usr/lib/libutil.dylib",
+                               "$(DSTROOT)/$(INSTALL_PATH)/libutil1.0.dylib",
                        );
                        runOnlyForDeploymentPostprocessing = 1;
                        shellPath = /bin/sh;
-                       shellScript = "set -e\nset -x\n\nln -sf libutil1.0.dylib \"${DSTROOT}/${INSTALL_PREFIX}/usr/lib/libutil.dylib\"\n";
+                       shellScript = "set -e\nset -x\n\nln -sf ${EXECUTABLE_NAME} \"${DSTROOT}/${INSTALL_PATH}/libutil1.0.dylib\"\n";
                };
 /* End PBXShellScriptBuildPhase section */
 
 /* Begin XCBuildConfiguration section */
                BA79F99C13BB70D7006A292D /* Debug */ = {
                        isa = XCBuildConfiguration;
-                       baseConfigurationReference = BA79F9C013BB712E006A292D /* BSD.xcconfig */;
+                       baseConfigurationReference = 3F09C378186D1F73007AF93C /* base.xcconfig */;
                        buildSettings = {
                                APPLY_RULES_IN_COPY_FILES = YES;
                                "PLIST_FILE_OUTPUT_FORMAT[sdk=iphoneos*]" = binary;
+                               "PLIST_FILE_OUTPUT_FORMAT[sdk=macosx*]" = XML;
                                USE_HEADERMAP = NO;
                        };
                        name = Debug;
                };
                BA79F99D13BB70D7006A292D /* Release */ = {
                        isa = XCBuildConfiguration;
-                       baseConfigurationReference = BA79F9C013BB712E006A292D /* BSD.xcconfig */;
+                       baseConfigurationReference = 3F09C378186D1F73007AF93C /* base.xcconfig */;
                        buildSettings = {
                                APPLY_RULES_IN_COPY_FILES = YES;
                                "PLIST_FILE_OUTPUT_FORMAT[sdk=iphoneos*]" = binary;
+                               "PLIST_FILE_OUTPUT_FORMAT[sdk=macosx*]" = XML;
                                USE_HEADERMAP = NO;
                        };
                        name = Release;
                                GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
                                GCC_WARN_UNUSED_VARIABLE = YES;
-                               INSTALL_PATH = "$(INSTALL_PREFIX)/usr/lib";
-                               INSTALL_PREFIX = "$(INSTALL_PREFIX_$(PLATFORM_NAME))";
-                               INSTALL_PREFIX_iphonesimulator = "$(SDKROOT)";
-                               LD_DYLIB_INSTALL_NAME = /usr/lib/libutil.dylib;
-                               PRIVATE_HEADERS_FOLDER_PATH = "$(INSTALL_PREFIX)/usr/local/include";
-                               PRODUCT_NAME = "$(TARGET_NAME)1.0";
+                               INSTALL_PATH_ACTUAL = /usr/lib;
+                               PRODUCT_NAME = "$(TARGET_NAME)";
                                WARNING_CFLAGS = "-Wall";
                        };
                        name = Debug;
                                GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
                                GCC_WARN_ABOUT_RETURN_TYPE = YES;
                                GCC_WARN_UNUSED_VARIABLE = YES;
-                               INSTALL_PATH = "$(INSTALL_PREFIX)/usr/lib";
-                               INSTALL_PREFIX = "$(INSTALL_PREFIX_$(PLATFORM_NAME))";
-                               INSTALL_PREFIX_iphonesimulator = "$(SDKROOT)";
-                               LD_DYLIB_INSTALL_NAME = /usr/lib/libutil.dylib;
-                               PRIVATE_HEADERS_FOLDER_PATH = "$(INSTALL_PREFIX)/usr/local/include";
-                               PRODUCT_NAME = "$(TARGET_NAME)1.0";
+                               INSTALL_PATH_ACTUAL = /usr/lib;
+                               PRODUCT_NAME = "$(TARGET_NAME)";
                                WARNING_CFLAGS = "-Wall";
                        };
                        name = Release;
diff --git a/tzlinkd/entitlements.plist b/tzlinkd/entitlements.plist
new file mode 100644 (file)
index 0000000..eb41eb0
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+       <key>seatbelt-profiles</key>
+       <array>
+               <string>com.apple.tzlinkd</string>
+       </array>
+</dict>
+</plist>
diff --git a/xcconfigs/base.xcconfig b/xcconfigs/base.xcconfig
new file mode 100644 (file)
index 0000000..c51588b
--- /dev/null
@@ -0,0 +1,11 @@
+#include "<DEVELOPER_DIR>/Makefiles/CoreOS/Xcode/BSD.xcconfig"
+#include "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/SimulatorSupport.xcconfig"
+
+// Set INSTALL_PATH[sdk=macosx*] when SimulatorSupport.xcconfig is unavailable
+INSTALL_PATH[sdk=macosx*] = $(INSTALL_PATH_ACTUAL)
+
+// Use $(INSTALL_PATH_PREFIX) instead of $(SDKROOT) as a prefix for other
+// variables as appropriate
+PUBLIC_HEADERS_FOLDER_PATH = $(INSTALL_PATH_PREFIX)/usr/include
+PRIVATE_HEADERS_FOLDER_PATH = $(INSTALL_PATH_PREFIX)/usr/local/include
+
index ccbee8fa4462ce864f101af526f8a5893969ecf2..8c330db4554fb246d6c7d2d048e3f8b073ee94cb 100644 (file)
@@ -1,8 +1,13 @@
-INSTALL_PATH = $(INSTALL_PREFIX)/usr/libexec
+#include "<DEVELOPER_DIR>/AppleInternal/XcodeConfig/SimulatorSupport.xcconfig"
+
+// Set INSTALL_PATH_ACTUAL to whatever INSTALL_PATH would normally be
+INSTALL_PATH_ACTUAL = /usr/sbin
+
+INSTALL_PATH_ACTUAL = /usr/libexec
 PRODUCT_NAME = tzlinkd
 
-INSTALL_PREFIX = $(INSTALL_PREFIX_$(PLATFORM_NAME))
-INSTALL_PREFIX_iphonesimulator = $(SDKROOT)
+CODE_SIGN_IDENTITY = -
+CODE_SIGN_ENTITLEMENTS = tzlinkd/entitlements.plist
 
 USER_HEADER_SEARCH_PATHS = $(SRCROOT)