|
1 # |
|
2 # ============================================================================ |
|
3 # Name : indicatorautolockplugin.pro |
|
4 # Part of : hb / |
|
5 # Description : indicator autolock plugin |
|
6 # Version : %version: 2 % |
|
7 # |
|
8 # Copyright © 2009 Nokia. All rights reserved. |
|
9 # This material, including documentation and any related computer |
|
10 # programs, is protected by copyright controlled by Nokia. All |
|
11 # rights are reserved. Copying, including reproducing, storing, |
|
12 # adapting or translating, any or all of this material requires the |
|
13 # prior written consent of Nokia. This material also contains |
|
14 # confidential information which may not be disclosed to others |
|
15 # without the prior written consent of Nokia. |
|
16 # ============================================================================ |
|
17 # |
|
18 |
|
19 TEMPLATE = lib |
|
20 |
|
21 CONFIG += Hb |
|
22 |
|
23 TARGET = IndicatorAutolockPlugin |
|
24 CONFIG += plugin |
|
25 win32 { |
|
26 debug { |
|
27 DESTDIR = ../indicatorplugin/debug |
|
28 } |
|
29 else { |
|
30 DESTDIR = ../indicatorplugin/release |
|
31 } |
|
32 } |
|
33 else { |
|
34 DESTDIR = ../indicatorplugin |
|
35 } |
|
36 |
|
37 HEADERS += hbindicatorautolockplugin.h autolockindicators.h |
|
38 SOURCES += hbindicatorautolockplugin.cpp |
|
39 |
|
40 symbian { |
|
41 TARGET.EPOCALLOWDLLDATA=1 |
|
42 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
43 |
|
44 hblib.sources = Hb.dll |
|
45 hblib.path = \sys\bin |
|
46 hblib.depends = "(0xEEF9EA38), 1, 0, 0, {\"Hb\"}" |
|
47 |
|
48 pluginstub.sources = indicatorautolockplugin.dll |
|
49 pluginstub.path = /resource/plugins/indicators |
|
50 DEPLOYMENT += pluginstub |
|
51 } |
|
52 |
|
53 !local { |
|
54 target.path = $${HB_PLUGINS_DIR}/indicators |
|
55 INSTALLS += target |
|
56 } |
|
57 |
|
58 BLD_INF_RULES.prj_exports += \ |
|
59 "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
60 "rom/indicatorautolockplugin.iby CORE_APP_LAYER_IBY_EXPORT_PATH(indicatorautolockplugin.iby)" |
|
61 |
|
62 symbian:MMP_RULES += SMPSAFE |