emailservices/nmclientapi/nmclientapi.pro
changeset 18 578830873419
child 20 ecc8def7944a
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 #
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 #
       
    12 # Contributors:
       
    13 # 
       
    14 # Description:
       
    15 #
       
    16 #
       
    17 
       
    18 CONFIG += debug
       
    19 TEMPLATE = lib
       
    20 TARGET = nmailclientapi
       
    21 QT += core
       
    22 
       
    23 # BUILD_DLL
       
    24 DEFINES += BUILD_ENGINE_DLL
       
    25 
       
    26 
       
    27 INCLUDEPATH +=  inc \
       
    28                 ../../email_plat/nmail_client_api \
       
    29                 ../../inc 
       
    30                 
       
    31 DEPENDPATH += src \
       
    32               inc \
       
    33               ../../email_plat/nmail_client_api \
       
    34               ../../inc 
       
    35 
       
    36 MOC_DIR = tmp
       
    37 
       
    38 
       
    39 #headers  and sources outside api
       
    40 HEADERS   += nmapitypesconverter.h \ 
       
    41              nmprivateclasses.h \
       
    42              nmapidataplugininterface.h \
       
    43              nmapidatapluginfactory.h \
       
    44              nmapiengine.h \
       
    45              nmapiconverterheader.h \
       
    46              nmmessagepart.h  \
       
    47              nmcommon_api.h
       
    48              
       
    49 #headers  and sources from api             
       
    50 SOURCES   += nmapitypesconverter.cpp \
       
    51              nmapidatapluginfactory.cpp \
       
    52              nmapiemailservice.cpp \
       
    53              nmapiengine.cpp 
       
    54 
       
    55 
       
    56 
       
    57 HEADERS   += nmapiemailservice.h \
       
    58              nmapimessagetask.h \
       
    59              nmapimailboxlisting_p.h \
       
    60              nmapimailboxlisting.h \
       
    61              nmapifolderlisting_p.h \
       
    62              nmapifolderlisting.h \
       
    63              nmapienvelopelisting_p.h \
       
    64              nmapienvelopelisting.h \
       
    65 	     nmapiemailaddress.h \
       
    66 	     nmapieventnotifier_p.h \
       
    67 	     nmapieventnotifier.h \
       
    68 	     nmapifolder.h \
       
    69 	     nmapimailbox.h \
       
    70 	     nmapimessagebody.h \
       
    71 	     nmapimessageenvelope.h
       
    72 			 
       
    73 			
       
    74 
       
    75 
       
    76 SOURCES   += nmapimessagetask.cpp \
       
    77 	     nmapimailboxlisting_p.cpp \
       
    78              nmapimailboxlisting.cpp \
       
    79              nmapifolderlisting_p.cpp \
       
    80              nmapifolderlisting.cpp \
       
    81              nmapienvelopelisting_p.cpp \
       
    82              nmapienvelopelisting.cpp \ 
       
    83 	     nmapiemailaddress.cpp \
       
    84 	     nmapieventnotifier_p.cpp \
       
    85 	     nmapieventnotifier.cpp \
       
    86 	     nmapifolder.cpp \
       
    87 	     nmapimailbox.cpp \
       
    88 	     nmapimessagebody.cpp \
       
    89 	     nmapimessageenvelope.cpp
       
    90 
       
    91 
       
    92              
       
    93              
       
    94 
       
    95 symbian*: { 
       
    96     TARGET.EPOCALLOWDLLDATA = 1
       
    97     TARGET.CAPABILITY = ALL \
       
    98         -TCB
       
    99     TARGET.UID2 = 0x1000008D
       
   100     TARGET.UID3 = 0x2002C366
       
   101     
       
   102     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
   103 	
       
   104 	 LIBS += -lnmailbase
       
   105 				   
       
   106     defBlock = \      
       
   107       "$${LITERAL_HASH}if defined(MARM)" \
       
   108       "DEFFILE  eabi/nmailclientapi.def" \
       
   109 	  "$${LITERAL_HASH}else" \
       
   110       "DEFFILE  bwins/nmailclientapi.def" \
       
   111       "$${LITERAL_HASH}endif"
       
   112 
       
   113     MMP_RULES += defBlock
       
   114     
       
   115      BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
   116     "rom/nmailclientapi.iby CORE_APP_LAYER_IBY_EXPORT_PATH(nmailclientapi.iby)"    
       
   117     
       
   118 
       
   119 }
       
   120 
       
   121 win32 {
       
   122    DESTDIR = ../../bin
       
   123    OBJECTS_DIR = tmp 
       
   124 }
       
   125 
       
   126 
       
   127