From b8ab6c357f4252a56ca1ba99acae5a151a2a232f Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Tue, 19 Aug 2008 20:31:47 +0000 Subject: 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 --- Game/Code/Makefile.in | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'Game/Code') 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 ################################################# -- cgit v1.2.3