|
1 # |
|
2 # Copyright (c) 2010 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: Example of home screen widget |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 CONFIG += plugin hb mobility |
|
19 MOBILITY = serviceframework systeminfo |
|
20 |
|
21 HEADERS += ./inc/*.h |
|
22 SOURCES += ./src/*.cpp |
|
23 |
|
24 INCLUDEPATH += ./inc |
|
25 |
|
26 symbian: { |
|
27 |
|
28 DESTDIR = /private/20022F35/import/widgetregistry/20022F7A |
|
29 INCLUDEPATH += $$APP_LAYER_SYSTEMINCLUDE |
|
30 |
|
31 TARGET.UID3 = 0x20022F7A |
|
32 TARGET.EPOCALLOWDLLDATA=1 |
|
33 TARGET.CAPABILITY = ALL -TCB |
|
34 |
|
35 plugins.path = $${DESTDIR} |
|
36 plugins.sources = $${TARGET}.dll |
|
37 |
|
38 widgetResources.path = $${DESTDIR} |
|
39 widgetResources.sources += resource/$${TARGET}.xml |
|
40 widgetResources.sources += resource/$${TARGET}.manifest |
|
41 widgetResources.sources += resource/$${TARGET}.png |
|
42 widgetResources.sources += resource/batterywidget_bg.png |
|
43 |
|
44 DEPLOYMENT += plugins \ |
|
45 widgetResources |
|
46 } else { |
|
47 CONFIG(debug, debug|release) { |
|
48 SUBDIRPART = debug |
|
49 } else { |
|
50 SUBDIRPART = release |
|
51 } |
|
52 |
|
53 PLUGIN_SUBDIR = /private/20022F35/import/widgetregistry/20022F7A |
|
54 |
|
55 DESTDIR = $$PWD/../../../../bin/$${SUBDIRPART}/$${PLUGIN_SUBDIR} |
|
56 |
|
57 manifest.path = $${DESTDIR} |
|
58 manifest.files = ./resource/*.manifest ./resource/*.xml ./resource/*.png ./resource/*.svg |
|
59 |
|
60 INSTALLS += manifest |
|
61 } |