Xcode/SDL/SDL.xcodeproj/project.pbxproj
branchSDL-1.2
changeset 8918 3c8124d60e8e
parent 6215 a84cb42bce7f
child 12988 e92b0859ceed
equal deleted inserted replaced
8914:3984998ee330 8918:3c8124d60e8e
  1453 			buildActionMask = 12;
  1453 			buildActionMask = 12;
  1454 			files = (
  1454 			files = (
  1455 			);
  1455 			);
  1456 			runOnlyForDeploymentPostprocessing = 0;
  1456 			runOnlyForDeploymentPostprocessing = 0;
  1457 			shellPath = /bin/sh;
  1457 			shellPath = /bin/sh;
  1458 			shellScript = "# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nmkdir -p build/dmg-tmp/devel-lite\n/Developer/Tools/CpMac -r $TARGET_BUILD_DIR/SDL.framework build/dmg-tmp/\n\n# strip moved to Xcode native mechanism\n# strip -x build/dmg-tmp/SDL.framework/SDL\n\ncp pkg-support/resources/License.rtf build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\ncp pkg-support/resources/ReadMeDevLite.txt build/dmg-tmp/devel-lite\ncp pkg-support/resources/UniversalBinaryNotes.rtf build/dmg-tmp\n\ncp ../../src/main/macosx/SDLMain.h build/dmg-tmp/devel-lite\ncp ../../src/main/macosx/SDLMain.m build/dmg-tmp/devel-lite\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\nfind -d build/dmg-tmp -type d -name .svn -exec rm -rf \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL -srcfolder build/dmg-tmp build/SDL.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n\n# compress it???\n#(cd build; gnutar -zcvf SDL.dmg.tar.gz SDL.dmg)";
  1458 			shellScript = "# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\nmkdir -p build/dmg-tmp/devel-lite\nCpMac -r $TARGET_BUILD_DIR/SDL.framework build/dmg-tmp/\n\n# strip moved to Xcode native mechanism\n# strip -x build/dmg-tmp/SDL.framework/SDL\n\ncp pkg-support/resources/License.rtf build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\ncp pkg-support/resources/ReadMeDevLite.txt build/dmg-tmp/devel-lite\ncp pkg-support/resources/UniversalBinaryNotes.rtf build/dmg-tmp\n\ncp ../../src/main/macosx/SDLMain.h build/dmg-tmp/devel-lite\ncp ../../src/main/macosx/SDLMain.m build/dmg-tmp/devel-lite\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\nfind -d build/dmg-tmp -type d -name .svn -exec rm -rf \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL -srcfolder build/dmg-tmp build/SDL.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n\n# compress it???\n#(cd build; gnutar -zcvf SDL.dmg.tar.gz SDL.dmg)";
  1459 		};
  1459 		};
  1460 		BECDF6C20761BA81005FE872 /* ShellScript */ = {
  1460 		BECDF6C20761BA81005FE872 /* ShellScript */ = {
  1461 			isa = PBXShellScriptBuildPhase;
  1461 			isa = PBXShellScriptBuildPhase;
  1462 			buildActionMask = 2147483647;
  1462 			buildActionMask = 2147483647;
  1463 			comments = "The old .pkg generator script:\n\n# make a copy of the framework to work with\nmkdir -p build/pkg-tmp\n\n## We're changing this to follow OS X conventions, where the headers and\n## framework are bundled together. Thus this development package won't \n## actually contain any direct framework elements.\n#/Developer/Tools/CpMac -r build/SDL.framework build/pkg-tmp/\n\n# copy in some files they might want around...\ncp ../../docs.html build/pkg-tmp\ncp -r ../../docs build/pkg-tmp\n#cp -r ../../src/main/macosx build/pkg-tmp/\n#rm -rf build/pkg-tmp/main/exports\ncp -r \"../Project Stationary\" build/pkg-tmp/\ncp \"pkg-support/Readme SDL Developer.txt\" build/pkg-tmp/\n#cp \"../uninstall.csh\" build/pkg-tmp/\n\n## We shouldn't have any framework stuff to deal with now\n# clean up the framework, remove extra files\n# rm -rf build/pkg-tmp/SDL.framework/Resources/pbdevelopment.plist\n\n# remove the .DS_Store file to keep tool from crapping out\nfind pkg-support -name \".DS_Store\" -exec rm -rf \"{}\" \";\" \n\n# create the .pkg\n../package build/pkg-tmp pkg-support/SDL-devel.info -d build -r pkg-support/devel-resources \n#\"/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker\" -build -p build/ -f build/pkg-tmp -r pkg-support/devel-resources -i Info.plist -d Description.plist\n\n# create install scripts\nDIR=build/SDL-devel.pkg/\ncp $DIR/install.sh $DIR/SDL-devel.post_install\nmv $DIR/install.sh $DIR/SDL-devel.post_upgrade\n\n# add execute flag to scripts\nchmod 755 $DIR/SDL-devel.post_install $DIR/SDL-devel.post_upgrade\n\n# remove temporary files\n#rm -rf build/pkg-tmp\n\n# compress\n(cd build; gnutar -zcvf SDL-devel.pkg.tar.gz SDL-devel.pkg)";
  1463 			comments = "The old .pkg generator script:\n\n# make a copy of the framework to work with\nmkdir -p build/pkg-tmp\n\n## We're changing this to follow OS X conventions, where the headers and\n## framework are bundled together. Thus this development package won't \n## actually contain any direct framework elements.\n#/Developer/Tools/CpMac -r build/SDL.framework build/pkg-tmp/\n\n# copy in some files they might want around...\ncp ../../docs.html build/pkg-tmp\ncp -r ../../docs build/pkg-tmp\n#cp -r ../../src/main/macosx build/pkg-tmp/\n#rm -rf build/pkg-tmp/main/exports\ncp -r \"../Project Stationary\" build/pkg-tmp/\ncp \"pkg-support/Readme SDL Developer.txt\" build/pkg-tmp/\n#cp \"../uninstall.csh\" build/pkg-tmp/\n\n## We shouldn't have any framework stuff to deal with now\n# clean up the framework, remove extra files\n# rm -rf build/pkg-tmp/SDL.framework/Resources/pbdevelopment.plist\n\n# remove the .DS_Store file to keep tool from crapping out\nfind pkg-support -name \".DS_Store\" -exec rm -rf \"{}\" \";\" \n\n# create the .pkg\n../package build/pkg-tmp pkg-support/SDL-devel.info -d build -r pkg-support/devel-resources \n#\"/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker\" -build -p build/ -f build/pkg-tmp -r pkg-support/devel-resources -i Info.plist -d Description.plist\n\n# create install scripts\nDIR=build/SDL-devel.pkg/\ncp $DIR/install.sh $DIR/SDL-devel.post_install\nmv $DIR/install.sh $DIR/SDL-devel.post_upgrade\n\n# add execute flag to scripts\nchmod 755 $DIR/SDL-devel.post_install $DIR/SDL-devel.post_upgrade\n\n# remove temporary files\n#rm -rf build/pkg-tmp\n\n# compress\n(cd build; gnutar -zcvf SDL-devel.pkg.tar.gz SDL-devel.pkg)";
  1740 				OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))";
  1740 				OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))";
  1741 				OTHER_CFLAGS_i386 = "";
  1741 				OTHER_CFLAGS_i386 = "";
  1742 				OTHER_CFLAGS_ppc = "";
  1742 				OTHER_CFLAGS_ppc = "";
  1743 				OTHER_LDFLAGS_ppc = "-prebind -seg1addr 0x30000000";
  1743 				OTHER_LDFLAGS_ppc = "-prebind -seg1addr 0x30000000";
  1744 				PRODUCT_NAME = SDL;
  1744 				PRODUCT_NAME = SDL;
       
  1745 				SDKROOT = macosx10.8;
  1745 				WRAPPER_EXTENSION = framework;
  1746 				WRAPPER_EXTENSION = framework;
  1746 			};
  1747 			};
  1747 			name = Release;
  1748 			name = Release;
  1748 		};
  1749 		};
  1749 		00CFA623106A567900758660 /* Release */ = {
  1750 		00CFA623106A567900758660 /* Release */ = {
  1832 				INSTALL_PATH = "@rpath";
  1833 				INSTALL_PATH = "@rpath";
  1833 				OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))";
  1834 				OTHER_CFLAGS = "$(OTHER_CFLAGS_$(CURRENT_ARCH))";
  1834 				OTHER_CFLAGS_i386 = "";
  1835 				OTHER_CFLAGS_i386 = "";
  1835 				OTHER_CFLAGS_ppc = "";
  1836 				OTHER_CFLAGS_ppc = "";
  1836 				PRODUCT_NAME = SDL;
  1837 				PRODUCT_NAME = SDL;
       
  1838 				SDKROOT = macosx10.8;
  1837 				WRAPPER_EXTENSION = framework;
  1839 				WRAPPER_EXTENSION = framework;
  1838 			};
  1840 			};
  1839 			name = Debug;
  1841 			name = Debug;
  1840 		};
  1842 		};
  1841 		00CFA629106A568900758660 /* Debug */ = {
  1843 		00CFA629106A568900758660 /* Debug */ = {