// Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// SQLite C API library
// 
//

/**
 @file
*/

#include "sqlite3_macro.mmh"

TARGET		sqlite3.dll
TARGETTYPE	dll

CAPABILITY	All -Tcb

UID			0x1000008d 0x10285A79

VendorId	0x70000001

VERSION	6.3
SMPSAFE

#ifndef WINSCW
EPOCALLOWDLLDATA
#endif

MACRO SQLITE_DLL

//////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////  RVCT compiler warning & optimization options  /////////////////////////////////////////

//550: <entity-kind> "entity" was set but never used
//C2874W: <name> may be used before being set
//368: <entity-kind> "<entity>" defines no constructor to initialize the following:
//177-D: variable <name> was declared but never referenced
//1293-D: assignment in condition
//C3017W: <name> may be used before being set
//61: integer operation result is out of range

OPTION ARMCC --diag_suppress 550,2874,368,177,1293,3017,61
OPTION ARMCC -Ono_cg_cond

//////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////  CW compiler warning options  //////////////////////////////////////////////////////////

//Variable/argument <x> is not used in function
//Possible unwanted <x>

OPTION CW -w nounused -w nounwanted

//////////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////  GCC compiler warning options  /////////////////////////////////////////////////////////

//"-w" option suppresses all warnings! 
//"<variable> might be used uninitialized in this function" - only this warning needs to be suppressed,
//but there is no option for that.

OPTION GCC -w

//////////////////////////////////////////////////////////////////////////////////////////////////////////

userinclude		../traces_sqlite3
userinclude		../SQLite
userinclude		../OsLayer
OS_LAYER_LIBC_SYSTEMINCLUDE
OS_LAYER_SYSTEMINCLUDE_SYMBIAN

SOURCEPATH	../SQLite
SOURCE		alter.c
SOURCE		analyze.c
SOURCE		attach.c
SOURCE		auth.c
SOURCE		bitvec.c
SOURCE		btree.c
SOURCE		btmutex.c
SOURCE		build.c
SOURCE		callback.c
SOURCE		complete.c
SOURCE		date.c
SOURCE		delete.c
SOURCE		expr.c
SOURCE		fault.c
SOURCE		func.c
SOURCE		global.c
SOURCE		hash.c
SOURCE		insert.c
SOURCE		journal.c
SOURCE		legacy.c
SOURCE		loadext.c
SOURCE		main.c
SOURCE		malloc.c
SOURCE		mem1.c
SOURCE		mem2.c
SOURCE		mem3.c
SOURCE		mem4.c
SOURCE		mem5.c
SOURCE		mem6.c
SOURCE		mutex.c
SOURCE		opcodes.c
SOURCE		os.c
SOURCE		pager.c
SOURCE		parse.c
SOURCE		pcache.c
SOURCE		pragma.c
SOURCE		prepare.c
SOURCE		printf.c
SOURCE		random.c
SOURCE		resolve.c
SOURCE		select.c
SOURCE		status.c
SOURCE		table.c
SOURCE		tokenize.c
SOURCE		trigger.c
SOURCE		update.c
SOURCE		utf.c
SOURCE		util.c
SOURCE		vacuum.c
SOURCE		vdbe.c
SOURCE		vdbeapi.c
SOURCE		vdbeaux.c
SOURCE		vdbeblob.c
SOURCE		vdbefifo.c
SOURCE		vdbemem.c
SOURCE		vtab.c
SOURCE		walker.c
SOURCE		where.c

SOURCEPATH	../OsLayer
SOURCE		FileBuf64.cpp
SOURCE		os_symbian_mt.cpp
SOURCE		SqliteUtil.cpp
#ifdef WINSCW
SOURCE		os_symbian_emul.cpp
#else
SOURCE		os_symbian_hrdw.cpp
#endif

LIBRARY		euser.lib 
LIBRARY		efsrv.lib 
LIBRARY		estor.lib

LIBRARY		libc.lib
LIBRARY		libpthread.lib

#ifdef WINSCW
LIBRARY		ewsd.lib
#endif

DEFFILE		sqlite3.def
