aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/amigaos
diff options
context:
space:
mode:
authorD G Turner2014-07-20 04:18:46 +0100
committerD G Turner2014-07-20 04:18:46 +0100
commit469eecb9eeb246b04693b275fcace8164d7adea4 (patch)
tree6e40585a02c27393f2beea1d655199fc2da22b52 /backends/platform/sdl/amigaos
parentfd89ecdba81f88b197812650efce51a0827463ba (diff)
downloadscummvm-rg350-469eecb9eeb246b04693b275fcace8164d7adea4.tar.gz
scummvm-rg350-469eecb9eeb246b04693b275fcace8164d7adea4.tar.bz2
scummvm-rg350-469eecb9eeb246b04693b275fcace8164d7adea4.zip
BUILD: Add port specific makefile for AmigaOS4.
This moves the AmigaOS4 specific packaging rules from the global ports.mk to a port specific makefile in the AmigaOS subdirectory of the SDL backend (used for AmigaOS). Previously, port specific makefiles were only used for cross compiling builds and thus had a single entry in the cross compiling section of the configure. Since AmigaOS4 is a desktop system supporting native build, this required a second entry for when the host system is detected as ppc-amigaos to support native builds. However, currently this does break packaging of cross compiled builds for Win32, OSX and Unix when done on AmigaOS4... but this is not likely and has limited impact. To fix this, default _port_mk lines would need to be added to the sections of the cross compiling switch for mingw32 etc. to override the AmigaOS4 OS setting of _port_mk.
Diffstat (limited to 'backends/platform/sdl/amigaos')
-rw-r--r--backends/platform/sdl/amigaos/amigaos.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/backends/platform/sdl/amigaos/amigaos.mk b/backends/platform/sdl/amigaos/amigaos.mk
new file mode 100644
index 0000000000..f84747c9b2
--- /dev/null
+++ b/backends/platform/sdl/amigaos/amigaos.mk
@@ -0,0 +1,12 @@
+# Special target to create an AmigaOS snapshot installation
+amigaos4dist: $(EXECUTABLE)
+ mkdir -p $(AMIGAOS4PATH)
+ mkdir -p $(AMIGAOS4PATH)/themes
+ mkdir -p $(AMIGAOS4PATH)/extras
+ $(STRIP) $(EXECUTABLE) -o $(AMIGAOS4PATH)/$(EXECUTABLE)
+ cp ${srcdir}/icons/scummvm.info $(AMIGAOS4PATH)/$(EXECUTABLE).info
+ cp $(DIST_FILES_THEMES) $(AMIGAOS4PATH)/themes/
+ifdef DIST_FILES_ENGINEDATA
+ cp $(DIST_FILES_ENGINEDATA) $(AMIGAOS4PATH)/extras/
+endif
+ cp $(DIST_FILES_DOCS) $(AMIGAOS4PATH)