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: |
|
15 # |
|
16 |
|
17 TEMPLATE = lib |
|
18 TARGET = phoneindicatorplugin |
|
19 CONFIG += plugin hb |
|
20 |
|
21 DEPENDPATH += ./inc \ |
|
22 ./src |
|
23 |
|
24 INCLUDEPATH += ./inc \ |
|
25 |
|
26 symbian { |
|
27 load(data_caging_paths) |
|
28 include(./inc/api_headers.pri) |
|
29 |
|
30 headers.sources = $$PHONEINDICATORPLUGIN_API_HEADERS |
|
31 headers.path = |../../inc |
|
32 for(header, headers.sources):BLD_INF_RULES.prj_exports += "$$header $$headers.path/$$basename(header)" |
|
33 |
|
34 BLD_INF_RULES.prj_exports += \ |
|
35 "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
36 "./rom/phoneindicatorplugin.iby CORE_APP_LAYER_IBY_EXPORT_PATH(phoneindicatorplugin.iby)" |
|
37 |
|
38 LIBS += -lxqservice |
|
39 |
|
40 TARGET.EPOCALLOWDLLDATA = 1 |
|
41 TARGET.CAPABILITY = ALL -TCB |
|
42 TARGET.UID3 = 0x2002E6B1 |
|
43 |
|
44 pluginstub.sources = phoneindicatorplugin.dll |
|
45 pluginstub.path = /resource/plugins/indicators |
|
46 DEPLOYMENT += pluginstub |
|
47 |
|
48 }else:win32 { |
|
49 |
|
50 # Put it to Hb/lib because it is in path |
|
51 DESTDIR = c:/hb/lib |
|
52 DLLDESTDIR = c:/hb/bin |
|
53 INCLUDEPATH += c:/hb/include/hbcore \ |
|
54 c:/hb/include/hbwidgets \ |
|
55 c:/hb/include/hbtools |
|
56 } |
|
57 |
|
58 OUTPUT_DIR = $$PWD/bin |
|
59 SOURCE_DIR = $$PWD/inc |
|
60 OBJECTS_DIR = $$OUTPUT_DIR/tmp/$$TARGET |
|
61 DESTDIR = $$OUTPUT_DIR |
|
62 MOC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/moc |
|
63 RCC_DIR = $$OUTPUT_DIR/tmp/$$TARGET/rcc |
|
64 UI_DIR = $$OUTPUT_DIR/tmp/$$TARGET/ui |
|
65 DEPENDPATH += . $$SOURCE_DIR |
|
66 INCLUDEPATH += . $$SOURCE_DIR |
|
67 INCLUDEPATH += $$MOC_DIR |
|
68 |
|
69 include(phoneindicatorplugin.pri) |
|
70 |
|
71 |
|