ObjFW  Check-in [c81eec2d13]

Overview
Comment:Fix building as a framework.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: c81eec2d13768a32ac655b111f13396bb1e317379324fa77466580cf3d891125
User & Date: js on 2009-11-09 22:07:29
Other Links: manifest | tags
Context
2009-11-09
22:13
Rename libobjfw.xcodeproj to more appropriate ObjFW.xcodeproj. check-in: 93ec077bcd user: js tags: trunk
22:07
Fix building as a framework. check-in: c81eec2d13 user: js tags: trunk
19:37
Update buildsys. check-in: 3a2bc7f448 user: js tags: trunk
Changes

Modified libobjfw.xcodeproj/project.pbxproj from [99132e3f4d] to [b2c1448e1a].

257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
			);
			name = plugin;
			sourceTree = "<group>";
		};
/* End PBXGroup section */

/* Begin PBXLegacyTarget section */
		4B5D8DF11099E2A7000896FF /* libobjfw */ = {
			isa = PBXLegacyTarget;
			buildArgumentsString = "$(ACTION)";
			buildConfigurationList = 4B5D8DF91099E2ED000896FF /* Build configuration list for PBXLegacyTarget "libobjfw" */;
			buildPhases = (
			);
			buildToolPath = /usr/bin/make;
			buildWorkingDirectory = src;
			dependencies = (
				4B5D8DF51099E2CE000896FF /* PBXTargetDependency */,
			);
			name = libobjfw;
			passBuildSettingsInEnvironment = 1;
			productName = libobjfw;
		};
		4B6CBBCE1099E40200CB0ECD /* tests */ = {
			isa = PBXLegacyTarget;
			buildArgumentsString = "DONT_RUN_TESTS=1 $(ACTION)";
			buildConfigurationList = 4B6CBBD61099E44800CB0ECD /* Build configuration list for PBXLegacyTarget "tests" */;







|

|
|







|







257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
			);
			name = plugin;
			sourceTree = "<group>";
		};
/* End PBXGroup section */

/* Begin PBXLegacyTarget section */
		4B5D8DF11099E2A7000896FF /* ObjFW */ = {
			isa = PBXLegacyTarget;
			buildArgumentsString = "'LIB=ObjFW' 'LDFLAGS += -install_name /Library/Frameworks/ObjFW.framework/Versions/A/ObjFW' $(ACTION)";
			buildConfigurationList = 4B5D8DF91099E2ED000896FF /* Build configuration list for PBXLegacyTarget "ObjFW" */;
			buildPhases = (
			);
			buildToolPath = /usr/bin/make;
			buildWorkingDirectory = src;
			dependencies = (
				4B5D8DF51099E2CE000896FF /* PBXTargetDependency */,
			);
			name = ObjFW;
			passBuildSettingsInEnvironment = 1;
			productName = libobjfw;
		};
		4B6CBBCE1099E40200CB0ECD /* tests */ = {
			isa = PBXLegacyTarget;
			buildArgumentsString = "DONT_RUN_TESTS=1 $(ACTION)";
			buildConfigurationList = 4B6CBBD61099E44800CB0ECD /* Build configuration list for PBXLegacyTarget "tests" */;
300
301
302
303
304
305
306

307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
			compatibilityVersion = "Xcode 3.1";
			hasScannedForEncodings = 1;
			mainGroup = 08FB7794FE84155DC02AAC07 /* libobjfw */;
			projectDirPath = "";
			projectRoot = "";
			targets = (
				4B08AE9E109AE10E00989F6E /* Framework */,

				4B5D8DDD1099E1B0000896FF /* autogen.sh */,
				4B5D8DE91099E1F1000896FF /* configure */,
				4B5D8DF11099E2A7000896FF /* libobjfw */,
				4B6CBBCE1099E40200CB0ECD /* tests */,
			);
		};
/* End PBXProject section */

