ipsservices/nmipsmtms/nmipsmtms.pro
author hgs
Thu, 10 Jun 2010 16:14:05 +0300
changeset 44 c2d07d913565
parent 18 578830873419
child 68 83cc6bae1de8
permissions -rw-r--r--
201023

#
# 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
TEMPLATE = lib
TARGET = nmipsmtms
QT += core

DEFINES += BUILD_DLL

INCLUDEPATH += inc 
INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
INCLUDEPATH += /epoc32/include/ecom 

HEADERS   += inc/nmipsmtmui.h \
             inc/nmipsmtmuidata.h
    
SOURCES   += src/nmipsmtmui.cpp \
             src/nmipsmtmuidata.cpp

RESOURCES +=

symbian*: { 

    TARGET.EPOCALLOWDLLDATA = 1
    TARGET.CAPABILITY = CAP_GENERAL_DLL
    TARGET.UID2 = 0x10004845
    TARGET.UID3 = 0x2002BC71 
    
    resourceBlock = \
      "$${LITERAL_HASH}include <data_caging_paths.hrh>" \
      "SOURCEPATH       data" \
      "START RESOURCE   IMAP4Registry.rss" \
      "TARGET           Imap4.rsc" \
      "TARGETPATH       MTM_INFO_FILE_DIR" \
      "LANGUAGE_IDS" \
      "END" \
      "SOURCEPATH       data" \
      "START RESOURCE   POP3Registry.rss" \
      "TARGET           Pop3.rsc" \
      "TARGETPATH       MTM_INFO_FILE_DIR" \
      "LANGUAGE_IDS" \
      "END" \
      "SOURCEPATH       data" \
      "START RESOURCE   SMTPRegistry.rss" \
      "TARGET           Smtp.rsc" \
      "TARGETPATH       MTM_INFO_FILE_DIR" \
      "LANGUAGE_IDS" \
      "END" \
      "SOURCEPATH       data" \
      "START RESOURCE   ipsmtmui.rss" \
      "TARGETPATH       MTM_RESOURCE_DIR" \
      "HEADER" \
      "END" \
      "SOURCEPATH       data" \
      "START RESOURCE   ipsuidatamtm.rss" \
      "TARGETPATH       MTM_RESOURCE_DIR" \
      "HEADER" \
      "END"
    
    defBlock = \      
        "$${LITERAL_HASH}if defined(MARM)" \
        "DEFFILE  eabi/nmipsmtms.def" \
        "$${LITERAL_HASH}else" \
        "DEFFILE  bwins/nmipsmtms.def" \
        "$${LITERAL_HASH}endif"
    
    MMP_RULES += resourceBlock \
	  defBlock
    
    LIBS += -leuser \
    -lcone \
    -lbafl \
    -letext \
    -lmsgs \
    -limcm \
    -lmtur
      
    MMP_RULES -= "OPTION_REPLACE ARMCC --export_all_vtbl -D__QT_NOEFFECTMACRO_DONOTUSE"
      
}

win32 {
   DESTDIR = ../../bin
}