|
1 # |
|
2 # Copyright (c) 2009-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 # WLAN Entry Plugin Qt project file. |
|
16 # |
|
17 |
|
18 TEMPLATE = lib |
|
19 TARGET = cpwlanentryplugin |
|
20 DEPENDPATH += . |
|
21 INCLUDEPATH += . |
|
22 INCLUDEPATH += traces |
|
23 # wlanutilities Private API |
|
24 INCLUDEPATH += ../inc |
|
25 CONFIG += hb plugin |
|
26 LIBS += -lwlanqtutilities -lcpframework -lxqservice -lxqserviceutil -lqtsysteminfo -lxqsettingsmanager |
|
27 |
|
28 # Temporary solution to fix tracecompiler |
|
29 # When tracecompiler is fixed, this can be removed |
|
30 symbian: { |
|
31 MMP_RULES += "USERINCLUDE traces" |
|
32 } |
|
33 |
|
34 #Store generated files to their own directory |
|
35 MOC_DIR = build |
|
36 RCC_DIR = build |
|
37 |
|
38 # Sources |
|
39 HEADERS += \ |
|
40 inc/cpwlanentryplugin.h \ |
|
41 inc/cpwlanentryitemdata.h \ |
|
42 inc/wlanstatusinfo.h \ |
|
43 traces/OstTraceDefinitions.h |
|
44 SOURCES += \ |
|
45 src/cpwlanentryplugin.cpp \ |
|
46 src/cpwlanentryitemdata.cpp \ |
|
47 src/wlanstatusinfo.cpp |
|
48 |
|
49 TRANSLATIONS = wlanentryplugin.ts |
|
50 |
|
51 symbian: { |
|
52 TARGET.EPOCALLOWDLLDATA = 1 |
|
53 TARGET.UID3 = 0x2002BCE0 |
|
54 BLD_INF_RULES.prj_exports += "rom/cpwlanentryplugin.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpwlanentryplugin.iby)" |
|
55 BLD_INF_RULES.prj_exports += "rom/cpwlanentryplugin_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(cpwlanentryplugin_resources.iby)" |
|
56 |
|
57 # Enable for QtHighway tracing |
|
58 # DEFINES += WLANENTRYPLUGIN_SERVICETRACES |
|
59 } |
|
60 symbian { |
|
61 deploy.path = C: |
|
62 qtplugins.path = /resource/qt/plugins/controlpanel |
|
63 qtplugins.sources += qmakepluginstubs/cpwlanentryplugin.qtplugin |
|
64 |
|
65 # This is for new exporting system coming in garden |
|
66 for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)" |
|
67 } |
|
68 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
69 plugin.sources = cpwlanentryplugin.dll xqservice.dll |
|
70 plugin.path = /resource/qt/plugins/controlpanel |
|
71 DEPLOYMENT += plugin |