emailservices/nmclientapi/nmclientapi.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 14 May 2010 15:41:10 +0300
changeset 23 2dc6caa42ec3
parent 20 ecc8def7944a
child 47 f83bd4ae1fe3
child 54 997a02608b3a
permissions -rw-r--r--
Revision: 201017 Kit: 201019

#
# Copyright (c) 2009 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:
#
#

CONFIG += debug
TEMPLATE = lib
TARGET = nmailclientapi
QT += core

# BUILD_DLL
DEFINES += BUILD_EMAIL_API_DLL


INCLUDEPATH +=  inc \
                ../../email_plat/nmail_client_api \
                ../../inc 
                
DEPENDPATH += src \
              inc \
              ../../email_plat/nmail_client_api \
              ../../inc 

MOC_DIR = tmp


#headers  and sources outside api
HEADERS   += nmapiprivateheaders.h \
             nmapitypesconverter.h \ 
             nmapiprivateclasses.h \
             nmdataplugininterface.h \
             nmapidatapluginfactory.h \
             nmapiengine.h \
             nmmessagepart.h  \
             nmapicommon.h
             
#headers  and sources from api             
SOURCES   += nmapitypesconverter.cpp \
             nmapidatapluginfactory.cpp \
             nmapiemailservice.cpp \
             nmapiengine.cpp 



HEADERS   += nmapicommonheader.h \
             nmapiemailservice.h \
             nmapimessagetask.h \
             nmapimailboxlisting_p.h \
             nmapimailboxlisting.h \
             nmapifolderlisting_p.h \
             nmapifolderlisting.h \
             nmapienvelopelisting_p.h \
             nmapienvelopelisting.h \
	     nmapiemailaddress_p.h \
	     nmapiemailaddress.h \
	     nmapieventnotifier_p.h \
	     nmapieventnotifier.h \
	     nmapifolder_p.h \
	     nmapifolder.h \
	     nmapimailbox_p.h \
	     nmapimailbox.h \
	     nmapimessagebody_p.h \
	     nmapimessagebody.h \
	     nmapimessageenvelope_p.h \
	     nmapimessageenvelope.h
			 
LIBS += -leuser
LIBS += -llibc			


SOURCES   += nmapimessagetask.cpp \
	     nmapimailboxlisting_p.cpp \
             nmapimailboxlisting.cpp \
             nmapifolderlisting_p.cpp \
             nmapifolderlisting.cpp \
             nmapienvelopelisting_p.cpp \
             nmapienvelopelisting.cpp \ 
	     nmapiemailaddress.cpp \
	     nmapieventnotifier_p.cpp \
	     nmapieventnotifier.cpp \
	     nmapifolder.cpp \
	     nmapimailbox.cpp \
	     nmapimessagebody.cpp \
	     nmapimessageenvelope.cpp


             
             

symbian*: { 
    TARGET.EPOCALLOWDLLDATA = 1
    TARGET.CAPABILITY = ALL \
        -TCB
    TARGET.UID2 = 0x1000008D
    TARGET.UID3 = 0x2002C366
    
    INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
	
	 LIBS += -lnmailbase
				   
    defBlock = \      
      "$${LITERAL_HASH}if defined(MARM)" \
      "DEFFILE  eabi/nmailclientapi.def" \
	  "$${LITERAL_HASH}else" \
      "DEFFILE  bwins/nmailclientapi.def" \
      "$${LITERAL_HASH}endif"

    MMP_RULES += defBlock
    
     BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
    "rom/nmailclientapi.iby CORE_APP_LAYER_IBY_EXPORT_PATH(nmailclientapi.iby)"    
    

}

win32 {
   DESTDIR = ../../bin
   OBJECTS_DIR = tmp 
}