|
1 # |
|
2 ############################################################################# |
|
3 ## |
|
4 ## Copyright (C) 2008-2010 Nokia Corporation and/or its subsidiary(-ies). |
|
5 ## All rights reserved. |
|
6 ## Contact: Nokia Corporation (developer.feedback@nokia.com) |
|
7 ## |
|
8 ## This file is part of the UI Extensions for Mobile. |
|
9 ## |
|
10 ## GNU Lesser General Public License Usage |
|
11 ## This file may be used under the terms of the GNU Lesser General Public |
|
12 ## License version 2.1 as published by the Free Software Foundation and |
|
13 ## appearing in the file LICENSE.LGPL included in the packaging of this file. |
|
14 ## Please review the following information to ensure the GNU Lesser General |
|
15 ## Public License version 2.1 requirements will be met: |
|
16 ## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. |
|
17 ## |
|
18 ## In addition, as a special exception, Nokia gives you certain additional |
|
19 ## rights. These rights are described in the Nokia Qt LGPL Exception |
|
20 ## version 1.1, included in the file LGPL_EXCEPTION.txt in this package. |
|
21 ## |
|
22 ## If you have questions regarding the use of this file, please contact |
|
23 ## Nokia at developer.feedback@nokia.com. |
|
24 ## |
|
25 ############################################################################# |
|
26 |
|
27 TEMPLATE = lib |
|
28 TARGET = $$hbLibraryTarget(HbFeedback) |
|
29 DEFINES += BUILD_HB_FEEDBACK |
|
30 DEFINES += HB_INSTALL_DIR=\"\\\"$${HB_INSTALL_DIR}\\\"\" |
|
31 developer:DEFINES += BUILD_HB_INTERNAL |
|
32 |
|
33 INCLUDEPATH += . |
|
34 DEPENDPATH += . |
|
35 |
|
36 # directories |
|
37 DESTDIR = $${HB_BUILD_DIR}/lib |
|
38 win32:DLLDESTDIR = $${HB_BUILD_DIR}/bin |
|
39 |
|
40 # components |
|
41 include(player/player.pri) |
|
42 |
|
43 CONVENIENCE_HEADERS += $${HB_BUILD_DIR}/include/hbfeedback/hbfeedback.h |
|
44 CONVENIENCE_HEADERS += $$files($${HB_BUILD_DIR}/include/hbfeedback/Hb*) |
|
45 HEADERS += $$PUBLIC_HEADERS $$INTERNAL_HEADERS $$CONVENIENCE_HEADERS |
|
46 |
|
47 # dependencies |
|
48 hbAddLibrary(hbcore/HbCore) |
|
49 |
|
50 # installation |
|
51 !local { |
|
52 target.path = $${HB_LIB_DIR} |
|
53 win32:dlltarget.path = $${HB_BIN_DIR} |
|
54 |
|
55 pubheaders.files = $$PUBLIC_HEADERS |
|
56 pubheaders.path = $${HB_INCLUDE_DIR}/hbfeedback |
|
57 |
|
58 convheaders.files = $$CONVENIENCE_HEADERS |
|
59 convheaders.path = $${HB_INCLUDE_DIR}/hbfeedback |
|
60 |
|
61 INSTALLS += target pubheaders convheaders |
|
62 win32:INSTALLS += dlltarget |
|
63 } |
|
64 |
|
65 #QMAKE_DISTCLEAN += $$hbNativePath($${HB_BUILD_DIR}/include/hbfeedback/*) |
|
66 #QMAKE_DISTCLEAN += $$hbNativePath($${HB_BUILD_DIR}/include/hbfeedback/private/*) |
|
67 |
|
68 symbian { |
|
69 LIBS += -ltouchfeedback -lcone -lws32 |
|
70 LIBS += -ltacticon |
|
71 INCLUDEPATH += /epoc32/include/platform/mw |
|
72 |
|
73 defFilePath = .. |
|
74 TARGET.EPOCALLOWDLLDATA = 1 |
|
75 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
76 TARGET.UID3=0x20022E9D |
|
77 # for touchfeedback headers |
|
78 INCLUDEPATH += /epoc32/include/mw |
|
79 |
|
80 hbExportHeaders(hbfeedback) |
|
81 } |
|
82 |
|
83 include($${HB_SOURCE_DIR}/src/hbcommon.pri) |