locationdataharvester/maptileservice/maptileservice.pro
branchRCL_3
changeset 18 870918037e16
parent 17 1fc85118c3ae
equal deleted inserted replaced
17:1fc85118c3ae 18:870918037e16
     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 = maptileservice   
       
    24 
       
    25 CONFIG += dll
       
    26 CONFIG += hb
       
    27 CONFIG += mobility
       
    28 MOBILITY = publishsubscribe
       
    29 
       
    30 DEPENDPATH += .
       
    31 INCLUDEPATH += .
       
    32 INCLUDEPATH += ../inc
       
    33 INCLUDEPATH += ../mylocationlogger/inc
       
    34 
       
    35 MOC_DIR = moc
       
    36 
       
    37 DEFINES += MAPTILESERVICEDLL
       
    38 
       
    39 INTERNAL_PUBLIC_HEADERS +=  inc/maptileservice.h        
       
    40 
       
    41 # Input
       
    42 HEADERS +=  $$INTERNAL_PUBLIC_HEADERS \
       
    43            ./inc/maptiledblookuptable.h  
       
    44            
       
    45                
       
    46     
       
    47 SOURCES += ./src/maptileservice.cpp ./src/maptiledblookuptable.cpp
       
    48 
       
    49 symbian: 
       
    50 {
       
    51 
       
    52     :BLD_INF_RULES.prj_exports += "conf/maptileservice.confml APP_LAYER_CONFML(maptileservice.confml)"
       
    53     :BLD_INF_RULES.prj_exports += "conf/maptileservice_2002E6E8.crml APP_LAYER_CRML(maptileservice_2002E6E8.crml)"
       
    54     :BLD_INF_RULES.prj_exports += "conf/2002E6E8.txt /epoc32/winscw/c/private/10202be9/2002E6E8.txt"
       
    55     
       
    56     TARGET.EPOCALLOWDLLDATA = 1
       
    57     TARGET.CAPABILITY = All -Tcb
       
    58     TARGET.UID3 = 0x2002E6E8
       
    59     INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
       
    60 
       
    61     
       
    62    LIBS += -ledbms  \
       
    63            -lbafl \
       
    64            -lcentralrepository \
       
    65            -leuser \
       
    66            -lflogger \
       
    67            -lefsrv
       
    68    
       
    69         myCrml.sources = ./conf/maptilecontactpublisher.qcrml
       
    70         myCrml.path = c:/resource/qt/crml
       
    71         DEPLOYMENT += myCrml
       
    72         
       
    73         myCrml1.sources = ./conf/maptilecalpublisher.qcrml
       
    74         myCrml1.path = c:/resource/qt/crml
       
    75         DEPLOYMENT += myCrml1
       
    76 
       
    77 }  
       
    78 
       
    79 deploy.path = /
       
    80 headers.sources = $$INTERNAL_PUBLIC_HEADERS
       
    81 headers.path = epoc32/include/app
       
    82 DEPLOYMENT += exportheaders
       
    83 
       
    84 # This is for new exporting system coming in garden
       
    85 for(header, headers.sources):BLD_INF_RULES.prj_exports += "$$header $$deploy.path$$headers.path/$$basename(header)"
       
    86 
       
    87 defBlock = \      
       
    88 	"$${LITERAL_HASH}if defined(EABI)" \
       
    89 		"DEFFILE  ../eabi/maptileservice.def" \
       
    90     "$${LITERAL_HASH}else" \
       
    91         "DEFFILE  ../bwins/maptileservice.def" \
       
    92 	"$${LITERAL_HASH}endif"
       
    93 MMP_RULES += defBlock
       
    94