wlanutilities/wlansniffer/wlansnifferapplication/wlansnifferapplication.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 # Project file for WLAN Sniffer application.
       
    16 #
       
    17 
       
    18 TEMPLATE = app
       
    19 TARGET = wlansniffer
       
    20 DEPENDPATH += .
       
    21 # Own headers
       
    22 INCLUDEPATH += \
       
    23     inc \
       
    24     traces
       
    25 # wlanutilities Private API
       
    26 INCLUDEPATH += ../../inc
       
    27 CONFIG += hb no_icon service
       
    28 
       
    29 # Temporary solution to fix tracecompiler
       
    30 # When tracecompiler is fixed, this can be removed
       
    31 symbian: {
       
    32     MMP_RULES += "USERINCLUDE traces"
       
    33 }
       
    34 
       
    35 #Store generated files to their own directory
       
    36 MOC_DIR = build
       
    37 RCC_DIR = build
       
    38 
       
    39 TRANSLATIONS = wlansniffer.ts
       
    40 
       
    41 # Input
       
    42 SOURCES += \
       
    43     src/main.cpp \
       
    44     src/wlansniffer.cpp \
       
    45     src/wlansnifferengine.cpp \
       
    46     src/wlansnifferlistitem.cpp \
       
    47     src/wlansnifferlistview.cpp \
       
    48     src/wlansnifferlistwidget.cpp \
       
    49     src/wlansniffermainwindow.cpp \
       
    50     src/wlansnifferservice.cpp
       
    51 
       
    52 HEADERS += \
       
    53     inc/wlansniffer.h \
       
    54     inc/wlansnifferengine.h \
       
    55     inc/wlansnifferlistitem.h \
       
    56     inc/wlansnifferlistview.h \
       
    57     inc/wlansnifferlistwidget.h \
       
    58     inc/wlansniffermainwindow.h \
       
    59     inc/wlansnifferservice.h \
       
    60     traces/OstTraceDefinitions.h
       
    61 
       
    62 RESOURCES = res/wlansniffer.qrc
       
    63 
       
    64 DOCML += res/wlansnifferlistview.docml
       
    65 
       
    66 SERVICE.FILE = res/service_conf.xml
       
    67 SERVICE.OPTIONS = embeddable
       
    68 
       
    69 # Common libraries
       
    70 LIBS += -lwlanqtutilities -lxqservice -lxqserviceutil -lqtsysteminfo -lwlanwizard -lxqsettingsmanager
       
    71 
       
    72 symbian*: {
       
    73     TARGET.CAPABILITY = CAP_APPLICATION NetworkControl
       
    74     TARGET.UID3 = 0x10281CAA
       
    75     
       
    76     BLD_INF_RULES.prj_exports += "rom/wlansniffer.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlansniffer.iby)"
       
    77     BLD_INF_RULES.prj_exports += "rom/wlansniffer_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(wlansniffer_resources.iby)"
       
    78     
       
    79     # Enable for QtHighway tracing
       
    80     # DEFINES += WLANSNIFFER_SERVICETRACES
       
    81 }