|
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 = wlanqtutilities |
|
19 TARGET.CAPABILITY = ALL -TCB |
|
20 |
|
21 #BUILD_DLL macro is used to define export macro |
|
22 DEFINES += BUILD_WLANQTUTILITIES_DLL |
|
23 DEPENDPATH += . |
|
24 |
|
25 #Store generated .moc files to their own directory |
|
26 MOC_DIR = moc |
|
27 |
|
28 #Following macros MW_LAYER_SYSTEMINCLUDE and OS_LAYER_SYSTEMINCLUDE are defined |
|
29 #in X:\QT\mkspecs\features\symbian\platform_paths.prf that is always inluded in |
|
30 #QT compilation |
|
31 |
|
32 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \ |
|
33 $$OS_LAYER_SYSTEMINCLUDE \ |
|
34 base/inc \ |
|
35 wrapper/inc \ |
|
36 traces |
|
37 |
|
38 HEADERS += base/inc/wlanqtutils.h \ |
|
39 base/inc/wlanqtutils_p.h \ |
|
40 base/inc/wlanqtutilsactiveconn.h \ |
|
41 base/inc/wlanqtutilscommon.h \ |
|
42 base/inc/wlanqtutilswlanap.h \ |
|
43 base/inc/wlanqtutilswlaniap.h \ |
|
44 base/inc/wlanqtutilsiap.h \ |
|
45 wrapper/inc/wlanqtutilsconmonwrapper.h \ |
|
46 wrapper/inc/wlanqtutilscmmwrapper.h \ |
|
47 wrapper/inc/wlanqtutilsconntestwrapper.h \ |
|
48 wrapper/inc/wlanqtutilsesockwrapper.h \ |
|
49 traces/OstTraceDefinitions.h |
|
50 |
|
51 SOURCES += base/src/wlanqtutils.cpp \ |
|
52 base/src/wlanqtutils_p.cpp \ |
|
53 base/src/wlanqtutilsactiveconn.cpp \ |
|
54 base/src/wlanqtutilswlanap.cpp \ |
|
55 base/src/wlanqtutilswlaniap.cpp \ |
|
56 base/src/wlanqtutilsiap.cpp \ |
|
57 wrapper/src/wlanqtutilsconmonwrapper.cpp \ |
|
58 wrapper/src/wlanqtutilscmmwrapper.cpp \ |
|
59 wrapper/src/wlanqtutilsconntestwrapper.cpp \ |
|
60 wrapper/src/wlanqtutilsesockwrapper.cpp |
|
61 |
|
62 mmpRuleDeffile = \ |
|
63 "$${LITERAL_HASH}ifdef WINSCW" \ |
|
64 "DEFFILE ./bwins/wlanqtutilities.def" \ |
|
65 "$${LITERAL_HASH}else" \ |
|
66 "DEFFILE ./eabi/wlanqtutilities.def" \ |
|
67 "$${LITERAL_HASH}endif" |
|
68 |
|
69 symbian: { |
|
70 HEADERS += wrapper/inc/wlanqtutilsconmonwrapper_s60_p.h \ |
|
71 wrapper/inc/wlanqtutilscmmwrapper_s60_p.h \ |
|
72 wrapper/inc/wlanqtutilsconntestwrapper_s60_p.h \ |
|
73 wrapper/inc/wlanqtutilsesockwrapper_s60_p.h |
|
74 SOURCES += wrapper/src/wlanqtutilsconmonwrapper_s60.cpp \ |
|
75 wrapper/src/wlanqtutilscmmwrapper_s60.cpp \ |
|
76 wrapper/src/wlanqtutilsconntestwrapper_s60.cpp \ |
|
77 wrapper/src/wlanqtutilsesockwrapper_s60.cpp \ |
|
78 ut/stubs/wlanqtutilsconnmonstub.cpp \ |
|
79 ut/stubs/wlanqtutilsesockstub.cpp |
|
80 TARGET.EPOCALLOWDLLDATA = 1 |
|
81 TARGET.UID3 = 0x20029F52 |
|
82 SYMBIAN_PLATFORMS = WINSCW ARMV5 |
|
83 MMP_RULES += mmpRuleDeffile |
|
84 BLD_INF_RULES.prj_exports += "rom/wlanqtutilities.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanqtutilities.iby)" |
|
85 BLD_INF_RULES.prj_exports += "base/inc/wlanqtutils.h |../inc/wlanqtutils.h" \ |
|
86 "base/inc/wlanqtutilscommon.h |../inc/wlanqtutilscommon.h" \ |
|
87 "base/inc/wlanqtutilswlanap.h |../inc/wlanqtutilswlanap.h" \ |
|
88 "base/inc/wlanqtutilsiap.h |../inc/wlanqtutilsiap.h" \ |
|
89 "base/inc/wlanqtutilswlaniap.h |../inc/wlanqtutilswlaniap.h" |
|
90 } |
|
91 |
|
92 symbian*::LIBS += -lconnmon -lcmmanager -lesock -lcommdb -lictsclientinterface |