emailservices/emailclientapi/emailclientapi.pro
author hgs
Mon, 23 Aug 2010 23:32:31 +0300
changeset 62 a8c646b56683
parent 47 f83bd4ae1fe3
child 68 83cc6bae1de8
permissions -rw-r--r--
201033
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47
hgs
parents:
diff changeset
     1
#
hgs
parents:
diff changeset
     2
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
hgs
parents:
diff changeset
     3
# All rights reserved.
hgs
parents:
diff changeset
     4
# This component and the accompanying materials are made available
hgs
parents:
diff changeset
     5
# under the terms of "Eclipse Public License v1.0"
hgs
parents:
diff changeset
     6
# which accompanies this distribution, and is available
hgs
parents:
diff changeset
     7
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
hgs
parents:
diff changeset
     8
#
hgs
parents:
diff changeset
     9
# Initial Contributors:
hgs
parents:
diff changeset
    10
# Nokia Corporation - initial contribution.
hgs
parents:
diff changeset
    11
#
hgs
parents:
diff changeset
    12
# Contributors:
hgs
parents:
diff changeset
    13
#
hgs
parents:
diff changeset
    14
# Description:
hgs
parents:
diff changeset
    15
#
hgs
parents:
diff changeset
    16
#
hgs
parents:
diff changeset
    17
hgs
parents:
diff changeset
    18
TEMPLATE = lib
hgs
parents:
diff changeset
    19
TARGET = emailclientapi
hgs
parents:
diff changeset
    20
DEPENDPATH += . inc src
hgs
parents:
diff changeset
    21
INCLUDEPATH += . \
hgs
parents:
diff changeset
    22
			   ../../inc \
hgs
parents:
diff changeset
    23
			   ../emailframework/inc
hgs
parents:
diff changeset
    24
INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
hgs
parents:
diff changeset
    25
hgs
parents:
diff changeset
    26
HEADERS += inc/emailclientapiimpl.h \
hgs
parents:
diff changeset
    27
            inc/emailinterfacefactoryimpl.h \
hgs
parents:
diff changeset
    28
            inc/emailapiutils.h \
hgs
parents:
diff changeset
    29
            inc/emailmailbox.h \
hgs
parents:
diff changeset
    30
            inc/emailaddress.h \
hgs
parents:
diff changeset
    31
            inc/emailfolder.h \
hgs
parents:
diff changeset
    32
            inc/emailmessage.h \
hgs
parents:
diff changeset
    33
            inc/emailmailboxcache.h \
hgs
parents:
diff changeset
    34
            inc/messageiterator.h \
hgs
parents:
diff changeset
    35
            inc/emailcontent.h \
hgs
parents:
diff changeset
    36
            inc/emailmessagesearch.h \
hgs
parents:
diff changeset
    37
            inc/emailattachment.h \
hgs
parents:
diff changeset
    38
            inc/emailtextcontent.h \
hgs
parents:
diff changeset
    39
            inc/emailmultipart.h   
hgs
parents:
diff changeset
    40
hgs
parents:
diff changeset
    41
SOURCES += src/emailclientapiimpl.cpp \
hgs
parents:
diff changeset
    42
            src/emailinterfacefactoryimpl.cpp \
hgs
parents:
diff changeset
    43
            src/implproxy.cpp \
hgs
parents:
diff changeset
    44
            src/emailapiutils.cpp \
hgs
parents:
diff changeset
    45
            src/emailmailbox.cpp \
hgs
parents:
diff changeset
    46
            src/emailaddress.cpp \
hgs
parents:
diff changeset
    47
            src/emailfolder.cpp \
hgs
parents:
diff changeset
    48
            src/emailmessage.cpp \
hgs
parents:
diff changeset
    49
            src/emailmailboxcache.cpp \
hgs
parents:
diff changeset
    50
            src/messageiterator.cpp \
hgs
parents:
diff changeset
    51
            src/emailcontent.cpp \
hgs
parents:
diff changeset
    52
            src/emailmessagesearch.cpp \
hgs
parents:
diff changeset
    53
            src/emailattachment.cpp \
