|
271 | 271 | remoteGlobalIDString = 1A170D601B8EA78500720F1D; |
272 | 272 | remoteInfo = ssl; |
273 | 273 | }; |
| 274 | + 1A170D6C1B8EAD8B00720F1D /* PBXContainerItemProxy */ = { |
| 275 | + isa = PBXContainerItemProxy; |
| 276 | + containerPortal = 9069D12F0FCE340B0042E34C /* Project object */; |
| 277 | + proxyType = 1; |
| 278 | + remoteGlobalIDString = 1A170D5B1B8EA78000720F1D; |
| 279 | + remoteInfo = crypto; |
| 280 | + }; |
| 281 | + 1A170D6E1B8EAD8B00720F1D /* PBXContainerItemProxy */ = { |
| 282 | + isa = PBXContainerItemProxy; |
| 283 | + containerPortal = 9069D12F0FCE340B0042E34C /* Project object */; |
| 284 | + proxyType = 1; |
| 285 | + remoteGlobalIDString = 1A170D601B8EA78500720F1D; |
| 286 | + remoteInfo = ssl; |
| 287 | + }; |
274 | 288 | /* End PBXContainerItemProxy section */ |
275 | 289 |
|
276 | 290 | /* Begin PBXFileReference section */ |
|
818 | 832 | buildRules = ( |
819 | 833 | ); |
820 | 834 | dependencies = ( |
| 835 | + 1A170D6D1B8EAD8B00720F1D /* PBXTargetDependency */, |
| 836 | + 1A170D6F1B8EAD8B00720F1D /* PBXTargetDependency */, |
821 | 837 | 1A170D551B8EA4ED00720F1D /* PBXTargetDependency */, |
822 | 838 | ); |
823 | 839 | name = "OpenSSL OS X"; |
|
975 | 991 | ); |
976 | 992 | runOnlyForDeploymentPostprocessing = 0; |
977 | 993 | shellPath = /bin/sh; |
978 | | - shellScript = "set | grep ARCH\nset -x\n\n## Determine the appropriate openssl source path to use\n## Introduced by michaeltyson, adapted to account for OPENSSL_SRC build path\n\n# locate src archive file if present\nSRC_ARCHIVE=`ls openssl*tar.gz 2>/dev/null`\n\n# if there is an openssl directory immediately under the openssl.xcode source \n# folder then build there\nif [ -d \"$SRCROOT/openssl\" ]; then\nOPENSSL_SRC=\"$SRCROOT/openssl\"\n# else, if there is a openssl.tar.gz in the directory, expand it to openssl\n# and use it\nelif [ -f \"$SRC_ARCHIVE\" ]; then\nOPENSSL_SRC=\"$PROJECT_TEMP_DIR/openssl\"\nif [ ! -d \"$OPENSSL_SRC\" ]; then\necho \"extracting $SRC_ARCHIVE...\"\nmkdir \"$OPENSSL_SRC\"\ntar -C \"$OPENSSL_SRC\" --strip-components=1 -zxf \"$SRC_ARCHIVE\" || exit 1\ncp -RL \"$OPENSSL_SRC/include\" \"$TARGET_BUILD_DIR\"\nfi\n# else, if $OPENSSL_SRC is not already defined (i.e. by prerequisites for SQLCipher XCode config)\n# then assume openssl is in the current directory\nelif [ ! -d \"$OPENSSL_SRC\" ]; then\nOPENSSL_SRC=\"$SRCROOT\"\nfi\n\necho \"***** using $OPENSSL_SRC for openssl source code *****\"\n\n# check whether libcrypto.a already exists - we'll only build if it does not\nif [ -f \"$TARGET_BUILD_DIR/libcrypto.a\" ]; then\necho \"***** Using previously-built libary $TARGET_BUILD_DIR/libcrypto.a - skipping build *****\"\necho \"***** To force a rebuild clean project and clean dependencies *****\"\nexit 0;\nelse\necho \"***** No previously-built libary present at $TARGET_BUILD_DIR/libcrypto.a - performing build *****\"\nfi\n\n# figure out the right set of build architectures for this run\nBUILDARCHS=\"$ARCHS\"\n\necho \"***** creating universal binary for architectures: $BUILDARCHS *****\"\n\nif [ \"$SDKROOT\" != \"\" ]; then\nISYSROOT=\"-isysroot $SDKROOT\"\nfi\n\necho \"***** using ISYSROOT $ISYSROOT *****\"\n\nOPENSSL_OPTIONS=\"no-krb5 no-gost\"\n\necho \"***** using OPENSSL_OPTIONS $OPENSSL_OPTIONS *****\"\n\ncd \"$OPENSSL_SRC\"\n\nfor BUILDARCH in $BUILDARCHS\ndo\necho \"***** BUILDING UNIVERSAL ARCH $BUILDARCH ******\"\nmake clean\n\n# disable assembler\necho \"***** configuring WITHOUT assembler optimizations based on architecture $BUILDARCH and build style $BUILD_STYLE *****\"\n./config no-asm $OPENSSL_OPTIONS -openssldir=\"$BUILD_DIR\"\nASM_DEF=\"-UOPENSSL_BN_ASM_PART_WORDS\"\n\nmake CFLAG=\"-D_DARWIN_C_SOURCE $ASM_DEF -arch $BUILDARCH $ISYSROOT -Wno-unused-value -Wno-parentheses\" SHARED_LDFLAGS=\"-arch $BUILDARCH -dynamiclib\"\n\necho \"***** copying intermediate libraries to $CONFIGURATION_TEMP_DIR/$BUILDARCH-*.a *****\"\ncp libcrypto.a \"$CONFIGURATION_TEMP_DIR\"/$BUILDARCH-libcrypto.a\ncp libssl.a \"$CONFIGURATION_TEMP_DIR\"/$BUILDARCH-libssl.a\ndone\n\necho \"***** creating universallibraries in $TARGET_BUILD_DIR *****\"\nmkdir -p \"$TARGET_BUILD_DIR\"\nlipo -create \"$CONFIGURATION_TEMP_DIR/\"*-libcrypto.a -output \"$TARGET_BUILD_DIR/libcrypto.a\"\nlipo -create \"$CONFIGURATION_TEMP_DIR/\"*-libssl.a -output \"$TARGET_BUILD_DIR/libssl.a\"\n \necho \"***** removing temporary files from $CONFIGURATION_TEMP_DIR *****\"\nrm -f \"$CONFIGURATION_TEMP_DIR/\"*-libcrypto.a\nrm -f \"$CONFIGURATION_TEMP_DIR/\"*-libssl.a\n \necho \"***** executing ranlib on libraries in $TARGET_BUILD_DIR *****\"\nranlib \"$TARGET_BUILD_DIR/libcrypto.a\"\nranlib \"$TARGET_BUILD_DIR/libssl.a\"\n \n"; |
| 994 | + shellScript = "set | grep ARCH\nset -x\n\n## Determine the appropriate openssl source path to use\n## Introduced by michaeltyson, adapted to account for OPENSSL_SRC build path\n\n# locate src archive file if present\nSRC_ARCHIVE=`ls openssl*tar.gz 2>/dev/null`\n\n# if there is an openssl directory immediately under the openssl.xcode source\n# folder then build there\nif [ -d \"$SRCROOT/openssl\" ]; then\nOPENSSL_SRC=\"$SRCROOT/openssl\"\n# else, if there is a openssl.tar.gz in the directory, expand it to openssl\n# and use it\nelif [ -f \"$SRC_ARCHIVE\" ]; then\nOPENSSL_SRC=\"$PROJECT_TEMP_DIR/openssl\"\nif [ ! -d \"$OPENSSL_SRC\" ]; then\necho \"extracting $SRC_ARCHIVE...\"\nmkdir \"$OPENSSL_SRC\"\ntar -C \"$OPENSSL_SRC\" --strip-components=1 -zxf \"$SRC_ARCHIVE\" || exit 1\ncp -RL \"$OPENSSL_SRC/include\" \"$TARGET_BUILD_DIR\"\nfi\n# else, if $OPENSSL_SRC is not already defined (i.e. by prerequisites for SQLCipher XCode config)\n# then assume openssl is in the current directory\nelif [ ! -d \"$OPENSSL_SRC\" ]; then\nOPENSSL_SRC=\"$SRCROOT\"\nfi\n\necho \"***** using $OPENSSL_SRC for openssl source code *****\"\n\n# check whether libcrypto.a already exists - we'll only build if it does not\nif [ -f \"$TARGET_BUILD_DIR/libcrypto.a\" ]; then\necho \"***** Using previously-built libary $TARGET_BUILD_DIR/libcrypto.a - skipping build *****\"\necho \"***** To force a rebuild clean project and clean dependencies *****\"\nexit 0;\nelse\necho \"***** No previously-built libary present at $TARGET_BUILD_DIR/libcrypto.a - performing build *****\"\nfi\n\n# figure out the right set of build architectures for this run\nBUILDARCHS=\"$ARCHS\"\n\necho \"***** creating universal binary for architectures: $BUILDARCHS *****\"\n\nif [ \"$SDKROOT\" != \"\" ]; then\nISYSROOT=\"-isysroot $SDKROOT\"\nfi\n\necho \"***** using ISYSROOT $ISYSROOT *****\"\n\nOPENSSL_OPTIONS=\"no-krb5 no-gost\"\n\necho \"***** using OPENSSL_OPTIONS $OPENSSL_OPTIONS *****\"\n\ncd \"$OPENSSL_SRC\"\n\nfor BUILDARCH in $BUILDARCHS\ndo\necho \"***** BUILDING UNIVERSAL ARCH $BUILDARCH ******\"\nmake clean\n\n# disable assembler\necho \"***** configuring WITHOUT assembler optimizations based on architecture $BUILDARCH and build style $BUILD_STYLE *****\"\n./config no-asm $OPENSSL_OPTIONS -openssldir=\"$BUILD_DIR\"\nASM_DEF=\"-UOPENSSL_BN_ASM_PART_WORDS\"\n\nmake CFLAG=\"-D_DARWIN_C_SOURCE $ASM_DEF -arch $BUILDARCH $ISYSROOT -Wno-unused-value -Wno-parentheses\" SHARED_LDFLAGS=\"-arch $BUILDARCH -dynamiclib\"\n\necho \"***** copying intermediate libraries to $CONFIGURATION_TEMP_DIR/$BUILDARCH-*.a *****\"\ncp libcrypto.a \"$CONFIGURATION_TEMP_DIR\"/$BUILDARCH-libcrypto.a\ncp libssl.a \"$CONFIGURATION_TEMP_DIR\"/$BUILDARCH-libssl.a\ndone\n\necho \"***** creating universallibraries in $TARGET_BUILD_DIR *****\"\nmkdir -p \"$TARGET_BUILD_DIR\"\nlipo -create \"$CONFIGURATION_TEMP_DIR/\"*-libcrypto.a -output \"$TARGET_BUILD_DIR/libcrypto.a\"\nlipo -create \"$CONFIGURATION_TEMP_DIR/\"*-libssl.a -output \"$TARGET_BUILD_DIR/libssl.a\"\n\necho \"***** removing temporary files from $CONFIGURATION_TEMP_DIR *****\"\nrm -f \"$CONFIGURATION_TEMP_DIR/\"*-libcrypto.a\nrm -f \"$CONFIGURATION_TEMP_DIR/\"*-libssl.a\n\necho \"***** executing ranlib on libraries in $TARGET_BUILD_DIR *****\"\nranlib \"$TARGET_BUILD_DIR/libcrypto.a\"\nranlib \"$TARGET_BUILD_DIR/libssl.a\"\n\n"; |
979 | 995 | }; |
980 | 996 | /* End PBXShellScriptBuildPhase section */ |
981 | 997 |
|
|
1028 | 1044 | target = 1A170D601B8EA78500720F1D /* ssl */; |
1029 | 1045 | targetProxy = 1A170D6A1B8EA9E900720F1D /* PBXContainerItemProxy */; |
1030 | 1046 | }; |
| 1047 | + 1A170D6D1B8EAD8B00720F1D /* PBXTargetDependency */ = { |
| 1048 | + isa = PBXTargetDependency; |
| 1049 | + target = 1A170D5B1B8EA78000720F1D /* crypto */; |
| 1050 | + targetProxy = 1A170D6C1B8EAD8B00720F1D /* PBXContainerItemProxy */; |
| 1051 | + }; |
| 1052 | + 1A170D6F1B8EAD8B00720F1D /* PBXTargetDependency */ = { |
| 1053 | + isa = PBXTargetDependency; |
| 1054 | + target = 1A170D601B8EA78500720F1D /* ssl */; |
| 1055 | + targetProxy = 1A170D6E1B8EAD8B00720F1D /* PBXContainerItemProxy */; |
| 1056 | + }; |
1031 | 1057 | /* End PBXTargetDependency section */ |
1032 | 1058 |
|
1033 | 1059 | /* Begin XCBuildConfiguration section */ |
|
1534 | 1560 | isa = XCBuildConfiguration; |
1535 | 1561 | buildSettings = { |
1536 | 1562 | PRODUCT_NAME = "$(TARGET_NAME)"; |
1537 | | - VALID_ARCHS = ""; |
1538 | 1563 | }; |
1539 | 1564 | name = Debug; |
1540 | 1565 | }; |
1541 | 1566 | 1AE1C6FA1B8EA1290069197F /* Release */ = { |
1542 | 1567 | isa = XCBuildConfiguration; |
1543 | 1568 | buildSettings = { |
1544 | 1569 | PRODUCT_NAME = "$(TARGET_NAME)"; |
1545 | | - VALID_ARCHS = ""; |
1546 | 1570 | }; |
1547 | 1571 | name = Release; |
1548 | 1572 | }; |
|
1613 | 1637 | 1A170D5F1B8EA78000720F1D /* Release */, |
1614 | 1638 | ); |
1615 | 1639 | defaultConfigurationIsVisible = 0; |
| 1640 | + defaultConfigurationName = Release; |
1616 | 1641 | }; |
1617 | 1642 | 1A170D641B8EA78500720F1D /* Build configuration list for PBXNativeTarget "ssl" */ = { |
1618 | 1643 | isa = XCConfigurationList; |
|
0 commit comments