|
1 # |
|
2 # Copyright (c) 2009 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 = cpwlanentryplugin |
|
19 DEPENDPATH += . |
|
20 INCLUDEPATH += . |
|
21 INCLUDEPATH += traces |
|
22 # wlanutilities Private API |
|
23 INCLUDEPATH += ../inc |
|
24 CONFIG += hb plugin |
|
25 MOC_DIR = moc |
|
26 OBJECTS_DIR = obj |
|
27 RCC_DIR = rcc |
|
28 LIBS += -lwlanqtutilities -lcpframework -lxqservice -lqtsysteminfo |
|
29 |
|
30 # Sources |
|
31 HEADERS += \ |
|
32 inc/cpwlanentryplugin.h \ |
|
33 inc/cpwlanentryitemdata.h \ |
|
34 inc/wlanstatusinfo.h \ |
|
35 traces/OstTraceDefinitions.h |
|
36 SOURCES += \ |
|
37 src/cpwlanentryplugin.cpp \ |
|
38 src/cpwlanentryitemdata.cpp \ |
|
39 src/wlanstatusinfo.cpp |
|
40 |
|
41 TRANSLATIONS = wlanentryplugin.ts |
|
42 |
|
43 symbian: { |
|
44 TARGET.EPOCALLOWDLLDATA = 1 |
|
45 TARGET.UID3 = 0x2002BCE0 |
|
46 SYMBIAN_PLATFORMS = WINSCW ARMV5 |
|
47 BLD_INF_RULES.prj_exports += "rom/wlanentryplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanentryplugin.iby)" |
|
48 BLD_INF_RULES.prj_exports += "rom/wlanentryplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(wlanentryplugin_resources.iby)" |
|
49 |
|
50 # Enable for QtHighway tracing |
|
51 # DEFINES += WLANENTRYPLUGIN_SERVICETRACES |
|
52 } |
|
53 symbian { |
|
54 deploy.path = C: |
|
55 qtplugins.path = /resource/qt/plugins/controlpanel |
|
56 qtplugins.sources += qmakepluginstubs/cpwlanentryplugin.qtplugin |
|
57 |
|
58 # This is for new exporting system coming in garden |
|
59 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
60 } |
|
61 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
62 plugin.sources = cpwlanentryplugin.dll xqservice.dll |
|
63 plugin.path = /resource/qt/plugins/controlpanel |
|
64 DEPLOYMENT += plugin |