From 5cf016fa7626901d1b0eb077179680127588c468 Mon Sep 17 00:00:00 2001
From: Brian West <brian@freeswitch.org>
Date: Fri, 10 Mar 2006 02:59:23 +0000
Subject: [PATCH] damn thing keeps messing up a bit.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@828 d0543943-73ff-0310-b7d9-9358b9ac24b2
---
 .../aprutil-1.2.2.xcodeproj/project.pbxproj   | 24 +++++++++----------
 .../libs/resample.xcodeproj/project.pbxproj   | 21 ++++++++++++++++
 2 files changed, 33 insertions(+), 12 deletions(-)

diff --git a/mac/xcode/libs/aprutil-1.2.2.xcodeproj/project.pbxproj b/mac/xcode/libs/aprutil-1.2.2.xcodeproj/project.pbxproj
index dc663a0d8b..5b83dba245 100644
--- a/mac/xcode/libs/aprutil-1.2.2.xcodeproj/project.pbxproj
+++ b/mac/xcode/libs/aprutil-1.2.2.xcodeproj/project.pbxproj
@@ -499,15 +499,8 @@
 				GCC_ENABLE_FIX_AND_CONTINUE = YES;
 				GCC_MODEL_TUNING = G5;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
 				INFOPLIST_FILE = "aprutil-Info.plist";
 				INSTALL_PATH = "$(HOME)/Library/Frameworks";
-				OTHER_LDFLAGS = (
-					"-framework",
-					Foundation,
-					"-framework",
-					AppKit,
-				);
 				PREBINDING = NO;
 				PRODUCT_NAME = aprutil;
 				ZERO_LINK = YES;
@@ -657,6 +650,7 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				COPY_PHASE_STRIP = YES;
+				NATIVE_ARCH = "ppc i386";
 				SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
 			};
 			name = Release;
@@ -705,25 +699,31 @@
 			isa = XCBuildConfiguration;
 			buildSettings = {
 				COPY_PHASE_STRIP = YES;
+				DSTROOT = /;
 				DYLIB_COMPATIBILITY_VERSION = 1;
 				DYLIB_CURRENT_VERSION = 1;
 				FRAMEWORK_SEARCH_PATHS = (
 					"$(FRAMEWORK_SEARCH_PATHS)",
-					"$(SRCROOT)/build/Debug",
+					/Library/Frameworks,
 				);
 				FRAMEWORK_VERSION = A;
 				GCC_ENABLE_FIX_AND_CONTINUE = NO;
 				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
 				GCC_MODEL_TUNING = G5;
 				GCC_PRECOMPILE_PREFIX_HEADER = YES;
-				GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h";
+				HEADER_SEARCH_PATHS = (
+					"../../../../libs/apr-1.2.2",
+					"../../../libs/apr-1.2.2/include",
+				);
 				INFOPLIST_FILE = "aprutil-Info.plist";
-				INSTALL_PATH = "$(HOME)/Library/Frameworks";
+				INSTALL_PATH = /Library/Frameworks;
 				OTHER_LDFLAGS = (
 					"-framework",
-					Foundation,
+					apr,
 					"-framework",
-					AppKit,
+					sqlite,
+					"-lpthread",
+					"-liconv",
 				);
 				PREBINDING = NO;
 				PRODUCT_NAME = aprutil;
diff --git a/mac/xcode/libs/resample.xcodeproj/project.pbxproj b/mac/xcode/libs/resample.xcodeproj/project.pbxproj
index cf395994cf..242a6aa82b 100644
--- a/mac/xcode/libs/resample.xcodeproj/project.pbxproj
+++ b/mac/xcode/libs/resample.xcodeproj/project.pbxproj
@@ -17,6 +17,23 @@
 		D3DA9FF109C109E700AA370C /* libresample.h in Headers */ = {isa = PBXBuildFile; fileRef = D3DA9FCA09C1086700AA370C /* libresample.h */; };
 /* End PBXBuildFile section */
 
+/* Begin PBXBuildStyle section */
+		D33CA84309C122F80087B539 /* Development */ = {
+			isa = PBXBuildStyle;
+			buildSettings = {
+				COPY_PHASE_STRIP = NO;
+			};
+			name = Development;
+		};
+		D33CA84409C122F80087B539 /* Deployment */ = {
+			isa = PBXBuildStyle;
+			buildSettings = {
+				COPY_PHASE_STRIP = YES;
+			};
+			name = Deployment;
+		};
+/* End PBXBuildStyle section */
+
 /* Begin PBXFileReference section */
 		D3DA9FCA09C1086700AA370C /* libresample.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = libresample.h; path = "../../../libs/libresample-0.1.3/include/libresample.h"; sourceTree = SOURCE_ROOT; };
 		D3DA9FCC09C1088100AA370C /* config.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = config.h; path = "../../../libs/libresample-0.1.3/src/config.h"; sourceTree = SOURCE_ROOT; };
@@ -129,7 +146,11 @@
 		D3DA9FA209C1072700AA370C /* Project object */ = {
 			isa = PBXProject;
 			buildConfigurationList = D3DA9FA309C1072700AA370C /* Build configuration list for PBXProject "resample" */;
+			buildSettings = {
+			};
 			buildStyles = (
+				D33CA84309C122F80087B539 /* Development */,
+				D33CA84409C122F80087B539 /* Deployment */,
 			);
 			hasScannedForEncodings = 0;
 			mainGroup = D3DA9FA009C1072700AA370C;