/* Begin PBXShellScriptBuildPhase section */
		4B08AE9D109AE10E00989F6E /* ShellScript */ = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 12;
			files = (
			);
			inputPaths = (
			);
			outputPaths = (
			);
			runOnlyForDeploymentPostprocessing = 0;
			shellPath = /bin/sh;
			shellScript = "rm -fr $TARGET_BUILD_DIR/ObjFW.framework\nmkdir -p $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Headers || exit 1\nmkdir -p $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Resources || exit 1\ninstall -m 755 src/libobjfw.dylib $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/ObjFW || exit 1\ninstall -m 644 src/*.h $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Headers/ || exit 1\ncat >$TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Resources/Info.plist <<__EOF__\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>English</string>\n\t<key>CFBundleExecutable</key>\n\t<string>ObjFW</string>\n\t<key>CFBundleGetInfoString</key>\n\t<string>https://webkeks.org/hg/libobjfw</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>ObjFW</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>libobjfw</string>\n\t<key>CFBundlePackageType</key>\n\t<string>FMWK</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>0.1</string>\n\t<key>CFBundleSignature</key>\n\t<string>OBJF</string>\n\t<key>CFBundleVersion</key>\n\t<string>0.1</string>\n</dict>\n</plist>\n__EOF__\nif [ ! -f \"$TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Resources/Info.plist\" ]; then\n\texit 1;\nfi\nln -s A $TARGET_BUILD_DIR/ObjFW.framework/Versions/Current || exit 1\nln -s Versions/Current/Headers $TARGET_BUILD_DIR/ObjFW.framework/Headers || exit 1\nln -s Versions/Current/Resources $TARGET_BUILD_DIR/ObjFW.framework/Resources || exit 1\nln -s Versions/Current/ObjFW $TARGET_BUILD_DIR/ObjFW.framework/ObjFW || exit 1";
		};
		4B5D8DE11099E1BF000896FF /* ShellScript */ = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 2147483647;
			files = (
			);
			inputPaths = (







>


<

















|







300
301
302
303
304
305
306
307
308
309

310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
			compatibilityVersion = "Xcode 3.1";
			hasScannedForEncodings = 1;
			mainGroup = 08FB7794FE84155DC02AAC07 /* libobjfw */;
			projectDirPath = "";
			projectRoot = "";
			targets = (
				4B08AE9E109AE10E00989F6E /* Framework */,
				4B5D8DF11099E2A7000896FF /* ObjFW */,
				4B5D8DDD1099E1B0000896FF /* autogen.sh */,
				4B5D8DE91099E1F1000896FF /* configure */,

				4B6CBBCE1099E40200CB0ECD /* tests */,
			);
		};
/* End PBXProject section */