hgs
parents:
diff changeset
    54
            src/emailtextcontent.cpp \
hgs
parents:
diff changeset
    55
            src/emailmultipart.cpp        
hgs
parents:
diff changeset
    56
        
hgs
parents:
diff changeset
    57
hgs
parents:
diff changeset
    58
LIBS += -lbafl \
hgs
parents:
diff changeset
    59
        -lcone \
hgs
parents:
diff changeset
    60
        -leuser \
hgs
parents:
diff changeset
    61
        -lECom \
hgs
parents:
diff changeset
    62
        -lFSFWCommonLib \
hgs
parents:
diff changeset
    63
        -lFSMailFramework \
hgs
parents:
diff changeset
    64
        -lefsrv \
hgs
parents:
diff changeset
    65
        -lviewcli \
hgs
parents:
diff changeset
    66
        -lestor \
hgs
parents:
diff changeset
    67
        -lcentralrepository
hgs
parents:
diff changeset
    68
hgs
parents:
diff changeset
    69
symbian*: {
hgs
parents:
diff changeset
    70
hgs
parents:
diff changeset
    71
	INCLUDEPATH += /sf/mw/qtextensions/qthighway/inc
hgs
parents:
diff changeset
    72
	LIBS += -lxqservice 
hgs
parents:
diff changeset
    73
hgs
parents:
diff changeset
    74
    TARGET.EPOCALLOWDLLDATA = 1
hgs
parents:
diff changeset
    75
    TARGET.CAPABILITY = CAP_ECOM_PLUGIN
hgs
parents:
diff changeset
    76
hgs
parents:
diff changeset
    77
    TARGET.UID2 = 0x10009D8D
hgs
parents:
diff changeset
    78
    TARGET.UID3 = 0x20022D63
hgs
parents:
diff changeset
    79
hgs
parents:
diff changeset
    80
    ecomPluginRegisterationFile = \
hgs
parents:
diff changeset
    81
    "SOURCEPATH data" \
hgs
parents:
diff changeset
    82
    "START RESOURCE emailclientapi.rss" \
hgs
parents:
diff changeset
    83
    "END" 
hgs
parents:
diff changeset
    84
hgs
parents:
diff changeset
    85
    MMP_RULES += "SYSTEMINCLUDE /epoc32/include/ecom" 
hgs
parents:
diff changeset
    86
    MMP_RULES += ecomPluginRegisterationFile
hgs
parents:
diff changeset
    87
    MMP_RULES += "TARGETTYPE PLUGIN"
hgs
parents:
diff changeset
    88
hgs
parents:
diff changeset
    89
    defBlock = \
hgs
parents:
diff changeset
    90
        "$${LITERAL_HASH}if defined(MARM)" \
hgs
parents:
diff changeset
    91
        "DEFFILE  eabi/emailclientapi.def" \
hgs
parents:
diff changeset
    92
        "$${LITERAL_HASH}else" \
hgs
parents:
diff changeset
    93
        "DEFFILE  bwins/emailclientapi.def" \
hgs
parents:
diff changeset
    94
        "$${LITERAL_HASH}endif"
hgs
parents:
diff changeset
    95
hgs
parents:
diff changeset
    96
    MMP_RULES += defBlock
hgs
parents:
diff changeset
    97
    
hgs
parents:
diff changeset
    98
    BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
hgs
parents:
diff changeset
    99
    "rom/emailclientapi.iby CORE_APP_LAYER_IBY_EXPORT_PATH(emailclientapi.iby)"    
hgs
parents:
diff changeset
   100
    
hgs
parents:
diff changeset
   101
    # Prevents C2874W warnings
hgs
parents:
diff changeset
   102
    QMAKE_CXXFLAGS.ARMCC += --diag_suppress 2874
hgs
parents:
diff changeset
   103
}
hgs
parents:
diff changeset
   104
hgs
parents:
diff changeset
   105
win32 {
hgs
parents:
diff changeset
   106
	DESTDIR = ../../../../bin
hgs
parents:
diff changeset
   107
}