|
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 TEMPLATE = lib |
|
19 TARGET = dialpad |
|
20 CONFIG += hb |
|
21 |
|
22 INCLUDEPATH += . inc |
|
23 |
|
24 HEADERS += ../../phonesrv_plat/dialpad_api/inc/dialpad.h \ |
|
25 inc/dialpadbutton.h \ |
|
26 inc/dialpadbuttonstyle.h \ |
|
27 inc/dialpadinputfield.h \ |
|
28 inc/dialpadkeypad.h \ |
|
29 inc/dialpadmultitaphandler.h |
|
30 |
|
31 SOURCES += src/dialpad.cpp \ |
|
32 src/dialpadbutton.cpp \ |
|
33 src/dialpadbuttonstyle.cpp \ |
|
34 src/dialpadinputfield.cpp \ |
|
35 src/dialpadkeypad.cpp \ |
|
36 src/dialpadmultitaphandler.cpp |
|
37 |
|
38 RESOURCES += resources/dialpad.qrc |
|
39 |
|
40 symbian { |
|
41 TARGET.EPOCALLOWDLLDATA = 1 |
|
42 TARGET.CAPABILITY = ALL -TCB |
|
43 TARGET.UID3 = 0x102078ED |
|
44 |
|
45 defFiles = \ |
|
46 "$${LITERAL_HASH}ifdef WINS" \ |
|
47 "DEFFILE bwins/dialpad.def" \ |
|
48 "$${LITERAL_HASH}else" \ |
|
49 "DEFFILE eabi/dialpad.def" \ |
|
50 "$${LITERAL_HASH}endif" |
|
51 |
|
52 MMP_RULES += defFiles |
|
53 |
|
54 BLD_INF_RULES.prj_exports += \ |
|
55 "$${LITERAL_HASH}include <platform_paths.hrh>" \ |
|
56 "./rom/dialpad.iby CORE_MW_LAYER_IBY_EXPORT_PATH(dialpad.iby)" |
|
57 } |
|
58 else:win32 { |
|
59 # Put it to Hb/lib because it is in path |
|
60 DESTDIR = c:/hb/lib |
|
61 DLLDESTDIR = c:/hb/bin |
|
62 INCLUDEPATH += ../../phonesrv_plat/dialpad_api/inc \ |
|
63 c:/hb/include/hbcore \ |
|
64 c:/hb/include/hbwidgets \ |
|
65 c:/hb/include/hbtools |
|
66 } |
|
67 |
|
68 DEFINES += BUILD_DIALPAD |