/* Begin PBXShellScriptBuildPhase section */
		4B08AE9D109AE10E00989F6E /* ShellScript */ = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 12;
			files = (
			);
			inputPaths = (
			);
			outputPaths = (
			);
			runOnlyForDeploymentPostprocessing = 0;
			shellPath = /bin/sh;
			shellScript = "rm -fr $TARGET_BUILD_DIR/ObjFW.framework\nmkdir -p $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Headers || exit 1\nmkdir -p $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Resources || exit 1\ninstall -m 755 src/ObjFW $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/ || exit 1\ninstall -m 644 src/*.h $TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Headers/ || exit 1\ncat >$TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Resources/Info.plist <<__EOF__\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>English</string>\n\t<key>CFBundleExecutable</key>\n\t<string>ObjFW</string>\n\t<key>CFBundleGetInfoString</key>\n\t<string>https://webkeks.org/hg/libobjfw</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>ObjFW</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>libobjfw</string>\n\t<key>CFBundlePackageType</key>\n\t<string>FMWK</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>0.1</string>\n\t<key>CFBundleSignature</key>\n\t<string>OBJF</string>\n\t<key>CFBundleVersion</key>\n\t<string>0.1</string>\n</dict>\n</plist>\n__EOF__\nif [ ! -f \"$TARGET_BUILD_DIR/ObjFW.framework/Versions/A/Resources/Info.plist\" ]; then\n\texit 1;\nfi\nln -s A $TARGET_BUILD_DIR/ObjFW.framework/Versions/Current || exit 1\nln -s Versions/Current/Headers $TARGET_BUILD_DIR/ObjFW.framework/Headers || exit 1\nln -s Versions/Current/Resources $TARGET_BUILD_DIR/ObjFW.framework/Resources || exit 1\nln -s Versions/Current/ObjFW $TARGET_BUILD_DIR/ObjFW.framework/ObjFW || exit 1";
		};
		4B5D8DE11099E1BF000896FF /* ShellScript */ = {
			isa = PBXShellScriptBuildPhase;
			buildActionMask = 2147483647;
			files = (
			);
			inputPaths = (
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
			shellScript = "if [ \"configure\" -nt \"buildsys.mk\" -o \"buildsys.mk.in\" -nt \"buildsys.mk\" ]; then\n\tCFLAGS=\"-arch ppc -arch i386 -arch x86_64\" \\\n\tOBJCFLAGS=\"-arch ppc -arch i386 -arch x86_64\" \\\n\tLDFLAGS=\"-arch ppc -arch i386 -arch x86_64\" \\\n\t./configure || exit 1\nfi";
		};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXTargetDependency section */
		4B08AEA8109AE2D300989F6E /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DF11099E2A7000896FF /* libobjfw */;
			targetProxy = 4B08AEA7109AE2D300989F6E /* PBXContainerItemProxy */;
		};
		4B5D8DF01099E26D000896FF /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DDD1099E1B0000896FF /* autogen.sh */;
			targetProxy = 4B5D8DEF1099E26D000896FF /* PBXContainerItemProxy */;
		};
		4B5D8DF51099E2CE000896FF /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DE91099E1F1000896FF /* configure */;
			targetProxy = 4B5D8DF41099E2CE000896FF /* PBXContainerItemProxy */;
		};
		4B6CBBD21099E40900CB0ECD /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DF11099E2A7000896FF /* libobjfw */;
			targetProxy = 4B6CBBD11099E40900CB0ECD /* PBXContainerItemProxy */;
		};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
		1DEB919408733D9F0010E9CD /* Debug */ = {
			isa = XCBuildConfiguration;







|














|







353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
			shellScript = "if [ \"configure\" -nt \"buildsys.mk\" -o \"buildsys.mk.in\" -nt \"buildsys.mk\" ]; then\n\tCFLAGS=\"-arch ppc -arch i386 -arch x86_64\" \\\n\tOBJCFLAGS=\"-arch ppc -arch i386 -arch x86_64\" \\\n\tLDFLAGS=\"-arch ppc -arch i386 -arch x86_64\" \\\n\t./configure || exit 1\nfi";
		};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXTargetDependency section */
		4B08AEA8109AE2D300989F6E /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DF11099E2A7000896FF /* ObjFW */;
			targetProxy = 4B08AEA7109AE2D300989F6E /* PBXContainerItemProxy */;
		};
		4B5D8DF01099E26D000896FF /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DDD1099E1B0000896FF /* autogen.sh */;
			targetProxy = 4B5D8DEF1099E26D000896FF /* PBXContainerItemProxy */;
		};
		4B5D8DF51099E2CE000896FF /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DE91099E1F1000896FF /* configure */;
			targetProxy = 4B5D8DF41099E2CE000896FF /* PBXContainerItemProxy */;
		};
		4B6CBBD21099E40900CB0ECD /* PBXTargetDependency */ = {
			isa = PBXTargetDependency;
			target = 4B5D8DF11099E2A7000896FF /* ObjFW */;
			targetProxy = 4B6CBBD11099E40900CB0ECD /* PBXContainerItemProxy */;
		};
/* End PBXTargetDependency section */

/* Begin XCBuildConfiguration section */
		1DEB919408733D9F0010E9CD /* Debug */ = {
			isa = XCBuildConfiguration;
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
			buildConfigurations = (
				4B5D8DEA1099E1F2000896FF /* Debug */,
				4B5D8DEB1099E1F2000896FF /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Release;
		};
		4B5D8DF91099E2ED000896FF /* Build configuration list for PBXLegacyTarget "libobjfw" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				4B5D8DF21099E2A7000896FF /* Debug */,
				4B5D8DF31099E2A7000896FF /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Release;







|







530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
			buildConfigurations = (
				4B5D8DEA1099E1F2000896FF /* Debug */,
				4B5D8DEB1099E1F2000896FF /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Release;
		};
		4B5D8DF91099E2ED000896FF /* Build configuration list for PBXLegacyTarget "ObjFW" */ = {
			isa = XCConfigurationList;
			buildConfigurations = (
				4B5D8DF21099E2A7000896FF /* Debug */,
				4B5D8DF31099E2A7000896FF /* Release */,
			);
			defaultConfigurationIsVisible = 0;
			defaultConfigurationName = Release;