added support for input devices
[profile/ivi/bluetooth-qt.git] / bluetooth-qt.pro
1 system(qdbusxml2cpp -p bluemanager.h:bluemanager.cpp manager.xml)
2 system(qdbusxml2cpp -p blueadapter.h:blueadapter.cpp adapter.xml)
3 system(qdbusxml2cpp -p bluedevice.h:bluedevice.cpp -i devicetypes.h device.xml)
4 system(qdbusxml2cpp -p audio.h:audio.cpp audio.xml)
5 system(qdbusxml2cpp -p audiosink.h:audiosink.cpp audiosink.xml)
6 system(qdbusxml2cpp -p audiosource.h:audiosource.cpp audiosrc.xml)
7 system(qdbusxml2cpp -p headset.h:headset.cpp headset.xml)
8 system(qdbusxml2cpp -p input.h:input.cpp input.xml)
9 include(obex/obex.pri)
10
11 VERSION+= 0.0.4
12
13 TEMPLATE = lib
14 TARGET = bluetooth-qt
15 QT += dbus
16 CONFIG += link_pkgconfig \
17         debug
18 OTHER_FILES += bluetooth-qt.conf \
19         manager.xml \
20         device.xml \
21         audiosrc.xml \
22         audiosink.xml \
23         adapter.xml \
24         headset.xml \
25     input.xml
26 HEADERS += agentadaptor.h \
27         bluemanager.h \
28         bluedevice.h \
29         blueadapter.h \
30         audiosource.h \
31         audiosink.h \
32         headset.h \
33         btprofiles.h \
34         nearbydevicesmodel.h \
35         bluetoothbaseagent.h \
36         asyncagent.h \
37         devicetypes.h \
38     bluetoothdevice.h \
39         bluetoothdevicemodel.h \
40         audio.h \
41         input.h
42 SOURCES += agentadaptor.cpp \
43         bluemanager.cpp \
44         bluedevice.cpp \
45         blueadapter.cpp \
46         audiosource.cpp \
47         audiosink.cpp \
48         headset.cpp \
49         nearbydevicesmodel.cpp \
50         bluetoothbaseagent.cpp \
51         asyncagent.cpp \
52         bluetoothdevice.cpp \
53         bluetoothdevicemodel.cpp \
54         audio.cpp \
55         input.cpp
56
57 target.path = $$INSTALL_ROOT/usr/lib
58 headers.path = $$INSTALL_ROOT/usr/include/bluetooth-qt/
59 headers.files = $$HEADERS
60 INSTALLS += target \
61         headers
62
63 CONFIG += create_pc create_prl
64 QMAKE_PKGCONFIG_DESCRIPTION = Qt Bluetooth Library
65 QMAKE_PKGCONFIG_INCDIR = $$headers.path
66 pkgconfig.path = $$INSTALL_ROOT/usr/lib/pkgconfig
67 pkgconfig.files = bluetooth-qt.pc
68
69 INSTALLS += pkgconfig
70
71 dbusfiles.path = $$INSTALL_ROOT/etc/dbus-1/system.d
72 dbusfiles.files = bluetooth-qt.conf
73
74 INSTALLS += dbusfiles