|
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: Project file for the RFS Plugin. It creates the bld.inf and .mmp file on executing |
|
15 # qmake command. |
|
16 # |
|
17 # |
|
18 |
|
19 TEMPLATE = lib |
|
20 TARGET = cprfsplugin |
|
21 DEPENDPATH += . inc src |
|
22 INCLUDEPATH += . |
|
23 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE |
|
24 |
|
25 CONFIG += hb\ |
|
26 plugin |
|
27 |
|
28 MOC_DIR = moc |
|
29 OBJECTS_DIR = obj |
|
30 RCC_DIR = rcc |
|
31 |
|
32 # Platforms |
|
33 SYMBIAN_PLATFORMS = WINSCW \ |
|
34 ARMV5 |
|
35 |
|
36 LIBS += -lcpframework \ |
|
37 -lRfs |
|
38 # Input |
|
39 HEADERS += inc/cprfsplugin.h \ |
|
40 inc/cprfssettingsdataformcustomitem.h \ |
|
41 inc/cprfssettingsform.h \ |
|
42 inc/cprfsview.h |
|
43 SOURCES += src/cprfsplugin.cpp \ |
|
44 src/cprfssettingsdataformcustomitem.cpp \ |
|
45 src/cprfssettingsform.cpp \ |
|
46 src/cprfsview.cpp |
|
47 |
|
48 symbian: { |
|
49 TARGET.EPOCALLOWDLLDATA = 1 |
|
50 DEFINES += PLUGINUID3=0x10275117 |
|
51 TARGET.UID3 = 0x10275117 |
|
52 } |
|
53 symbian { |
|
54 deploy.path = C: |
|
55 qtplugins.path = /resource/qt/plugins/controlpanel |
|
56 qtplugins.sources += qmakepluginstubs/cprfsplugin.qtplugin |
|
57 # This is for new exporting system coming in garden |
|
58 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
59 } |
|
60 # Build.inf rules |
|
61 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
62 "rom/cprfssettingsplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cprfssettingsplugin.iby)" |
|
63 |
|
64 TARGET.CAPABILITY = All -TCB |
|
65 plugin.sources = cprfsplugin.dll |
|
66 plugin.path = \resource\qt\plugins\controlpanel |
|
67 DEPLOYMENT += plugin |