wlanutilities/wlansniffer/wlansniffer.pro
changeset 31 e8f4211554fb
parent 19 10810c91db26
equal deleted inserted replaced
30:ab513c8439db 31:e8f4211554fb
     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 Sniffer project file.
    15 #
    16 #
    16 
    17 
    17 TEMPLATE = app
    18 TEMPLATE = subdirs
    18 TARGET = wlansniffer
       
    19 TARGET.CAPABILITY = ALL -TCB
       
    20 DEPENDPATH += .
       
    21 # Own headers
       
    22 INCLUDEPATH += inc \
       
    23                traces
       
    24 # wlanutilities Private API
       
    25 INCLUDEPATH += ../inc
       
    26 CONFIG += hb no_icon service
       
    27 
    19 
    28 #Store generated .moc files to their own directory
    20 SUBDIRS  += \
    29 MOC_DIR = moc
    21     wlansnifferapplication
       
    22             
       
    23 CONFIG += ordered
    30 
    24 
    31 TRANSLATIONS = wlansniffer.ts
    25 # This enables compiling also the Symbian component from this level
    32 
    26 BLD_INF_RULES.prj_exports += \
    33 # Input
    27     "$${LITERAL_HASH}include \"./wlansnifferkeepalive/group/bld.inf\""
    34 SOURCES += src/main.cpp \
       
    35     src/wlansniffer.cpp \
       
    36     src/wlansnifferlistview.cpp \
       
    37     src/wlansniffermainwindow.cpp \
       
    38     src/wlansnifferservice.cpp
       
    39 
       
    40 HEADERS += inc/wlansniffer.h \
       
    41     inc/wlansnifferlistview.h \
       
    42     inc/wlansniffermainwindow.h \
       
    43     inc/wlansnifferservice.h \
       
    44     traces/OstTraceDefinitions.h
       
    45 
       
    46 RESOURCES = res/wlansniffer.qrc
       
    47 
       
    48 SERVICE.FILE = res/service_conf.xml
       
    49 SERVICE.OPTIONS = embeddable
       
    50 
       
    51 symbian*::LIBS += -lwlanqtutilities -lxqservice -lxqserviceutil -lqtsysteminfo
       
    52 
       
    53 symbian*: {
       
    54     TARGET.UID3 = 0x10281CAA
       
    55     SYMBIAN_PLATFORMS = WINSCW ARMV5
       
    56     BLD_INF_RULES.prj_exports += "rom/wlansniffer.iby CORE_MW_LAYER_IBY_EXPORT_PATH(wlansniffer.iby)"
       
    57     BLD_INF_RULES.prj_exports += "rom/wlansniffer_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(wlansniffer_resources.iby)"
       
    58     addFiles.sources = /epoc32/release/$(PLATFORM)/$(CFG)/wlanqtutilities.dll xqservice.dll xqserviceutil.dll
       
    59     addFiles.path = /sys/bin
       
    60     DEPLOYMENT += addFiles
       
    61     # Enable for QtHighway tracing
       
    62     # DEFINES += WLANSNIFFER_SERVICETRACES
       
    63 }