|
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 |
|
20 TARGET = nmailcpplugin |
|
21 |
|
22 QT += core |
|
23 |
|
24 DEPENDPATH += . |
|
25 |
|
26 INCLUDEPATH += . |
|
27 INCLUDEPATH += ./inc |
|
28 INCLUDEPATH += ../../inc |
|
29 INCLUDEPATH += ../nmailuiengine/inc |
|
30 INCLUDEPATH += ../nmsettingui/inc |
|
31 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
32 |
|
33 CONFIG += hb |
|
34 CONFIG += plugin |
|
35 |
|
36 MOC_DIR = moc |
|
37 OBJECTS_DIR = obj |
|
38 RCC_DIR = rcc |
|
39 |
|
40 # Platforms |
|
41 SYMBIAN_PLATFORMS = WINSCW \ |
|
42 ARMV5 |
|
43 LIBS += -lcpframework |
|
44 LIBS += -lnmailuiengine |
|
45 LIBS += -lnmailbase |
|
46 LIBS += -lnmsettingui |
|
47 |
|
48 # Input |
|
49 HEADERS += inc/nmsettingsplugin.h |
|
50 |
|
51 SOURCES += src/nmsettingsplugin.cpp |
|
52 |
|
53 symbian: { |
|
54 TARGET.EPOCALLOWDLLDATA = 1 |
|
55 DEFINES += PLUGINUID3=0x2002BCF6 |
|
56 TARGET.UID3 = 0x2002BCF6 |
|
57 } |
|
58 symbian { |
|
59 deploy.path = C: |
|
60 qtplugins.path = /resource/qt/plugins/controlpanel |
|
61 qtplugins.sources += qmakepluginstubs/nmailcpplugin.qtplugin |
|
62 |
|
63 # This is for new exporting system coming in garden |
|
64 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
65 } |
|
66 |
|
67 # Build.inf rules |
|
68 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
69 "rom/nmailcpplugin.iby CORE_APP_LAYER_IBY_EXPORT_PATH(nmailcpplugin.iby)" |
|
70 #"stub_sis/nmailcpplugin_stub.sis /epoc32/data/z/system/install/nmailcpplugin_stub.sis" |
|
71 |
|
72 TARGET.CAPABILITY = All -TCB |
|
73 plugin.sources = nmailcpplugin.dll |
|
74 plugin.path = \resource\qt\plugins\controlpanel |
|
75 DEPLOYMENT += plugin |
|
76 |