The scripts to generate header files are no longer necessary.
authorSam Lantinga <slouken@libsdl.org>
Wed, 16 Feb 2011 12:15:04 -0800
changeset 5319675d18cbdbad
parent 5318 214da1e9fd7c
child 5320 e4add1082c2e
The scripts to generate header files are no longer necessary.
Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj
Xcode/SDL/SDL.xcodeproj/project.pbxproj
     1.1 --- a/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Wed Feb 16 05:00:33 2011 -0800
     1.2 +++ b/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Wed Feb 16 12:15:04 2011 -0800
     1.3 @@ -7,18 +7,6 @@
     1.4  	objects = {
     1.5  
     1.6  /* Begin PBXAggregateTarget section */
     1.7 -		0064653F107E3D7400183915 /* Generate Header Files */ = {
     1.8 -			isa = PBXAggregateTarget;
     1.9 -			buildConfigurationList = 0064655A107E3E0400183915 /* Build configuration list for PBXAggregateTarget "Generate Header Files" */;
    1.10 -			buildPhases = (
    1.11 -				00646544107E3D8300183915 /* Run Script to Create SDL_config.h */,
    1.12 -				00646546107E3DB200183915 /* Run Script to Create SDL_revision.h */,
    1.13 -			);
    1.14 -			dependencies = (
    1.15 -			);
    1.16 -			name = "Generate Header Files";
    1.17 -			productName = "Generate Header Files";
    1.18 -		};
    1.19  		00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */ = {
    1.20  			isa = PBXAggregateTarget;
    1.21  			buildConfigurationList = 00B4F47412F696B30084EC00 /* Build configuration list for PBXAggregateTarget "BuildUniversalSimulatorDevicelibSDL" */;
    1.22 @@ -37,7 +25,6 @@
    1.23  				00B4F48A12F6A69C0084EC00 /* ShellScript */,
    1.24  			);
    1.25  			dependencies = (
    1.26 -				00B4F4B112F6A9F00084EC00 /* PBXTargetDependency */,
    1.27  				00B4F49712F6A7B00084EC00 /* PBXTargetDependency */,
    1.28  			);
    1.29  			name = PrepareXcodeProjectTemplate;
    1.30 @@ -256,13 +243,6 @@
    1.31  /* End PBXBuildFile section */
    1.32  
    1.33  /* Begin PBXContainerItemProxy section */
    1.34 -		00646547107E3DE800183915 /* PBXContainerItemProxy */ = {
    1.35 -			isa = PBXContainerItemProxy;
    1.36 -			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
    1.37 -			proxyType = 1;
    1.38 -			remoteGlobalIDString = 0064653F107E3D7400183915;
    1.39 -			remoteInfo = "Generate Header Files";
    1.40 -		};
    1.41  		006E982A11955065001DE610 /* PBXContainerItemProxy */ = {
    1.42  			isa = PBXContainerItemProxy;
    1.43  			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
    1.44 @@ -277,13 +257,6 @@
    1.45  			remoteGlobalIDString = 00B4F47112F696830084EC00;
    1.46  			remoteInfo = BuildUniversalSimulatorDevicelibSDL;
    1.47  		};
    1.48 -		00B4F4B012F6A9F00084EC00 /* PBXContainerItemProxy */ = {
    1.49 -			isa = PBXContainerItemProxy;
    1.50 -			containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */;
    1.51 -			proxyType = 1;
    1.52 -			remoteGlobalIDString = 0064653F107E3D7400183915;
    1.53 -			remoteInfo = "Generate Header Files";
    1.54 -		};
    1.55  /* End PBXContainerItemProxy section */
    1.56  
    1.57  /* Begin PBXCopyFilesBuildPhase section */
    1.58 @@ -1318,7 +1291,6 @@
    1.59  			buildRules = (
    1.60  			);
    1.61  			dependencies = (
    1.62 -				00646548107E3DE800183915 /* PBXTargetDependency */,
    1.63  			);
    1.64  			name = libSDL;
    1.65  			productName = iPhoneSDLStaticLib;
    1.66 @@ -1345,7 +1317,6 @@
    1.67  			projectRoot = ../..;
    1.68  			targets = (
    1.69  				FD6526620DE8FCCB002AD96B /* libSDL */,
    1.70 -				0064653F107E3D7400183915 /* Generate Header Files */,
    1.71  				006E982111955059001DE610 /* testsdl */,
    1.72  				00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */,
    1.73  				00B4F48B12F6A69C0084EC00 /* PrepareXcodeProjectTemplate */,
    1.74 @@ -1371,39 +1342,6 @@
    1.75  /* End PBXResourcesBuildPhase section */
    1.76  
    1.77  /* Begin PBXShellScriptBuildPhase section */
    1.78 -		00646544107E3D8300183915 /* Run Script to Create SDL_config.h */ = {
    1.79 -			isa = PBXShellScriptBuildPhase;
    1.80 -			buildActionMask = 2147483647;
    1.81 -			files = (
    1.82 -			);
    1.83 -			inputPaths = (
    1.84 -				"$(SRCROOT)/../../include/SDL_config.h.default",
    1.85 -			);
    1.86 -			name = "Run Script to Create SDL_config.h";
    1.87 -			outputPaths = (
    1.88 -				"$(SRCROOT)/../../include/SDL_config.h",
    1.89 -			);
    1.90 -			runOnlyForDeploymentPostprocessing = 0;
    1.91 -			shellPath = /bin/sh;
    1.92 -			shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n        if [ -e ../../include/SDL_config.h ]; then\n                mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n        fi\n        ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n";
    1.93 -		};
    1.94 -		00646546107E3DB200183915 /* Run Script to Create SDL_revision.h */ = {
    1.95 -			isa = PBXShellScriptBuildPhase;
    1.96 -			buildActionMask = 2147483647;
    1.97 -			files = (
    1.98 -			);
    1.99 -			inputPaths = (
   1.100 -				"$(SRCROOT)/../../build-scripts/showrev.sh",
   1.101 -				"$(SRCROOT)/../../build-scripts/updaterev.sh",
   1.102 -			);
   1.103 -			name = "Run Script to Create SDL_revision.h";
   1.104 -			outputPaths = (
   1.105 -				"$(SRCROOT)/../../include/SDL_revision.h",
   1.106 -			);
   1.107 -			runOnlyForDeploymentPostprocessing = 0;
   1.108 -			shellPath = /bin/sh;
   1.109 -			shellScript = "if test -f ~/.bash_profile; then source ~/.bash_profile; fi\nif test -f ~/.bashrc; then source ~/.bashrc; fi\nsh ../../build-scripts/updaterev.sh";
   1.110 -		};
   1.111  		00B4F47012F696830084EC00 /* ShellScript */ = {
   1.112  			isa = PBXShellScriptBuildPhase;
   1.113  			buildActionMask = 2147483647;
   1.114 @@ -1556,11 +1494,6 @@
   1.115  /* End PBXSourcesBuildPhase section */
   1.116  
   1.117  /* Begin PBXTargetDependency section */
   1.118 -		00646548107E3DE800183915 /* PBXTargetDependency */ = {
   1.119 -			isa = PBXTargetDependency;
   1.120 -			target = 0064653F107E3D7400183915 /* Generate Header Files */;
   1.121 -			targetProxy = 00646547107E3DE800183915 /* PBXContainerItemProxy */;
   1.122 -		};
   1.123  		006E982B11955065001DE610 /* PBXTargetDependency */ = {
   1.124  			isa = PBXTargetDependency;
   1.125  			target = FD6526620DE8FCCB002AD96B /* libSDL */;
   1.126 @@ -1571,35 +1504,9 @@
   1.127  			target = 00B4F47112F696830084EC00 /* BuildUniversalSimulatorDevicelibSDL */;
   1.128  			targetProxy = 00B4F49612F6A7B00084EC00 /* PBXContainerItemProxy */;
   1.129  		};
   1.130 -		00B4F4B112F6A9F00084EC00 /* PBXTargetDependency */ = {
   1.131 -			isa = PBXTargetDependency;
   1.132 -			target = 0064653F107E3D7400183915 /* Generate Header Files */;
   1.133 -			targetProxy = 00B4F4B012F6A9F00084EC00 /* PBXContainerItemProxy */;
   1.134 -		};
   1.135  /* End PBXTargetDependency section */
   1.136  
   1.137  /* Begin XCBuildConfiguration section */
   1.138 -		00646540107E3D7500183915 /* Debug */ = {
   1.139 -			isa = XCBuildConfiguration;
   1.140 -			buildSettings = {
   1.141 -				COPY_PHASE_STRIP = NO;
   1.142 -				GCC_DYNAMIC_NO_PIC = NO;
   1.143 -				GCC_OPTIMIZATION_LEVEL = 0;
   1.144 -				PRODUCT_NAME = "Generate Header Files";
   1.145 -			};
   1.146 -			name = Debug;
   1.147 -		};
   1.148 -		00646541107E3D7500183915 /* Release */ = {
   1.149 -			isa = XCBuildConfiguration;
   1.150 -			buildSettings = {
   1.151 -				COPY_PHASE_STRIP = YES;
   1.152 -				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
   1.153 -				GCC_ENABLE_FIX_AND_CONTINUE = NO;
   1.154 -				PRODUCT_NAME = "Generate Header Files";
   1.155 -				ZERO_LINK = NO;
   1.156 -			};
   1.157 -			name = Release;
   1.158 -		};
   1.159  		006E98251195505B001DE610 /* Debug */ = {
   1.160  			isa = XCBuildConfiguration;
   1.161  			buildSettings = {
   1.162 @@ -1753,15 +1660,6 @@
   1.163  /* End XCBuildConfiguration section */
   1.164  
   1.165  /* Begin XCConfigurationList section */
   1.166 -		0064655A107E3E0400183915 /* Build configuration list for PBXAggregateTarget "Generate Header Files" */ = {
   1.167 -			isa = XCConfigurationList;
   1.168 -			buildConfigurations = (
   1.169 -				00646540107E3D7500183915 /* Debug */,
   1.170 -				00646541107E3D7500183915 /* Release */,
   1.171 -			);
   1.172 -			defaultConfigurationIsVisible = 0;
   1.173 -			defaultConfigurationName = Release;
   1.174 -		};
   1.175  		006E98271195505B001DE610 /* Build configuration list for PBXNativeTarget "testsdl" */ = {
   1.176  			isa = XCConfigurationList;
   1.177  			buildConfigurations = (
     2.1 --- a/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Wed Feb 16 05:00:33 2011 -0800
     2.2 +++ b/Xcode/SDL/SDL.xcodeproj/project.pbxproj	Wed Feb 16 12:15:04 2011 -0800
     2.3 @@ -7,18 +7,6 @@
     2.4  	objects = {
     2.5  
     2.6  /* Begin PBXAggregateTarget section */
     2.7 -		002D2A9E106C18E700BF972E /* Generate Header Files */ = {
     2.8 -			isa = PBXAggregateTarget;
     2.9 -			buildConfigurationList = 002D2AAA106C198E00BF972E /* Build configuration list for PBXAggregateTarget "Generate Header Files" */;
    2.10 -			buildPhases = (
    2.11 -				002D2AA5106C190C00BF972E /* Run Script to Create SDL_config.h */,
    2.12 -				002D2AA7106C194100BF972E /* Run Script to Create SDL_revision.h */,
    2.13 -			);
    2.14 -			dependencies = (
    2.15 -			);
    2.16 -			name = "Generate Header Files";
    2.17 -			productName = "Generate Header Files";
    2.18 -		};
    2.19  		0083103F1072EA5700A531F1 /* Generate Doxygen DocSet */ = {
    2.20  			isa = PBXAggregateTarget;
    2.21  			buildConfigurationList = 008310471072EAAE00A531F1 /* Build configuration list for PBXAggregateTarget "Generate Doxygen DocSet" */;
    2.22 @@ -568,20 +556,6 @@
    2.23  /* End PBXBuildFile section */
    2.24  
    2.25  /* Begin PBXContainerItemProxy section */
    2.26 -		002D2AA8106C196E00BF972E /* PBXContainerItemProxy */ = {
    2.27 -			isa = PBXContainerItemProxy;
    2.28 -			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
    2.29 -			proxyType = 1;
    2.30 -			remoteGlobalIDString = 002D2A9E106C18E700BF972E;
    2.31 -			remoteInfo = "Generate Header Files";
    2.32 -		};
    2.33 -		002D2AAB106C19B200BF972E /* PBXContainerItemProxy */ = {
    2.34 -			isa = PBXContainerItemProxy;
    2.35 -			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
    2.36 -			proxyType = 1;
    2.37 -			remoteGlobalIDString = 002D2A9E106C18E700BF972E;
    2.38 -			remoteInfo = "Generate Header Files";
    2.39 -		};
    2.40  		008310451072EA9000A531F1 /* PBXContainerItemProxy */ = {
    2.41  			isa = PBXContainerItemProxy;
    2.42  			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
    2.43 @@ -2100,7 +2074,6 @@
    2.44  			);
    2.45  			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";
    2.46  			dependencies = (
    2.47 -				002D2AA9106C196E00BF972E /* PBXTargetDependency */,
    2.48  			);
    2.49  			name = Framework;
    2.50  			productInstallPath = "@executable_path/../Frameworks";
    2.51 @@ -2121,7 +2094,6 @@
    2.52  			);
    2.53  			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.";
    2.54  			dependencies = (
    2.55 -				002D2AAC106C19B200BF972E /* PBXTargetDependency */,
    2.56  			);
    2.57  			name = "Static Library";
    2.58  			productInstallPath = /usr/local/lib;
    2.59 @@ -2187,7 +2159,6 @@
    2.60  				BECDF66D0761BA81005FE872 /* Static Library */,
    2.61  				BECDF6BB0761BA81005FE872 /* Standard DMG */,
    2.62  				BECDF6C00761BA81005FE872 /* Developer Extras Package */,
    2.63 -				002D2A9E106C18E700BF972E /* Generate Header Files */,
    2.64  				0083103F1072EA5700A531F1 /* Generate Doxygen DocSet */,
    2.65  				00D8D9EE1195090700638393 /* testsdl */,
    2.66  			);
    2.67 @@ -2230,39 +2201,6 @@
    2.68  /* End PBXRezBuildPhase section */
    2.69  
    2.70  /* Begin PBXShellScriptBuildPhase section */
    2.71 -		002D2AA5106C190C00BF972E /* Run Script to Create SDL_config.h */ = {
    2.72 -			isa = PBXShellScriptBuildPhase;
    2.73 -			buildActionMask = 2147483647;
    2.74 -			files = (
    2.75 -			);
    2.76 -			inputPaths = (
    2.77 -				"$(SRCROOT)/../../include/SDL_config.h.default",
    2.78 -			);
    2.79 -			name = "Run Script to Create SDL_config.h";
    2.80 -			outputPaths = (
    2.81 -				"$(SRCROOT)/../../include/SDL_config.h",
    2.82 -			);
    2.83 -			runOnlyForDeploymentPostprocessing = 0;
    2.84 -			shellPath = /bin/sh;
    2.85 -			shellScript = "# Make sure that include/SDL_config.h is a symlink to SDL_config.h.default.\n# If it exists and is not a symlink, it was probably generated by configure and\n# we move it aside.\nif [ ! -L ../../include/SDL_config.h ]; then\n        if [ -e ../../include/SDL_config.h ]; then\n                mv ../../include/SDL_config.h ../../include/SDL_config.h.generated\n        fi\n        ln -s SDL_config.h.default ../../include/SDL_config.h\nfi\n";
    2.86 -		};
    2.87 -		002D2AA7106C194100BF972E /* Run Script to Create SDL_revision.h */ = {
    2.88 -			isa = PBXShellScriptBuildPhase;
    2.89 -			buildActionMask = 2147483647;
    2.90 -			files = (
    2.91 -			);
    2.92 -			inputPaths = (
    2.93 -				"$(SRCROOT)/../../build-scripts/showrev.sh",
    2.94 -				"$(SRCROOT)/../../build-scripts/updaterev.sh",
    2.95 -			);
    2.96 -			name = "Run Script to Create SDL_revision.h";
    2.97 -			outputPaths = (
    2.98 -				"$(SRCROOT)/../../include/SDL_revision.h",
    2.99 -			);
   2.100 -			runOnlyForDeploymentPostprocessing = 0;
   2.101 -			shellPath = /bin/sh;
   2.102 -			shellScript = "# The official HG installer puts the binary in /usr/local/bin, so add that\n# to Xcode's path and see if the hg executable is found. Otherwise, source\n# the user's bash settings file as a last resort.\nPATH=$PATH:/usr/local/bin\nif ! which -s hg ; then\n    if test -f ~/.bash_profile; then source ~/.bash_profile; fi\nfi\nsh ../../build-scripts/updaterev.sh\n";
   2.103 -		};
   2.104  		0083103E1072EA5700A531F1 /* ShellScript */ = {
   2.105  			isa = PBXShellScriptBuildPhase;
   2.106  			buildActionMask = 2147483647;
   2.107 @@ -2556,16 +2494,6 @@
   2.108  /* End PBXSourcesBuildPhase section */
   2.109  
   2.110  /* Begin PBXTargetDependency section */
   2.111 -		002D2AA9106C196E00BF972E /* PBXTargetDependency */ = {
   2.112 -			isa = PBXTargetDependency;
   2.113 -			target = 002D2A9E106C18E700BF972E /* Generate Header Files */;
   2.114 -			targetProxy = 002D2AA8106C196E00BF972E /* PBXContainerItemProxy */;
   2.115 -		};
   2.116 -		002D2AAC106C19B200BF972E /* PBXTargetDependency */ = {
   2.117 -			isa = PBXTargetDependency;
   2.118 -			target = 002D2A9E106C18E700BF972E /* Generate Header Files */;
   2.119 -			targetProxy = 002D2AAB106C19B200BF972E /* PBXContainerItemProxy */;
   2.120 -		};
   2.121  		008310461072EA9000A531F1 /* PBXTargetDependency */ = {
   2.122  			isa = PBXTargetDependency;
   2.123  			target = 0083103F1072EA5700A531F1 /* Generate Doxygen DocSet */;
   2.124 @@ -2584,41 +2512,6 @@
   2.125  /* End PBXTargetDependency section */
   2.126  
   2.127  /* Begin XCBuildConfiguration section */
   2.128 -		002D2A9F106C18E700BF972E /* Deployment_for_official_releases_using_10.4SDK_and_10.6SDK */ = {
   2.129 -			isa = XCBuildConfiguration;
   2.130 -			buildSettings = {
   2.131 -				PRODUCT_NAME = "Generate Header Files";
   2.132 -			};
   2.133 -			name = Deployment_for_official_releases_using_10.4SDK_and_10.6SDK;
   2.134 -		};
   2.135 -		002D2AA0106C18E700BF972E /* Development_using_10.4SDK_and_10.6SDK */ = {
   2.136 -			isa = XCBuildConfiguration;
   2.137 -			buildSettings = {
   2.138 -				PRODUCT_NAME = "Generate Header Files";
   2.139 -			};
   2.140 -			name = Development_using_10.4SDK_and_10.6SDK;
   2.141 -		};
   2.142 -		002D2AA1106C18E700BF972E /* Development_native_only */ = {
   2.143 -			isa = XCBuildConfiguration;
   2.144 -			buildSettings = {
   2.145 -				PRODUCT_NAME = "Generate Header Files";
   2.146 -			};
   2.147 -			name = Development_native_only;
   2.148 -		};
   2.149 -		002D2AA2106C18E700BF972E /* Deployment_native_only */ = {
   2.150 -			isa = XCBuildConfiguration;
   2.151 -			buildSettings = {
   2.152 -				PRODUCT_NAME = "Generate Header Files";
   2.153 -			};
   2.154 -			name = Deployment_native_only;
   2.155 -		};
   2.156 -		002D2AA3106C18E700BF972E /* Default */ = {
   2.157 -			isa = XCBuildConfiguration;
   2.158 -			buildSettings = {
   2.159 -				PRODUCT_NAME = "Generate Header Files";
   2.160 -			};
   2.161 -			name = Default;
   2.162 -		};
   2.163  		0073177B0858DB0500B2BC32 /* Development_using_10.4SDK_and_10.6SDK */ = {
   2.164  			isa = XCBuildConfiguration;
   2.165  			buildSettings = {
   2.166 @@ -3217,18 +3110,6 @@
   2.167  /* End XCBuildConfiguration section */
   2.168  
   2.169  /* Begin XCConfigurationList section */
   2.170 -		002D2AAA106C198E00BF972E /* Build configuration list for PBXAggregateTarget "Generate Header Files" */ = {
   2.171 -			isa = XCConfigurationList;
   2.172 -			buildConfigurations = (
   2.173 -				002D2A9F106C18E700BF972E /* Deployment_for_official_releases_using_10.4SDK_and_10.6SDK */,
   2.174 -				002D2AA0106C18E700BF972E /* Development_using_10.4SDK_and_10.6SDK */,
   2.175 -				002D2AA1106C18E700BF972E /* Development_native_only */,
   2.176 -				002D2AA2106C18E700BF972E /* Deployment_native_only */,
   2.177 -				002D2AA3106C18E700BF972E /* Default */,
   2.178 -			);
   2.179 -			defaultConfigurationIsVisible = 0;
   2.180 -			defaultConfigurationName = Default;
   2.181 -		};
   2.182  		0073177A0858DB0500B2BC32 /* Build configuration list for PBXNativeTarget "Framework" */ = {
   2.183  			isa = XCConfigurationList;
   2.184  			buildConfigurations = (