emailservices/emailframework/emailframework.pro
changeset 18 578830873419
child 20 ecc8def7944a
equal deleted inserted replaced
4:e7aa27f58ae1 18:578830873419
       
     1 #
       
     2 # Copyright (c) 2009 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 #
       
    16 #
       
    17 
       
    18 CONFIG += debug
       
    19 TEMPLATE = lib
       
    20 TARGET = fsmailframework
       
    21 QT += core
       
    22 
       
    23 DEFINES += BUILD_DLL
       
    24 
       
    25 INCLUDEPATH += ../../inc 
       
    26 INCLUDEPATH += /epoc32/include/ecom 
       
    27 INCLUDEPATH += $$MW_LAYER_SYSTEMINCLUDE
       
    28 
       
    29 HEADERS   += inc/CFSFWImplementation.h \
       
    30 inc/CFSMailBrand.h \
       
    31 inc/CFSMailBrandManagerImpl.h \
       
    32 inc/CFSMailClient.h \
       
    33 inc/CFSMailClient.hrh \
       
    34 inc/CFSMailPlugin.h \
       
    35 inc/CFSMailPlugin.hrh \
       
    36 inc/CFSMailPluginManager.h \
       
    37 inc/MailBrandManager.hrh \
       
    38 inc/MailBrandManager.rh \
       
    39 inc/MFSMailBoxSearchObserver.h \
       
    40 inc/MFSMailBrandManager.h \
       
    41 inc/MFSMailEventObserver.h \
       
    42 inc/MFSMailIterator.h \
       
    43 inc/MFSMailPlugin.h \
       
    44 inc/MFSMailRequestObserver.h 
       
    45 
       
    46     
       
    47 SOURCES   += src/CFSFWImplementation.cpp \
       
    48 src/CFSMailClient.cpp \
       
    49 src/CFSMailPluginManager.cpp \
       
    50 src/CFSMailBrand.cpp \
       
    51 src/CFSMailBrandManagerImpl.cpp \
       
    52 inc/CFSMailPlugin.inl \
       
    53 inc/CFSMailPluginInterface.inl 
       
    54  
       
    55 
       
    56 symbian*: { 
       
    57     TARGET.EPOCALLOWDLLDATA = 1
       
    58     TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    59     TARGET.UID2 = 0x1000008D
       
    60     TARGET.UID3 = 0x2001E279
       
    61 
       
    62     resourceBlock = \
       
    63       "$${LITERAL_HASH}include <data_caging_paths.hrh>" \
       
    64       "SOURCEPATH      data" \
       
    65       "START RESOURCE fsmailbrandmanager.rss" \
       
    66       "HEADER" \
       
    67       "targetpath RESOURCE_FILES_DIR" \
       
    68       "LANGUAGE_IDS" \
       
    69       "END" \
       
    70       
       
    71     debuggerBlock= \
       
    72       "$${LITERAL_HASH}ifdef DEBUGLOGGER_BUILD_CONFIG_DEBUG" \
       
    73       "MACRO DEBUGLOGGER_LOG_TRACE" \
       
    74       "MACRO DEBUGLOGGER_LOG_DEBUG" \
       
    75       "MACRO DEBUGLOGGER_DEBUG_ASSERTS" \
       
    76       "$${LITERAL_HASH}endif"
       
    77 	   
       
    78      defBlock = \      
       
    79       "$${LITERAL_HASH}if defined(MARM)" \
       
    80       "DEFFILE  eabi/fsmailframework.def" \
       
    81       "$${LITERAL_HASH}else" \
       
    82       "DEFFILE  bwins/fsmailframework.def" \
       
    83       "$${LITERAL_HASH}endif"
       
    84 
       
    85       
       
    86     MMP_RULES += resourceBlock \
       
    87       debuggerBlock \
       
    88 	  defBlock
       
    89     
       
    90     LIBS += -lbafl \
       
    91     -leuser \
       
    92     -lestor \
       
    93     -lefsrv \
       
    94     -lecom \
       
    95     -lgdi \
       
    96     -legul \
       
    97     -lFSFWCommonLib \
       
    98     -lcentralrepository
       
    99 
       
   100 		BLD_INF_RULES.prj_exports += \			
       
   101         "../rom/FSEmailFramework.iby             CORE_APP_LAYER_IBY_EXPORT_PATH(FSEmailFramework.iby)"
       
   102 			
       
   103 		BLD_INF_RULES.prj_extensions += \
       
   104 		"START EXTENSION s60/mifconv" \
       
   105 		"OPTION TARGETFILE aol_brand_graphics.mif" \
       
   106 		"OPTION HEADERFILE aol_brand_graphics.mbg" \
       
   107 		"OPTION SOURCEDIR data" \
       
   108 		"OPTION SOURCES -c16,8 aol.svg" \
       
   109 		"END" \		
       
   110 		"START EXTENSION s60/mifconv" \
       
   111 		"OPTION TARGETFILE google_brand_graphics.mif" \
       
   112 		"OPTION HEADERFILE google_brand_graphics.mbg" \
       
   113 		"OPTION SOURCEDIR data" \
       
   114 		"OPTION SOURCES -c16,8 gmail44svgtest4.svg" \
       
   115 		"END" \
       
   116 		"START EXTENSION s60/mifconv" \
       
   117 		"OPTION TARGETFILE microsoft_brand_graphics.mif" \
       
   118 		"OPTION HEADERFILE microsoft_brand_graphics.mbg" \
       
   119 		"OPTION SOURCEDIR data" \
       
   120 		"OPTION SOURCES -c16,8 microsoft.svg" \
       
   121 		"END" \		
       
   122 		"START EXTENSION s60/mifconv" \
       
   123 		"OPTION TARGETFILE ovi_brand_graphics.mif" \
       
   124 		"OPTION HEADERFILE ovi_brand_graphics.mbg" \
       
   125 		"OPTION SOURCEDIR data" \
       
   126 		"OPTION SOURCES -c16,8 ovi.svg" \
       
   127 		"END" \		
       
   128 		"START EXTENSION s60/mifconv" \
       
   129 		"OPTION TARGETFILE yahoo_brand_graphics.mif" \
       
   130 		"OPTION HEADERFILE yahoo_brand_graphics.mbg" \
       
   131 		"OPTION SOURCEDIR data" \
       
   132 		"OPTION SOURCES -c16,8 yahoo.svg" \
       
   133 		"END"
       
   134 }
       
   135 
       
   136 win32 {
       
   137    DESTDIR = ../../bin
       
   138 }
       
   139 
       
   140 
       
   141