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 TEMPLATE = lib |
|
18 TARGET = cpwlansettingsplugin |
|
19 CONFIG += hb plugin |
|
20 |
|
21 INCLUDEPATH += traces |
|
22 |
|
23 HEADERS += inc/cpwlansettingsplugin.h \ |
|
24 inc/cpwlansettingsgroupitemdata.h \ |
|
25 inc/wlansettings.h \ |
|
26 inc/wlansettings_s60_p.h \ |
|
27 traces/OstTraceDefinitions.h |
|
28 |
|
29 SOURCES += src/cpwlansettingsplugin.cpp \ |
|
30 src/cpwlansettingsgroupitemdata.cpp \ |
|
31 src/wlansettings.cpp \ |
|
32 src/wlansettings_s60.cpp |
|
33 |
|
34 TRANSLATIONS = cpwlansettingsplugin.ts |
|
35 |
|
36 LIBS += -lcpframework \ |
|
37 -lcentralrepository \ |
|
38 -lCOMMSDAT \ |
|
39 -lcmmanagerdatabase \ |
|
40 -lcmmanager \ |
|
41 -lecom \ |
|
42 -lxqsettingsmanager |
|
43 |
|
44 # Temporary solution to fix tracecompiler |
|
45 # When tracecompiler is fixed, this can be removed |
|
46 symbian: { |
|
47 MMP_RULES += "USERINCLUDE traces" |
|
48 } |
|
49 |
|
50 symbian: { |
|
51 TARGET.EPOCALLOWDLLDATA = 1 |
|
52 TARGET.UID3 = 0x2002DC79 |
|
53 |
|
54 BLD_INF_RULES.prj_exports += "rom/cpwlansettingsplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpwlansettingsplugin.iby)" |
|
55 BLD_INF_RULES.prj_exports += "rom/cpwlansettingsplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cpwlansettingsplugin_resources.iby)" |
|
56 } |
|
57 symbian { |
|
58 deploy.path = C: |
|
59 qtplugins.path = /resource/qt/plugins/controlpanel |
|
60 qtplugins.sources += qmakepluginstubs/cpwlansettingsplugin.qtplugin |
|
61 |
|
62 # This is for new exporting system coming in garden |
|
63 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
64 } |
|
65 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
66 plugin.sources = cpwlansettingsplugin.dll |
|
67 plugin.path = /resource/qt/plugins/controlpanel |
|
68 DEPLOYMENT += plugin |
|