aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/platform/sdl/amigaos/amigaos.mk12
-rwxr-xr-xconfigure3
-rw-r--r--ports.mk17
3 files changed, 15 insertions, 17 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)
diff --git a/configure b/configure
index 4f9fc4f68b..87c4a0eb7d 100755
--- a/configure
+++ b/configure
@@ -2074,6 +2074,7 @@ case $_host_os in
# Supress format warnings as the long 4 byte causes noisy warnings.
CXXFLAGS="$CXXFLAGS -Wno-format"
add_line_to_config_mk 'AMIGAOS = 1'
+ _port_mk="backends/platform/sdl/amigaos/amigaos.mk"
;;
android)
case $_host in
@@ -2752,6 +2753,8 @@ if test -n "$_host"; then
_ar="$_host-ar cru"
_as="$_host-as"
_windres=$_host-windres
+
+ _port_mk="backends/platform/sdl/amigaos/amigaos.mk"
;;
ps2)
DEFINES="$DEFINES -DDISABLE_TEXT_CONSOLE"
diff --git a/ports.mk b/ports.mk
index 66e01081a6..97b43fe92e 100644
--- a/ports.mk
+++ b/ports.mk
@@ -324,22 +324,5 @@ endif
@echo Now run
@echo "\tgit commit 'DISTS: Generated Code::Blocks and MSVC project files'"
-#
-# AmigaOS specific
-#
-
-# 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)
-
# Mark special targets as phony
.PHONY: deb bundle osxsnap win32dist install uninstall