Update the XCode project files.

Adjusted the include paths and the dependencies.
Added the external configuration options.

Change-Id: I5d19881f71351fa5c45a7d3636b073c48c7f94ec
diff --git a/MacConfigExternalDebug.xcconfig b/MacConfigExternalDebug.xcconfig
new file mode 100644
index 0000000..3fb74c5
--- /dev/null
+++ b/MacConfigExternalDebug.xcconfig
@@ -0,0 +1,19 @@
+SDKROOT=macosx10.5
+ARCHS=i386
+GCC_ALTIVEC_EXTENSIONS=YES
+GCC_ENABLE_CPP_EXCEPTIONS=YES
+GCC_ENABLE_FIX_AND_CONTINUE=NO
+GCC_ENABLE_SSE3_EXTENSIONS=YES
+GCC_INLINES_ARE_PRIVATE_EXTERN=YES
+GCC_OPTIMIZATION_LEVEL=0
+GCC_PREPROCESSOR_DEFINITIONS=DEBUG _DEBUG _PORT_DEBUG _BACKWARD_BACKWARD_WARNING_H _AFT_BUILD
+GCC_SYMBOLS_PRIVATE_EXTERN=YES
+GCC_VERSION=4.2
+INSTALL_PATH=@executable_path
+MACOSX_DEPLOYMENT_TARGET=10.5
+MAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_5
+MAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_5
+OTHER_CFLAGS=-fexceptions
+SDKROOT=macosx10.5
+WARNING_CFLAGS=-Wno-deprecated-declarations
+ZERO_LINK=NO
diff --git a/MacConfigExternalRelease.xcconfig b/MacConfigExternalRelease.xcconfig
new file mode 100644
index 0000000..6a58f19
--- /dev/null
+++ b/MacConfigExternalRelease.xcconfig
@@ -0,0 +1,27 @@
+SDKROOT=macosx10.5
+ARCHS=ppc i386
+COPY_PHASE_STRIP=NO
+DEAD_CODE_STRIPPING=YES
+DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
+DEPLOYMENT_POSTPROCESSING=YES
+GCC_ALTIVEC_EXTENSIONS=YES
+GCC_ENABLE_CPP_EXCEPTIONS=YES
+GCC_ENABLE_FIX_AND_CONTINUE=NO
+GCC_ENABLE_SSE3_EXTENSIONS=YES
+GCC_GENERATE_DEBUGGING_SYMBOLS=YES
+GCC_INLINES_ARE_PRIVATE_EXTERN=YES
+GCC_PREPROCESSOR_DEFINITIONS=NDEBUG _NDEBUG _PORT_NDEBUG _BACKWARD_BACKWARD_WARNING_H _AFT_BUILD
+GCC_SYMBOLS_PRIVATE_EXTERN=YES
+GCC_UNROLL_LOOPS=YES
+GCC_VERSION=4.2
+INSTALL_PATH=@executable_path
+MACOSX_DEPLOYMENT_TARGET=10.5
+MAC_OS_X_VERSION_MAX_ALLOWED=MAC_OS_X_VERSION_10_5
+MAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_5
+OTHER_CFLAGS=-fexceptions
+PRESERVE_DEAD_CODE_INITS_AND_TERMS=YES
+SDKROOT=macosx10.5
+SEPARATE_STRIP=YES
+STRIP_INSTALLED_PRODUCT=YES
+WARNING_CFLAGS=-Wno-deprecated-declarations
+ZERO_LINK=NO
diff --git a/libusb.xcodeproj/project.pbxproj b/libusb.xcodeproj/project.pbxproj
index b202cf7..d4fd77a 100644
--- a/libusb.xcodeproj/project.pbxproj
+++ b/libusb.xcodeproj/project.pbxproj
@@ -32,8 +32,8 @@
 		B0ABC8A61277AA6F005F9E6B /* IOKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IOKit.framework; path = System/Library/Frameworks/IOKit.framework; sourceTree = SDKROOT; };
 		B0ABC8AA1277AA77005F9E6B /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = System/Library/Frameworks/CoreFoundation.framework; sourceTree = SDKROOT; };
 		D2AAC0630554660B00DB518D /* libusb.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libusb.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
-		D71350461124D56600E2C1DA /* MacConfigExternalDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = MacConfigExternalDebug.xcconfig; path = ../MacConfigExternalDebug.xcconfig; sourceTree = SOURCE_ROOT; };
-		D71350471124D56600E2C1DA /* MacConfigExternalRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = MacConfigExternalRelease.xcconfig; path = ../MacConfigExternalRelease.xcconfig; sourceTree = SOURCE_ROOT; };
+		D71350461124D56600E2C1DA /* MacConfigExternalDebug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = MacConfigExternalDebug.xcconfig; sourceTree = "<group>"; };
+		D71350471124D56600E2C1DA /* MacConfigExternalRelease.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = MacConfigExternalRelease.xcconfig; sourceTree = "<group>"; };
 		D7D0FF621124E29800E01FE7 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
 /* End PBXFileReference section */
 
@@ -129,7 +129,6 @@
 			isa = PBXProject;
 			buildConfigurationList = 1DEB914E08733D8E0010E9CD /* Build configuration list for PBXProject "libusb" */;
 			compatibilityVersion = "Xcode 3.1";
-			developmentRegion = English;
 			hasScannedForEncodings = 1;
 			knownRegions = (
 				English,