Home | History | Annotate | Download | only in macos
      1  163  yongsun all: debug
      2  163  yongsun 
      3  188  yongsun release: release-i386 release-ppc
      4  188  yongsun 	cd build/Release/SunPinyin.app/Contents/MacOS; \
      5  188  yongsun 	    lipo -create SunPinyin-i386 SunPinyin-ppc -o SunPinyin; \
      6  188  yongsun 	    rm -f SunPinyin-i386 SunPinyin-ppc
      7  162  yongsun 	rm -f build/SunPinyin.app
      8  194  yongsun 	cd build ; ln -s Release/SunPinyin.app SunPinyin.app  
      9  190  yongsun 	cd ../..; ./configure
     10  188  yongsun 	
     11  188  yongsun release-i386: 
     12  188  yongsun 	cd ../..; CC='gcc -arch i386' CXX='g++ -arch i386' ./configure
     13  188  yongsun 	xcodebuild -project SunPinyin.xcodeproj -configuration Release-i386 build
     14  188  yongsun 	cd build/Release/SunPinyin.app/Contents/MacOS; mv SunPinyin SunPinyin-i386
     15  188  yongsun 
     16  188  yongsun release-ppc: 
     17  188  yongsun 	cd ../..; CC='gcc -arch ppc' CXX='g++ -arch ppc' ./configure
     18  188  yongsun 	xcodebuild -project SunPinyin.xcodeproj -configuration Release-ppc build
     19  188  yongsun 	cd build/Release/SunPinyin.app/Contents/MacOS; mv SunPinyin SunPinyin-ppc
     20  158  yongsun 
     21  158  yongsun debug:
     22  158  yongsun 	xcodebuild -project SunPinyin.xcodeproj -configuration Debug build
     23  162  yongsun 	rm -f build/SunPinyin.app
     24  188  yongsun 	cd build ; ln -s Debug/SunPinyin.app SunPinyin.app
     25  158  yongsun 
     26  158  yongsun clean:
     27  158  yongsun 	rm -rf build
     28  158  yongsun 
     29  158  yongsun install:
     30  158  yongsun 	rm -rf "/Library/Input Methods/SunPinyin.app"
     31  158  yongsun 	cp -r build/SunPinyin.app "/Library/Input Methods"
     32  158  yongsun 
     33