Xcode/SDL/SDL.xcodeproj/project.pbxproj
branchgsoc2008_audio_resampling
changeset 2655 b8e736c8a5a8
parent 2207 d63e9f5944ae
child 2663 0caed045d01b
     1.1 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Wed Apr 23 06:26:21 2008 +0000
     1.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Wed Jun 18 04:51:10 2008 +0000
     1.3 @@ -512,35 +512,6 @@
     1.4  		BECDF6B70761BA81005FE872 /* SDLMain.m in Sources */ = {isa = PBXBuildFile; fileRef = 2EECDF2E0086C3A07F000001 /* SDLMain.m */; };
     1.5  /* End PBXBuildFile section */
     1.6  
     1.7 -/* Begin PBXBuildStyle section */
     1.8 -		F512D95E02A6E0AB01D28762 /* Development */ = {
     1.9 -			isa = PBXBuildStyle;
    1.10 -			buildSettings = {
    1.11 -				COPY_PHASE_STRIP = NO;
    1.12 -				DEBUGGING_SYMBOLS = YES;
    1.13 -				GCC_DYNAMIC_NO_PIC = NO;
    1.14 -				GCC_ENABLE_FIX_AND_CONTINUE = YES;
    1.15 -				GCC_GENERATE_DEBUGGING_SYMBOLS = YES;
    1.16 -				GCC_OPTIMIZATION_LEVEL = 0;
    1.17 -				OPTIMIZATION_CFLAGS = "-O0";
    1.18 -				ZERO_LINK = YES;
    1.19 -			};
    1.20 -			name = Development;
    1.21 -		};
    1.22 -		F512D95F02A6E0AB01D28762 /* Deployment */ = {
    1.23 -			isa = PBXBuildStyle;
    1.24 -			buildSettings = {
    1.25 -				COPY_PHASE_STRIP = YES;
    1.26 -				DEBUGGING_SYMBOLS = NO;
    1.27 -				GCC_ENABLE_FIX_AND_CONTINUE = NO;
    1.28 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
    1.29 -				GCC_OPTIMIZATION_LEVEL = 3;
    1.30 -				ZERO_LINK = NO;
    1.31 -			};
    1.32 -			name = Deployment;
    1.33 -		};
    1.34 -/* End PBXBuildStyle section */
    1.35 -
    1.36  /* Begin PBXContainerItemProxy section */
    1.37  		BECDF6C50761BA81005FE872 /* PBXContainerItemProxy */ = {
    1.38  			isa = PBXContainerItemProxy;
    1.39 @@ -742,8 +713,8 @@
    1.40  		BECDF66C0761BA81005FE872 /* SDL.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = SDL.framework; sourceTree = BUILT_PRODUCTS_DIR; };
    1.41  		BECDF6B30761BA81005FE872 /* libSDL.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL.a; sourceTree = BUILT_PRODUCTS_DIR; };
    1.42  		BECDF6BA0761BA81005FE872 /* libSDLmain.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDLmain.a; sourceTree = BUILT_PRODUCTS_DIR; };
    1.43 -		BECDF6BE0761BA81005FE872 /* Standard DMG */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = "Standard DMG"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.44 -		BECDF6C30761BA81005FE872 /* Developer Extras Package */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = "Developer Extras Package"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.45 +		BECDF6BE0761BA81005FE872 /* Standard DMG */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Standard DMG"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.46 +		BECDF6C30761BA81005FE872 /* Developer Extras Package */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "Developer Extras Package"; sourceTree = BUILT_PRODUCTS_DIR; };
    1.47  		F51789D101769A2401D3D55B /* SDL_sysjoystick.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; path = SDL_sysjoystick.c; sourceTree = "<group>"; };
    1.48  		F59C70FF00D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; };
    1.49  		F59C710000D5CB5801000001 /* Welcome.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = Welcome.txt; sourceTree = "<group>"; };
    1.50 @@ -1609,73 +1580,6 @@
    1.51  			);
    1.52  			buildRules = (
    1.53  			);
    1.54 -			buildSettings = {
    1.55 -				COPY_PHASE_STRIP = YES;
    1.56 -				DYLIB_COMPATIBILITY_VERSION = 1;
    1.57 -				DYLIB_CURRENT_VERSION = 1;
    1.58 -				EXPORTED_SYMBOLS_FILE = ../../src/main/macosx/exports/SDL.x;
    1.59 -				FRAMEWORK_SEARCH_PATHS = "";
    1.60 -				FRAMEWORK_VERSION = A;
    1.61 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
    1.62 -				GCC_OPTIMIZATION_LEVEL = 3;
    1.63 -				GCC_PREPROCESSOR_DEFINITIONS = (
    1.64 -					ENABLE_QUARTZ,
    1.65 -					PTHREAD_NO_RECURSIVE_MUTEX,
    1.66 -					SDL_USE_PTHREADS,
    1.67 -					TARGET_API_MAC_CARBON,
    1.68 -					TARGET_API_MAC_OSX,
    1.69 -					MACOSX,
    1.70 -					HAVE_OPENGL,
    1.71 -				);
    1.72 -				GCC_USE_GCC3_PFE_SUPPORT = YES;
    1.73 -				HEADER_SEARCH_PATHS = (
    1.74 -					/System/Library/Frameworks/Carbon.framework/Headers,
    1.75 -					../../src,
    1.76 -					../../include,
    1.77 -					../../src/audio,
    1.78 -					../../src/cdrom,
    1.79 -					../../src/endian,
    1.80 -					../../src/events,
    1.81 -					../../src/file,
    1.82 -					../../src/hermes,
    1.83 -					../../src/joystick,
    1.84 -					../../src/main,
    1.85 -					../../src/thread,
    1.86 -					../../src/timer,
    1.87 -					../../src/video,
    1.88 -				);
    1.89 -				INFOPLIST_FILE = "Info-Framework__Upgraded_.plist";
    1.90 -				INSTALL_PATH = "@executable_path/../Frameworks";
    1.91 -				LIBRARY_SEARCH_PATHS = "";
    1.92 -				OTHER_CFLAGS = "";
    1.93 -				OTHER_LDFLAGS = (
    1.94 -					"-seg1addr",
    1.95 -					0x30000000,
    1.96 -					"-framework",
    1.97 -					IOKit,
    1.98 -					"-framework",
    1.99 -					Cocoa,
   1.100 -					"-framework",
   1.101 -					OpenGL,
   1.102 -					"-framework",
   1.103 -					Carbon,
   1.104 -					"-framework",
   1.105 -					QuickTime,
   1.106 -					"-framework",
   1.107 -					AudioToolbox,
   1.108 -					"-framework",
   1.109 -					AudioUnit,
   1.110 -					"-framework",
   1.111 -					CoreAudio,
   1.112 -				);
   1.113 -				PRODUCT_NAME = SDL;
   1.114 -				SECTORDER_FLAGS = "";
   1.115 -				WARNING_CFLAGS = (
   1.116 -					"-Wall",
   1.117 -					"-Wno-four-char-constants",
   1.118 -				);
   1.119 -				WRAPPER_EXTENSION = framework;
   1.120 -			};
   1.121  			comments = "We recommend installing to /Library/Frameworks\nAn alternative is $(HOME)/Library/Frameworks for per-user if permissions are an issue.\n\nAdd the framework to the Groups & Files panel (under Linked Frameworks is a good place) and enable the check box for the targets that need to link to it. You can also manually add \"-framework SDL\" to your linker flags if you don't like the check box system.\n\nAdd /Library/Frameworks/SDL.framework/Headers to your header search path\nAdd /Library/Frameworks to your library search path\n(Adjust the two above if installed in $(HOME)/Library/Frameworks. You can also list both paths if you want robustness.)\n\nWe used to use an exports file. It was becoming a maintenance issue we kept neglecting, so we have removed it. If you need it back, set the \"Exported Symbols File\" option to:\n../../src/main/macosx/exports/SDL.x\n(You may need to regenerate the exports list. There is a Makefile in that directory that you can run from the command line to rebuild it.)\nLong term, we want to utilize gcc 4.0's new visibility feature (analogous to declspec on Windows). Other platforms would benefit from this change too. The downside is that we still use gcc 3.3 for the PowerPC build here so only our x86 builds will cull the symbols if we go down this route (and don't use the exports file).\n\n";
   1.122  			dependencies = (
   1.123  			);
   1.124 @@ -1697,50 +1601,6 @@
   1.125  			);
   1.126  			buildRules = (
   1.127  			);
   1.128 -			buildSettings = {
   1.129 -				DYLIB_COMPATIBILITY_VERSION = 1;
   1.130 -				DYLIB_CURRENT_VERSION = 1;
   1.131 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
   1.132 -				GCC_OPTIMIZATION_LEVEL = 3;
   1.133 -				GCC_PREPROCESSOR_DEFINITIONS = (
   1.134 -					ENABLE_QUARTZ,
   1.135 -					PTHREAD_NO_RECURSIVE_MUTEX,
   1.136 -					SDL_USE_PTHREADS,
   1.137 -					DISABLE_JOYSTICK,
   1.138 -					DISABLE_CDROM,
   1.139 -					TARGET_API_MAC_CARBON,
   1.140 -					TARGET_API_MAC_OSX,
   1.141 -					MACOSX,
   1.142 -					HAVE_OPENGL,
   1.143 -				);
   1.144 -				HEADER_SEARCH_PATHS = (
   1.145 -					/System/Library/Frameworks/Carbon.framework/Headers/,
   1.146 -					../../src,
   1.147 -					../../include,
   1.148 -					../../src/audio,
   1.149 -					../../src/cdrom,
   1.150 -					../../src/endian,
   1.151 -					../../src/events,
   1.152 -					../../src/file,
   1.153 -					../../src/joystick,
   1.154 -					../../src/thread,
   1.155 -					../../src/timer,
   1.156 -					../../src/video,
   1.157 -				);
   1.158 -				LIBRARY_STYLE = STATIC;
   1.159 -				OTHER_CFLAGS = "";
   1.160 -				OTHER_LDFLAGS = "";
   1.161 -				OTHER_LIBTOOL_FLAGS = "";
   1.162 -				OTHER_REZFLAGS = "";
   1.163 -				PRODUCT_NAME = SDL;
   1.164 -				REZ_EXECUTABLE = YES;
   1.165 -				SECTORDER_FLAGS = "";
   1.166 -				WARNING_CFLAGS = (
   1.167 -					"-Wmost",
   1.168 -					"-Wno-four-char-constants",
   1.169 -					"-Wno-unknown-pragmas",
   1.170 -				);
   1.171 -			};
   1.172  			comments = "This produces libsdl.a, which is the static build of SDL. You will have to link to the Cocoa and OpenGL frameworks in your application.";
   1.173  			dependencies = (
   1.174  			);
   1.175 @@ -1763,73 +1623,6 @@
   1.176  			);
   1.177  			buildRules = (
   1.178  			);
   1.179 -			buildSettings = {
   1.180 -				COPY_PHASE_STRIP = YES;
   1.181 -				DYLIB_COMPATIBILITY_VERSION = 1;
   1.182 -				DYLIB_CURRENT_VERSION = 1;
   1.183 -				EXPORTED_SYMBOLS_FILE = ../../src/main/macosx/exports/SDL.x;
   1.184 -				FRAMEWORK_SEARCH_PATHS = "";
   1.185 -				FRAMEWORK_VERSION = A;
   1.186 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
   1.187 -				GCC_OPTIMIZATION_LEVEL = 3;
   1.188 -				GCC_PREPROCESSOR_DEFINITIONS = (
   1.189 -					ENABLE_QUARTZ,
   1.190 -					PTHREAD_NO_RECURSIVE_MUTEX,
   1.191 -					SDL_USE_PTHREADS,
   1.192 -					TARGET_API_MAC_CARBON,
   1.193 -					TARGET_API_MAC_OSX,
   1.194 -					MACOSX,
   1.195 -					HAVE_OPENGL,
   1.196 -				);
   1.197 -				GCC_USE_GCC3_PFE_SUPPORT = YES;
   1.198 -				HEADER_SEARCH_PATHS = (
   1.199 -					/System/Library/Frameworks/Carbon.framework/Headers,
   1.200 -					../../src,
   1.201 -					../../include,
   1.202 -					../../src/audio,
   1.203 -					../../src/cdrom,
   1.204 -					../../src/endian,
   1.205 -					../../src/events,
   1.206 -					../../src/file,
   1.207 -					../../src/hermes,
   1.208 -					../../src/joystick,
   1.209 -					../../src/main,
   1.210 -					../../src/thread,
   1.211 -					../../src/timer,
   1.212 -					../../src/video,
   1.213 -				);
   1.214 -				INFOPLIST_FILE = "Info-Framework__Upgraded_.plist";
   1.215 -				INSTALL_PATH = "@executable_path/../Frameworks";
   1.216 -				LIBRARY_SEARCH_PATHS = "";
   1.217 -				OTHER_CFLAGS = "";
   1.218 -				OTHER_LDFLAGS = (
   1.219 -					"-seg1addr",
   1.220 -					0x30000000,
   1.221 -					"-framework",
   1.222 -					IOKit,
   1.223 -					"-framework",
   1.224 -					Cocoa,
   1.225 -					"-framework",
   1.226 -					OpenGL,
   1.227 -					"-framework",
   1.228 -					Carbon,
   1.229 -					"-framework",
   1.230 -					QuickTime,
   1.231 -					"-framework",
   1.232 -					AudioToolbox,
   1.233 -					"-framework",
   1.234 -					AudioUnit,
   1.235 -					"-framework",
   1.236 -					CoreAudio,
   1.237 -				);
   1.238 -				PRODUCT_NAME = SDL;
   1.239 -				SECTORDER_FLAGS = "";
   1.240 -				WARNING_CFLAGS = (
   1.241 -					"-Wall",
   1.242 -					"-Wno-four-char-constants",
   1.243 -				);
   1.244 -				WRAPPER_EXTENSION = framework;
   1.245 -			};
   1.246  			comments = "We recommend installing to /Library/Frameworks\nAn alternative is $(HOME)/Library/Frameworks for per-user if permissions are an issue.\n\nAdd the framework to the Groups & Files panel (under Linked Frameworks is a good place) and enable the check box for the targets that need to link to it. You can also manually add \"-framework SDL\" to your linker flags if you don't like the check box system.\n\nAdd /Library/Frameworks/SDL.framework/Headers to your header search path\nAdd /Library/Frameworks to your library search path\n(Adjust the two above if installed in $(HOME)/Library/Frameworks. You can also list both paths if you want robustness.)\n\nWe used to use an exports file. It was becoming a maintenance issue we kept neglecting, so we have removed it. If you need it back, set the \"Exported Symbols File\" option to:\n../../src/main/macosx/exports/SDL.x\n(You may need to regenerate the exports list. There is a Makefile in that directory that you can run from the command line to rebuild it.)\nLong term, we want to utilize gcc 4.0's new visibility feature (analogous to declspec on Windows). Other platforms would benefit from this change too. The downside is that we still use gcc 3.3 for the PowerPC build here so only our x86 builds will cull the symbols if we go down this route (and don't use the exports file).\n\n";
   1.247  			dependencies = (
   1.248  			);
   1.249 @@ -1851,50 +1644,6 @@
   1.250  			);
   1.251  			buildRules = (
   1.252  			);
   1.253 -			buildSettings = {
   1.254 -				DYLIB_COMPATIBILITY_VERSION = 1;
   1.255 -				DYLIB_CURRENT_VERSION = 1;
   1.256 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
   1.257 -				GCC_OPTIMIZATION_LEVEL = 3;
   1.258 -				GCC_PREPROCESSOR_DEFINITIONS = (
   1.259 -					ENABLE_QUARTZ,
   1.260 -					PTHREAD_NO_RECURSIVE_MUTEX,
   1.261 -					SDL_USE_PTHREADS,
   1.262 -					DISABLE_JOYSTICK,
   1.263 -					DISABLE_CDROM,
   1.264 -					TARGET_API_MAC_CARBON,
   1.265 -					TARGET_API_MAC_OSX,
   1.266 -					MACOSX,
   1.267 -					HAVE_OPENGL,
   1.268 -				);
   1.269 -				HEADER_SEARCH_PATHS = (
   1.270 -					/System/Library/Frameworks/Carbon.framework/Headers/,
   1.271 -					../../src,
   1.272 -					../../include,
   1.273 -					../../src/audio,
   1.274 -					../../src/cdrom,
   1.275 -					../../src/endian,
   1.276 -					../../src/events,
   1.277 -					../../src/file,
   1.278 -					../../src/joystick,
   1.279 -					../../src/thread,
   1.280 -					../../src/timer,
   1.281 -					../../src/video,
   1.282 -				);
   1.283 -				LIBRARY_STYLE = STATIC;
   1.284 -				OTHER_CFLAGS = "";
   1.285 -				OTHER_LDFLAGS = "";
   1.286 -				OTHER_LIBTOOL_FLAGS = "";
   1.287 -				OTHER_REZFLAGS = "";
   1.288 -				PRODUCT_NAME = SDL;
   1.289 -				REZ_EXECUTABLE = YES;
   1.290 -				SECTORDER_FLAGS = "";
   1.291 -				WARNING_CFLAGS = (
   1.292 -					"-Wmost",
   1.293 -					"-Wno-four-char-constants",
   1.294 -					"-Wno-unknown-pragmas",
   1.295 -				);
   1.296 -			};
   1.297  			comments = "This produces libsdl.a, which is the static build of SDL. You will have to link to the Cocoa and OpenGL frameworks in your application.";
   1.298  			dependencies = (
   1.299  			);
   1.300 @@ -1915,25 +1664,6 @@
   1.301  			);
   1.302  			buildRules = (
   1.303  			);
   1.304 -			buildSettings = {
   1.305 -				DYLIB_COMPATIBILITY_VERSION = 1;
   1.306 -				DYLIB_CURRENT_VERSION = 1;
   1.307 -				GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
   1.308 -				GCC_OPTIMIZATION_LEVEL = 3;
   1.309 -				LIBRARY_STYLE = STATIC;
   1.310 -				OTHER_CFLAGS = "";
   1.311 -				OTHER_LDFLAGS = "";
   1.312 -				OTHER_LIBTOOL_FLAGS = "";
   1.313 -				OTHER_REZFLAGS = "";
   1.314 -				PRODUCT_NAME = SDLmain;
   1.315 -				REZ_EXECUTABLE = YES;
   1.316 -				SECTORDER_FLAGS = "";
   1.317 -				WARNING_CFLAGS = (
   1.318 -					"-Wmost",
   1.319 -					"-Wno-four-char-constants",
   1.320 -					"-Wno-unknown-pragmas",
   1.321 -				);
   1.322 -			};
   1.323  			comments = "This produces libSDLmain.a, which contains only SDL_main.m, the hook to get the app running correctly before your SDL code executes.";
   1.324  			dependencies = (
   1.325  			);
   1.326 @@ -1951,19 +1681,6 @@
   1.327  			);
   1.328  			buildRules = (
   1.329  			);
   1.330 -			buildSettings = {
   1.331 -				OTHER_CFLAGS = "";
   1.332 -				OTHER_LDFLAGS = "";
   1.333 -				OTHER_REZFLAGS = "";
   1.334 -				PRODUCT_NAME = "Standard Package";
   1.335 -				REZ_EXECUTABLE = YES;
   1.336 -				SECTORDER_FLAGS = "";
   1.337 -				WARNING_CFLAGS = (
   1.338 -					"-Wmost",
   1.339 -					"-Wno-four-char-constants",
   1.340 -					"-Wno-unknown-pragmas",
   1.341 -				);
   1.342 -			};
   1.343  			dependencies = (
   1.344  				BECDF6C60761BA81005FE872 /* PBXTargetDependency */,
   1.345  			);
   1.346 @@ -1981,19 +1698,6 @@
   1.347  			);
   1.348  			buildRules = (
   1.349  			);
   1.350 -			buildSettings = {
   1.351 -				OTHER_CFLAGS = "";
   1.352 -				OTHER_LDFLAGS = "";
   1.353 -				OTHER_REZFLAGS = "";
   1.354 -				PRODUCT_NAME = "Devel Package";
   1.355 -				REZ_EXECUTABLE = YES;
   1.356 -				SECTORDER_FLAGS = "";
   1.357 -				WARNING_CFLAGS = (
   1.358 -					"-Wmost",
   1.359 -					"-Wno-four-char-constants",
   1.360 -					"-Wno-unknown-pragmas",
   1.361 -				);
   1.362 -			};
   1.363  			dependencies = (
   1.364  			);
   1.365  			name = "Developer Extras Package";
   1.366 @@ -2008,13 +1712,7 @@
   1.367  		0867D690FE84028FC02AAC07 /* Project object */ = {
   1.368  			isa = PBXProject;
   1.369  			buildConfigurationList = 0073178E0858DB0500B2BC32 /* Build configuration list for PBXProject "SDL" */;
   1.370 -			buildSettings = {
   1.371 -				MACOSX_DEPLOYMENT_TARGET = 10.1;
   1.372 -			};
   1.373 -			buildStyles = (
   1.374 -				F512D95E02A6E0AB01D28762 /* Development */,
   1.375 -				F512D95F02A6E0AB01D28762 /* Deployment */,
   1.376 -			);
   1.377 +			compatibilityVersion = "Xcode 2.4";
   1.378  			hasScannedForEncodings = 1;
   1.379  			mainGroup = 0867D691FE84028FC02AAC07 /* SDLFramework */;
   1.380  			productRefGroup = 034768DDFF38A45A11DB9C8B /* Products */;
   1.381 @@ -2634,16 +2332,20 @@
   1.382  					"SDL_VIDEO_DRIVER_DGA=1",
   1.383  					"SDL_VIDEO_DRIVER_X11=1",
   1.384  					"SDL_VIDEO_DRIVER_X11_DGAMOUSE=1",
   1.385 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC=\"/usr/X11R6/lib/libX11.6.dylib\"",
   1.386 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\"/usr/X11R6/lib/libXext.6.dylib\"",
   1.387 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\"/usr/X11R6/lib/libXrandr.2.dylib\"",
   1.388 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\"/usr/X11R6/lib/libXrender.1.dylib\"",
   1.389 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_1)",
   1.390 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_2)",
   1.391 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_3)",
   1.392 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_4)",
   1.393  					"SDL_VIDEO_DRIVER_X11_VIDMODE=1",
   1.394  					"SDL_VIDEO_DRIVER_X11_XINERAMA=1",
   1.395  					"SDL_VIDEO_DRIVER_X11_XME=1",
   1.396  					"SDL_VIDEO_DRIVER_X11_XRANDR=1",
   1.397  					"SDL_VIDEO_DRIVER_X11_XV=1",
   1.398  				);
   1.399 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\"";
   1.400 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\"";
   1.401 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\"";
   1.402 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\"";
   1.403  				GCC_SYMBOLS_PRIVATE_EXTERN = YES;
   1.404  				INFOPLIST_FILE = "Info-Framework.plist";
   1.405  				INSTALL_PATH = "@executable_path/../Frameworks";
   1.406 @@ -2670,16 +2372,20 @@
   1.407  					"SDL_VIDEO_DRIVER_DGA=1",
   1.408  					"SDL_VIDEO_DRIVER_X11=1",
   1.409  					"SDL_VIDEO_DRIVER_X11_DGAMOUSE=1",
   1.410 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC=\"/usr/X11R6/lib/libX11.6.dylib\"",
   1.411 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\"/usr/X11R6/lib/libXext.6.dylib\"",
   1.412 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\"/usr/X11R6/lib/libXrandr.2.dylib\"",
   1.413 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\"/usr/X11R6/lib/libXrender.1.dylib\"",
   1.414 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)",
   1.415 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)",
   1.416 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)",
   1.417 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)",
   1.418  					"SDL_VIDEO_DRIVER_X11_VIDMODE=1",
   1.419  					"SDL_VIDEO_DRIVER_X11_XINERAMA=1",
   1.420  					"SDL_VIDEO_DRIVER_X11_XME=1",
   1.421  					"SDL_VIDEO_DRIVER_X11_XRANDR=1",
   1.422  					"SDL_VIDEO_DRIVER_X11_XV=1",
   1.423  				);
   1.424 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\"";
   1.425 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\"";
   1.426 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\"";
   1.427 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\"";
   1.428  				GCC_SYMBOLS_PRIVATE_EXTERN = YES;
   1.429  				INFOPLIST_FILE = "Info-Framework.plist";
   1.430  				INSTALL_PATH = "@executable_path/../Frameworks";
   1.431 @@ -2706,16 +2412,20 @@
   1.432  					"SDL_VIDEO_DRIVER_DGA=1",
   1.433  					"SDL_VIDEO_DRIVER_X11=1",
   1.434  					"SDL_VIDEO_DRIVER_X11_DGAMOUSE=1",
   1.435 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC=\"/usr/X11R6/lib/libX11.6.dylib\"",
   1.436 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\"/usr/X11R6/lib/libXext.6.dylib\"",
   1.437 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\"/usr/X11R6/lib/libXrandr.2.dylib\"",
   1.438 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\"/usr/X11R6/lib/libXrender.1.dylib\"",
   1.439 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)",
   1.440 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)",
   1.441 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)",
   1.442 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)",
   1.443  					"SDL_VIDEO_DRIVER_X11_VIDMODE=1",
   1.444  					"SDL_VIDEO_DRIVER_X11_XINERAMA=1",
   1.445  					"SDL_VIDEO_DRIVER_X11_XME=1",
   1.446  					"SDL_VIDEO_DRIVER_X11_XRANDR=1",
   1.447  					"SDL_VIDEO_DRIVER_X11_XV=1",
   1.448  				);
   1.449 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\"";
   1.450 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\"";
   1.451 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\"";
   1.452 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\"";
   1.453  				GCC_SYMBOLS_PRIVATE_EXTERN = YES;
   1.454  				INFOPLIST_FILE = "Info-Framework.plist";
   1.455  				INSTALL_PATH = "@executable_path/../Frameworks";
   1.456 @@ -2739,16 +2449,20 @@
   1.457  					"SDL_VIDEO_DRIVER_DGA=1",
   1.458  					"SDL_VIDEO_DRIVER_X11=1",
   1.459  					"SDL_VIDEO_DRIVER_X11_DGAMOUSE=1",
   1.460 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC=\"/usr/X11R6/lib/libX11.6.dylib\"",
   1.461 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\"/usr/X11R6/lib/libXext.6.dylib\"",
   1.462 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\"/usr/X11R6/lib/libXrandr.2.dylib\"",
   1.463 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\"/usr/X11R6/lib/libXrender.1.dylib\"",
   1.464 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_1)",
   1.465 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_2)",
   1.466 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_3)",
   1.467 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_4)",
   1.468  					"SDL_VIDEO_DRIVER_X11_VIDMODE=1",
   1.469  					"SDL_VIDEO_DRIVER_X11_XINERAMA=1",
   1.470  					"SDL_VIDEO_DRIVER_X11_XME=1",
   1.471  					"SDL_VIDEO_DRIVER_X11_XRANDR=1",
   1.472  					"SDL_VIDEO_DRIVER_X11_XV=1",
   1.473  				);
   1.474 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\"";
   1.475 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\"";
   1.476 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\"";
   1.477 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_FOR_TARGET_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\"";
   1.478  				OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))";
   1.479  				OTHER_CFLAGS_i386 = "";
   1.480  				OTHER_CFLAGS_ppc = "";
   1.481 @@ -2764,16 +2478,20 @@
   1.482  					"SDL_VIDEO_DRIVER_DGA=1",
   1.483  					"SDL_VIDEO_DRIVER_X11=1",
   1.484  					"SDL_VIDEO_DRIVER_X11_DGAMOUSE=1",
   1.485 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC=\"/usr/X11R6/lib/libX11.6.dylib\"",
   1.486 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\"/usr/X11R6/lib/libXext.6.dylib\"",
   1.487 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\"/usr/X11R6/lib/libXrandr.2.dylib\"",
   1.488 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\"/usr/X11R6/lib/libXrender.1.dylib\"",
   1.489 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)",
   1.490 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)",
   1.491 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)",
   1.492 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)",
   1.493  					"SDL_VIDEO_DRIVER_X11_VIDMODE=1",
   1.494  					"SDL_VIDEO_DRIVER_X11_XINERAMA=1",
   1.495  					"SDL_VIDEO_DRIVER_X11_XME=1",
   1.496  					"SDL_VIDEO_DRIVER_X11_XRANDR=1",
   1.497  					"SDL_VIDEO_DRIVER_X11_XV=1",
   1.498  				);
   1.499 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\"";
   1.500 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\"";
   1.501 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\"";
   1.502 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\"";
   1.503  				OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))";
   1.504  				OTHER_CFLAGS_i386 = "";
   1.505  				OTHER_CFLAGS_ppc = "";
   1.506 @@ -2789,16 +2507,20 @@
   1.507  					"SDL_VIDEO_DRIVER_DGA=1",
   1.508  					"SDL_VIDEO_DRIVER_X11=1",
   1.509  					"SDL_VIDEO_DRIVER_X11_DGAMOUSE=1",
   1.510 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC=\"/usr/X11R6/lib/libX11.6.dylib\"",
   1.511 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\"/usr/X11R6/lib/libXext.6.dylib\"",
   1.512 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\"/usr/X11R6/lib/libXrandr.2.dylib\"",
   1.513 -					"SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\"/usr/X11R6/lib/libXrender.1.dylib\"",
   1.514 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1)",
   1.515 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2)",
   1.516 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3)",
   1.517 +					"$(GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4)",
   1.518  					"SDL_VIDEO_DRIVER_X11_VIDMODE=1",
   1.519  					"SDL_VIDEO_DRIVER_X11_XINERAMA=1",
   1.520  					"SDL_VIDEO_DRIVER_X11_XME=1",
   1.521  					"SDL_VIDEO_DRIVER_X11_XRANDR=1",
   1.522  					"SDL_VIDEO_DRIVER_X11_XV=1",
   1.523  				);
   1.524 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_1 = "SDL_VIDEO_DRIVER_X11_DYNAMIC=\\\"/usr/X11R6/lib/libX11.6.dylib\\\"";
   1.525 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_2 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT=\\\"/usr/X11R6/lib/libXext.6.dylib\\\"";
   1.526 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_3 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRANDR=\\\"/usr/X11R6/lib/libXrandr.2.dylib\\\"";
   1.527 +				GCC_PREPROCESSOR_DEFINITIONS_QUOTED_4 = "SDL_VIDEO_DRIVER_X11_DYNAMIC_XRENDER=\\\"/usr/X11R6/lib/libXrender.1.dylib\\\"";
   1.528  				OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))";
   1.529  				OTHER_CFLAGS_i386 = "";
   1.530  				OTHER_CFLAGS_ppc = "";