wlanutilities/wlanqtutilities/wlanqtutilities.pro
changeset 38 2dc6da6fb431
parent 29 dbe86d96ce5b
child 39 7b3e49e4608a
equal deleted inserted replaced
29:dbe86d96ce5b 38:2dc6da6fb431
     1 #
     1 #
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2 # Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
     3 # All rights reserved.
     3 # All rights reserved.
     4 # This component and the accompanying materials are made available
     4 # This component and the accompanying materials are made available
     5 # under the terms of "Eclipse Public License v1.0"
     5 # under the terms of "Eclipse Public License v1.0"
     6 # which accompanies this distribution, and is available
     6 # which accompanies this distribution, and is available
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
    10 # Nokia Corporation - initial contribution.
    10 # Nokia Corporation - initial contribution.
    11 #
    11 #
    12 # Contributors:
    12 # Contributors:
    13 #
    13 #
    14 # Description:
    14 # Description:
       
    15 # WLAN Qt Utilities project file.
    15 #
    16 #
    16 
    17 
    17 TEMPLATE = lib
    18 TEMPLATE = lib
    18 TARGET = wlanqtutilities
    19 TARGET = wlanqtutilities
    19 TARGET.CAPABILITY = ALL -TCB
    20 TARGET.CAPABILITY = CAP_GENERAL_DLL
    20 
    21 
    21 #BUILD_DLL macro is used to define export macro
    22 #BUILD_DLL macro is used to define export macro
    22 DEFINES += BUILD_WLANQTUTILITIES_DLL
    23 DEFINES += BUILD_WLANQTUTILITIES_DLL
    23 DEPENDPATH += .
    24 DEPENDPATH += .
    24 
    25 
    29 # When tracecompiler is fixed, this can be removed
    30 # When tracecompiler is fixed, this can be removed
    30 symbian: {
    31 symbian: {
    31     MMP_RULES += "USERINCLUDE traces"
    32     MMP_RULES += "USERINCLUDE traces"
    32 }
    33 }
    33 
    34 
    34 #Following macros MW_LAYER_SYSTEMINCLUDE and OS_LAYER_SYSTEMINCLUDE are defined 
    35 INCLUDEPATH += \
    35 #in X:\QT\mkspecs\features\symbian\platform_paths.prf that is always inluded in
    36     base/inc \
    36 #QT compilation
    37     wrapper/inc \
       
    38     traces
    37 
    39 
    38 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE \
    40 HEADERS += \
    39                $$OS_LAYER_SYSTEMINCLUDE \
    41     base/inc/wlanqtutils.h \
    40                base/inc \
    42     base/inc/wlanqtutils_p.h \
    41                wrapper/inc \
    43     base/inc/wlanqtutilsap.h \
    42                traces
    44     base/inc/wlanqtutilsconnection.h \
       
    45     base/inc/wlanqtutilsiap.h \
       
    46     base/inc/wlanqtutilsiapsettings.h \
       
    47     wrapper/inc/wlanqtutilsconmonwrapper.h \
       
    48     wrapper/inc/wlanqtutilsconntestwrapper.h \
       
    49     wrapper/inc/wlanqtutilsesockwrapper.h \
       
    50     traces/OstTraceDefinitions.h
    43 
    51 
    44 HEADERS += base/inc/wlanqtutils.h \
    52 SOURCES += \
    45            base/inc/wlanqtutils_p.h \
    53     base/src/wlanqtutils.cpp \ 
    46            base/inc/wlanqtutilsactiveconn.h \
    54     base/src/wlanqtutils_p.cpp \
    47            base/inc/wlanqtutilscommon.h \
    55     base/src/wlanqtutilsap.cpp \
    48            base/inc/wlanqtutilswlanap.h \
    56     base/src/wlanqtutilsconnection.cpp \
    49            base/inc/wlanqtutilswlaniap.h \
    57     base/src/wlanqtutilsiap.cpp \
    50            base/inc/wlanqtutilsiap.h \
    58     base/src/wlanqtutilsiapsettings.cpp \
    51            wrapper/inc/wlanqtutilsconmonwrapper.h \
    59     wrapper/src/wlanqtutilsconmonwrapper.cpp \
    52            wrapper/inc/wlanqtutilscmmwrapper.h \
    60     wrapper/src/wlanqtutilsconntestwrapper.cpp \
    53            wrapper/inc/wlanqtutilsconntestwrapper.h \
    61     wrapper/src/wlanqtutilsesockwrapper.cpp
    54            wrapper/inc/wlanqtutilsesockwrapper.h \
       
    55            traces/OstTraceDefinitions.h
       
    56 
    62 
    57 SOURCES += base/src/wlanqtutils.cpp \ 
    63 # Common libraries
    58            base/src/wlanqtutils_p.cpp \
    64 LIBS += -lconnection_settings_shim
    59            base/src/wlanqtutilsactiveconn.cpp \
       
    60            base/src/wlanqtutilswlanap.cpp \
       
    61            base/src/wlanqtutilswlaniap.cpp \
       
    62            base/src/wlanqtutilsiap.cpp \
       
    63            wrapper/src/wlanqtutilsconmonwrapper.cpp \
       
    64            wrapper/src/wlanqtutilscmmwrapper.cpp \
       
    65            wrapper/src/wlanqtutilsconntestwrapper.cpp \
       
    66            wrapper/src/wlanqtutilsesockwrapper.cpp
       
    67 
       
    68 mmpRuleDeffile = \
       
    69  "$${LITERAL_HASH}ifdef WINSCW" \
       
    70  "DEFFILE ./bwins/wlanqtutilities.def" \
       
    71  "$${LITERAL_HASH}else" \
       
    72  "DEFFILE ./eabi/wlanqtutilities.def" \
       
    73  "$${LITERAL_HASH}endif"
       
    74 
    65 
    75 symbian: { 
    66 symbian: { 
    76     HEADERS += wrapper/inc/wlanqtutilsconmonwrapper_s60_p.h \
    67     HEADERS += \
    77                wrapper/inc/wlanqtutilscmmwrapper_s60_p.h \
    68         wrapper/inc/wlanqtutilsconmonwrapperdisconnect_s60_p.h \
    78                wrapper/inc/wlanqtutilsconntestwrapper_s60_p.h \
    69         wrapper/inc/wlanqtutilsconmonwrapperinfo_s60_p.h \
    79                wrapper/inc/wlanqtutilsesockwrapper_s60_p.h
    70         wrapper/inc/wlanqtutilsconmonwrapperscan_s60_p.h \
    80     SOURCES += wrapper/src/wlanqtutilsconmonwrapper_s60.cpp \
    71         wrapper/inc/wlanqtutilsconntestwrapper_s60_p.h \
    81                wrapper/src/wlanqtutilscmmwrapper_s60.cpp \
    72         wrapper/inc/wlanqtutilsesockwrapper_s60_p.h
    82                wrapper/src/wlanqtutilsconntestwrapper_s60.cpp \
    73     SOURCES += \
    83                wrapper/src/wlanqtutilsesockwrapper_s60.cpp \
    74         wrapper/src/wlanqtutilsconmonwrapperdisconnect_s60.cpp \
    84                ut/stubs/wlanqtutilsconnmonstub.cpp \
    75         wrapper/src/wlanqtutilsconmonwrapperinfo_s60.cpp \
    85                ut/stubs/wlanqtutilsesockstub.cpp
    76         wrapper/src/wlanqtutilsconmonwrapperscan_s60.cpp \
       
    77         wrapper/src/wlanqtutilsconntestwrapper_s60.cpp \
       
    78         wrapper/src/wlanqtutilsesockwrapper_s60.cpp \
       
    79         tsrc/stubs/wlanqtutilsconnmonstub.cpp \
       
    80         tsrc/stubs/wlanqtutilsesockstub.cpp
       
    81                
    86     TARGET.EPOCALLOWDLLDATA = 1
    82     TARGET.EPOCALLOWDLLDATA = 1
    87     TARGET.UID3 = 0x20029F52
    83     TARGET.UID3 = 0x20029F52
    88     SYMBIAN_PLATFORMS = WINSCW ARMV5
    84     defFilePath = .
    89     MMP_RULES += mmpRuleDeffile
    85     
    90     BLD_INF_RULES.prj_exports += "rom/wlanqtutilities.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanqtutilities.iby)"
    86     BLD_INF_RULES.prj_exports += "rom/wlanqtutilities.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanqtutilities.iby)"
    91     BLD_INF_RULES.prj_exports += "base/inc/wlanqtutils.h |../inc/wlanqtutils.h" \
    87     BLD_INF_RULES.prj_exports += \
    92                                  "base/inc/wlanqtutilscommon.h |../inc/wlanqtutilscommon.h" \
    88         "base/inc/wlanqtutils.h |../inc/wlanqtutils.h" \
    93                                  "base/inc/wlanqtutilswlanap.h |../inc/wlanqtutilswlanap.h" \
    89         "base/inc/wlanqtutilsap.h |../inc/wlanqtutilsap.h" \
    94                                  "base/inc/wlanqtutilsiap.h |../inc/wlanqtutilsiap.h" \
    90         "base/inc/wlanqtutilsiap.h |../inc/wlanqtutilsiap.h"
    95                                  "base/inc/wlanqtutilswlaniap.h |../inc/wlanqtutilswlaniap.h"
    91 
       
    92     # S60 libraries                                 
       
    93     LIBS += -lconnmon -lesock -lextendedconnpref -lnetmeta -lictsclientinterface
    96 }
    94 }
    97 
       
    98 symbian*::LIBS += -lconnmon -lcmmanager -lesock -lcommdb -lictsclientinterface