diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-19 20:31:47 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-08-19 20:31:47 +0000 |
commit | b8ab6c357f4252a56ca1ba99acae5a151a2a232f (patch) | |
tree | c32f9641c765d5efc1765f960c9808f1bedd8b0e /Game/Code | |
parent | 1e96769e49f8f4fb27ea7039c7f1dba4b8af1fe5 (diff) | |
download | usdx-b8ab6c357f4252a56ca1ba99acae5a151a2a232f.tar.gz usdx-b8ab6c357f4252a56ca1ba99acae5a151a2a232f.tar.xz usdx-b8ab6c357f4252a56ca1ba99acae5a151a2a232f.zip |
missing Mac OS X tools added and creation of diskimage
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1274 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code')
-rw-r--r-- | Game/Code/Makefile.in | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/Game/Code/Makefile.in b/Game/Code/Makefile.in index 0ff80e69..0ceee585 100644 --- a/Game/Code/Makefile.in +++ b/Game/Code/Makefile.in @@ -106,6 +106,13 @@ USDX_BIN = $(usdxrootdir)/$(USDX_BIN_NAME) # name of the modification timestamp filename modfile = lastmod +# otool: Mac OS X object file displaying tool +OTOOL = /usr/bin/otool +# install_name_tool: Mac OS X tool to change dynamic shared library install names +INSTALL_NAME_TOOL = /usr/bin/install_name_tool +# hdiutil: Mac OS X disk image tool +HDIUTIL = /usr/bin/hdiutil + ################################################# # general targets ################################################# @@ -278,7 +285,7 @@ macosx-app: all @echo "Have fun." @echo "" -macosx-app-standalone: macosx-app +macosx-standalone-app: macosx-app # Create double clickable standalone (does not need fink) Mac OS X # application. Not fully test, but should work on 10.5. @@ -318,6 +325,13 @@ endef @echo "Standalone Mac OS X application created." @echo "" +macosx-disk-image: macosx-standalone-app + /bin/rm -f ultrastardx.dmg + $(HDIUTIL) create -type SPARSE -size 30m -fs HFS+ -volname UltraStarDeluxe -ov -attach UltraStarDeluxe.sparseimage + /bin/cp -R ../../UltraStarDeluxe.app /Volumes/UltraStarDeluxe + $(HDIUTIL) detach /Volumes/UltraStarDeluxe + $(HDIUTIL) convert UltraStarDeluxe.sparseimage -format UDBZ -o ultrastardx.dmg + /bin/rm -f UltraStarDeluxe.sparseimage ################################################# # clean-up ################################################# |