ipsservices/nmimapclientplugin/nmimapclientplugin.pro
author hgs
Wed, 15 Sep 2010 12:09:55 +0300
changeset 68 83cc6bae1de8
parent 23 2dc6caa42ec3
permissions -rw-r--r--
201037

# Copyright (c) 2009 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:

CONFIG += debug
CONFIG += plugin
CONFIG += hb
TEMPLATE = lib
TARGET = nmimapclientplugin
QT += core 
    
DEFINES += BUILD_CLIENTPLUGIN_DLL

INCLUDEPATH += inc \
    ../inc \
    ../../inc

HEADERS += inc/nmimapclientplugin.h \
    inc/nmimapclientpluginheaders.h

SOURCES += src/nmimapclientplugin.cpp

LIBS += -leuser
LIBS += -llibc

symbian*: { 
    TARGET.EPOCALLOWDLLDATA = 1
    TARGET.CAPABILITY = ALL \
        -TCB
    TARGET.UID2 = 0x1000008D
    TARGET.UID3 = 0x2002B3D1
    
    PLUGIN_STUB_PATH = /resource/qt/plugins/nmail/uiext
    
    deploy.path = C:
    pluginstub.sources = $${TARGET}.dll
    pluginstub.path = $$PLUGIN_STUB_PATH
    DEPLOYMENT += pluginstub

    qtplugins.path = $$PLUGIN_STUB_PATH
    qtplugins.sources += qmakepluginstubs/$${TARGET}.qtplugin
    for(qtplugin, qtplugins.sources):BLD_INF_RULES.prj_exports += "./$$qtplugin $$deploy.path$$qtplugins.path/$$basename(qtplugin)"
        
    DEPLOYMENT += pluginstub
    LIBS += -lnmailbase \
            -lnmsettingui \
            -lnmailuiengine 
    
    MMP_RULES += SMPSAFE
}

win32 {    
    INCLUDEPATH += ../ipssosplugin/inc
    DESTDIR = ../../bin
    pluginstub.sources = nmimapclientplugin.dll
    pluginstub.path = DESTDIR
    DEPLOYMENT += pluginstub
    LIBS += -L../../bin \
                -lnmailbase \
                -lnmailuiengine 
}

plugin.sources = $${TARGET}.dll
plugin.path = $$PLUGIN_STUB_PATH
DEPLOYMENT += plugin