summaryrefslogtreecommitdiff
path: root/libsowatchbt/libsowatchbt.pro
blob: a7077787a1c2263eaf2c1b90a92a10954728cf37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
TARGET    = sowatchbt
TEMPLATE  = lib
VERSION   = 1.0.0

# Qt Mobility 1.2
maemo5 {
	CONFIG += mobility12
} else {
	CONFIG += mobility
}
MOBILITY += connectivity systeminfo

DEFINES += SOWATCHBT_LIBRARY

SOURCES += \
    bluetoothwatch.cpp \
    bluetoothwatchscanner.cpp

HEADERS += sowatchbt.h sowatchbt_global.h \
    bluetoothwatch.h \
    bluetoothwatchscanner.h

LIBS += -L$$OUT_PWD/../libsowatch/ -lsowatch
INCLUDEPATH += $$PWD/../libsowatch
DEPENDPATH += $$PWD/../libsowatch

install_headers.files = $$HEADERS

install_headers.path = /usr/include/sowatch
!isEmpty(MEEGO_VERSION_MAJOR)|maemo5 {
	target.path = /opt/sowatch/lib
	install_translations.path = /opt/sowatch/i18n
} else {
	target.path = /usr/lib
	install_translations.path = /usr/share/sowatch/i18n
}

INSTALLS += install_headers target