aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorLars Persson2006-02-23 10:12:17 +0000
committerLars Persson2006-02-23 10:12:17 +0000
commitfea271ed507aa7f16b00b9835f0467032bc520f7 (patch)
treed3deedd0563ebeb10c122a09ab90d9c1a7d46669 /backends
parent3fe8c971f275e7f2069033c4064859c5aad9e8cc (diff)
downloadscummvm-rg350-fea271ed507aa7f16b00b9835f0467032bc520f7.tar.gz
scummvm-rg350-fea271ed507aa7f16b00b9835f0467032bc520f7.tar.bz2
scummvm-rg350-fea271ed507aa7f16b00b9835f0467032bc520f7.zip
Changed mmp zip file for .in files
svn-id: r20822
Diffstat (limited to 'backends')
-rw-r--r--backends/symbian/AdaptAllMMPs.pl149
-rw-r--r--backends/symbian/S60/BLD.INF.in12
-rw-r--r--backends/symbian/S60/ScummVM_S60.mmp.in104
-rw-r--r--backends/symbian/S60v3/BLD.INF.in11
-rw-r--r--backends/symbian/S60v3/ScummVM_S60v3.mmp.in122
-rw-r--r--backends/symbian/S80/BLD.INF.in12
-rw-r--r--backends/symbian/S80/ScummVM_S80.mmp.in102
-rw-r--r--backends/symbian/S90/BLD.INF.in12
-rw-r--r--backends/symbian/S90/Scummvm_S90.mmp.in102
-rw-r--r--backends/symbian/UIQ2/BLD.INF.in11
-rw-r--r--backends/symbian/UIQ2/ScummVM_UIQ2.mmp.in101
-rw-r--r--backends/symbian/UIQ3/BLD.INF.in11
-rw-r--r--backends/symbian/UIQ3/ScummVM_UIQ3.mmp.in125
-rw-r--r--backends/symbian/mmp/initial_mmps.zipbin30117 -> 0 bytes
-rw-r--r--backends/symbian/mmp/scummvm_base.mmp.in92
-rw-r--r--backends/symbian/mmp/scummvm_gob.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_kyra.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_lure.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_queen.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_saga.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_scumm.mmp.in70
-rw-r--r--backends/symbian/mmp/scummvm_simon.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_sky.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_sword1.mmp.in54
-rw-r--r--backends/symbian/mmp/scummvm_sword2.mmp.in54
25 files changed, 1490 insertions, 32 deletions
diff --git a/backends/symbian/AdaptAllMMPs.pl b/backends/symbian/AdaptAllMMPs.pl
index 8aae5b2f5a..566f672600 100644
--- a/backends/symbian/AdaptAllMMPs.pl
+++ b/backends/symbian/AdaptAllMMPs.pl
@@ -4,6 +4,30 @@ use Cwd;
$buildDir = getcwd();
chdir("../../");
+# list of project files to process
+@mmp_files = (
+ "mmp/scummvm_scumm.mmp",
+ "mmp/scummvm_queen.mmp",
+ "mmp/scummvm_simon.mmp",
+ "mmp/scummvm_sky.mmp",
+ "mmp/scummvm_gob.mmp",
+ "mmp/scummvm_saga.mmp",
+ "mmp/scummvm_kyra.mmp",
+ "mmp/scummvm_sword1.mmp",
+ "mmp/scummvm_sword2.mmp",
+ "mmp/scummvm_lure.mmp",
+
+ "S60/ScummVM_S60.mmp",
+ "S60v3/ScummVM_S60v3.mmp",
+ "S80/ScummVM_S80.mmp",
+ "S90/ScummVM_S90.mmp",
+ "UIQ2/ScummVM_UIQ2.mmp",
+ "UIQ3/ScummVM_UIQ3.mmp"
+);
+
+# do this first to set all *.mmp & *.inf files to *.*.in states
+ResetProjectFiles();
+
print "
=======================================================================================
Updating slave MACRO settings in MMP files from master 'scummvm_base.mmp'
@@ -11,9 +35,6 @@ Updating slave MACRO settings in MMP files from master 'scummvm_base.mmp'
";
-@mmp_files = ( "mmp/scummvm_scumm.mmp", "mmp/scummvm_queen.mmp", "mmp/scummvm_simon.mmp", "mmp/scummvm_sky.mmp", "mmp/scummvm_gob.mmp", "mmp/scummvm_saga.mmp", "mmp/scummvm_kyra.mmp", "mmp/scummvm_sword1.mmp", "mmp/scummvm_sword2.mmp",
- "UIQ2/ScummVM_UIQ2.mmp", "UIQ3/ScummVM_UIQ3.mmp", "S60/ScummVM_S60.mmp", "S60v3/ScummVM_S60v3.mmp", "S80/ScummVM_S80.mmp", "S90/ScummVM_S90.mmp");
-
# do this first so we have @DisableDefines for correct inclusion of SOURCE files later
UpdateSlaveMacros();
@@ -26,20 +47,36 @@ Preparing to update all the Symbian MMP project files with objects from module.m
my @section_empty = (""); # section standard: no #ifdef's in module.mk files
my @sections_scumm = ("", "DISABLE_SCUMM_7_8", "DISABLE_HE"); # special sections for engine SCUMM
-my @base_excludes = ("mt32","fluidsynth","i386","part","partial","partialmanager","synth","tables","freeverb"); # case insensitive exclusions for sound
+
+# files excluded from build, case insensitive, will be matched in filename string only
+my @excludes_snd = (
+ "mt32",
+ "fluidsynth",
+ "i386",
+ "part.cpp",
+ "partial.cpp",
+ "partialmanager.cpp",
+ "synth.cpp",
+ "tables.cpp",
+ "freeverb.cpp"
+);
+my @excludes_gui = (
+ "ThemeNew",
+);
#arseModule(mmpStr, dirStr, ifdefArray, [exclusionsArray])
-#ParseModule("_base", "base", \@section_empty); # now in ./TRG/ScummVM_TRG.mmp, these never change anyways...
+ParseModule("_base", "base", \@section_empty); # now in ./TRG/ScummVM_TRG.mmp, these never change anyways...
ParseModule("_base", "common", \@section_empty);
-ParseModule("_base", "gui", \@section_empty);
+ParseModule("_base", "gui", \@section_empty, \@excludes_gui);
ParseModule("_base", "graphics", \@section_empty);
-ParseModule("_base", "sound", \@section_empty, \@base_excludes);
+ParseModule("_base", "sound", \@section_empty, \@excludes_snd);
+
chdir("engines/");
ParseModule("_scumm", "scumm", \@sections_scumm);
ParseModule("_queen", "queen", \@section_empty);
ParseModule("_simon", "simon", \@section_empty);
-ParseModule("_sky", "sky", \@section_empty);
-ParseModule("_gob", "gob", \@section_empty);
+ParseModule("_sky", "sky", \@section_empty);
+ParseModule("_gob", "gob", \@section_empty);
ParseModule("_saga", "saga", \@section_empty);
ParseModule("_kyra", "kyra", \@section_empty);
@@ -97,9 +134,10 @@ sub CheckForModuleMK
if (-f $item and $item =~ /.*\/module.mk$/)
{
my $sec = "";
- my $secnum = 0;
+ my $ObjectsSelected = 0;
+ my $ObjectsTotal = 0;
- print "Parsing $item for section '$section' ... ";
+ print "$item for section '$section' ... ";
open FILE, $item;
my @lines = <FILE>;
@@ -121,6 +159,8 @@ sub CheckForModuleMK
# handle this section?
if ($sec eq $section)
{
+ $ObjectsTotal++;
+
$line =~ s/^\s*//g; # remove possible leading whitespace
$line =~ s/ \\//; # remove possible trailing ' \'
$line =~ s/\//\\/g; # replace / with \
@@ -129,9 +169,9 @@ sub CheckForModuleMK
# do we need to skip this file? According to our own @exclusions array
foreach $exclusion (@exclusions)
{
- if ($line =~ /$exclusion/)
+ if ($line =~ /$exclusion/i)
{
- print "\n !$line (excluded, \@exclusions)";
+ print "\n ! $line (excluded, \@exclusions[$exclusion])";
next A;
}
}
@@ -146,13 +186,13 @@ sub CheckForModuleMK
}
}
- $secnum++;
+ $ObjectsSelected++;
#print "\n $line";
$output .= "SOURCE $line\n";
}
}
}
- print " -- $secnum objects selected\n";
+ print " -- $ObjectsSelected/$ObjectsTotal objects selected\n";
}
}
@@ -165,25 +205,35 @@ sub UpdateProjectFile
my $n = "AUTO_OBJECTS_".uc($module)."_$section";
my $a = "\/\/START_$n\/\/";
my $b = "\/\/STOP_$n\/\/";
- my $name = "mmp/scummvm$mmp.mmp";
- my $file = "$buildDir/$name";
my $updated = " Updated @ ".localtime();
+ my $name;
+ my @mmp_files_plus_one = @mmp_files;
+ unshift @mmp_files_plus_one, "mmp/scummvm_base.mmp";
- print " ===>Updating backends/epoc/$name @ $n ... ";
+ foreach $name (@mmp_files_plus_one)
+ {
+ my $file = "$buildDir/$name";
- open FILE, "$file";
- my @lines = <FILE>;
- close FILE;
-
- my $onestr = join("",@lines);
- $onestr =~ s/$a.*$b/$a$updated\n$output$b/s;
-
- open FILE, ">$file";
- print FILE $onestr;
- close FILE;
-
- print "done.\n";
+ open FILE, "$file";
+ my @lines = <FILE>;
+ close FILE;
+
+ my $onestr = join("",@lines);
+
+ if ($onestr =~ /$n/)
+ {
+
+ print " - $name @ $n updating ... ";
+ $onestr =~ s/$a.*$b/$a$updated\n$output$b/s;
+ open FILE, ">$file";
+ print FILE $onestr;
+ close FILE;
+
+ print "done.\n";
+ }
+ }
+
$output = "";
}
@@ -195,7 +245,7 @@ sub UpdateSlaveMacros
my $name = "mmp/scummvm_base.mmp";
my $file = "$buildDir/$name";
- print "Reading master MACROS from backends/epoc/$name ... ";
+ print "Reading master MACROS from backends/symbian/$name ... ";
open FILE, "$file";
my @lines = <FILE>;
@@ -261,7 +311,8 @@ sub UpdateSlaveMacros
{
$file = "$buildDir/$name";
$fileBLDINF = $buildDir .'/'. substr($name, 0, rindex($name, "/")) . "/BLD.INF";
- print "Updating macros in backends/epoc/$name ... ";
+ print "Updating macros in $file ... ";
+ #print "Updating macros in backends/symbian/$name ... ";
open FILE, "$file"; @lines = <FILE>; close FILE;
$onestr = join("",@lines);
@@ -294,3 +345,37 @@ sub UpdateSlaveMacros
}
##################################################################################################################
+
+sub ResetProjectFiles()
+{
+ my $onestr, @lines;
+ my @mmp_files_plus_one = @mmp_files;
+# unshift @mmp_files_plus_one, "mmp/scummvm_base.mmp";
+
+ print "Resetting project files: ";
+
+ # we don't need to do mmp/scummvm_base.mmp", it was done in BuildPackageUpload.pl before the call to this script
+ foreach $name (@mmp_files_plus_one)
+ {
+ my $file = "$buildDir/$name";
+
+ print "$name ";
+ open FILE, "$file.in"; @lines = <FILE>; close FILE;
+ $onestr = join("",@lines);
+ open FILE, ">$file"; print FILE $onestr; close FILE;
+
+ # also do BLD.INF if it is there...
+ my $fileBLDINF = $buildDir .'/'. substr($name, 0, rindex($name, "/")) . "/BLD.INF";
+ if (-e "$fileBLDINF.in")
+ {
+ print substr($name, 0, rindex($name, "/")) . "/BLD.INF ";
+ open FILE, "$fileBLDINF.in"; @lines = <FILE>; close FILE;
+ $onestr = join("",@lines);
+ open FILE, ">$fileBLDINF"; print FILE $onestr; close FILE;
+ }
+ }
+
+ print "... done.\n";
+}
+
+##################################################################################################################
diff --git a/backends/symbian/S60/BLD.INF.in b/backends/symbian/S60/BLD.INF.in
new file mode 100644
index 0000000000..b6cf8bbda6
--- /dev/null
+++ b/backends/symbian/S60/BLD.INF.in
@@ -0,0 +1,12 @@
+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_S60.mmp
+.\ScummVM_S60_App.mmp
diff --git a/backends/symbian/S60/ScummVM_S60.mmp.in b/backends/symbian/S60/ScummVM_S60.mmp.in
new file mode 100644
index 0000000000..468965fb9f
--- /dev/null
+++ b/backends/symbian/S60/ScummVM_S60.mmp.in
@@ -0,0 +1,104 @@
+/* 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 S60 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+#if defined(WINS)
+ TARGET ScummVM.dll
+#else
+ TARGET ScummVM.exe
+#endif
+TARGETPATH system\apps\ScummVM
+TARGETTYPE EXEDLL
+
+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
+
+#if !defined(WINS)
+EPOCSTACKSIZE 0x00008000
+EPOCHEAPSIZE 2048000 8192000
+#endif
+
+MACRO S60
+
+//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
+LIBRARY gdi.lib hal.lib bitgdi.lib
+LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
+library avkon.lib
diff --git a/backends/symbian/S60v3/BLD.INF.in b/backends/symbian/S60v3/BLD.INF.in
new file mode 100644
index 0000000000..f7b7090adf
--- /dev/null
+++ b/backends/symbian/S60v3/BLD.INF.in
@@ -0,0 +1,11 @@
+PRJ_PLATFORMS
+GCCE WINSCW
+
+PRJ_MMPFILES
+//START_AUTO_PROJECTS//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_PROJECTS//
+
+.\ScummVM_S60v3.mmp
diff --git a/backends/symbian/S60v3/ScummVM_S60v3.mmp.in b/backends/symbian/S60v3/ScummVM_S60v3.mmp.in
new file mode 100644
index 0000000000..cde28adca4
--- /dev/null
+++ b/backends/symbian/S60v3/ScummVM_S60v3.mmp.in
@@ -0,0 +1,122 @@
+/* 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 S60 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET ScummVM.exe
+TARGETPATH sys\bin
+TARGETTYPE EXE
+
+UID 0x100039ce 0xA0000657
+
+START RESOURCE ScummVM_reg.rss
+TARGETPATH \private\10003a3f\apps
+END
+
+START RESOURCE ScummVM_loc.rss
+TARGETPATH \Resource\Apps
+LANG SC
+END
+
+SOURCEPATH ..\res
+START RESOURCE ScummVM.rss
+HEADER
+TARGETPATH \Resource\Apps
+LANG SC
+END
+
+START BITMAP ScummVM.mbm
+TARGETPATH \Resource\Apps
+SOURCEPATH ..\res
+// Source Color-depth Source-bitmap-list
+// c denotes whether the bitmap is a colour bitmap and the digits represent the
+// colour-depth of the bitmap and the bitmap mask respectively
+SOURCE c24 ScummSmall.bmp
+SOURCE 8 ScummSmallMask.bmp
+SOURCE c24 ScummLarge.bmp
+SOURCE 8 ScummLargeMask.bmp
+SOURCE c24 ScummxLarge.bmp
+SOURCE 8 ScummxLargeMask.bmp
+END
+
+EPOCSTACKSIZE 0x0000F000
+EPOCHEAPSIZE 2048000 16192000
+
+MACRO S60
+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
+
+// *** 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
+LIBRARY gdi.lib hal.lib bitgdi.lib
+LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
+library avkon.lib
diff --git a/backends/symbian/S80/BLD.INF.in b/backends/symbian/S80/BLD.INF.in
new file mode 100644
index 0000000000..75ef20be12
--- /dev/null
+++ b/backends/symbian/S80/BLD.INF.in
@@ -0,0 +1,12 @@
+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_S80.mmp
+.\ScummVM_S80_App.mmp
diff --git a/backends/symbian/S80/ScummVM_S80.mmp.in b/backends/symbian/S80/ScummVM_S80.mmp.in
new file mode 100644
index 0000000000..1678714e7f
--- /dev/null
+++ b/backends/symbian/S80/ScummVM_S80.mmp.in
@@ -0,0 +1,102 @@
+/* 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 S80 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+#if defined(WINS)
+ TARGET ScummVM.dll
+#else
+ TARGET ScummVM.exe
+#endif
+TARGETPATH system\apps\ScummVM
+TARGETTYPE EXEDLL
+
+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
+
+EPOCSTACKSIZE 0x00008000
+EPOCHEAPSIZE 1024 8192000
+
+MACRO S80
+
+//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 bitgdi.lib
+LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
+
diff --git a/backends/symbian/S90/BLD.INF.in b/backends/symbian/S90/BLD.INF.in
new file mode 100644
index 0000000000..d6e1ece012
--- /dev/null
+++ b/backends/symbian/S90/BLD.INF.in
@@ -0,0 +1,12 @@
+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_S90.mmp
+.\ScummVM_S90_App.mmp
diff --git a/backends/symbian/S90/Scummvm_S90.mmp.in b/backends/symbian/S90/Scummvm_S90.mmp.in
new file mode 100644
index 0000000000..a5edf5ef8b
--- /dev/null
+++ b/backends/symbian/S90/Scummvm_S90.mmp.in
@@ -0,0 +1,102 @@
+/* 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 S90 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+#if defined(WINS)
+ TARGET ScummVM.dll
+#else
+ TARGET ScummVM.exe
+#endif
+TARGETPATH system\apps\ScummVM
+TARGETTYPE EXEDLL
+
+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
+
+EPOCSTACKSIZE 0x00008000
+EPOCHEAPSIZE 1024 8192000
+
+MACRO S90
+
+//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 bitgdi.lib
+LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
+
diff --git a/backends/symbian/UIQ2/BLD.INF.in b/backends/symbian/UIQ2/BLD.INF.in
new file mode 100644
index 0000000000..b607446a64
--- /dev/null
+++ b/backends/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/symbian/UIQ2/ScummVM_UIQ2.mmp.in b/backends/symbian/UIQ2/ScummVM_UIQ2.mmp.in
new file mode 100644
index 0000000000..4615b64aa1
--- /dev/null
+++ b/backends/symbian/UIQ2/ScummVM_UIQ2.mmp.in
@@ -0,0 +1,101 @@
+/* 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
diff --git a/backends/symbian/UIQ3/BLD.INF.in b/backends/symbian/UIQ3/BLD.INF.in
new file mode 100644
index 0000000000..9782901d6a
--- /dev/null
+++ b/backends/symbian/UIQ3/BLD.INF.in
@@ -0,0 +1,11 @@
+PRJ_PLATFORMS
+WINS ARMI GCCE WINSCW THUMB
+
+PRJ_MMPFILES
+//START_AUTO_PROJECTS//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_PROJECTS//
+
+.\ScummVM_UIQ3.mmp
diff --git a/backends/symbian/UIQ3/ScummVM_UIQ3.mmp.in b/backends/symbian/UIQ3/ScummVM_UIQ3.mmp.in
new file mode 100644
index 0000000000..ca247ee3bd
--- /dev/null
+++ b/backends/symbian/UIQ3/ScummVM_UIQ3.mmp.in
@@ -0,0 +1,125 @@
+/* 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ */
+
+//
+// EPOC UIQ MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET SCUMMVM.exe
+//TARGETPATH sys\bin
+TARGETTYPE exe
+
+START RESOURCE ScummVM_reg.rss
+TARGETPATH \private\10003a3f\apps
+END
+
+START RESOURCE ScummVM_loc.rss
+TARGETPATH \Resource\Apps
+LANG SC
+END
+
+SOURCEPATH ..\res
+START RESOURCE ScummVM.rss
+HEADER
+TARGETPATH \Resource\Apps
+LANG SC
+END
+
+EPOCSTACKSIZE 0x0000FFFF
+EPOCHEAPSIZE 0xFA000 0xfA0000
+
+START BITMAP ScummVM.mbm
+TARGETPATH \Resource\Apps
+SOURCEPATH ..\res
+// Source Color-depth Source-bitmap-list
+// c denotes whether the bitmap is a colour bitmap and the digits represent the
+// colour-depth of the bitmap and the bitmap mask respectively
+SOURCE c24 ScummSmall.bmp
+SOURCE 8 ScummSmallMask.bmp
+SOURCE c24 ScummLarge.bmp
+SOURCE 8 ScummLargeMask.bmp
+SOURCE c24 ScummxLarge.bmp
+SOURCE 8 ScummxLargeMask.bmp
+END
+UID 0x100039ce 0xA0000657
+
+MACRO UIQ
+MACRO UIQ3
+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
+
+// *** 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 bitgdi.lib
+LIBRARY mediaclientaudiostream.lib efsrv.lib ws32.lib
+LIBRARY qikctl.lib
+library qikcore.lib \ No newline at end of file
diff --git a/backends/symbian/mmp/initial_mmps.zip b/backends/symbian/mmp/initial_mmps.zip
deleted file mode 100644
index afac114869..0000000000
--- a/backends/symbian/mmp/initial_mmps.zip
+++ /dev/null
Binary files differ
diff --git a/backends/symbian/mmp/scummvm_base.mmp.in b/backends/symbian/mmp/scummvm_base.mmp.in
new file mode 100644
index 0000000000..c2ec2da2e8
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_base.mmp.in
@@ -0,0 +1,92 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_base.lib
+TARGETTYPE lib
+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
+
+// Note: the LIB:*.lib statements are used by AdaptAllMMPs.pl, so don't remove them!
+//START_AUTO_MACROS_MASTER//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_MASTER//
+
+// *** Include paths
+
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound
+USERINCLUDE ..\..\..\backends\fs ..\src ..\..\..\backends\sdl
+
+SYSTEMINCLUDE \epoc32\include\ESDL
+SYSTEMINCLUDE \epoc32\include\ZLIB // before \epoc32\include because symbian already has older version
+SYSTEMINCLUDE \epoc32\include\libc
+SYSTEMINCLUDE \epoc32\include\tremor
+SYSTEMINCLUDE \epoc32\include
+SYSTEMINCLUDE ..\src // for portdefs.h
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\common
+//START_AUTO_OBJECTS_COMMON_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_COMMON_//
+
+SOURCEPATH ..\..\..\graphics
+//START_AUTO_OBJECTS_GRAPHICS_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_GRAPHICS_//
+
+SOURCEPATH ..\..\..\gui
+//START_AUTO_OBJECTS_GUI_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_GUI_//
+// these next three will go into gui\modules.mk and will end up in START_AUTO_OBJECTS_GUI
+// for now they are in the phone platform specific MMP files because of library dependency probs during linking
+//SOURCE Key.cpp
+//SOURCE KeysDialog.cpp
+//SOURCE Actions.cpp
+
+SOURCEPATH ..\..\..\sound
+//START_AUTO_OBJECTS_SOUND_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SOUND_//
+
+sourcepath ..\..\..
+// backend specific includes
+SOURCE backends\midi\null.cpp
+SOURCE backends\fs\fs.cpp
+// backend specific includes
diff --git a/backends/symbian/mmp/scummvm_gob.mmp.in b/backends/symbian/mmp/scummvm_gob.mmp.in
new file mode 100644
index 0000000000..a99d900da0
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_gob.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_gob.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\gob
+
+//START_AUTO_OBJECTS_GOB_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_GOB_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_kyra.mmp.in b/backends/symbian/mmp/scummvm_kyra.mmp.in
new file mode 100644
index 0000000000..60703336ca
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_kyra.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM Kyra
+//
+
+// *** Definitions
+
+TARGET scummvm_kyra.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\kyra
+
+//START_AUTO_OBJECTS_KYRA_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_KYRA_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_lure.mmp.in b/backends/symbian/mmp/scummvm_lure.mmp.in
new file mode 100644
index 0000000000..55445358bb
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_lure.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_lure.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\lure
+
+//START_AUTO_OBJECTS_LURE_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_LURE_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_queen.mmp.in b/backends/symbian/mmp/scummvm_queen.mmp.in
new file mode 100644
index 0000000000..c1b3c03a45
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_queen.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_queen.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\queen
+
+//START_AUTO_OBJECTS_QUEEN_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_QUEEN_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_saga.mmp.in b/backends/symbian/mmp/scummvm_saga.mmp.in
new file mode 100644
index 0000000000..8ee0afd197
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_saga.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM Saga
+//
+
+// *** Definitions
+
+TARGET scummvm_saga.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\saga
+
+//START_AUTO_OBJECTS_SAGA_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SAGA_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_scumm.mmp.in b/backends/symbian/mmp/scummvm_scumm.mmp.in
new file mode 100644
index 0000000000..fd9f6ccb6d
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_scumm.mmp.in
@@ -0,0 +1,70 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_scumm.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\scumm
+
+//START_AUTO_OBJECTS_SCUMM_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SCUMM_//
+
+//START_AUTO_OBJECTS_SCUMM_DISABLE_SCUMM_7_8//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SCUMM_DISABLE_SCUMM_7_8//
+
+//START_AUTO_OBJECTS_SCUMM_DISABLE_HE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SCUMM_DISABLE_HE//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines ..\..\..\engines\scumm\smush ..\..\..\engines\scumm\insane
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+
+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
diff --git a/backends/symbian/mmp/scummvm_simon.mmp.in b/backends/symbian/mmp/scummvm_simon.mmp.in
new file mode 100644
index 0000000000..616238e82f
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_simon.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_simon.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\simon
+
+//START_AUTO_OBJECTS_SIMON_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SIMON_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_sky.mmp.in b/backends/symbian/mmp/scummvm_sky.mmp.in
new file mode 100644
index 0000000000..46097372a3
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_sky.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_sky.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\sky
+
+//START_AUTO_OBJECTS_SKY_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SKY_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines ..\..\..\engines\sky\music
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_sword1.mmp.in b/backends/symbian/mmp/scummvm_sword1.mmp.in
new file mode 100644
index 0000000000..3d6cf3f501
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_sword1.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_sword1.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\sword1
+
+//START_AUTO_OBJECTS_SWORD1_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SWORD1_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src
diff --git a/backends/symbian/mmp/scummvm_sword2.mmp.in b/backends/symbian/mmp/scummvm_sword2.mmp.in
new file mode 100644
index 0000000000..dbb0bce879
--- /dev/null
+++ b/backends/symbian/mmp/scummvm_sword2.mmp.in
@@ -0,0 +1,54 @@
+/* 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 MMP makefile project for ScummVM
+//
+
+// *** Definitions
+
+TARGET scummvm_sword2.lib
+TARGETTYPE lib
+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
+
+//START_AUTO_MACROS_SLAVE//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_MACROS_SLAVE//
+
+// *** SOURCE files
+
+SOURCEPATH ..\..\..\engines\sword2
+
+//START_AUTO_OBJECTS_SWORD2_//
+
+ // empty base file, will be updated by Perl build scripts
+
+//STOP_AUTO_OBJECTS_SWORD2_//
+
+// *** Include paths
+
+USERINCLUDE ..\..\..\engines
+USERINCLUDE ..\..\.. ..\..\..\common ..\..\..\gui ..\..\..\sound ..\src
+SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\src