1 # |
|
2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 # All rights reserved. |
|
4 # This component and the accompanying materials are made available |
|
5 # under the terms of "Eclipse Public License v1.0" |
|
6 # which accompanies this distribution, and is available |
|
7 # at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 # |
|
9 # Initial Contributors: |
|
10 # Nokia Corporation - initial contribution. |
|
11 # |
|
12 # Contributors: |
|
13 # |
|
14 # Description: |
|
15 # |
|
16 # |
|
17 |
|
18 |
|
19 TEMPLATE = lib |
|
20 CONFIG += plugin hb svg mobility |
|
21 MOBILITY = serviceframework |
|
22 |
|
23 TRANSLATIONS = operator_widget.ts |
|
24 |
|
25 MOC_DIR = moc |
|
26 RCC_DIR = rcc |
|
27 |
|
28 symbian: { |
|
29 LIBS += -lhswidgetmodel \ |
|
30 -lnetworkhandling \ |
|
31 -lcbsclient \ |
|
32 -lcbsmcnclient \ |
|
33 -lxqsettingsmanager \ |
|
34 -lsatclient |
|
35 } |
|
36 |
|
37 INCLUDEPATH += ./inc \ |
|
38 ./infowidget/inc |
|
39 |
|
40 symbian: { |
|
41 load(data_caging_paths) |
|
42 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
43 TARGET.UID3 = 0x20029F28 |
|
44 TARGET.EPOCALLOWDLLDATA = 1 |
|
45 TARGET.CAPABILITY = ALL \ |
|
46 -TCB |
|
47 deploy.path = c: |
|
48 |
|
49 DEPLOYMENT += exportheaders |
|
50 |
|
51 BLD_INF_RULES.prj_exports += \ |
|
52 "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
53 "./rom/infowidgetprovider.iby CORE_APP_LAYER_IBY_EXPORT_PATH(infowidgetprovider.iby)" \ |
|
54 "./rom/infowidgetprovider_resources.iby LANGUAGE_APP_LAYER_IBY_EXPORT_PATH(infowidgetprovider_resources.iby)" |
|
55 } |
|
56 win32: { |
|
57 INCLUDEPATH += ../../../../homescreensrv/homescreensrv_plat/hswidgetmodel_api |
|
58 include(infowidgetprovider_installs_win32.pri) |
|
59 } |
|
60 RESOURCES = infowidgetprovider.qrc |
|
61 |
|
62 symbian: PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20029F28 |
|
63 win32: PLUGIN_SUBDIR = /hsresources/import/widgetregistry/20029F28 |
|
64 OUTPUT_DIR = ./bin |
|
65 SOURCE_DIR = ./inc |
|
66 OBJECTS_DIR = $$OUTPUT_DIR/tmp/$$TARGET |
|
67 DESTDIR = $$OUTPUT_DIR |
|
68 MOC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/moc |
|
69 RCC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/rcc |
|
70 UI_DIR = $$OUTPUT_DIR/tmp/$$TARGET/ui |
|
71 LIBS += -L$$DESTDIR |
|
72 DEPENDPATH += . $$SOURCE_DIR |
|
73 INCLUDEPATH += . $$SOURCE_DIR |
|
74 INCLUDEPATH += $$MOC_DIR |
|
75 plugin: !isEmpty(PLUGIN_SUBDIR): DESTDIR = $$OUTPUT_DIR/$$PLUGIN_SUBDIR |
|
76 |
|
77 include(infowidgetprovider.pri) |
|
78 |
|
79 exportResources(./resource/*.manifest, $$PLUGIN_SUBDIR) |
|
80 exportResources(./resource/*.png, $$PLUGIN_SUBDIR) |
|