phonebookengines/cntmaptileservice/cntmaptileservice.pro
changeset 61 d30183af6ca6
parent 56 d508aa856878
child 66 554fe4dbbb59
equal deleted inserted replaced
56:d508aa856878 61:d30183af6ca6
     1 #
       
     2 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 
       
     4 
       
     5 #
       
     6 # All rights reserved.
       
     7 # This component and the accompanying materials are made available
       
     8 # under the terms of "Eclipse Public License v1.0"
       
     9 # which accompanies this distribution, and is available
       
    10 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    11 #
       
    12 # Initial Contributors:
       
    13 # Nokia Corporation - initial contribution.
       
    14 #
       
    15 # Contributors:
       
    16 # 
       
    17 # Description:
       
    18 #
       
    19 #
       
    20 
       
    21 
       
    22 TEMPLATE = lib
       
    23 TARGET = cntmaptileservice   
       
    24 
       
    25 CONFIG += dll
       
    26 CONFIG += hb
       
    27 CONFIG += mobility
       
    28 MOBILITY = publishsubscribe
       
    29 
       
    30 DEPENDPATH += .
       
    31 INCLUDEPATH += .
       
    32 INCLUDEPATH += ../inc
       
    33 
       
    34 
       
    35 MOC_DIR = moc
       
    36 
       
    37 DEFINES += CNTMAPTILESERVICEDLL
       
    38 
       
    39 INTERNAL_PUBLIC_HEADERS +=  inc/cntmaptileservice.h        
       
    40 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE 
       
    41 # Input
       
    42 HEADERS +=  $$INTERNAL_PUBLIC_HEADERS \
       
    43            ./inc/cntmaptiledblookuptable.h  
       
    44                
       
    45     
       
    46 SOURCES += ./src/cntmaptileservice.cpp ./src/cntmaptiledblookuptable.cpp
       
    47 
       
    48 symbian: 
       
    49 {
       
    50 
       
    51     :BLD_INF_RULES.prj_exports += "conf/cntmaptileservice.confml APP_LAYER_CONFML(cntmaptileservice.confml)"
       
    52     :BLD_INF_RULES.prj_exports += "conf/cntmaptileservice_2002C3A8.crml APP_LAYER_CRML(cntmaptileservice_2002C3A8.crml)"
       
    53     :BLD_INF_RULES.prj_exports += "conf/2002C3A8.txt /epoc32/winscw/c/private/10202be9/2002C3A8.txt"
       
    54     
       
    55     TARGET.EPOCALLOWDLLDATA = 1
       
    56     TARGET.CAPABILITY = All -Tcb
       
    57     TARGET.UID3 = 0x2002C3A8
       
    58 
       
    59     
       
    60    LIBS += -lcntmodel \      
       
    61            -ledbms  \
       
    62            -lbafl \
       
    63            -lcentralrepository \
       
    64            -leuser \
       
    65            -lefsrv
       
    66    
       
    67         myCrml.sources = ./conf/cntmaptilepublisher.qcrml
       
    68         myCrml.path = c:/resource/qt/crml
       
    69         DEPLOYMENT += myCrml
       
    70 
       
    71 }  
       
    72 
       
    73 deploy.path = /
       
    74 headers.sources = $$INTERNAL_PUBLIC_HEADERS
       
    75 headers.path = epoc32/include/app
       
    76 DEPLOYMENT += exportheaders
       
    77 
       
    78 # This is for new exporting system coming in garden
       
    79 for(header, headers.sources):BLD_INF_RULES.prj_exports += "$$header $$deploy.path$$headers.path/$$basename(header)"
       
    80 defBlock = \      
       
    81 	"$${LITERAL_HASH}if defined(EABI)" \
       
    82 		"DEFFILE  ../eabi/cntmaptileservice.def" \
       
    83     "$${LITERAL_HASH}else" \
       
    84         "DEFFILE  ../bwins/cntmaptileservice.def" \
       
    85 	"$${LITERAL_HASH}endif"
       
    86 MMP_RULES += defBlock