From 1d8d9f5510dc5f574e926bd6fadb9d20337daede Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 6 Jul 2006 21:44:48 +0000 Subject: Moving remaining platform/backends code, as previously threatened svn-id: r23380 --- backends/platform/symbian/UIQ2/BLD.INF.in | 11 +++ backends/platform/symbian/UIQ2/ScummVM.rss | 46 +++++++++ backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in | 106 +++++++++++++++++++++ backends/platform/symbian/UIQ2/Vibration.sis | Bin 0 -> 2175 bytes backends/platform/symbian/UIQ2/chkstk.obj | Bin 0 -> 329 bytes backends/platform/symbian/UIQ2/lldiv.obj | Bin 0 -> 418 bytes backends/platform/symbian/UIQ2/llmul.obj | Bin 0 -> 300 bytes backends/platform/symbian/UIQ2/llshl.obj | Bin 0 -> 280 bytes .../symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg | 26 +++++ .../symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg | 31 ++++++ 10 files changed, 220 insertions(+) create mode 100644 backends/platform/symbian/UIQ2/BLD.INF.in create mode 100644 backends/platform/symbian/UIQ2/ScummVM.rss create mode 100644 backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in create mode 100644 backends/platform/symbian/UIQ2/Vibration.sis create mode 100644 backends/platform/symbian/UIQ2/chkstk.obj create mode 100644 backends/platform/symbian/UIQ2/lldiv.obj create mode 100644 backends/platform/symbian/UIQ2/llmul.obj create mode 100644 backends/platform/symbian/UIQ2/llshl.obj create mode 100644 backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg create mode 100644 backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg (limited to 'backends/platform/symbian/UIQ2') diff --git a/backends/platform/symbian/UIQ2/BLD.INF.in b/backends/platform/symbian/UIQ2/BLD.INF.in new file mode 100644 index 0000000000..b607446a64 --- /dev/null +++ b/backends/platform/symbian/UIQ2/BLD.INF.in @@ -0,0 +1,11 @@ +PRJ_PLATFORMS +WINS ARMI // ARM4 THUMB + +PRJ_MMPFILES +//START_AUTO_PROJECTS// + + // empty base file, will be updated by Perl build scripts + +//STOP_AUTO_PROJECTS// + +.\ScummVM_UIQ2.mmp diff --git a/backends/platform/symbian/UIQ2/ScummVM.rss b/backends/platform/symbian/UIQ2/ScummVM.rss new file mode 100644 index 0000000000..a55fabfc51 --- /dev/null +++ b/backends/platform/symbian/UIQ2/ScummVM.rss @@ -0,0 +1,46 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003-2005 Andreas 'Sprawl' Karlsson - Original EPOC port, ESDL + * Copyright (C) 2003-2005 Lars 'AnotherGuest' Persson - Original EPOC port, Audio System + * Copyright (C) 2005 Jurgen 'SumthinWicked' Braam - EPOC/CVS maintainer + * Copyright (C) 2005-2006 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * $URL$ + * $Id$ + */ + +// ScummVM.RSS + +NAME SCUM + +// Include definitions of resource STRUCTS used by this +// resource script +#include +#include "..\src\Scummvm.hrh" +// Include the standard Eikon resource ids +#include + + +RESOURCE RSS_SIGNATURE + { + } + +RESOURCE TBUF16 { buf=""; } + +RESOURCE EIK_APP_INFO + { + } + diff --git a/backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in b/backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in new file mode 100644 index 0000000000..9b2e432b19 --- /dev/null +++ b/backends/platform/symbian/UIQ2/ScummVM_UIQ2.mmp.in @@ -0,0 +1,106 @@ +/* ScummVM - Scumm Interpreter + * Copyright (C) 2003-2005 Andreas 'Sprawl' Karlsson - Original EPOC port, ESDL + * Copyright (C) 2003-2005 Lars 'AnotherGuest' Persson - Original EPOC port, Audio System + * Copyright (C) 2005 Jurgen 'SumthinWicked' Braam - EPOC/CVS maintainer + * Copyright (C) 2005-2006 The ScummVM project + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + */ + +// +// EPOC UIQ MMP makefile project for ScummVM +// + +// *** Definitions + +TARGET SCUMMVM.APP +TARGETPATH system\apps\ScummVM +TARGETTYPE app + +OPTION MSVC /QIfist /Ob1 /Oy /GF // /QIfist disables use of __ftol2 to avoid linker probs with MS libc: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore/html/vcrefQIfistSuppress_ftol.asp +OPTION GCC -Wno-multichar -Wno-reorder // don't optimize for ARM, platform way too sensitive for that :( just turn off some common warnings + +RESOURCE ScummVM.rss +EPOCSTACKSIZE 0x80008000 // this enables ECompXL app compression +AIF ScummVm.Aif ..\res\ ScummVmAif.rss c16 ScummL.bmp ScummLM.bmp ScummS.bmp ScummSM.bmp +UID 0x100039ce 0x101f9b57 + +MACRO UIQ +MACRO EPOC_AS_APP + +//START_AUTO_MACROS_SLAVE// + + // empty base file, will be updated by Perl build scripts + +//STOP_AUTO_MACROS_SLAVE// + +// *** Static Libraries + +STATICLIBRARY esdl.lib + +#if !defined(WINS) +STATICLIBRARY egcc.lib // for __fixunsdfsi +#endif + +// *** Include paths + +USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\engines +USERINCLUDE ..\..\..\backends\fs ..\src ..\..\..\backends\sdl ..\..\..\sound + +SYSTEMINCLUDE \epoc32\include\ESDL +SYSTEMINCLUDE \epoc32\include\ZLIB // before \epoc32\include because symbian already has older version +SYSTEMINCLUDE \epoc32\include\libc +SYSTEMINCLUDE \epoc32\include +SYSTEMINCLUDE ..\src // for portdefs.h + +// *** SOURCE files + +SOURCEPATH ..\..\..\base + +//START_AUTO_OBJECTS_BASE_// + + // empty base file, will be updated by Perl build scripts + +//STOP_AUTO_OBJECTS_BASE_// + +SOURCEPATH ..\..\..\ + +// backend EPOC/SDL/ESDL specific includes +SOURCE backends\sdl\events.cpp +SOURCE backends\sdl\graphics.cpp +SOURCE backends\sdl\sdl.cpp +SOURCE backends\fs\symbian\symbian-fs.cpp +SOURCE backends\symbian\src\SymbianOS.cpp +SOURCE backends\symbian\src\SymbianActions.cpp +SOURCE backends\symbian\src\ScummApp.cpp + +SOURCE gui\Key.cpp +SOURCE gui\KeysDialog.cpp +SOURCE gui\Actions.cpp + +// *** Dynamic Libraries + +LIBRARY cone.lib eikcore.lib +LIBRARY euser.lib apparc.lib fbscli.lib +LIBRARY estlib.lib apgrfx.lib +LIBRARY gdi.lib hal.lib +LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib +LIBRARY qikctl.lib bafl.lib + +START WINS +WIN32_LIBRARY lldiv.obj llmul.obj llshl.obj +END + diff --git a/backends/platform/symbian/UIQ2/Vibration.sis b/backends/platform/symbian/UIQ2/Vibration.sis new file mode 100644 index 0000000000..7cd9d33f15 Binary files /dev/null and b/backends/platform/symbian/UIQ2/Vibration.sis differ diff --git a/backends/platform/symbian/UIQ2/chkstk.obj b/backends/platform/symbian/UIQ2/chkstk.obj new file mode 100644 index 0000000000..1df42b21c3 Binary files /dev/null and b/backends/platform/symbian/UIQ2/chkstk.obj differ diff --git a/backends/platform/symbian/UIQ2/lldiv.obj b/backends/platform/symbian/UIQ2/lldiv.obj new file mode 100644 index 0000000000..60d7c98660 Binary files /dev/null and b/backends/platform/symbian/UIQ2/lldiv.obj differ diff --git a/backends/platform/symbian/UIQ2/llmul.obj b/backends/platform/symbian/UIQ2/llmul.obj new file mode 100644 index 0000000000..c6416030a3 Binary files /dev/null and b/backends/platform/symbian/UIQ2/llmul.obj differ diff --git a/backends/platform/symbian/UIQ2/llshl.obj b/backends/platform/symbian/UIQ2/llshl.obj new file mode 100644 index 0000000000..30c5749d83 Binary files /dev/null and b/backends/platform/symbian/UIQ2/llshl.obj differ diff --git a/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg new file mode 100644 index 0000000000..2ebf7580f9 --- /dev/null +++ b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2.pkg @@ -0,0 +1,26 @@ +;;; +;;; ScummVM .PKG file for .SIS gegeration +;;; + +; Languages +;&EN + +; UID is the app's UID +#{"ScummVM UIQ2"},(0x101f9b57),0,80,3 + +; Platform type +(0x101F617B), 2, 0, 0, {"UIQ20ProductID"} + +; Application, AIF & Resource file +"\epoc32\release\armi\urel\ScummVM.app"-"!:\system\apps\ScummVM\ScummVM.app" +"\epoc32\data\z\system\apps\ScummVM\ScummVM.aif"-"!:\system\apps\ScummVM\ScummVM.aif" +"\epoc32\data\z\system\apps\ScummVM\ScummVM.rsc"-"!:\system\apps\ScummVM\ScummVM.rsc" + +; Config/log files: 'empty' will automagically be removed on uninstall +""-"!:\system\apps\ScummVM\scummvm.ini",FILENULL +""-"!:\system\apps\ScummVM\scummvm.stdout.txt",FILENULL +""-"!:\system\apps\ScummVM\scummvm.stderr.txt",FILENULL +""-"!:\system\apps\ScummVM\sdl.ini",FILENULL + +; This install layout will let you upgrade to newer versions wihout loss of scummvm.ini. +; It will remove the config file, std***.txt files & dirs on uninstall. \ No newline at end of file diff --git a/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg new file mode 100644 index 0000000000..a07149b702 --- /dev/null +++ b/backends/platform/symbian/UIQ2/scummvm-CVS-SymbianUIQ2_SE.pkg @@ -0,0 +1,31 @@ +;;; +;;; ScummVM .PKG file for .SIS gegeration +;;; + +; Languages +;&EN + +; UID is the app's UID +#{"ScummVM SE"},(0x101f9b57),0,80,3 + +; Platform type +(0x101F617B), 2, 0, 0, {"UIQ20ProductID"} + +; Application, AIF & Resource file +"\epoc32\release\armi\urel\ScummVM.app"-"!:\system\apps\ScummVM\ScummVM.app" +"\epoc32\data\z\system\apps\ScummVM\ScummVM.aif"-"!:\system\apps\ScummVM\ScummVM.aif" +"\epoc32\data\z\system\apps\ScummVM\ScummVM.rsc"-"!:\system\apps\ScummVM\ScummVM.rsc" + +; Config/log files: 'empty' will automagically be removed on uninstall +""-"!:\system\apps\ScummVM\scummvm.ini",FILENULL +""-"!:\system\apps\ScummVM\scummvm.stdout.txt",FILENULL +""-"!:\system\apps\ScummVM\scummvm.stderr.txt",FILENULL +""-"!:\system\apps\ScummVM\sdl.ini",FILENULL + +; This install layout will let you upgrade to newer versions wihout loss of scummvm.ini. +; It will remove the config file, std***.txt files & dirs on uninstall. + +; add extra Vibration lib for P800, will be ignored during all other installs +IF MachineUID = 0x101F408B +@"Vibration.sis", (0x101F94A3) +ENDIF \ No newline at end of file -- cgit v1.2.3