diff --git a/backends/platform/dingux/dingux.mk b/backends/platform/dingux/dingux.mk new file mode 100644 index 00000000000..cf18a680e73 --- /dev/null +++ b/backends/platform/dingux/dingux.mk @@ -0,0 +1,27 @@ +DINGUX_EXE_STRIPPED := scummvm_stripped$(EXEEXT) + +bundle_name = dingux-dist/scummvm + +all: $(DINGUX_EXE_STRIPPED) + +$(DINGUX_EXE_STRIPPED): $(EXECUTABLE) + $(STRIP) $< -o $@ + +dingux-distclean: + rm -rf $(bundle_name) + rm $(DINGUX_EXE_STRIPPED) + +dingux-dist: all + $(MKDIR) $(bundle_name) + $(MKDIR) $(bundle_name)/saves + $(STRIP) $(EXECUTABLE) -o $(bundle_name)/scummvm.elf + $(CP) $(DIST_FILES_THEMES) $(bundle_name)/ + $(CP) $(DIST_FILES_ENGINEDATA) $(bundle_name)/ + $(CP) $(DIST_FILES_DOCS) $(bundle_name)/ +ifdef DYNAMIC_MODULES + $(MKDIR) $(bundle_name)/plugins + $(CP) $(PLUGINS) $(bundle_name)/plugins + $(STRIP) $(bundle_name)/plugins/* +endif + $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip $(bundle_name)/ + diff --git a/configure b/configure index 81813df22e5..e9571bbf257 100755 --- a/configure +++ b/configure @@ -1593,6 +1593,7 @@ if test -n "$_host"; then _vorbis=no # Force disable seq on dingux, no way to use it and it would get enabled by default with configure _seq_midi=no + _port_mk="backends/platform/dingux/dingux.mk" ;; dreamcast) DEFINES="$DEFINES -DDISABLE_DEFAULT_SAVEFILEMANAGER -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE"