ssud.pro 769 Bytes
Newer Older
1 2 3 4 5
TARGET = ssud
include(../ssuapplication.pri)
include(ssud_dependencies.pri)

QT += network dbus
6
CONFIG += link_pkgconfig
7

8 9
HEADERS = \
        ssud.h \
10
        ssud_dbus.h
11
SOURCES = \
12 13 14 15 16
        ssud.cpp \
        main.cpp

DBUS_SERVICE_NAME=org.nemo.ssu

17 18 19
systemd.files = ../systemd/dbus-$${DBUS_SERVICE_NAME}.service
systemd.path = /lib/systemd/system/

20 21 22 23 24 25
service.files = ../dbus/$${DBUS_SERVICE_NAME}.service
service.path = /usr/share/dbus-1/system-services/

conf.files = ../dbus/$${DBUS_SERVICE_NAME}.conf
conf.path = /etc/dbus-1/system.d/

26
INSTALLS += systemd service conf
27 28 29

ssu_dbus_adaptor.files = ../dbus/org.nemo.ssu.xml
ssu_dbus_adaptor.source_flags = -c SsuAdaptor
30
ssu_dbus_adaptor.header_flags = -c SsuAdaptor -i ssud/ssud_dbus.h
31
DBUS_ADAPTORS += ssu_dbus_adaptor