aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/symbian/mmp/scummvm_base.mmp.in
blob: d1c8878d4b7707980e6e242ac8d8cb491949111a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* 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
OPTION			GCCE -Wno-multichar -Wno-reorder -Wno-unused -Wno-format -fsigned-char
ALWAYS_BUILD_AS_ARM

// 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
	// this file will be modified first, then from here all
	// MACROs will be replicated to the other MPP files.

//STOP_AUTO_MACROS_MASTER//

// *** Include paths

USERINCLUDE	    ..\..\..\.. ..\..\..\..\common ..\..\..\..\gui ..\..\..\..\sound
USERINCLUDE		..\..\..\..\backends\fs ..\src ..\..\..\..\backends\platform\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_//
#if defined (WINS)
SOURCE rate.cpp			// WINS emulator version: add regular .cpp
#else
SOURCE rate_arm.cpp		// ARM version: add ASM .cpp wrapper
SOURCE rate_arm_asm.s	// ARM version: add ASM routines
#endif


// add a few files manually, since they are not parsed from modules.mk files
SOURCEPATH ..\..\..\..
SOURCE	   backends\events\default\default-events.cpp
SOURCE	   backends\timer\default\default-timer.cpp
SOURCE	   backends\saves\savefile.cpp
SOURCE	   backends\saves\default\default-saves.cpp
SOURCE	   backends\saves\compressed\compressed-saves.cpp
SOURCE	   engines\engine.cpp


// backend specific includes
// backend specific includes