/* ScummVM - Graphic Adventure Engine
 * 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-2017 The ScummVM Team
 *
 * ScummVM is the legal property of its developers, whose names
 * are too numerous to list here. Please refer to the COPYRIGHT
 * file distributed with this source distribution.
 *
 * 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
#include "config.mmh"

// compiler must use png.h from libpng.lib instead ScummVM's
OPTION			GCCE -I'/Symbian/S60_5th_Edition_SDK_v1.0/epoc32/include/png'

// Note: the LIB:*.lib statements are used by AdaptAllMMPs.pl, so don't remove them!
MACRO USE_SYSTEM_REMOVE
//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		..\..\..\..\backends\fs ..\..\..\..\backends\platform\sdl
USERINCLUDE		\epoc32\include\mpeg2dec


// *** 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 ..\..\..\..\image
//START_AUTO_OBJECTS_IMAGE_//

	// empty base file, will be updated by Perl build scripts

//STOP_AUTO_OBJECTS_IMAGE_//
// add a few files manually, since they are not parsed from modules.mk files
SOURCE	   codecs\mpeg.cpp

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 ..\..\..\..\audio
//START_AUTO_OBJECTS_AUDIO_//

	// empty base file, will be updated by Perl build scripts

//STOP_AUTO_OBJECTS_AUDIO_//
SOURCE softsynth\fmtowns_pc98\towns_pc98_fmsynth.cpp // Included since its excluded by filter
SOURCE miles_mt32.cpp

#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

SOURCEPATH ..\..\..\..\video
//START_AUTO_OBJECTS_VIDEO_//

	// empty base file, will be updated by Perl build scripts

//STOP_AUTO_OBJECTS_VIDEO_//

// add a few files manually, since they are not parsed from modules.mk files
SOURCE	   theora_decoder.cpp
SOURCE	   bink_decoder.cpp

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\base-backend.cpp
SOURCE	   gui\browser.cpp
SOURCE	   engines\engine.cpp
SOURCE	   engines\dialogs.cpp
SOURCE	   engines\game.cpp
SOURCE 	   engines\advanceddetector.cpp
SOURCE 	   engines\savestate.cpp
// backend specific includes
SOURCE	   backends\modular-backend.cpp
SOURCE     backends\audiocd\default\default-audiocd.cpp
SOURCE     backends\audiocd\sdl\sdl-audiocd.cpp
SOURCE     backends\events\sdl\sdl-events.cpp
SOURCE     backends\events\symbiansdl\symbiansdl-events.cpp
SOURCE	   backends\fs\abstract-fs.cpp
SOURCE	   backends\fs\symbian\symbianstream.cpp
SOURCE     backends\graphics\sdl\sdl-graphics.cpp
SOURCE     backends\graphics\symbiansdl\symbiansdl-graphics.cpp
SOURCE     backends\keymapper\action.cpp
SOURCE     backends\keymapper\keymap.cpp
SOURCE     backends\keymapper\keymapper.cpp
SOURCE     backends\keymapper\remap-dialog.cpp
SOURCE     backends\mixer\sdl\sdl-mixer.cpp
SOURCE     backends\mixer\symbiansdl\symbiansdl-mixer.cpp
SOURCE     backends\mutex\sdl\sdl-mutex.cpp
SOURCE     backends\timer\sdl\sdl-timer.cpp
SOURCE     backends\log\log.cpp

// Source files for virtual keyboard
SOURCE     backends\vkeybd\image-map.cpp
SOURCE     backends\vkeybd\polygon.cpp
SOURCE     backends\vkeybd\virtual-keyboard-gui.cpp
SOURCE     backends\vkeybd\virtual-keyboard-parser.cpp
SOURCE     backends\vkeybd\virtual-keyboard.cpp

// Downscaler
SOURCE	   graphics\scaler\downscaler.cpp
SOURCE	   graphics\scaler\downscalerARM.s
MACRO SDL_BACKEND
