From: Anders M. <an...@us...> - 2007-06-27 23:48:04
|
Update of /cvsroot/yabause/yabause/src/carbon In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv1113/src/carbon Modified Files: Makefile.am Log Message: Build system changes for universal binaries on OS X: - Compiler and linker flags for universal binaries - Use framework version of SDL - Bundle SDL as a private framework - Updated build instructions Index: Makefile.am =================================================================== RCS file: /cvsroot/yabause/yabause/src/carbon/Makefile.am,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile.am 30 Nov 2006 19:59:08 -0000 1.3 +++ Makefile.am 27 Jun 2007 23:48:04 -0000 1.4 @@ -6,3 +6,10 @@ all-local: if [ ! -e Yabause.app/Contents/MacOS ]; then mkdir Yabause.app/Contents/MacOS; fi cp yabause Yabause.app/Contents/MacOS + if [ ! -e Yabause.app/Contents/Frameworks ]; then mkdir Yabause.app/Contents/Frameworks; fi + if [ -e /Library/Frameworks/SDL.framework ]; then \ + cp -r /Library/Frameworks/SDL.framework Yabause.app/Contents/Frameworks; \ + elif [ -e ~/Library/Frameworks/SDL.framework ]; then \ + cp -r ~/Library/Frameworks/SDL.framework Yabause.app/Contents/Frameworks; \ + fi + |