phonebookengines/cntlistmodel/cntlistmodel.pro
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Wed, 23 Jun 2010 18:02:44 +0300
changeset 46 efe85016a067
parent 40 b46a585f6909
child 61 d30183af6ca6
permissions -rw-r--r--
Revision: 201023 Kit: 2010125

#
# 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:
#
#


TEMPLATE = lib
TARGET = cntlistmodel

DEFINES += dll \
    BUILD_CNTLISTMODEL 
    
MOC_DIR = moc

CONFIG += hb

TARGET.CAPABILITY = CAP_GENERAL_DLL
TARGET.EPOCALLOWDLLDATA = 1
TARGET.UID3 = 0x20026FC3

INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
INCLUDEPATH += inc
INCLUDEPATH += ../../inc


INTERNAL_PUBLIC_HEADERS += \
        inc/cntlistmodelglobal.h \
        inc/cntlistmodel.h    

HEADERS += $$INTERNAL_PUBLIC_HEADERS \
           inc/cntlistmodel_p.h \
           inc/cntcache.h \
           inc/cntcache_p.h \
           inc/cntinfoprovider.h \
           inc/cntdefaultinfoprovider.h \
           inc/cntpresenceinfoprovider.h \
           ../../inc/cntdebug.h

SOURCES += src/cntlistmodel.cpp \
           src/cntcache.cpp \
           src/cntcache_p.cpp \
           src/cntdefaultinfoprovider.cpp \
           src/cntpresenceinfoprovider.cpp
    
LIBS += -lQtContacts \
        -lhbcore \
        -lthumbnailmanagerqt \
        -lpresencecacheqt \
        -lxqsettingsmanager
        
deploy.path = /
headers.sources = $$INTERNAL_PUBLIC_HEADERS
headers.path = /epoc32/include/app #change this to internal folder
DEPLOYMENT += exportheaders

# This is for new exporting system coming in garden
for(header, headers.sources):BLD_INF_RULES.prj_exports += "$$header $$deploy.path$$headers.path/$$basename(header)"

defBlock = \      
	"$${LITERAL_HASH}if defined(EABI)" \
		"DEFFILE  ../eabi/cntlistmodel.def" \
    "$${LITERAL_HASH}else" \
        "DEFFILE  ../bwins/cntlistmodel.def" \
	"$${LITERAL_HASH}endif"
MMP_RULES += defBlock