From: <at...@us...> - 2007-11-06 01:01:48
|
Revision: 530 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=530&view=rev Author: atani Date: 2007-11-05 17:01:45 -0800 (Mon, 05 Nov 2007) Log Message: ----------- package target cleanups Modified Paths: -------------- tiki/osx/Makefile tiki/osx/Tiki.xcodeproj/project.pbxproj Modified: tiki/osx/Makefile =================================================================== --- tiki/osx/Makefile 2007-11-06 00:16:35 UTC (rev 529) +++ tiki/osx/Makefile 2007-11-06 01:01:45 UTC (rev 530) @@ -1,41 +1,51 @@ + +EXAMPLES = $(wildcard ../examples/**/*.xcodeproj) +EXAMPLES += $(wildcard ../examples/**/**/*.xcodeproj) + +$(patsubst %, _clean_dir_%, $(SUBDIRS)): + @$(MAKE) -C $(patsubst _clean_dir_%, %, $@) clean all: - xcodebuild -target Tiki -configuration Development - xcodebuild -target Tiki -configuration Deployment + xcodebuild -parallelizeTargets -target Tiki -configuration Development + xcodebuild -parallelizeTargets -target Tiki -configuration Deployment -examples: - xcodebuild -project ../examples/console/TikiSnake/TikiSnake.xcodeproj -configuration Development - xcodebuild -project ../examples/console/TikiSnake/TikiSnake.xcodeproj -configuration Deployment +examples: $(patsubst %, _example_%, $(EXAMPLES)) -clean: +$(patsubst %, _example_%, $(EXAMPLES)): + xcodebuild -parallelizeTargets -project $(patsubst _example_%, %, $@) -configuration Development + xcodebuild -parallelizeTargets -project $(patsubst _example_%, %, $@) -configuration Deployment + +clean_examples: $(patsubst %, _clean_%, $(EXAMPLES)) + +$(patsubst %, _clean_%, $(EXAMPLES)): + xcodebuild -parallelizeTargets -project $(patsubst _clean_%, %, $@) -configuration Development clean + xcodebuild -parallelizeTargets -project $(patsubst _clean_%, %, $@) -configuration Deployment clean + +clean: clean_examples -xcodebuild -target Tiki -configuration Development clean -xcodebuild -target Tiki -configuration Deployment clean - -xcodebuild -project ../examples/console/TikiSnake/TikiSnake.xcodeproj -configuration Development clean - -xcodebuild -project ../examples/console/TikiSnake/TikiSnake.xcodeproj -configuration Deployment clean package: - mkdir ../dist/$(SVN_VERSION)/tmp-debug + mkdir ../dist/$(SVN_VERSION)/tmp + mkdir ../dist/$(SVN_VERSION)/tmp/Development + mkdir ../dist/$(SVN_VERSION)/tmp/Deployment + mkdir ../dist/$(SVN_VERSION)/tmp/Samples + ditto -v build/Deployment/Tiki.framework \ + ../dist/$(SVN_VERSION)/tmp/Deployment/Tiki.framework ditto -v build/Development/Tiki.framework \ - ../dist/$(SVN_VERSION)/tmp-debug/Tiki.framework - ditto -v ../examples/console/TikiSnake/build/Development/TikiSnake.app \ - ../dist/$(SVN_VERSION)/tmp-debug/TikiSnake.app - hdiutil create -fs HFS+ \ - -srcfolder "../dist/$(SVN_VERSION)/tmp-debug" \ - -volname "Tiki-r$(SVN_VERSION)-Debug" \ - "../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION)-Debug.dmg" - rm -rf ../dist/$(SVN_VERSION)/tmp-debug - hdiutil internet-enable -yes \ - "../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION)-Debug.dmg" - gzip ../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION)-Debug.dmg - mkdir ../dist/$(SVN_VERSION)/tmp-release - ditto -v build/Deployment/Tiki.framework \ - ../dist/$(SVN_VERSION)/tmp-release/Tiki.framework + ../dist/$(SVN_VERSION)/tmp/Development/Tiki.framework ditto -v ../examples/console/TikiSnake/build/Deployment/TikiSnake.app \ - ../dist/$(SVN_VERSION)/tmp-release/TikiSnake.app + ../dist/$(SVN_VERSION)/tmp/Samples + ditto -v ../examples/events/build/Deployment/TikiEvents.app \ + ../dist/$(SVN_VERSION)/tmp/Samples + ditto -v ../examples/menu/basic/build/Deployment/TikiBasicMenu.app \ + ../dist/$(SVN_VERSION)/tmp/Samples + ditto -v ../examples/menu/popup/build/Deployment/TikiPopupMenu.app \ + ../dist/$(SVN_VERSION)/tmp/Samples hdiutil create -fs HFS+ \ - -srcfolder "../dist/$(SVN_VERSION)/tmp-release" \ - -volname "Tiki-r$(SVN_VERSION)-Release" \ - "../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION)-Release.dmg" + -srcfolder "../dist/$(SVN_VERSION)/tmp" \ + -volname "Tiki-r$(SVN_VERSION)" \ + "../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION).dmg" + rm -rf ../dist/$(SVN_VERSION)/tmp hdiutil internet-enable -yes \ - "../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION)-Release.dmg" - gzip ../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION)-Release.dmg - rm -rf ../dist/$(SVN_VERSION)/tmp-release + "../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION).dmg" + gzip ../dist/$(SVN_VERSION)/tiki-$(SVN_VERSION).dmg Modified: tiki/osx/Tiki.xcodeproj/project.pbxproj =================================================================== --- tiki/osx/Tiki.xcodeproj/project.pbxproj 2007-11-06 00:16:35 UTC (rev 529) +++ tiki/osx/Tiki.xcodeproj/project.pbxproj 2007-11-06 01:01:45 UTC (rev 530) @@ -17,6 +17,8 @@ 640C2C30092EB8C40032DE40 /* alpharotate.h in Headers */ = {isa = PBXBuildFile; fileRef = 640C2C2F092EB8C40032DE40 /* alpharotate.h */; }; 6444BEE60932A3D800A29768 /* texturetile.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6444BEE50932A3D700A29768 /* texturetile.cpp */; }; 6444BEE80932A3F200A29768 /* texturetile.h in Headers */ = {isa = PBXBuildFile; fileRef = 6444BEE70932A3F200A29768 /* texturetile.h */; }; + 644D23550CDFE82D00E7F291 /* lightbarmenu.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 644D23540CDFE82D00E7F291 /* lightbarmenu.cpp */; }; + 644D23570CDFE83C00E7F291 /* lightbarmenu.h in Headers */ = {isa = PBXBuildFile; fileRef = 644D23560CDFE83C00E7F291 /* lightbarmenu.h */; }; 6499FE6A0C862377008D9FEF /* tinyxml.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6499FE660C862377008D9FEF /* tinyxml.cpp */; }; 6499FE6B0C862377008D9FEF /* tinyxml.h in Headers */ = {isa = PBXBuildFile; fileRef = 6499FE670C862377008D9FEF /* tinyxml.h */; }; 6499FE6C0C862377008D9FEF /* tinyxmlerror.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6499FE680C862377008D9FEF /* tinyxmlerror.cpp */; }; @@ -215,6 +217,8 @@ 640C2C2F092EB8C40032DE40 /* alpharotate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = alpharotate.h; path = ../include/Tiki/anims/alpharotate.h; sourceTree = SOURCE_ROOT; }; 6444BEE50932A3D700A29768 /* texturetile.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = texturetile.cpp; path = ../src/gl/drawables/texturetile.cpp; sourceTree = SOURCE_ROOT; }; 6444BEE70932A3F200A29768 /* texturetile.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = texturetile.h; path = ../include/Tiki/drawables/texturetile.h; sourceTree = SOURCE_ROOT; }; + 644D23540CDFE82D00E7F291 /* lightbarmenu.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = lightbarmenu.cpp; path = ../src/gl/drawables/lightbarmenu.cpp; sourceTree = SOURCE_ROOT; }; + 644D23560CDFE83C00E7F291 /* lightbarmenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = lightbarmenu.h; path = ../include/Tiki/drawables/lightbarmenu.h; sourceTree = SOURCE_ROOT; }; 6499FE660C862377008D9FEF /* tinyxml.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = tinyxml.cpp; path = ../3rdparty/tinyxml/tinyxml.cpp; sourceTree = SOURCE_ROOT; }; 6499FE670C862377008D9FEF /* tinyxml.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = tinyxml.h; path = ../3rdparty/tinyxml/tinyxml.h; sourceTree = SOURCE_ROOT; }; 6499FE680C862377008D9FEF /* tinyxmlerror.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = tinyxmlerror.cpp; path = ../3rdparty/tinyxml/tinyxmlerror.cpp; sourceTree = SOURCE_ROOT; }; @@ -1003,6 +1007,7 @@ children = ( C4F5154B079A0B9E0001D0D0 /* alphafader.cpp */, C4F5154C079A0B9E0001D0D0 /* expxymover.cpp */, + 644D23540CDFE82D00E7F291 /* lightbarmenu.cpp */, C4F5154D079A0B9E0001D0D0 /* logxymover.cpp */, C4F5154E079A0B9E0001D0D0 /* tintfader.cpp */, ); @@ -1034,6 +1039,7 @@ C4F5155B079A0BDD0001D0D0 /* gl */ = { isa = PBXGroup; children = ( + 644D23560CDFE83C00E7F291 /* lightbarmenu.h */, C4F51568079A0C480001D0D0 /* anims */, C4F51569079A0C4E0001D0D0 /* drawables */, C4F5156A079A0C560001D0D0 /* triggers */, @@ -1143,6 +1149,7 @@ 6499FE760C8623D6008D9FEF /* base64.h in Headers */, 6499FE770C8623D6008D9FEF /* date.h in Headers */, 6499FEA40C8640CA008D9FEF /* cookiejar.h in Headers */, + 644D23570CDFE83C00E7F291 /* lightbarmenu.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1366,6 +1373,7 @@ 6499FE720C8623A3008D9FEF /* date.cpp in Sources */, 6499FEA60C8640E5008D9FEF /* cookiejar.cpp in Sources */, 6400608E0CDF9DC800969916 /* init_flags_default.cpp in Sources */, + 644D23550CDFE82D00E7F291 /* lightbarmenu.cpp in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |