connd.pro 750 Bytes
Newer Older
1
QT = core network dbus
lpotter's avatar
lpotter committed
2

3
TARGET = connectionagent
4
PKGCONFIG += connman-qt5
5

6 7 8 9 10 11 12
packagesExist(qt5-boostable) {
    DEFINES += HAS_BOOSTER
    PKGCONFIG += qt5-boostable
} else {
    warning("qt5-boostable not available; startup times will be slower")
}

13
CONFIG   += console link_pkgconfig
lpotter's avatar
lpotter committed
14 15 16 17
CONFIG   -= app_bundle

TEMPLATE = app

18
OTHER_FILES += com.jolla.Connectiond.xml privileges
lpotter's avatar
lpotter committed
19

20 21 22 23 24
DBUS_ADAPTORS = connadaptor
connadaptor.files = com.jollamobile.Connectiond.xml
connadaptor.header_flags = -c ConnAdaptor
connadaptor.source_flags = -c ConnAdaptor

lpotter's avatar
lpotter committed
25
SOURCES += main.cpp \
26
    qconnectionagent.cpp \
27
    wakeupwatcher.cpp
lpotter's avatar
lpotter committed
28

Pekka Vuorela's avatar
Pekka Vuorela committed
29
HEADERS += \
30
    qconnectionagent.h \
31
    wakeupwatcher.h
lpotter's avatar
lpotter committed
32

Lorn Potter's avatar
Lorn Potter committed
33
target.path = /usr/bin
lpotter's avatar
lpotter committed
34 35
INSTALLS += target

Pekka Vuorela's avatar
Pekka Vuorela committed
36 37
MOC_DIR = .moc
OBJECTS_DIR = .obj