|
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 # |
|
15 # Description: |
|
16 # WLAN Settings Wizard |
|
17 # |
|
18 |
|
19 TEMPLATE = lib |
|
20 TARGET = wlanwizard |
|
21 |
|
22 DEFINES += BUILD_WLAN_WIZARD_DLL |
|
23 |
|
24 VERSION = 0.0.1 |
|
25 |
|
26 CONFIG += hb |
|
27 |
|
28 MOC_DIR = build |
|
29 RCC_DIR = build |
|
30 |
|
31 RESOURCES += resources/resource.qrc |
|
32 |
|
33 TRANSLATIONS = wlanwizard.ts |
|
34 |
|
35 HEADERS += \ |
|
36 inc/wlanwizard.h \ |
|
37 inc/wlanwizard_p.h \ |
|
38 inc/wlanwizardhelper.h \ |
|
39 inc/wlanwizardpage.h \ |
|
40 inc/wlanwizardpagegenericerror.h \ |
|
41 inc/wlanwizardpageinternal.h \ |
|
42 inc/wlanwizardpagekeyquery.h \ |
|
43 inc/wlanwizardpageprocessingsettings.h \ |
|
44 inc/wlanwizardpagesummary.h \ |
|
45 inc/wlanwizardsummaryviewitem.h \ |
|
46 inc/wlanwizardutils.h |
|
47 |
|
48 SOURCES += src/wlanwizard.cpp \ |
|
49 src/wlanwizard_p.cpp \ |
|
50 src/wlanwizardpagegenericerror.cpp \ |
|
51 src/wlanwizardpageinternal.cpp \ |
|
52 src/wlanwizardpagekeyquery.cpp \ |
|
53 src/wlanwizardpageprocessingsettings.cpp \ |
|
54 src/wlanwizardpagesummary.cpp \ |
|
55 src/wlanwizardsummaryviewitem.cpp \ |
|
56 src/wlanwizardutils.cpp |
|
57 |
|
58 LIBS += -lwlanqtutilities |
|
59 |
|
60 symbian { |
|
61 INCLUDEPATH += \ |
|
62 inc \ |
|
63 ..\inc \ |
|
64 |
|
65 TARGET.UID3 = 0x2002C39A |
|
66 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
67 TARGET.EPOCALLOWDLLDATA = 1 |
|
68 |
|
69 # Localition of directories for def files |
|
70 defFilePath = . |
|
71 |
|
72 # OST trace system requires traces directory to be in USERINCLUDES |
|
73 MMP_RULES += "USERINCLUDE traces" |
|
74 |
|
75 BLD_INF_RULES.prj_exports += \ |
|
76 "rom/wlanwizard.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanwizard.iby)" |
|
77 |
|
78 BLD_INF_RULES.prj_exports += \ |
|
79 "rom/wlanwizard_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(wlanwizard_resources.iby)" |
|
80 |
|
81 # Export wlanwizard and wlanwizard plugin apis |
|
82 BLD_INF_RULES.prj_exports += \ |
|
83 "inc/wlanwizard.h |../inc/wlanwizard.h" \ |
|
84 "inc/wlanwizardhelper.h |../inc/wlanwizardhelper.h" \ |
|
85 "inc/wlanwizardpage.h |../inc/wlanwizardpage.h" \ |
|
86 "inc/wlanwizardplugin.h |../inc/wlanwizardplugin.h" |
|
87 } |
|
88 |
|
89 # this enables "eap wizard" |
|
90 wlanwizard_rnd_eap|wlanwizard_rnd_all{ |
|
91 DEFINES += WLAN_WIZARD_RND_EAP |
|
92 LIBS += -leapwizard |
|
93 } |
|
94 |
|
95 # this enables "wps wizard" |
|
96 wlanwizard_rnd_wps|wlanwizard_rnd_all{ |
|
97 DEFINES += WLAN_WIZARD_RND_WPS |
|
98 LIBS += -lwpswizard |
|
99 } |
|
100 |
|
101 # this enables "add wlan manual" feature |
|
102 wlanwizard_rnd|wlanwizard_rnd_all|wlanwizard_rnd_eap|wlanwizard_rnd_wps{ |
|
103 DEFINES += WLAN_WIZARD_RND |
|
104 HEADERS += \ |
|
105 inc/wlanwizardpagenetworkmode.h \ |
|
106 inc/wlanwizardpagescanning.h \ |
|
107 inc/wlanwizardpagesecuritymode.h \ |
|
108 inc/wlanwizardpagessid.h |
|
109 |
|
110 SOURCES += \ |
|
111 src/wlanwizardpagenetworkmode.cpp \ |
|
112 src/wlanwizardpagescanning.cpp \ |
|
113 src/wlanwizardpagesecuritymode.cpp \ |
|
114 src/wlanwizardpagessid.cpp |
|
115 } |
|
116 |
|
117 |