47
|
1 |
#
|
|
2 |
# Copyright (c) 2010 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 |
TEMPLATE = lib
|
|
19 |
TARGET = emailclientapi
|
|
20 |
DEPENDPATH += . inc src
|
|
21 |
INCLUDEPATH += . \
|
|
22 |
../../inc \
|
|
23 |
../emailframework/inc
|
|
24 |
INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
|
|
25 |
|
|
26 |
HEADERS += inc/emailclientapiimpl.h \
|
|
27 |
inc/emailinterfacefactoryimpl.h \
|
|
28 |
inc/emailapiutils.h \
|
|
29 |
inc/emailmailbox.h \
|
|
30 |
inc/emailaddress.h \
|
|
31 |
inc/emailfolder.h \
|
|
32 |
inc/emailmessage.h \
|
|
33 |
inc/emailmailboxcache.h \
|
|
34 |
inc/messageiterator.h \
|
|
35 |
inc/emailcontent.h \
|
|
36 |
inc/emailmessagesearch.h \
|
|
37 |
inc/emailattachment.h \
|
|
38 |
inc/emailtextcontent.h \
|
|
39 |
inc/emailmultipart.h
|
|
40 |
|
|
41 |
SOURCES += src/emailclientapiimpl.cpp \
|
|
42 |
src/emailinterfacefactoryimpl.cpp \
|
|
43 |
src/implproxy.cpp \
|
|
44 |
src/emailapiutils.cpp \
|
|
45 |
src/emailmailbox.cpp \
|
|
46 |
src/emailaddress.cpp \
|
|
47 |
src/emailfolder.cpp \
|
|
48 |
src/emailmessage.cpp \
|
|
49 |
src/emailmailboxcache.cpp \
|
|
50 |
src/messageiterator.cpp \
|
|
51 |
src/emailcontent.cpp \
|
|
52 |
src/emailmessagesearch.cpp \
|
|
53 |
src/emailattachment.cpp \
|
|
54 |
src/emailtextcontent.cpp \
|
|
55 |
src/emailmultipart.cpp
|
|
56 |
|
|
57 |
|
|
58 |
LIBS += -lbafl \
|
|
59 |
-lcone \
|
|
60 |
-leuser \
|
|
61 |
-lECom \
|
|
62 |
-lFSFWCommonLib \
|
|
63 |
-lFSMailFramework \
|
|
64 |
-lefsrv \
|
|
65 |
-lviewcli \
|
|
66 |
-lestor \
|
|
67 |
-lcentralrepository
|
|
68 |
|
|
69 |
symbian*: {
|
|
70 |
|
|
71 |
INCLUDEPATH += /sf/mw/qtextensions/qthighway/inc
|
|
72 |
LIBS += -lxqservice
|
|
73 |
|
|
74 |
TARGET.EPOCALLOWDLLDATA = 1
|
|
75 |
TARGET.CAPABILITY = CAP_ECOM_PLUGIN
|
|
76 |
|
|
77 |
TARGET.UID2 = 0x10009D8D
|
|
78 |
TARGET.UID3 = 0x20022D63
|
|
79 |
|
|
80 |
ecomPluginRegisterationFile = \
|
|
81 |
"SOURCEPATH data" \
|
|
82 |
"START RESOURCE emailclientapi.rss" \
|
|
83 |
"END"
|
|
84 |
|
|
85 |
MMP_RULES += "SYSTEMINCLUDE /epoc32/include/ecom"
|
|
86 |
MMP_RULES += ecomPluginRegisterationFile
|
|
87 |
MMP_RULES += "TARGETTYPE PLUGIN"
|
|
88 |
|
|
89 |
defBlock = \
|
|
90 |
"$${LITERAL_HASH}if defined(MARM)" \
|
|
91 |
"DEFFILE eabi/emailclientapi.def" \
|
|
92 |
"$${LITERAL_HASH}else" \
|
|
93 |
"DEFFILE bwins/emailclientapi.def" \
|
|
94 |
"$${LITERAL_HASH}endif"
|
|
95 |
|
|
96 |
MMP_RULES += defBlock
|
|
97 |
|
|
98 |
BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
|
|
99 |
"rom/emailclientapi.iby CORE_APP_LAYER_IBY_EXPORT_PATH(emailclientapi.iby)"
|
|
100 |
|
|
101 |
# Prevents C2874W warnings
|
|
102 |
QMAKE_CXXFLAGS.ARMCC += --diag_suppress 2874
|
|
103 |
}
|
|
104 |
|
|
105 |
win32 {
|
|
106 |
DESTDIR = ../../../../bin
|
|
107 |
} |