Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a3b1f09

Browse files
committed
Static library build project for xcode
0 parents  commit a3b1f09

File tree

2 files changed

+227
-0
lines changed

2 files changed

+227
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.mode1v3
2+
*.pbxuser

openssl.xcodeproj/project.pbxproj

Lines changed: 225 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,225 @@
1+
// !$*UTF8*$!
2+
{
3+
archiveVersion = 1;
4+
classes = {
5+
};
6+
objectVersion = 42;
7+
objects = {
8+
9+
/* Begin PBXAggregateTarget section */
10+
9069D13C0FCE35730042E34C /* make */ = {
11+
isa = PBXAggregateTarget;
12+
buildConfigurationList = 9069D13F0FCE35910042E34C /* Build configuration list for PBXAggregateTarget "make" */;
13+
buildPhases = (
14+
9069D13B0FCE35730042E34C /* ShellScript */,
15+
);
16+
dependencies = (
17+
);
18+
name = make;
19+
productName = libcrypto.a;
20+
};
21+
/* End PBXAggregateTarget section */
22+
23+
/* Begin PBXContainerItemProxy section */
24+
9069D2920FCE65A70042E34C /* PBXContainerItemProxy */ = {
25+
isa = PBXContainerItemProxy;
26+
containerPortal = 9069D12F0FCE340B0042E34C /* Project object */;
27+
proxyType = 1;
28+
remoteGlobalIDString = 9069D13C0FCE35730042E34C;
29+
remoteInfo = make;
30+
};
31+
/* End PBXContainerItemProxy section */
32+
33+
/* Begin PBXFileReference section */
34+
9069D28C0FCE659A0042E34C /* libcrypto.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libcrypto.a; sourceTree = BUILT_PRODUCTS_DIR; };
35+
/* End PBXFileReference section */
36+
37+
/* Begin PBXFrameworksBuildPhase section */
38+
9069D28A0FCE659A0042E34C /* Frameworks */ = {
39+
isa = PBXFrameworksBuildPhase;
40+
buildActionMask = 2147483647;
41+
files = (
42+
);
43+
runOnlyForDeploymentPostprocessing = 0;
44+
};
45+
/* End PBXFrameworksBuildPhase section */
46+
47+
/* Begin PBXGroup section */
48+
9069D12D0FCE340B0042E34C = {
49+
isa = PBXGroup;
50+
children = (
51+
9069D25C0FCE62420042E34C /* Products */,
52+
);
53+
sourceTree = "<group>";
54+
};
55+
9069D25C0FCE62420042E34C /* Products */ = {
56+
isa = PBXGroup;
57+
children = (
58+
9069D28C0FCE659A0042E34C /* libcrypto.a */,
59+
);
60+
name = Products;
61+
sourceTree = "<group>";
62+
};
63+
/* End PBXGroup section */
64+
65+
/* Begin PBXNativeTarget section */
66+
9069D28B0FCE659A0042E34C /* crypto */ = {
67+
isa = PBXNativeTarget;
68+
buildConfigurationList = 9069D2980FCE65C10042E34C /* Build configuration list for PBXNativeTarget "crypto" */;
69+
buildPhases = (
70+
9069D28A0FCE659A0042E34C /* Frameworks */,
71+
);
72+
buildRules = (
73+
);
74+
dependencies = (
75+
9069D2930FCE65A70042E34C /* PBXTargetDependency */,
76+
);
77+
name = crypto;
78+
productName = crypto;
79+
productReference = 9069D28C0FCE659A0042E34C /* libcrypto.a */;
80+
productType = "com.apple.product-type.library.static";
81+
};
82+
/* End PBXNativeTarget section */
83+
84+
/* Begin PBXProject section */
85+
9069D12F0FCE340B0042E34C /* Project object */ = {
86+
isa = PBXProject;
87+
buildConfigurationList = 9069D1320FCE340B0042E34C /* Build configuration list for PBXProject "openssl" */;
88+
compatibilityVersion = "Xcode 2.4";
89+
hasScannedForEncodings = 0;
90+
mainGroup = 9069D12D0FCE340B0042E34C;
91+
projectDirPath = "";
92+
projectRoot = "";
93+
targets = (
94+
9069D13C0FCE35730042E34C /* make */,
95+
9069D28B0FCE659A0042E34C /* crypto */,
96+
);
97+
};
98+
/* End PBXProject section */
99+
100+
/* Begin PBXShellScriptBuildPhase section */
101+
9069D13B0FCE35730042E34C /* ShellScript */ = {
102+
isa = PBXShellScriptBuildPhase;
103+
buildActionMask = 2147483647;
104+
files = (
105+
);
106+
inputPaths = (
107+
"$(SRCROOT)/Makefile",
108+
);
109+
outputPaths = (
110+
"$(BUILT_PRODUCTS_DIR)/libcrypto.a",
111+
);
112+
runOnlyForDeploymentPostprocessing = 0;
113+
shellPath = /bin/sh;
114+
shellScript = "if [ \"$SDKROOT\" != \"\" ]; then\n\tISYSROOT=\"-isysroot $SDKROOT\"\nfi\n\nmake clean\n./config -openssldir=$BUILD_DIR\nmake CC=$PLATFORM_DEVELOPER_BIN_DIR/gcc-4.0 CFLAG=\"-D_POSIX_C_SOURCE -arch $ARCHS $ISYSROOT\" SHARED_LDFLAGS=\"-arch $ARCHS -dynamiclib\"\n\ncp *.a $BUILT_PRODUCTS_DIR\nexit 0";
115+
};
116+
/* End PBXShellScriptBuildPhase section */
117+
118+
/* Begin PBXTargetDependency section */
119+
9069D2930FCE65A70042E34C /* PBXTargetDependency */ = {
120+
isa = PBXTargetDependency;
121+
target = 9069D13C0FCE35730042E34C /* make */;
122+
targetProxy = 9069D2920FCE65A70042E34C /* PBXContainerItemProxy */;
123+
};
124+
/* End PBXTargetDependency section */
125+
126+
/* Begin XCBuildConfiguration section */
127+
9069D1300FCE340B0042E34C /* Debug */ = {
128+
isa = XCBuildConfiguration;
129+
buildSettings = {
130+
COPY_PHASE_STRIP = NO;
131+
};
132+
name = Debug;
133+
};
134+
9069D1310FCE340B0042E34C /* Release */ = {
135+
isa = XCBuildConfiguration;
136+
buildSettings = {
137+
COPY_PHASE_STRIP = YES;
138+
};
139+
name = Release;
140+
};
141+
9069D13D0FCE35730042E34C /* Debug */ = {
142+
isa = XCBuildConfiguration;
143+
buildSettings = {
144+
COPY_PHASE_STRIP = NO;
145+
GCC_DYNAMIC_NO_PIC = NO;
146+
GCC_OPTIMIZATION_LEVEL = 0;
147+
PRODUCT_NAME = libcrypto.a;
148+
};
149+
name = Debug;
150+
};
151+
9069D13E0FCE35730042E34C /* Release */ = {
152+
isa = XCBuildConfiguration;
153+
buildSettings = {
154+
COPY_PHASE_STRIP = YES;
155+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
156+
GCC_ENABLE_FIX_AND_CONTINUE = NO;
157+
PRODUCT_NAME = libcrypto.a;
158+
ZERO_LINK = NO;
159+
};
160+
name = Release;
161+
};
162+
9069D28D0FCE659B0042E34C /* Debug */ = {
163+
isa = XCBuildConfiguration;
164+
buildSettings = {
165+
ALWAYS_SEARCH_USER_PATHS = NO;
166+
COPY_PHASE_STRIP = NO;
167+
GCC_DYNAMIC_NO_PIC = NO;
168+
GCC_ENABLE_FIX_AND_CONTINUE = YES;
169+
GCC_MODEL_TUNING = G5;
170+
GCC_OPTIMIZATION_LEVEL = 0;
171+
INSTALL_PATH = /usr/local/lib;
172+
PREBINDING = NO;
173+
PRODUCT_NAME = crypto;
174+
};
175+
name = Debug;
176+
};
177+
9069D28E0FCE659B0042E34C /* Release */ = {
178+
isa = XCBuildConfiguration;
179+
buildSettings = {
180+
ALWAYS_SEARCH_USER_PATHS = NO;
181+
COPY_PHASE_STRIP = YES;
182+
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
183+
GCC_ENABLE_FIX_AND_CONTINUE = NO;
184+
GCC_MODEL_TUNING = G5;
185+
INSTALL_PATH = /usr/local/lib;
186+
PREBINDING = NO;
187+
PRODUCT_NAME = crypto;
188+
ZERO_LINK = NO;
189+
};
190+
name = Release;
191+
};
192+
/* End XCBuildConfiguration section */
193+
194+
/* Begin XCConfigurationList section */
195+
9069D1320FCE340B0042E34C /* Build configuration list for PBXProject "openssl" */ = {
196+
isa = XCConfigurationList;
197+
buildConfigurations = (
198+
9069D1300FCE340B0042E34C /* Debug */,
199+
9069D1310FCE340B0042E34C /* Release */,
200+
);
201+
defaultConfigurationIsVisible = 0;
202+
defaultConfigurationName = Release;
203+
};
204+
9069D13F0FCE35910042E34C /* Build configuration list for PBXAggregateTarget "make" */ = {
205+
isa = XCConfigurationList;
206+
buildConfigurations = (
207+
9069D13D0FCE35730042E34C /* Debug */,
208+
9069D13E0FCE35730042E34C /* Release */,
209+
);
210+
defaultConfigurationIsVisible = 0;
211+
defaultConfigurationName = Release;
212+
};
213+
9069D2980FCE65C10042E34C /* Build configuration list for PBXNativeTarget "crypto" */ = {
214+
isa = XCConfigurationList;
215+
buildConfigurations = (
216+
9069D28D0FCE659B0042E34C /* Debug */,
217+
9069D28E0FCE659B0042E34C /* Release */,
218+
);
219+
defaultConfigurationIsVisible = 0;
220+
defaultConfigurationName = Release;
221+
};
222+
/* End XCConfigurationList section */
223+
};
224+
rootObject = 9069D12F0FCE340B0042E34C /* Project object */;
225+
}

0 commit comments

Comments
 (0)