phonebookengines/cntlistmodel/cntlistmodel.pro
changeset 65 ae724a111993
parent 46 efe85016a067
child 72 6abfb1094884
equal deleted inserted replaced
59:a642906a277a 65:ae724a111993
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     3 
       
     4 
       
     5 #
       
     6 # All rights reserved.
     2 # All rights reserved.
     7 # This component and the accompanying materials are made available
     3 # This component and the accompanying materials are made available
     8 # under the terms of "Eclipse Public License v1.0"
     4 # under the terms of "Eclipse Public License v1.0"
     9 # which accompanies this distribution, and is available
     5 # which accompanies this distribution, and is available
    10 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
    11 #
       
    12 # Initial Contributors:
     7 # Initial Contributors:
    13 # Nokia Corporation - initial contribution.
     8 # Nokia Corporation - initial contribution.
    14 #
       
    15 # Contributors:
     9 # Contributors:
    16 # 
       
    17 # Description:
    10 # Description:
    18 #
       
    19 #
       
    20 
       
    21 
       
    22 TEMPLATE = lib
    11 TEMPLATE = lib
    23 TARGET = cntlistmodel
    12 TARGET = cntlistmodel
       
    13 DEFINES += dll \
       
    14     BUILD_CNTLISTMODEL
    24 
    15 
    25 DEFINES += dll \
       
    26     BUILD_CNTLISTMODEL 
       
    27     
       
    28 MOC_DIR = moc
    16 MOC_DIR = moc
    29 
    17 
    30 CONFIG += hb
    18 CONFIG += hb
    31 
    19 
    32 TARGET.CAPABILITY = CAP_GENERAL_DLL
    20 TARGET.CAPABILITY = CAP_GENERAL_DLL
    35 
    23 
    36 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
    24 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE
    37 INCLUDEPATH += inc
    25 INCLUDEPATH += inc
    38 INCLUDEPATH += ../../inc
    26 INCLUDEPATH += ../../inc
    39 
    27 
    40 
    28 INTERNAL_PUBLIC_HEADERS += inc/cntlistmodelglobal.h \
    41 INTERNAL_PUBLIC_HEADERS += \
    29     inc/cntlistmodel.h
    42         inc/cntlistmodelglobal.h \
       
    43         inc/cntlistmodel.h    
       
    44 
    30 
    45 HEADERS += $$INTERNAL_PUBLIC_HEADERS \
    31 HEADERS += $$INTERNAL_PUBLIC_HEADERS \
    46            inc/cntlistmodel_p.h \
    32     inc/cntlistmodel_p.h \
    47            inc/cntcache.h \
    33     inc/cntcache.h \
    48            inc/cntcache_p.h \
    34     inc/cntcache_p.h \
    49            inc/cntinfoprovider.h \
    35     inc/cntdefaultinfoprovider.h \
    50            inc/cntdefaultinfoprovider.h \
    36     inc/cntpresenceinfoprovider.h \
    51            inc/cntpresenceinfoprovider.h \
    37     inc/cntdisplaytextformatter.h \
    52            ../../inc/cntdebug.h
    38     ../../inc/cntdebug.h
    53 
    39 
    54 SOURCES += src/cntlistmodel.cpp \
    40 SOURCES += src/cntlistmodel.cpp \
    55            src/cntcache.cpp \
    41     src/cntcache.cpp \
    56            src/cntcache_p.cpp \
    42     src/cntcache_p.cpp \
    57            src/cntdefaultinfoprovider.cpp \
    43     src/cntdefaultinfoprovider.cpp \
    58            src/cntpresenceinfoprovider.cpp
    44     src/cntpresenceinfoprovider.cpp \
    59     
    45     src/cntdisplaytextformatter.cpp
       
    46 
    60 LIBS += -lQtContacts \
    47 LIBS += -lQtContacts \
    61         -lhbcore \
    48     -lhbcore \
    62         -lthumbnailmanagerqt \
    49     -lthumbnailmanagerqt \
    63         -lpresencecacheqt \
    50     -lpresencecacheqt \
    64         -lxqsettingsmanager
    51     -lxqsettingsmanager
    65         
    52 
    66 deploy.path = /
    53 deploy.path = /
    67 headers.sources = $$INTERNAL_PUBLIC_HEADERS
    54 headers.sources = $$INTERNAL_PUBLIC_HEADERS
    68 headers.path = /epoc32/include/app #change this to internal folder
    55 headers.path = /epoc32/include/app # change this to internal folder
    69 DEPLOYMENT += exportheaders
    56 DEPLOYMENT += exportheaders
    70 
    57 
    71 # This is for new exporting system coming in garden
    58 # This is for new exporting system coming in garden
    72 for(header, headers.sources):BLD_INF_RULES.prj_exports += "$$header $$deploy.path$$headers.path/$$basename(header)"
    59 for(header, headers.sources):BLD_INF_RULES.prj_exports += "$$header $$deploy.path$$headers.path/$$basename(header)"
    73 
    60 
    74 defBlock = \      
    61 :BLD_INF_RULES.prj_exports += "../../contacts_plat/contacts_ui_extensions_api/inc/cntinfoproviderfactory.h APP_LAYER_PLATFORM_EXPORT_PATH(cntinfoproviderfactory.h)"
    75 	"$${LITERAL_HASH}if defined(EABI)" \
    62 :BLD_INF_RULES.prj_exports += "../../contacts_plat/contacts_ui_extensions_api/inc/cntinfoprovider.h APP_LAYER_PLATFORM_EXPORT_PATH(cntinfoprovider.h)"
    76 		"DEFFILE  ../eabi/cntlistmodel.def" \
    63 
       
    64 defBlock = "$${LITERAL_HASH}if defined(EABI)" \
       
    65     "DEFFILE ../eabi/cntlistmodel.def" \
    77     "$${LITERAL_HASH}else" \
    66     "$${LITERAL_HASH}else" \
    78         "DEFFILE  ../bwins/cntlistmodel.def" \
    67     "DEFFILE ../bwins/cntlistmodel.def" \
    79 	"$${LITERAL_HASH}endif"
    68     "$${LITERAL_HASH}endif"
    80 MMP_RULES += defBlock
    69 MMP_RULES += defBlock
    81 
       
    82