aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/dingux
diff options
context:
space:
mode:
authorEugene Sandulenko2014-10-26 07:00:36 -0400
committerEugene Sandulenko2014-10-26 07:00:36 -0400
commitd4c687ddc8b5e4075c8085b7e761a9da3f2cbe74 (patch)
treed0407e9e37c2ec320f76b363c7c18d8b05464313 /backends/platform/dingux
parent123e52f441619d5c866b9f6e05fcc2775a405830 (diff)
downloadscummvm-rg350-d4c687ddc8b5e4075c8085b7e761a9da3f2cbe74.tar.gz
scummvm-rg350-d4c687ddc8b5e4075c8085b7e761a9da3f2cbe74.tar.bz2
scummvm-rg350-d4c687ddc8b5e4075c8085b7e761a9da3f2cbe74.zip
GCW0: Further work on the port
Diffstat (limited to 'backends/platform/dingux')
-rw-r--r--backends/platform/dingux/dingux.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/backends/platform/dingux/dingux.mk b/backends/platform/dingux/dingux.mk
index 48a9347143..f02801ea98 100644
--- a/backends/platform/dingux/dingux.mk
+++ b/backends/platform/dingux/dingux.mk
@@ -1,6 +1,7 @@
DINGUX_EXE_STRIPPED := scummvm_stripped$(EXEEXT)
bundle_name = dingux-dist/scummvm
+gcw0_bundle = gcw0-opk
all: $(DINGUX_EXE_STRIPPED)
@@ -30,3 +31,30 @@ endif
$(CP) $(srcdir)/backends/platform/dingux/scummvm.gpe $(bundle_name)/
$(CP) $(srcdir)/backends/platform/dingux/README.DINGUX $(bundle_name)/
$(CP) $(srcdir)/backends/platform/dingux/scummvm.png $(bundle_name)/
+
+# Special target for generationg GCW-Zero OPK bundle
+gcw0-opk: all
+ $(MKDIR) $(gcw0_bundle)
+ $(CP) $(DIST_FILES_DOCS) $(gcw0_bundle)/
+ $(MKDIR) $(gcw0_bundle)/themes
+ $(CP) $(DIST_FILES_THEMES) $(gcw0_bundle)/themes/
+ifdef DIST_FILES_ENGINEDATA
+ $(MKDIR) $(gcw0_bundle)/engine-data
+ $(CP) $(DIST_FILES_ENGINEDATA) $(gcw0_bundle)/engine-data/
+endif
+ifdef DYNAMIC_MODULES
+ $(MKDIR) $(gcw0_bundle)/plugins
+ $(CP) $(PLUGINS) $(gcw0_bundle)/plugins/
+ $(STRIP) $(gcw0_bundle)/plugins/*
+endif
+ $(STRIP) $(EXECUTABLE) -o $(gcw0_bundle)/scummvm
+
+ $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip $(gcw0_bundle)/
+ $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip $(gcw0_bundle)/
+
+ $(CP) $(srcdir)/dists/gcw0/scummvm.png $(gcw0_bundle)/
+ $(CP) $(srcdir)/dists/gcw0/default.gcw0.desktop $(gcw0_bundle)/
+ $(CP) $(srcdir)/dists/gcw0/scummvmrc $(gcw0_bundle)/
+ $(CP) $(srcdir)/dists/gcw0/scummvm.sh $(gcw0_bundle)/
+ ./dists/gcw0/opk_make.sh -d $(gcw0_bundle) -o scummvm
+