wlanutilities/wlanqtutilities/wlanqtutilities.pro
branchRCL_3
changeset 25 f28ada11abbf
parent 24 63be7eb3fc78
equal deleted inserted replaced
24:63be7eb3fc78 25:f28ada11abbf
     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 Qt Utilities project file.
       
    16 #
       
    17 
       
    18 TEMPLATE = lib
       
    19 TARGET = wlanqtutilities
       
    20 
       
    21 #BUILD_DLL macro is used to define export macro
       
    22 DEFINES += BUILD_WLANQTUTILITIES_DLL
       
    23 DEPENDPATH += .
       
    24 
       
    25 # Store generated files to their own directory
       
    26 MOC_DIR = build
       
    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 INCLUDEPATH += \
       
    35     ../inc \
       
    36     base/inc \
       
    37     wrapper/inc \
       
    38     traces
       
    39 
       
    40 HEADERS += \
       
    41     base/inc/wlanqtutils.h \
       
    42     base/inc/wlanqtutils_p.h \
       
    43     base/inc/wlanqtutilsap.h \
       
    44     base/inc/wlanqtutilsconnection.h \
       
    45     base/inc/wlanqtutilsiap.h \
       
    46     base/inc/wlanqtutilsiapsettings.h \
       
    47     wrapper/inc/wlanqtutilsconmonwrapper.h \
       
    48     wrapper/inc/wlanqtutilsesockwrapper.h \
       
    49     wrapper/inc/wlanqtutilsscan.h \
       
    50     traces/OstTraceDefinitions.h
       
    51 
       
    52 SOURCES += \
       
    53     base/src/wlanqtutils.cpp \ 
       
    54     base/src/wlanqtutils_p.cpp \
       
    55     base/src/wlanqtutilsap.cpp \
       
    56     base/src/wlanqtutilsconnection.cpp \
       
    57     base/src/wlanqtutilsiap.cpp \
       
    58     base/src/wlanqtutilsiapsettings.cpp \
       
    59     wrapper/src/wlanqtutilsconmonwrapper.cpp \
       
    60     wrapper/src/wlanqtutilsesockwrapper.cpp \
       
    61     wrapper/src/wlanqtutilsscan.cpp
       
    62 
       
    63 # Common libraries
       
    64 LIBS += -lconnection_settings_shim
       
    65 
       
    66 symbian: { 
       
    67     HEADERS += \
       
    68         wrapper/inc/wlanqtutilsconmonwrapperdisconnect_symbian.h \
       
    69         wrapper/inc/wlanqtutilsconmonwrapperinfo_symbian.h \
       
    70         wrapper/inc/wlanqtutilsesockwrapper_symbian.h \
       
    71         wrapper/inc/wlanqtutilsscanap_symbian.h \
       
    72         wrapper/inc/wlanqtutilsscaniap_symbian.h
       
    73     SOURCES += \
       
    74         wrapper/src/wlanqtutilsconmonwrapperdisconnect_symbian.cpp \
       
    75         wrapper/src/wlanqtutilsconmonwrapperinfo_symbian.cpp \
       
    76         wrapper/src/wlanqtutilsesockwrapper_symbian.cpp \
       
    77         wrapper/src/wlanqtutilsscanap_symbian.cpp \
       
    78         wrapper/src/wlanqtutilsscaniap_symbian.cpp
       
    79 
       
    80     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    81     TARGET.EPOCALLOWDLLDATA = 1
       
    82     TARGET.UID3 = 0x20029F52
       
    83     defFilePath = .
       
    84 
       
    85     BLD_INF_RULES.prj_exports += "rom/wlanqtutilities.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlanqtutilities.iby)"
       
    86     BLD_INF_RULES.prj_exports += \
       
    87         "base/inc/wlanqtutils.h |../inc/wlanqtutils.h" \
       
    88         "base/inc/wlanqtutilsap.h |../inc/wlanqtutilsap.h" \
       
    89         "base/inc/wlanqtutilsiap.h |../inc/wlanqtutilsiap.h"
       
    90 
       
    91     # S60 libraries                                 
       
    92     LIBS += -lconnmon -lecom -lesock -lextendedconnpref -lnetmeta -lictswlanlogininterface -lcharconv
       
    93 }
       
    94 
       
    95 # Stubs for emulator
       
    96 include(stubs/stubs.pri)