#
# Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# This component and the accompanying materials are made available
# under the terms of "Eclipse Public License v1.0"
# which accompanies this distribution, and is available
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
#
# Initial Contributors:
# Nokia Corporation - initial contribution.
#
# Contributors:
#
# Description:
#   Control Panel plugin for WEP WLAN security mode

# %version: tr1cfwln#16 %


TEMPLATE = lib
TARGET = cpwepui

DEPENDPATH +=
    
INCLUDEPATH +=
    
CONFIG += \
    hb \
    plugin
    
LIBS += \ 
    -lcpframework \
    -lconnection_settings_shim
    
MOC_DIR     = _build
RCC_DIR     = _build
OBJECTS_DIR = _build

# Input
HEADERS += \
    traces/OstTraceDefinitions.h \
    inc/wepkeyvalidator.h \
    inc/cpwepui.h
    
SOURCES += \
    src/wepkeyvalidator.cpp \
    src/cpwepui.cpp
    
symbian: 
{ 
    TARGET.CAPABILITY = CAP_GENERAL_DLL
    TARGET.EPOCALLOWDLLDATA = 1
    TARGET.UID3 = 0x2002C2FF

    deploy.path = C:
    qtplugins.path = /resource/qt/plugins/controlpanel/wlansecurity
    qtplugins.sources += qmakepluginstubs/cpwepui.qtplugin

    for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"

    BLD_INF_RULES.prj_exports += \
      "rom/cpwepui.iby CORE_MW_LAYER_IBY_EXPORT_PATH(cpwepui.iby)"
}

symbian:
{
    MMP_RULES += "USERINCLUDE traces"
}

# common translation file for all plugins
TRANSLATIONS = cpwlansecsettingsplugin.ts

plugin.sources += cpwepui.dll
plugin.path = /resource/qt/plugins/controlpanel
DEPLOYMENT += plugin

