1 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 # All rights reserved. |
|
3 # This component and the accompanying materials are made available |
|
4 # under the terms of "Eclipse Public License v1.0" |
|
5 # which accompanies this distribution, and is available |
|
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 # Initial Contributors: |
|
8 # Nokia Corporation - initial contribution. |
|
9 # Contributors: |
|
10 # Description: |
|
11 TEMPLATE = lib |
|
12 TARGET = cntlistmodel |
|
13 DEFINES += dll \ |
|
14 BUILD_CNTLISTMODEL |
|
15 |
|
16 MOC_DIR = moc |
|
17 |
|
18 CONFIG += hb |
|
19 |
|
20 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
21 TARGET.EPOCALLOWDLLDATA = 1 |
|
22 TARGET.UID3 = 0x20026FC3 |
|
23 |
|
24 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
25 INCLUDEPATH += inc |
|
26 INCLUDEPATH += ../../inc |
|
27 |
|
28 HEADERS += inc/cntlistmodelglobal.h \ |
|
29 inc/cntlistmodel.h \ |
|
30 inc/cntlistmodel_p.h \ |
|
31 inc/cntcache.h \ |
|
32 inc/cntcache_p.h \ |
|
33 inc/cntnamefetcher.h \ |
|
34 inc/cntdefaultinfoprovider.h \ |
|
35 inc/cntpresenceinfoprovider.h \ |
|
36 inc/cntdisplaytextformatter.h \ |
|
37 ../../inc/cntdebug.h |
|
38 |
|
39 SOURCES += src/cntlistmodel.cpp \ |
|
40 src/cntcache.cpp \ |
|
41 src/cntcache_p.cpp \ |
|
42 src/cntnamefetcher.cpp \ |
|
43 src/cntdefaultinfoprovider.cpp \ |
|
44 src/cntpresenceinfoprovider.cpp \ |
|
45 src/cntdisplaytextformatter.cpp |
|
46 |
|
47 LIBS += -lQtContacts \ |
|
48 -lhbcore \ |
|
49 -lthumbnailmanagerqt \ |
|
50 -lpresencecacheqt \ |
|
51 -lxqsettingsmanager \ |
|
52 -lestor \ |
|
53 -lefsrv \ |
|
54 -lxqutils |
|
55 |
|
56 DEPLOYMENT += exportheaders |
|
57 |
|
58 :BLD_INF_RULES.prj_exports += "../../contacts_plat/contacts_ui_extensions_api/inc/cntinfoproviderfactory.h APP_LAYER_PLATFORM_EXPORT_PATH(cntinfoproviderfactory.h)" |
|
59 :BLD_INF_RULES.prj_exports += "../../contacts_plat/contacts_ui_extensions_api/inc/cntinfoprovider.h APP_LAYER_PLATFORM_EXPORT_PATH(cntinfoprovider.h)" |
|
60 |
|
61 defBlock = "$${LITERAL_HASH}if defined(EABI)" \ |
|
62 "DEFFILE ../eabi/cntlistmodel.def" \ |
|
63 "$${LITERAL_HASH}else" \ |
|
64 "DEFFILE ../bwins/cntlistmodel.def" \ |
|
65 "$${LITERAL_HASH}endif" |
|
66 MMP_RULES += defBlock |
|