emailservices/nmutilities/nmutilities.pro
changeset 23 2dc6caa42ec3
child 27 9ba4404ef423
equal deleted inserted replaced
20:ecc8def7944a 23:2dc6caa42ec3
       
     1 #
       
     2 # Copyright (c) 2010 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 
       
    20 TEMPLATE = lib
       
    21 TARGET = nmutilities
       
    22 QT += core
       
    23 DEFINES += BUILD_UTILITIES_DLL
       
    24 
       
    25 CONFIG += mobility
       
    26 MOBILITY += systeminfo
       
    27 
       
    28 INCLUDEPATH += inc \
       
    29                ../../../inc \
       
    30                $$MW_LAYER_SYSTEMINCLUDE 
       
    31 
       
    32 DEPENDPATH += src \
       
    33               inc \
       
    34               ../../../inc 
       
    35 
       
    36 MOC_DIR = tmp
       
    37 
       
    38 HEADERS   += nmcenrepkeys.h \
       
    39 			 emailutilitiesdef.h \
       
    40 			 emailmailboxinfo_p.h \
       
    41 			 emailmailboxinfo.h \
       
    42 			 nmutilitiescommonheaders.h
       
    43              
       
    44 SOURCES   += emailmailboxinfo_p.cpp \
       
    45 			 emailmailboxinfo.cpp
       
    46 
       
    47 symbian*: { 
       
    48     TARGET.EPOCALLOWDLLDATA = 1
       
    49     TARGET.CAPABILITY = ALL \
       
    50         -TCB
       
    51     TARGET.UID2 = 0x1000008D
       
    52     TARGET.UID3 = 0x2002EA97 
       
    53 
       
    54     INCLUDEPATH += /epoc32/include/ecom \ 
       
    55                    $$MW_LAYER_SYSTEMINCLUDE
       
    56                       
       
    57     defBlock = \      
       
    58       "$${LITERAL_HASH}if defined(MARM)" \
       
    59       "DEFFILE  eabi/nmutilities.def" \
       
    60 	  "$${LITERAL_HASH}else" \
       
    61       "DEFFILE  bwins/nmutilities.def" \
       
    62       "$${LITERAL_HASH}endif"
       
    63     
       
    64     MMP_RULES += defBlock
       
    65     
       
    66 	LIBS +=	-lcentralrepository 
       
    67 	LIBS +=	-ltimezonelocalization 
       
    68 	LIBS +=	-lxqsettingsmanager 
       
    69 }
       
    70 
       
    71 win32 {
       
    72    DESTDIR = ../../bin
       
    73 }
       
    74 
       
    75 #creating rcc file from qrc
       
    76 system(rcc -binary data/email_brand.qrc -o data/email_brand.rcc)
       
    77 
       
    78 # Build.inf rules  
       
    79 BLD_INF_RULES.prj_exports += "$${LITERAL_HASH}include <platform_paths.hrh>" \
       
    80                              "rom/nmutilities.iby $$CORE_APP_LAYER_IBY_EXPORT_PATH(nmutilities.iby)" \
       
    81                              "data/email_brand.rcc                  /epoc32/data/Z/resource/apps/email_brand.rcc" \
       
    82                              "data/2001E277.txt                     /epoc32/release/winscw/udeb/z/private/10202be9/2001E277.txt" \
       
    83                              "data/2001E277.txt                     /epoc32/release/winscw/urel/z/private/10202be9/2001E277.txt" \
       
    84                              "data/2001E277.txt                     /epoc32/data/z/private/10202be9/2001E277.txt" \
       
    85                              "data/nmutilities.confml            	APP_LAYER_CONFML(nmutilities.confml)" \
       
    86                              "data/nmutilities_200255BA.crml      	APP_LAYER_CRML(nmutilities_200255BA.crml)" \
       
    87                              "inc/emailmailboxinfo.h				APP_LAYER_PLATFORM_EXPORT_PATH(emailmailboxinfo.h)" \
       
    88                              "inc/nmutilitiescommonheaders.h      	APP_LAYER_PLATFORM_EXPORT_PATH(nmutilitiescommonheaders.h)" \
       
    89                              "inc/emailutilitiesdef.h               APP_LAYER_PLATFORM_EXPORT_PATH(emailutilitiesdef.h)" \
       
    90                              "inc/nmcenrepkeys.h                    APP_LAYER_PLATFORM_EXPORT_PATH(nmcenrepkeys.h)" 
       
    91                              
       
    92